]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/_windows_wrap.cpp
cleanup magic number usage and comments
[wxWidgets.git] / wxPython / src / msw / _windows_wrap.cpp
CommitLineData
d55e5bfc
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
7449af73 3 * Version 1.3.27
d55e5bfc
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
d55e5bfc
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};
d55e5bfc
RD
27#endif
28
7449af73
RD
29/***********************************************************************
30 *
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 *
34 ************************************************************************/
d55e5bfc 35
7449af73
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
7449af73 41# define SWIGTEMPLATEDISAMBIGUATOR
093d3ff1
RD
42# endif
43#endif
d55e5bfc 44
7449af73
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
d55e5bfc 96
093d3ff1 97#include <Python.h>
d55e5bfc
RD
98
99/***********************************************************************
093d3ff1 100 * swigrun.swg
d55e5bfc 101 *
093d3ff1
RD
102 * This file contains generic CAPI SWIG runtime support for pointer
103 * type checking.
d55e5bfc
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 */
7449af73 109#define SWIG_RUNTIME_VERSION "2"
d55e5bfc 110
093d3ff1
RD
111/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
112#ifdef SWIG_TYPE_TABLE
7449af73
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)
d55e5bfc 116#else
7449af73 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*/
7449af73 128
093d3ff1 129#ifndef SWIGRUNTIME
7449af73 130# define SWIGRUNTIME SWIGINTERN
093d3ff1 131#endif
7449af73 132
093d3ff1 133#ifndef SWIGRUNTIMEINLINE
7449af73 134# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
d55e5bfc
RD
135#endif
136
7449af73
RD
137#include <string.h>
138
d55e5bfc
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
7449af73 146/* Structure to store inforomation on one type */
d55e5bfc 147typedef struct swig_type_info {
7449af73
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 */
d55e5bfc
RD
153} swig_type_info;
154
7449af73
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;
7449af73 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>|...
7449af73 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 }
7449af73 207 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
093d3ff1
RD
208 if (*ne) ++ne;
209 }
210 return equiv;
211}
212
213/*
7449af73
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*/
7449af73
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 }
7449af73
RD
226 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
227 if (*ne) ++ne;
093d3ff1 228 }
7449af73 229 return equiv;
093d3ff1
RD
230}
231
7449af73
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*/
7449af73 258SWIGRUNTIME swig_cast_info *
093d3ff1 259SWIG_TypeCheck(const char *c, swig_type_info *ty) {
7449af73
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 *
7449af73 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
7449af73
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;
7449af73
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 }
7449af73
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 }
7449af73
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 }
7449af73
RD
414
415 /* neither found a match */
416 return 0;
093d3ff1
RD
417}
418
7449af73 419
093d3ff1
RD
420/*
421 Pack binary data into a string
422*/
423SWIGRUNTIME char *
424SWIG_PackData(char *c, void *ptr, size_t sz) {
7449af73
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) {
7449af73 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;
7449af73 442 register const unsigned char *eu = u + sz;
093d3ff1 443 for (; u != eu; ++u) {
7449af73 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}
d55e5bfc 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}
d55e5bfc
RD
518
519#ifdef __cplusplus
520}
521#endif
522
093d3ff1
RD
523/* -----------------------------------------------------------------------------
524 * SWIG API. Portion that goes into the runtime
525 * ----------------------------------------------------------------------------- */
d55e5bfc 526
093d3ff1
RD
527#ifdef __cplusplus
528extern "C" {
529#endif
c32bde28 530
093d3ff1
RD
531/* -----------------------------------------------------------------------------
532 * for internal method declarations
533 * ----------------------------------------------------------------------------- */
d55e5bfc 534
093d3ff1 535#ifndef SWIGINTERN
7449af73 536# define SWIGINTERN static SWIGUNUSED
093d3ff1 537#endif
d55e5bfc 538
7449af73
RD
539#ifndef SWIGINTERNINLINE
540# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
093d3ff1 541#endif
d55e5bfc 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 * ----------------------------------------------------------------------------- */
d55e5bfc 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;
d55e5bfc 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
d55e5bfc
RD
587
588#ifdef __cplusplus
093d3ff1
RD
589}
590#endif
d55e5bfc 591
d55e5bfc 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 ************************************************************************/
d55e5bfc 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)
9d7dfdff 607
d55e5bfc 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)
d55e5bfc 612
7449af73
RD
613/* Runtime API */
614#define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
615#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
d55e5bfc 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
d55e5bfc 628
093d3ff1
RD
629/* Flags for pointer conversion */
630#define SWIG_POINTER_EXCEPTION 0x1
631#define SWIG_POINTER_DISOWN 0x2
d55e5bfc 632
d55e5bfc 633
7449af73
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
d55e5bfc 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
d55e5bfc 649
7449af73
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 * ----------------------------------------------------------------------------- */
d55e5bfc 673
093d3ff1
RD
674typedef struct {
675 PyObject_HEAD
676 void *ptr;
677 const char *desc;
678} PySwigObject;
d55e5bfc 679
093d3ff1 680/* Declarations for objects of type PySwigObject */
d55e5bfc 681
093d3ff1
RD
682SWIGRUNTIME int
683PySwigObject_print(PySwigObject *v, FILE *fp, int flags)
d55e5bfc 684{
093d3ff1 685 char result[SWIG_BUFFER_SIZE];
7449af73 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 }
d55e5bfc 693}
9d7dfdff 694
093d3ff1
RD
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}
d55e5bfc 702
093d3ff1
RD
703SWIGRUNTIME PyObject *
704PySwigObject_str(PySwigObject *v)
d55e5bfc 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;
d55e5bfc
RD
709}
710
093d3ff1
RD
711SWIGRUNTIME PyObject *
712PySwigObject_long(PySwigObject *v)
d55e5bfc 713{
7449af73
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;
d55e5bfc
RD
731}
732
093d3ff1
RD
733SWIGRUNTIME PyObject *
734PySwigObject_oct(PySwigObject *v)
c32bde28 735{
7449af73 736 return PySwigObject_format("%o",v);
c32bde28 737}
d55e5bfc 738
093d3ff1
RD
739SWIGRUNTIME PyObject *
740PySwigObject_hex(PySwigObject *v)
d55e5bfc 741{
7449af73 742 return PySwigObject_format("%x",v);
d55e5bfc
RD
743}
744
093d3ff1
RD
745SWIGRUNTIME int
746PySwigObject_compare(PySwigObject *v, PySwigObject *w)
d55e5bfc 747{
093d3ff1
RD
748 int c = strcmp(v->desc, w->desc);
749 if (c) {
7449af73 750 return (c > 0) ? 1 : -1;
093d3ff1
RD
751 } else {
752 void *i = v->ptr;
753 void *j = w->ptr;
7449af73 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{
7449af73 761 PyObject_Del(self);
d55e5bfc
RD
762}
763
093d3ff1 764SWIGRUNTIME PyTypeObject*
7449af73
RD
765PySwigObject_type(void) {
766 static char pyswigobject_type__doc__[] =
093d3ff1 767 "Swig object carries a C/C++ instance pointer";
9d7dfdff 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*/
7449af73 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 */
7449af73
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
7449af73
RD
800 static PyTypeObject pyswigobject_type
801#if !defined(__cplusplus)
802 ;
803 static int type_init = 0;
093d3ff1 804 if (!type_init) {
7449af73
RD
805 PyTypeObject tmp
806#endif
807 = {
093d3ff1
RD
808 PyObject_HEAD_INIT(&PyType_Type)
809 0, /*ob_size*/
7449af73 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 */
7449af73
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 };
7449af73
RD
847#if !defined(__cplusplus)
848 pyswigobject_type = tmp;
093d3ff1
RD
849 type_init = 1;
850 }
7449af73
RD
851#endif
852 return &pyswigobject_type;
093d3ff1
RD
853}
854
855SWIGRUNTIME PyObject *
856PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc)
c32bde28 857{
7449af73
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}
d55e5bfc 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}
d55e5bfc 877
093d3ff1
RD
878SWIGRUNTIMEINLINE int
879PySwigObject_Check(PyObject *op) {
7449af73 880 return ((op)->ob_type == PySwigObject_type())
093d3ff1
RD
881 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
882}
d55e5bfc 883
093d3ff1
RD
884/* -----------------------------------------------------------------------------
885 * Implements a simple Swig Packed type, and use it instead of string
886 * ----------------------------------------------------------------------------- */
d55e5bfc 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)
d55e5bfc 897{
093d3ff1 898 char result[SWIG_BUFFER_SIZE];
7449af73 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}
9d7dfdff 909
093d3ff1
RD
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 }
d55e5bfc
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 {
7449af73 928 return PyString_FromString(v->desc);
093d3ff1
RD
929 }
930}
d55e5bfc 931
093d3ff1
RD
932SWIGRUNTIME int
933PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
d55e5bfc 934{
093d3ff1
RD
935 int c = strcmp(v->desc, w->desc);
936 if (c) {
7449af73 937 return (c > 0) ? 1 : -1;
093d3ff1
RD
938 } else {
939 size_t i = v->size;
940 size_t j = w->size;
7449af73 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);
d55e5bfc 943 }
c32bde28
RD
944}
945
093d3ff1
RD
946SWIGRUNTIME void
947PySwigPacked_dealloc(PySwigPacked *self)
c32bde28 948{
093d3ff1 949 free(self->pack);
7449af73 950 PyObject_Del(self);
d55e5bfc
RD
951}
952
093d3ff1 953SWIGRUNTIME PyTypeObject*
7449af73
RD
954PySwigPacked_type(void) {
955 static char pyswigpacked_type__doc__[] =
093d3ff1 956 "Swig object carries a C/C++ instance pointer";
7449af73
RD
957 static PyTypeObject pyswigpacked_type
958#if !defined(__cplusplus)
959 ;
960 static int type_init = 0;
093d3ff1 961 if (!type_init) {
7449af73
RD
962 PyTypeObject tmp
963#endif
964 = {
093d3ff1
RD
965 PyObject_HEAD_INIT(&PyType_Type)
966 0, /*ob_size*/
7449af73 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 */
7449af73
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 };
7449af73
RD
1004#if !defined(__cplusplus)
1005 pyswigpacked_type = tmp;
093d3ff1
RD
1006 type_init = 1;
1007 }
7449af73
RD
1008#endif
1009 return &pyswigpacked_type;
093d3ff1 1010}
d55e5bfc 1011
093d3ff1
RD
1012SWIGRUNTIME PyObject *
1013PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc)
1014{
7449af73 1015 PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_type());
093d3ff1
RD
1016 if (self == NULL) {
1017 return NULL;
1018 } else {
1019 void *pack = malloc(size);
7449af73
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}
d55e5bfc 1030
093d3ff1
RD
1031SWIGRUNTIMEINLINE const char *
1032PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
d55e5bfc 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}
d55e5bfc 1039
093d3ff1
RD
1040SWIGRUNTIMEINLINE const char *
1041PySwigPacked_GetDesc(PyObject *self)
1042{
1043 return ((PySwigPacked *)self)->desc;
1044}
d55e5bfc 1045
093d3ff1
RD
1046SWIGRUNTIMEINLINE int
1047PySwigPacked_Check(PyObject *op) {
7449af73 1048 return ((op)->ob_type == PySwigPacked_type())
093d3ff1
RD
1049 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1050}
d55e5bfc 1051
093d3ff1
RD
1052#else
1053/* -----------------------------------------------------------------------------
1054 * Use the old Python PyCObject instead of PySwigObject
1055 * ----------------------------------------------------------------------------- */
d55e5bfc 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)
d55e5bfc 1061
093d3ff1 1062#endif
d55e5bfc 1063
093d3ff1 1064#endif
d55e5bfc 1065
093d3ff1
RD
1066/* -----------------------------------------------------------------------------
1067 * errors manipulation
1068 * ----------------------------------------------------------------------------- */
d55e5bfc 1069
093d3ff1
RD
1070SWIGRUNTIME void
1071SWIG_Python_TypeError(const char *type, PyObject *obj)
1072{
1073 if (type) {
1074#if defined(SWIG_COBJECT_TYPES)
7449af73 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 }
7449af73 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}
d55e5bfc 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}
d55e5bfc 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}
d55e5bfc 1140
093d3ff1
RD
1141SWIGRUNTIME int
1142SWIG_Python_ArgFail(int argnum)
d55e5bfc 1143{
093d3ff1
RD
1144 if (PyErr_Occurred()) {
1145 /* add information about failing argument */
1146 char mesg[256];
7449af73 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}
d55e5bfc 1153
d55e5bfc 1154
093d3ff1
RD
1155/* -----------------------------------------------------------------------------
1156 * pointers/data manipulation
1157 * ----------------------------------------------------------------------------- */
d55e5bfc 1158
093d3ff1
RD
1159/* Convert a pointer value */
1160SWIGRUNTIME int
1161SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
7449af73 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;
9d7dfdff 1168
093d3ff1
RD
1169 if (!obj) return 0;
1170 if (obj == Py_None) {
1171 *ptr = 0;
1172 return 0;
1173 }
d55e5bfc 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 }
7449af73 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
d55e5bfc 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;
d55e5bfc 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) {
7449af73 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}
d55e5bfc 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}
d55e5bfc 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) {
7449af73 1267 swig_cast_info *tc;
093d3ff1 1268 const char *c = 0;
d55e5bfc 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;
7449af73 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;
d55e5bfc 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;
7449af73
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
7449af73
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
7449af73
RD
1379 }
1380 return (swig_module_info *) type_pointer;
093d3ff1
RD
1381}
1382
7449af73
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}
7449af73 1413#endif
093d3ff1 1414
7449af73
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
7449af73
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 {
7e08d4ef 1655 SWIG_Python_TypeError("number", obj);
093d3ff1
RD
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)) {
7449af73 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
7449af73 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
7449af73 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
7449af73 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
7449af73 1719SWIGINTERNINLINE int
093d3ff1
RD
1720SWIG_Check_int(PyObject* obj)
1721{
1722 return SWIG_AsVal_int(obj, (int*)0);
1723}
1724
1725
7449af73 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
7449af73 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
7449af73 1772SWIGINTERNINLINE int
093d3ff1
RD
1773SWIG_Check_bool(PyObject* obj)
1774{
1775 return SWIG_AsVal_bool(obj, (bool*)0);
1776}
1777
1778
7e08d4ef 1779 /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
093d3ff1
RD
1780#define SWIG_From_int PyInt_FromLong
1781/*@@*/
1782
1783
7e08d4ef
RD
1784 static PyObject* t_output_helper(PyObject* result, PyObject* obj)
1785 {
1786 PyObject* o2;
1787 PyObject* o3;
1788 if (!result) {
1789 result = obj;
1790 } else if (result == Py_None) {
1791 Py_DECREF(result);
1792 result = obj;
1793 } else {
1794 if (!PyTuple_Check(result)) {
1795 o2 = result;
1796 result = PyTuple_New(1);
1797 PyTuple_SET_ITEM(result, 0, o2);
1798 }
1799 o3 = PyTuple_New(1);
1800 PyTuple_SetItem(o3, 0, obj);
1801 o2 = result;
1802 result = PySequence_Concat(o2, o3);
1803 Py_DECREF(o2);
1804 Py_DECREF(o3);
1805 }
1806 return result;
1807 }
093d3ff1
RD
1808
1809
1810
1811SWIGINTERN int
1812SWIG_AsVal_double(PyObject *obj, double* val)
1813{
1814 if (PyNumber_Check(obj)) {
1815 if (val) *val = PyFloat_AsDouble(obj);
1816 return 1;
1817 }
1818 else {
7e08d4ef 1819 SWIG_Python_TypeError("number", obj);
093d3ff1
RD
1820 }
1821 return 0;
1822}
1823
1824
7449af73 1825SWIGINTERNINLINE double
093d3ff1
RD
1826SWIG_As_double(PyObject* obj)
1827{
1828 double v;
1829 if (!SWIG_AsVal_double(obj, &v)) {
1830 /*
1831 this is needed to make valgrind/purify happier.
1832 */
1833 memset((void*)&v, 0, sizeof(double));
1834 }
1835 return v;
1836}
1837
1838
7449af73 1839SWIGINTERNINLINE int
093d3ff1
RD
1840SWIG_Check_double(PyObject* obj)
1841{
1842 return SWIG_AsVal_double(obj, (double*)0);
1843}
1844
1845
7e08d4ef 1846 /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
093d3ff1
RD
1847#define SWIG_From_double PyFloat_FromDouble
1848/*@@*/
1849
1850 static const wxString wxPyFrameNameStr(wxFrameNameStr);
1851 static const wxString wxPyDialogNameStr(wxDialogNameStr);
1852 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
1853 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
1854static void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ }
1855static bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; }
1856
7e08d4ef 1857 /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
093d3ff1
RD
1858#define SWIG_From_long PyInt_FromLong
1859/*@@*/
1860
1861
1862
1863static wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
1864 wxRect r;
1865 self->GetFieldRect(i, r);
1866 return r;
1867 }
1868 static const wxString wxPySplitterNameStr(wxT("splitter"));
1869 static const wxString wxPySashNameStr(wxT("sashWindow"));
1870 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
1871
1872#include <wx/popupwin.h>
1873
1874
1875class wxPyPopupTransientWindow : public wxPopupTransientWindow
1876{
1877public:
1878 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
1879 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
1880 : wxPopupTransientWindow(parent, style) {}
1881
1882 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
1883 DEC_PYCALLBACK__(OnDismiss);
1884 DEC_PYCALLBACK_BOOL_(CanDismiss);
1885 PYPRIVATE;
1886};
1887
1888
1889IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
1890IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
1891IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
1892
1893
1894#include <wx/tipwin.h>
1895
1896static wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
1897 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
1898 }
1899
1900#include <wx/tipwin.h>
1901
1902
1903#include <wx/vscroll.h>
1904
1905
1906class wxPyVScrolledWindow : public wxVScrolledWindow
1907{
7449af73 1908 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
093d3ff1
RD
1909public:
1910 wxPyVScrolledWindow() : wxVScrolledWindow() {}
1911
1912 wxPyVScrolledWindow(wxWindow *parent,
1913 wxWindowID id = wxID_ANY,
1914 const wxPoint& pos = wxDefaultPosition,
1915 const wxSize& size = wxDefaultSize,
1916 long style = 0,
1917 const wxString& name = wxPyPanelNameStr)
1918 : wxVScrolledWindow(parent, id, pos, size, style, name)
1919 {}
1920
1921 // Overridable virtuals
1922
1923 // this function must be overridden in the derived class and it should
1924 // return the height of the given line in pixels
1925 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
1926
1927
1928 // this function doesn't have to be overridden but it may be useful to do
1929 // it if calculating the lines heights is a relatively expensive operation
1930 // as it gives the user code a possibility to calculate several of them at
1931 // once
1932 //
1933 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
1934 // shouldn't rely on the latter being called for all lines in the interval
1935 // specified here. It is also possible that OnGetLineHeight() will be
1936 // called for the lines outside of this interval, so this is really just a
1937 // hint, not a promise.
1938 //
1939 // finally note that lineMin is inclusive, while lineMax is exclusive, as
1940 // usual
1941 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
1942
1943
1944 // when the number of lines changes, we try to estimate the total height
1945 // of all lines which is a rather expensive operation in terms of lines
1946 // access, so if the user code may estimate the average height
1947 // better/faster than we do, it should override this function to implement
1948 // its own logic
1949 //
1950 // this function should return the best guess for the total height it may
1951 // make
1952 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
1953
1954
1955 // Also expose some other interesting protected methods
1956
1957
1958 // find the index of the line we need to show at the top of the window such
1959 // that the last (fully or partially) visible line is the given one
1960 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
1961 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
1962
1963 // get the total height of the lines between lineMin (inclusive) and
1964 // lineMax (exclusive)
1965 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
1966 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
d55e5bfc
RD
1967
1968
1969 PYPRIVATE;
1970};
1971
1972IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
1973
1974IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
1975IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
1976IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
1977
1978
093d3ff1 1979SWIGINTERN int
c32bde28 1980SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
d55e5bfc 1981{
c32bde28
RD
1982 long v = 0;
1983 if (SWIG_AsVal_long(obj, &v) && v < 0) {
7e08d4ef 1984 SWIG_Python_TypeError("unsigned number", obj);
d55e5bfc 1985 }
c32bde28
RD
1986 else if (val)
1987 *val = (unsigned long)v;
1988 return 1;
d55e5bfc
RD
1989}
1990
1991
7449af73 1992SWIGINTERNINLINE unsigned long
c32bde28 1993SWIG_As_unsigned_SS_long(PyObject* obj)
d55e5bfc 1994{
c32bde28
RD
1995 unsigned long v;
1996 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1997 /*
093d3ff1 1998 this is needed to make valgrind/purify happier.
c32bde28
RD
1999 */
2000 memset((void*)&v, 0, sizeof(unsigned long));
d55e5bfc 2001 }
c32bde28
RD
2002 return v;
2003}
2004
2005
7449af73 2006SWIGINTERNINLINE int
c32bde28
RD
2007SWIG_Check_unsigned_SS_long(PyObject* obj)
2008{
2009 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
d55e5bfc
RD
2010}
2011
2012
7449af73 2013SWIGINTERNINLINE PyObject*
c32bde28 2014 SWIG_From_unsigned_SS_long(unsigned long value)
d55e5bfc
RD
2015{
2016 return (value > LONG_MAX) ?
2017 PyLong_FromUnsignedLong(value)
7449af73 2018 : PyInt_FromLong(static_cast<long >(value));
d55e5bfc
RD
2019}
2020
2021
2022#include <wx/vlbox.h>
2023
2024 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
2025
2026class wxPyVListBox : public wxVListBox
2027{
7449af73 2028 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
d55e5bfc
RD
2029public:
2030 wxPyVListBox() : wxVListBox() {}
2031
2032 wxPyVListBox(wxWindow *parent,
2033 wxWindowID id = wxID_ANY,
2034 const wxPoint& pos = wxDefaultPosition,
2035 const wxSize& size = wxDefaultSize,
2036 long style = 0,
2037 const wxString& name = wxPyVListBoxNameStr)
2038 : wxVListBox(parent, id, pos, size, style, name)
2039 {}
2040
2041 // Overridable virtuals
2042
2043 // the derived class must implement this function to actually draw the item
2044 // with the given index on the provided DC
2045 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
2046 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
2047
2048
2049 // the derived class must implement this method to return the height of the
2050 // specified item
2051 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
2052 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
2053
2054
2055 // this method may be used to draw separators between the lines; note that
2056 // the rectangle may be modified, typically to deflate it a bit before
2057 // passing to OnDrawItem()
2058 //
2059 // the base class version doesn't do anything
2060 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
2061 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
2062
2063
2064 // this method is used to draw the items background and, maybe, a border
2065 // around it
2066 //
2067 // the base class version implements a reasonable default behaviour which
2068 // consists in drawing the selected item with the standard background
2069 // colour and drawing a border around the item if it is either selected or
2070 // current
2071 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
2072 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
2073
2074
2075 PYPRIVATE;
2076};
2077
2078IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
2079
2080IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
2081IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
2082IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
2083IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
2084
2085
093d3ff1 2086static PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
09c21d3b
RD
2087 unsigned long cookie = 0;
2088 int selected = self->GetFirstSelected(cookie);
5a446332 2089 wxPyBlock_t blocked = wxPyBeginBlockThreads();
09c21d3b
RD
2090 PyObject* tup = PyTuple_New(2);
2091 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
2092 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
2093 wxPyEndBlockThreads(blocked);
2094 return tup;
2095 }
093d3ff1 2096static PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
09c21d3b 2097 int selected = self->GetNextSelected(cookie);
5a446332 2098 wxPyBlock_t blocked = wxPyBeginBlockThreads();
09c21d3b
RD
2099 PyObject* tup = PyTuple_New(2);
2100 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
2101 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
2102 wxPyEndBlockThreads(blocked);
2103 return tup;
2104 }
d55e5bfc
RD
2105
2106#include <wx/htmllbox.h>
2107
2108
2109class wxPyHtmlListBox : public wxHtmlListBox
2110{
7449af73 2111 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
d55e5bfc
RD
2112public:
2113 wxPyHtmlListBox() : wxHtmlListBox() {}
2114
2115 wxPyHtmlListBox(wxWindow *parent,
2116 wxWindowID id = wxID_ANY,
2117 const wxPoint& pos = wxDefaultPosition,
2118 const wxSize& size = wxDefaultSize,
2119 long style = 0,
2120 const wxString& name = wxPyVListBoxNameStr)
2121 : wxHtmlListBox(parent, id, pos, size, style, name)
2122 {}
2123
2124 // Overridable virtuals
2125
2126 // this method must be implemented in the derived class and should return
2127 // the body (i.e. without <html>) of the HTML for the given item
2128 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
2129
2130 // this function may be overridden to decorate HTML returned by OnGetItem()
2131 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
2132
2133// TODO:
2134// // this method allows to customize the selection appearance: it may be used
2135// // to specify the colour of the text which normally has the given colour
2136// // colFg when it is inside the selection
2137// //
2138// // by default, the original colour is not used at all and all text has the
2139// // same (default for this system) colour inside selection
2140// virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
2141
2142// // this is the same as GetSelectedTextColour() but allows to customize the
2143// // background colour -- this is even more rarely used as you can change it
2144// // globally using SetSelectionBackground()
2145// virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
2146
2147
2148 PYPRIVATE;
2149};
2150
2151
2152IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
2153
2154IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
2155IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
2156
2157
2158
2159
2160
ae8162c8
RD
2161#ifndef wxHAS_TASK_BAR_ICON
2162// implement dummy classes for platforms that don't have it
d55e5bfc
RD
2163
2164class wxTaskBarIcon : public wxEvtHandler
2165{
2166public:
2167 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
2168};
09c21d3b 2169
d55e5bfc
RD
2170
2171class wxTaskBarIconEvent : public wxEvent
2172{
2173public:
2174 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
2175 { wxPyRaiseNotImplemented(); }
2176 virtual wxEvent* Clone() const { return NULL; }
ae8162c8
RD
2177 bool IsOk() const { return false; }
2178 bool IsIconInstalled() const { return false; }
2179 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
2180 bool RemoveIcon() { return false; }
2181 bool PopupMenu(wxMenu *menu) { return false; }
d55e5bfc
RD
2182};
2183
2184enum {
2185 wxEVT_TASKBAR_MOVE = 0,
2186 wxEVT_TASKBAR_LEFT_DOWN = 0,
2187 wxEVT_TASKBAR_LEFT_UP = 0,
2188 wxEVT_TASKBAR_RIGHT_DOWN = 0,
2189 wxEVT_TASKBAR_RIGHT_UP = 0,
2190 wxEVT_TASKBAR_LEFT_DCLICK = 0,
2191 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
2192};
09c21d3b
RD
2193
2194
2195#else
5e483524
RD
2196// Otherwise make a class that can virtualize CreatePopupMenu
2197class wxPyTaskBarIcon : public wxTaskBarIcon
2198{
7449af73 2199 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
5e483524
RD
2200public:
2201 wxPyTaskBarIcon() : wxTaskBarIcon()
2202 {}
2203
2204 wxMenu* CreatePopupMenu() {
2205 wxMenu *rval = NULL;
2206 bool found;
5a446332 2207 wxPyBlock_t blocked = wxPyBeginBlockThreads();
5e483524
RD
2208 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
2209 PyObject* ro;
2210 wxMenu* ptr;
2211 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
2212 if (ro) {
2213 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
2214 rval = ptr;
2215 Py_DECREF(ro);
2216 }
2217 }
2218 wxPyEndBlockThreads(blocked);
2219 if (! found)
2220 rval = wxTaskBarIcon::CreatePopupMenu();
2221 return rval;
2222 }
2223
2224 PYPRIVATE;
2225};
2226
2227IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
09c21d3b 2228
d55e5bfc
RD
2229#endif
2230
093d3ff1 2231static void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
d55e5bfc 2232 self->RemoveIcon();
5e483524 2233 delete self;
d55e5bfc
RD
2234 }
2235 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
2236 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
2237 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
2238 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
2239 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
2240 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
093d3ff1 2241static PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
d55e5bfc
RD
2242 wxArrayString arr;
2243 self->GetFilenames(arr);
2244 return wxArrayString2PyList_helper(arr);
2245 }
093d3ff1 2246static PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
d55e5bfc
RD
2247 wxArrayString arr;
2248 self->GetPaths(arr);
2249 return wxArrayString2PyList_helper(arr);
2250 }
093d3ff1 2251static PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
d55e5bfc
RD
2252 return wxArrayInt2PyList_helper(self->GetSelections());
2253 }
093d3ff1 2254static wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style=wxCHOICEDLG_STYLE,wxPoint const &pos=wxDefaultPosition){
d55e5bfc
RD
2255 return new wxSingleChoiceDialog(parent, message, caption,
2256 choices, choices_array, NULL, style, pos);
2257 }
c1cb24a4 2258 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
d55e5bfc
RD
2259
2260#include <wx/mdi.h>
2261
2262 // C++ version of Python aware wxWindow
2263class wxPyWindow : public wxWindow
2264{
2265 DECLARE_DYNAMIC_CLASS(wxPyWindow)
2266public:
2267 wxPyWindow() : wxWindow() {}
2268 wxPyWindow(wxWindow* parent, const wxWindowID id,
2269 const wxPoint& pos = wxDefaultPosition,
2270 const wxSize& size = wxDefaultSize,
2271 long style = 0,
2272 const wxString& name = wxPyPanelNameStr)
2273 : wxWindow(parent, id, pos, size, style, name) {}
2274
caef1a4d 2275 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
d55e5bfc 2276
60d5fcc1
RD
2277 bool DoEraseBackground(wxDC* dc) {
2278#ifdef __WXMSW__
2279 return wxWindow::DoEraseBackground(dc->GetHDC());
2280#else
2281 dc->SetBackground(wxBrush(GetBackgroundColour()));
2282 dc->Clear();
2283 return true;
2284#endif
2285 }
2286
d55e5bfc
RD
2287 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2288 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2289 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2290 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2291
2292 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2293 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2294 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2295
2296 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2297 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2298
2299 DEC_PYCALLBACK__(InitDialog);
2300 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2301 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2302 DEC_PYCALLBACK_BOOL_(Validate);
2303
2304 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2305 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2306 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2307
2308 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2309 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2310
caef1a4d 2311 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
caef1a4d 2312 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 2313
51b83b37
RD
2314 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2315
8d38bd1d
RD
2316 DEC_PYCALLBACK_VOID_(OnInternalIdle);
2317
d55e5bfc
RD
2318 PYPRIVATE;
2319};
2320
2321IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
2322
2323IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
2324IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
2325IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
2326IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
2327
2328IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
2329IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
2330IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
2331
2332IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
2333IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
2334
2335IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
2336IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
2337IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
2338IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
2339
2340IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
2341IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
2342IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
2343
2344IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
2345IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
2346
caef1a4d 2347IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
caef1a4d 2348IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
51b83b37
RD
2349
2350IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
d55e5bfc 2351
8d38bd1d
RD
2352IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
2353
d55e5bfc
RD
2354 // C++ version of Python aware wxPanel
2355class wxPyPanel : public wxPanel
2356{
2357 DECLARE_DYNAMIC_CLASS(wxPyPanel)
2358public:
2359 wxPyPanel() : wxPanel() {}
2360 wxPyPanel(wxWindow* parent, const wxWindowID id,
2361 const wxPoint& pos = wxDefaultPosition,
2362 const wxSize& size = wxDefaultSize,
2363 long style = 0,
2364 const wxString& name = wxPyPanelNameStr)
2365 : wxPanel(parent, id, pos, size, style, name) {}
2366
caef1a4d 2367 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
60d5fcc1
RD
2368 bool DoEraseBackground(wxDC* dc) {
2369#ifdef __WXMSW__
2370 return wxWindow::DoEraseBackground(dc->GetHDC());
2371#else
2372 dc->SetBackground(wxBrush(GetBackgroundColour()));
2373 dc->Clear();
2374 return true;
2375#endif
2376 }
caef1a4d 2377
d55e5bfc
RD
2378
2379 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2380 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2381 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2382 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2383
2384 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2385 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2386 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2387
2388 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2389 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2390
2391 DEC_PYCALLBACK__(InitDialog);
2392 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2393 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2394 DEC_PYCALLBACK_BOOL_(Validate);
2395
2396 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2397 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2398 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2399
2400 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2401 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2402
caef1a4d 2403 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
caef1a4d 2404 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 2405
51b83b37
RD
2406 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2407
8d38bd1d
RD
2408 DEC_PYCALLBACK_VOID_(OnInternalIdle);
2409
d55e5bfc
RD
2410 PYPRIVATE;
2411};
2412
2413IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
2414
2415IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
2416IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
2417IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
2418IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
2419
2420IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
2421IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
2422IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
2423
2424IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
2425IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
2426
2427IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
2428IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
2429IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
2430IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
2431
2432IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
2433IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
2434IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
2435
2436IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
2437IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
2438
caef1a4d 2439IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
caef1a4d 2440IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
d55e5bfc 2441
51b83b37
RD
2442IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
2443
8d38bd1d
RD
2444IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
2445
d55e5bfc
RD
2446 // C++ version of Python aware wxScrolledWindow
2447class wxPyScrolledWindow : public wxScrolledWindow
2448{
2449 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
2450public:
2451 wxPyScrolledWindow() : wxScrolledWindow() {}
2452 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
2453 const wxPoint& pos = wxDefaultPosition,
2454 const wxSize& size = wxDefaultSize,
2455 long style = 0,
2456 const wxString& name = wxPyPanelNameStr)
2457 : wxScrolledWindow(parent, id, pos, size, style, name) {}
2458
caef1a4d 2459 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
60d5fcc1
RD
2460 bool DoEraseBackground(wxDC* dc) {
2461#ifdef __WXMSW__
2462 return wxWindow::DoEraseBackground(dc->GetHDC());
2463#else
2464 dc->SetBackground(wxBrush(GetBackgroundColour()));
2465 dc->Clear();
2466 return true;
2467#endif
2468 }
d55e5bfc
RD
2469
2470 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2471 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2472 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2473 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2474
2475 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2476 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2477 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2478
2479 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2480 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2481
2482 DEC_PYCALLBACK__(InitDialog);
2483 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2484 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2485 DEC_PYCALLBACK_BOOL_(Validate);
2486
2487 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2488 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2489 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2490
2491 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2492 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2493
caef1a4d 2494 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
caef1a4d 2495 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 2496
51b83b37
RD
2497 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2498
8d38bd1d
RD
2499 DEC_PYCALLBACK_VOID_(OnInternalIdle);
2500
d55e5bfc
RD
2501 PYPRIVATE;
2502};
2503
2504IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
2505
2506IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
2507IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
2508IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
2509IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
2510
2511IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
2512IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
2513IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
2514
2515IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
2516IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
2517
2518IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
2519IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
2520IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
2521IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
2522
2523IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
2524IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
2525IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
2526
2527IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
2528IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
2529
caef1a4d 2530IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
caef1a4d
RD
2531IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
2532
51b83b37 2533IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
d55e5bfc 2534
8d38bd1d
RD
2535IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
2536
d55e5bfc
RD
2537
2538#include "wx/wxPython/printfw.h"
2539
2540
2541 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
2542 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
b9d6a5f3
RD
2543static PyObject *wxPrintData_GetPrivData(wxPrintData *self){
2544 PyObject* data;
5a446332 2545 wxPyBlock_t blocked = wxPyBeginBlockThreads();
b9d6a5f3
RD
2546 data = PyString_FromStringAndSize(self->GetPrivData(),
2547 self->GetPrivDataLen());
2548 wxPyEndBlockThreads(blocked);
2549 return data;
2550 }
2551static void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
2552 if (! PyString_Check(data)) {
2553 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
2554 "Expected string object"));
2555 return /* NULL */ ;
2556 }
2557
5a446332 2558 wxPyBlock_t blocked = wxPyBeginBlockThreads();
b9d6a5f3
RD
2559 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
2560 wxPyEndBlockThreads(blocked);
2561 }
d55e5bfc
RD
2562
2563
c1cb24a4 2564IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
d55e5bfc
RD
2565
2566// Since this one would be tough and ugly to do with the Macros...
2567void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
ae8162c8 2568 bool hadErr = false;
d55e5bfc
RD
2569 bool found;
2570
5a446332 2571 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc
RD
2572 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
2573 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
2574 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
2575 PyObject* val;
2576
2577 val = PyTuple_GetItem(result, 0);
2578 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
ae8162c8 2579 else hadErr = true;
d55e5bfc
RD
2580
2581 val = PyTuple_GetItem(result, 1);
2582 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
ae8162c8 2583 else hadErr = true;
d55e5bfc
RD
2584
2585 val = PyTuple_GetItem(result, 2);
2586 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
ae8162c8 2587 else hadErr = true;
d55e5bfc
RD
2588
2589 val = PyTuple_GetItem(result, 3);
2590 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
ae8162c8 2591 else hadErr = true;
d55e5bfc
RD
2592 }
2593 else
ae8162c8 2594 hadErr = true;
d55e5bfc
RD
2595
2596 if (hadErr) {
2597 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
2598 PyErr_Print();
2599 }
2600 Py_DECREF(result);
2601 }
2602 wxPyEndBlockThreads(blocked);
2603 if (! found)
2604 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
2605}
2606
d55e5bfc
RD
2607
2608
2609IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
2610IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
2611IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
2612IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
2613IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
2614IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
2615IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
2616
2617
2618
2619
2620
ae8162c8 2621#define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
b06b3e70 2622 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
d55e5bfc
RD
2623
2624
ae8162c8
RD
2625#define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
2626 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2627 bool rval=false; \
2628 bool found; \
7449af73 2629 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
ae8162c8
RD
2630 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2631 PyObject* win = wxPyMake_wxObject(a,false); \
2632 PyObject* dc = wxPyMake_wxObject(&b,false); \
2633 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
2634 Py_DECREF(win); \
2635 Py_DECREF(dc); \
2636 } \
2637 wxPyEndBlockThreads(blocked); \
2638 if (! found) \
2639 rval = PCLASS::CBNAME(a, b); \
2640 return rval; \
b06b3e70 2641 }
d55e5bfc
RD
2642
2643
2644
2645
2646class wxPyPrintPreview : public wxPrintPreview
2647{
2648 DECLARE_CLASS(wxPyPrintPreview)
2649public:
2650 wxPyPrintPreview(wxPyPrintout* printout,
2651 wxPyPrintout* printoutForPrinting,
2652 wxPrintDialogData* data=NULL)
2653 : wxPrintPreview(printout, printoutForPrinting, data)
2654 {}
2655 wxPyPrintPreview(wxPyPrintout* printout,
2656 wxPyPrintout* printoutForPrinting,
7449af73 2657 wxPrintData* data)
d55e5bfc
RD
2658 : wxPrintPreview(printout, printoutForPrinting, data)
2659 {}
2660
2661 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
2662 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
2663 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
2664 DEC_PYCALLBACK_BOOL_INT(RenderPage);
2665 DEC_PYCALLBACK_VOID_INT(SetZoom);
2666 DEC_PYCALLBACK_BOOL_BOOL(Print);
2667 DEC_PYCALLBACK_VOID_(DetermineScaling);
2668
2669 PYPRIVATE;
2670};
2671
2672// Stupid renamed classes... Fix this in 2.5...
2673#if defined(__WXMSW__)
2674IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
2675#elif defined(__WXMAC__)
2676IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
2677#else
2678IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
2679#endif
2680
2681IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
2682IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
2683IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
2684IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
2685IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
2686IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
2687IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
2688
2689
2690class wxPyPreviewFrame : public wxPreviewFrame
2691{
7449af73 2692 DECLARE_CLASS(wxPyPreviewFrame)
d55e5bfc
RD
2693public:
2694 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
2695 const wxString& title,
2696 const wxPoint& pos = wxDefaultPosition,
2697 const wxSize& size = wxDefaultSize,
2698 long style = wxDEFAULT_FRAME_STYLE,
2699 const wxString& name = wxPyFrameNameStr)
2700 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
2701 {}
2702
2703 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
2704 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
2705
2706 DEC_PYCALLBACK_VOID_(Initialize);
2707 DEC_PYCALLBACK_VOID_(CreateCanvas);
2708 DEC_PYCALLBACK_VOID_(CreateControlBar);
2709
2710 PYPRIVATE;
2711};
2712
2713IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
2714
2715IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
2716IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
2717IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
2718
2719
2720class wxPyPreviewControlBar : public wxPreviewControlBar
2721{
7449af73 2722 DECLARE_CLASS(wxPyPreviewControlBar)
d55e5bfc
RD
2723public:
2724 wxPyPreviewControlBar(wxPrintPreview *preview,
2725 long buttons,
2726 wxWindow *parent,
2727 const wxPoint& pos = wxDefaultPosition,
2728 const wxSize& size = wxDefaultSize,
2729 long style = 0,
2730 const wxString& name = wxPyPanelNameStr)
2731 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
2732 {}
2733
2734 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
2735
2736 DEC_PYCALLBACK_VOID_(CreateButtons);
2737 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
2738
2739 PYPRIVATE;
2740};
2741
2742IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
2743IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
2744IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
2745
2746#ifdef __cplusplus
2747extern "C" {
2748#endif
c32bde28 2749static PyObject *_wrap_new_Panel(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 2750 PyObject *resultobj = NULL;
d55e5bfc
RD
2751 wxWindow *arg1 = (wxWindow *) 0 ;
2752 int arg2 = (int) (int)-1 ;
2753 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2754 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2755 wxSize const &arg4_defvalue = wxDefaultSize ;
2756 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2757 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
2758 wxString const &arg6_defvalue = wxPyPanelNameStr ;
2759 wxString *arg6 = (wxString *) &arg6_defvalue ;
2760 wxPanel *result;
2761 wxPoint temp3 ;
2762 wxSize temp4 ;
ae8162c8 2763 bool temp6 = false ;
d55e5bfc
RD
2764 PyObject * obj0 = 0 ;
2765 PyObject * obj1 = 0 ;
2766 PyObject * obj2 = 0 ;
2767 PyObject * obj3 = 0 ;
2768 PyObject * obj4 = 0 ;
2769 PyObject * obj5 = 0 ;
2770 char *kwnames[] = {
2771 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2772 };
2773
2774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
2775 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2776 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 2777 if (obj1) {
093d3ff1 2778 {
7449af73 2779 arg2 = static_cast<int const >(SWIG_As_int(obj1));
093d3ff1
RD
2780 if (SWIG_arg_fail(2)) SWIG_fail;
2781 }
d55e5bfc
RD
2782 }
2783 if (obj2) {
2784 {
2785 arg3 = &temp3;
2786 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2787 }
2788 }
2789 if (obj3) {
2790 {
2791 arg4 = &temp4;
2792 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2793 }
2794 }
2795 if (obj4) {
093d3ff1 2796 {
7449af73 2797 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
2798 if (SWIG_arg_fail(5)) SWIG_fail;
2799 }
d55e5bfc
RD
2800 }
2801 if (obj5) {
2802 {
2803 arg6 = wxString_in_helper(obj5);
2804 if (arg6 == NULL) SWIG_fail;
ae8162c8 2805 temp6 = true;
d55e5bfc
RD
2806 }
2807 }
2808 {
0439c23b 2809 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2810 PyThreadState* __tstate = wxPyBeginAllowThreads();
2811 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
2812
2813 wxPyEndAllowThreads(__tstate);
110da5b0 2814 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 2815 }
b0f7404b 2816 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
d55e5bfc
RD
2817 {
2818 if (temp6)
2819 delete arg6;
2820 }
2821 return resultobj;
2822 fail:
2823 {
2824 if (temp6)
2825 delete arg6;
2826 }
2827 return NULL;
2828}
2829
2830
c32bde28 2831static PyObject *_wrap_new_PrePanel(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 2832 PyObject *resultobj = NULL;
d55e5bfc
RD
2833 wxPanel *result;
2834 char *kwnames[] = {
2835 NULL
2836 };
2837
2838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
2839 {
0439c23b 2840 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2841 PyThreadState* __tstate = wxPyBeginAllowThreads();
2842 result = (wxPanel *)new wxPanel();
2843
2844 wxPyEndAllowThreads(__tstate);
110da5b0 2845 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 2846 }
b0f7404b 2847 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
d55e5bfc
RD
2848 return resultobj;
2849 fail:
2850 return NULL;
2851}
2852
2853
c32bde28 2854static PyObject *_wrap_Panel_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 2855 PyObject *resultobj = NULL;
d55e5bfc
RD
2856 wxPanel *arg1 = (wxPanel *) 0 ;
2857 wxWindow *arg2 = (wxWindow *) 0 ;
2858 int arg3 = (int) (int)-1 ;
2859 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2860 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2861 wxSize const &arg5_defvalue = wxDefaultSize ;
2862 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2863 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
2864 wxString const &arg7_defvalue = wxPyPanelNameStr ;
2865 wxString *arg7 = (wxString *) &arg7_defvalue ;
2866 bool result;
2867 wxPoint temp4 ;
2868 wxSize temp5 ;
ae8162c8 2869 bool temp7 = false ;
d55e5bfc
RD
2870 PyObject * obj0 = 0 ;
2871 PyObject * obj1 = 0 ;
2872 PyObject * obj2 = 0 ;
2873 PyObject * obj3 = 0 ;
2874 PyObject * obj4 = 0 ;
2875 PyObject * obj5 = 0 ;
2876 PyObject * obj6 = 0 ;
2877 char *kwnames[] = {
2878 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2879 };
2880
2881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
2882 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2883 if (SWIG_arg_fail(1)) SWIG_fail;
2884 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2885 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 2886 if (obj2) {
093d3ff1 2887 {
7449af73 2888 arg3 = static_cast<int const >(SWIG_As_int(obj2));
093d3ff1
RD
2889 if (SWIG_arg_fail(3)) SWIG_fail;
2890 }
d55e5bfc
RD
2891 }
2892 if (obj3) {
2893 {
2894 arg4 = &temp4;
2895 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2896 }
2897 }
2898 if (obj4) {
2899 {
2900 arg5 = &temp5;
2901 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2902 }
2903 }
2904 if (obj5) {
093d3ff1 2905 {
7449af73 2906 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
2907 if (SWIG_arg_fail(6)) SWIG_fail;
2908 }
d55e5bfc
RD
2909 }
2910 if (obj6) {
2911 {
2912 arg7 = wxString_in_helper(obj6);
2913 if (arg7 == NULL) SWIG_fail;
ae8162c8 2914 temp7 = true;
d55e5bfc
RD
2915 }
2916 }
2917 {
2918 PyThreadState* __tstate = wxPyBeginAllowThreads();
2919 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2920
2921 wxPyEndAllowThreads(__tstate);
2922 if (PyErr_Occurred()) SWIG_fail;
2923 }
2924 {
2925 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2926 }
2927 {
2928 if (temp7)
2929 delete arg7;
2930 }
2931 return resultobj;
2932 fail:
2933 {
2934 if (temp7)
2935 delete arg7;
2936 }
2937 return NULL;
2938}
2939
2940
c32bde28 2941static PyObject *_wrap_Panel_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 2942 PyObject *resultobj = NULL;
d55e5bfc
RD
2943 wxPanel *arg1 = (wxPanel *) 0 ;
2944 PyObject * obj0 = 0 ;
2945 char *kwnames[] = {
2946 (char *) "self", NULL
2947 };
2948
2949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
093d3ff1
RD
2950 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2951 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
2952 {
2953 PyThreadState* __tstate = wxPyBeginAllowThreads();
2954 (arg1)->InitDialog();
2955
2956 wxPyEndAllowThreads(__tstate);
2957 if (PyErr_Occurred()) SWIG_fail;
2958 }
2959 Py_INCREF(Py_None); resultobj = Py_None;
2960 return resultobj;
2961 fail:
2962 return NULL;
2963}
2964
2965
b519803b 2966static PyObject *_wrap_Panel_SetFocus(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 2967 PyObject *resultobj = NULL;
b519803b
RD
2968 wxPanel *arg1 = (wxPanel *) 0 ;
2969 PyObject * obj0 = 0 ;
2970 char *kwnames[] = {
2971 (char *) "self", NULL
2972 };
2973
2974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_SetFocus",kwnames,&obj0)) goto fail;
093d3ff1
RD
2975 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2976 if (SWIG_arg_fail(1)) SWIG_fail;
b519803b
RD
2977 {
2978 PyThreadState* __tstate = wxPyBeginAllowThreads();
2979 (arg1)->SetFocus();
2980
2981 wxPyEndAllowThreads(__tstate);
2982 if (PyErr_Occurred()) SWIG_fail;
2983 }
2984 Py_INCREF(Py_None); resultobj = Py_None;
2985 return resultobj;
2986 fail:
2987 return NULL;
2988}
2989
2990
2991static PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 2992 PyObject *resultobj = NULL;
b519803b
RD
2993 wxPanel *arg1 = (wxPanel *) 0 ;
2994 PyObject * obj0 = 0 ;
2995 char *kwnames[] = {
2996 (char *) "self", NULL
2997 };
2998
2999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_SetFocusIgnoringChildren",kwnames,&obj0)) goto fail;
093d3ff1
RD
3000 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
3001 if (SWIG_arg_fail(1)) SWIG_fail;
b519803b
RD
3002 {
3003 PyThreadState* __tstate = wxPyBeginAllowThreads();
3004 (arg1)->SetFocusIgnoringChildren();
3005
3006 wxPyEndAllowThreads(__tstate);
3007 if (PyErr_Occurred()) SWIG_fail;
3008 }
3009 Py_INCREF(Py_None); resultobj = Py_None;
3010 return resultobj;
3011 fail:
3012 return NULL;
3013}
3014
3015
c32bde28 3016static PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3017 PyObject *resultobj = NULL;
093d3ff1 3018 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
3019 wxVisualAttributes result;
3020 PyObject * obj0 = 0 ;
3021 char *kwnames[] = {
3022 (char *) "variant", NULL
3023 };
3024
3025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3026 if (obj0) {
093d3ff1 3027 {
7449af73 3028 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
3029 if (SWIG_arg_fail(1)) SWIG_fail;
3030 }
f20a2e1f
RD
3031 }
3032 {
0439c23b 3033 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 3034 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 3035 result = wxPanel::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
3036
3037 wxPyEndAllowThreads(__tstate);
110da5b0 3038 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
3039 }
3040 {
3041 wxVisualAttributes * resultptr;
7449af73 3042 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
3043 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3044 }
3045 return resultobj;
3046 fail:
3047 return NULL;
3048}
3049
3050
c32bde28 3051static PyObject * Panel_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
3052 PyObject *obj;
3053 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3054 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
3055 Py_INCREF(obj);
3056 return Py_BuildValue((char *)"");
3057}
c32bde28 3058static PyObject *_wrap_new_ScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3059 PyObject *resultobj = NULL;
d55e5bfc
RD
3060 wxWindow *arg1 = (wxWindow *) 0 ;
3061 int arg2 = (int) (int)-1 ;
3062 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3063 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3064 wxSize const &arg4_defvalue = wxDefaultSize ;
3065 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3066 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
3067 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3068 wxString *arg6 = (wxString *) &arg6_defvalue ;
3069 wxScrolledWindow *result;
3070 wxPoint temp3 ;
3071 wxSize temp4 ;
ae8162c8 3072 bool temp6 = false ;
d55e5bfc
RD
3073 PyObject * obj0 = 0 ;
3074 PyObject * obj1 = 0 ;
3075 PyObject * obj2 = 0 ;
3076 PyObject * obj3 = 0 ;
3077 PyObject * obj4 = 0 ;
3078 PyObject * obj5 = 0 ;
3079 char *kwnames[] = {
3080 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3081 };
3082
3083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
3084 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3085 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 3086 if (obj1) {
093d3ff1 3087 {
7449af73 3088 arg2 = static_cast<int const >(SWIG_As_int(obj1));
093d3ff1
RD
3089 if (SWIG_arg_fail(2)) SWIG_fail;
3090 }
d55e5bfc
RD
3091 }
3092 if (obj2) {
3093 {
3094 arg3 = &temp3;
3095 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3096 }
3097 }
3098 if (obj3) {
3099 {
3100 arg4 = &temp4;
3101 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3102 }
3103 }
3104 if (obj4) {
093d3ff1 3105 {
7449af73 3106 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
3107 if (SWIG_arg_fail(5)) SWIG_fail;
3108 }
d55e5bfc
RD
3109 }
3110 if (obj5) {
3111 {
3112 arg6 = wxString_in_helper(obj5);
3113 if (arg6 == NULL) SWIG_fail;
ae8162c8 3114 temp6 = true;
d55e5bfc
RD
3115 }
3116 }
3117 {
0439c23b 3118 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3119 PyThreadState* __tstate = wxPyBeginAllowThreads();
3120 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3121
3122 wxPyEndAllowThreads(__tstate);
110da5b0 3123 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 3124 }
b0f7404b 3125 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
d55e5bfc
RD
3126 {
3127 if (temp6)
3128 delete arg6;
3129 }
3130 return resultobj;
3131 fail:
3132 {
3133 if (temp6)
3134 delete arg6;
3135 }
3136 return NULL;
3137}
3138
3139
c32bde28 3140static PyObject *_wrap_new_PreScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3141 PyObject *resultobj = NULL;
d55e5bfc
RD
3142 wxScrolledWindow *result;
3143 char *kwnames[] = {
3144 NULL
3145 };
3146
3147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
3148 {
0439c23b 3149 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3150 PyThreadState* __tstate = wxPyBeginAllowThreads();
3151 result = (wxScrolledWindow *)new wxScrolledWindow();
3152
3153 wxPyEndAllowThreads(__tstate);
110da5b0 3154 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 3155 }
b0f7404b 3156 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
d55e5bfc
RD
3157 return resultobj;
3158 fail:
3159 return NULL;
3160}
3161
3162
c32bde28 3163static PyObject *_wrap_ScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3164 PyObject *resultobj = NULL;
d55e5bfc
RD
3165 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3166 wxWindow *arg2 = (wxWindow *) 0 ;
3167 int arg3 = (int) (int)-1 ;
3168 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3169 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3170 wxSize const &arg5_defvalue = wxDefaultSize ;
3171 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3172 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
3173 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3174 wxString *arg7 = (wxString *) &arg7_defvalue ;
3175 bool result;
3176 wxPoint temp4 ;
3177 wxSize temp5 ;
ae8162c8 3178 bool temp7 = false ;
d55e5bfc
RD
3179 PyObject * obj0 = 0 ;
3180 PyObject * obj1 = 0 ;
3181 PyObject * obj2 = 0 ;
3182 PyObject * obj3 = 0 ;
3183 PyObject * obj4 = 0 ;
3184 PyObject * obj5 = 0 ;
3185 PyObject * obj6 = 0 ;
3186 char *kwnames[] = {
3187 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3188 };
3189
3190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
3191 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3192 if (SWIG_arg_fail(1)) SWIG_fail;
3193 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3194 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 3195 if (obj2) {
093d3ff1 3196 {
7449af73 3197 arg3 = static_cast<int const >(SWIG_As_int(obj2));
093d3ff1
RD
3198 if (SWIG_arg_fail(3)) SWIG_fail;
3199 }
d55e5bfc
RD
3200 }
3201 if (obj3) {
3202 {
3203 arg4 = &temp4;
3204 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3205 }
3206 }
3207 if (obj4) {
3208 {
3209 arg5 = &temp5;
3210 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3211 }
3212 }
3213 if (obj5) {
093d3ff1 3214 {
7449af73 3215 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
3216 if (SWIG_arg_fail(6)) SWIG_fail;
3217 }
d55e5bfc
RD
3218 }
3219 if (obj6) {
3220 {
3221 arg7 = wxString_in_helper(obj6);
3222 if (arg7 == NULL) SWIG_fail;
ae8162c8 3223 temp7 = true;
d55e5bfc
RD
3224 }
3225 }
3226 {
3227 PyThreadState* __tstate = wxPyBeginAllowThreads();
3228 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3229
3230 wxPyEndAllowThreads(__tstate);
3231 if (PyErr_Occurred()) SWIG_fail;
3232 }
3233 {
3234 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3235 }
3236 {
3237 if (temp7)
3238 delete arg7;
3239 }
3240 return resultobj;
3241 fail:
3242 {
3243 if (temp7)
3244 delete arg7;
3245 }
3246 return NULL;
3247}
3248
3249
c32bde28 3250static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3251 PyObject *resultobj = NULL;
d55e5bfc
RD
3252 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3253 int arg2 ;
3254 int arg3 ;
3255 int arg4 ;
3256 int arg5 ;
3257 int arg6 = (int) 0 ;
3258 int arg7 = (int) 0 ;
ae8162c8 3259 bool arg8 = (bool) false ;
d55e5bfc
RD
3260 PyObject * obj0 = 0 ;
3261 PyObject * obj1 = 0 ;
3262 PyObject * obj2 = 0 ;
3263 PyObject * obj3 = 0 ;
3264 PyObject * obj4 = 0 ;
3265 PyObject * obj5 = 0 ;
3266 PyObject * obj6 = 0 ;
3267 PyObject * obj7 = 0 ;
3268 char *kwnames[] = {
3269 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
3270 };
3271
3272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
3273 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3274 if (SWIG_arg_fail(1)) SWIG_fail;
3275 {
7449af73 3276 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
3277 if (SWIG_arg_fail(2)) SWIG_fail;
3278 }
3279 {
7449af73 3280 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
3281 if (SWIG_arg_fail(3)) SWIG_fail;
3282 }
3283 {
7449af73 3284 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
3285 if (SWIG_arg_fail(4)) SWIG_fail;
3286 }
3287 {
7449af73 3288 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
3289 if (SWIG_arg_fail(5)) SWIG_fail;
3290 }
d55e5bfc 3291 if (obj5) {
093d3ff1 3292 {
7449af73 3293 arg6 = static_cast<int >(SWIG_As_int(obj5));
093d3ff1
RD
3294 if (SWIG_arg_fail(6)) SWIG_fail;
3295 }
d55e5bfc
RD
3296 }
3297 if (obj6) {
093d3ff1 3298 {
7449af73 3299 arg7 = static_cast<int >(SWIG_As_int(obj6));
093d3ff1
RD
3300 if (SWIG_arg_fail(7)) SWIG_fail;
3301 }
d55e5bfc
RD
3302 }
3303 if (obj7) {
093d3ff1 3304 {
7449af73 3305 arg8 = static_cast<bool >(SWIG_As_bool(obj7));
093d3ff1
RD
3306 if (SWIG_arg_fail(8)) SWIG_fail;
3307 }
d55e5bfc
RD
3308 }
3309 {
3310 PyThreadState* __tstate = wxPyBeginAllowThreads();
3311 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
3312
3313 wxPyEndAllowThreads(__tstate);
3314 if (PyErr_Occurred()) SWIG_fail;
3315 }
3316 Py_INCREF(Py_None); resultobj = Py_None;
3317 return resultobj;
3318 fail:
3319 return NULL;
3320}
3321
3322
c32bde28 3323static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3324 PyObject *resultobj = NULL;
d55e5bfc
RD
3325 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3326 int arg2 ;
3327 int arg3 ;
3328 PyObject * obj0 = 0 ;
3329 PyObject * obj1 = 0 ;
3330 PyObject * obj2 = 0 ;
3331 char *kwnames[] = {
3332 (char *) "self",(char *) "x",(char *) "y", NULL
3333 };
3334
3335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3336 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3337 if (SWIG_arg_fail(1)) SWIG_fail;
3338 {
7449af73 3339 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
3340 if (SWIG_arg_fail(2)) SWIG_fail;
3341 }
3342 {
7449af73 3343 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
3344 if (SWIG_arg_fail(3)) SWIG_fail;
3345 }
d55e5bfc
RD
3346 {
3347 PyThreadState* __tstate = wxPyBeginAllowThreads();
3348 (arg1)->Scroll(arg2,arg3);
3349
3350 wxPyEndAllowThreads(__tstate);
3351 if (PyErr_Occurred()) SWIG_fail;
3352 }
3353 Py_INCREF(Py_None); resultobj = Py_None;
3354 return resultobj;
3355 fail:
3356 return NULL;
3357}
3358
3359
c32bde28 3360static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3361 PyObject *resultobj = NULL;
d55e5bfc
RD
3362 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3363 int arg2 ;
3364 int result;
3365 PyObject * obj0 = 0 ;
3366 PyObject * obj1 = 0 ;
3367 char *kwnames[] = {
3368 (char *) "self",(char *) "orient", NULL
3369 };
3370
3371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3373 if (SWIG_arg_fail(1)) SWIG_fail;
3374 {
7449af73 3375 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
3376 if (SWIG_arg_fail(2)) SWIG_fail;
3377 }
d55e5bfc
RD
3378 {
3379 PyThreadState* __tstate = wxPyBeginAllowThreads();
3380 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
3381
3382 wxPyEndAllowThreads(__tstate);
3383 if (PyErr_Occurred()) SWIG_fail;
3384 }
093d3ff1 3385 {
7449af73 3386 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 3387 }
d55e5bfc
RD
3388 return resultobj;
3389 fail:
3390 return NULL;
3391}
3392
3393
c32bde28 3394static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3395 PyObject *resultobj = NULL;
d55e5bfc
RD
3396 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3397 int arg2 ;
3398 int arg3 ;
3399 PyObject * obj0 = 0 ;
3400 PyObject * obj1 = 0 ;
3401 PyObject * obj2 = 0 ;
3402 char *kwnames[] = {
3403 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
3404 };
3405
3406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3407 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3408 if (SWIG_arg_fail(1)) SWIG_fail;
3409 {
7449af73 3410 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
3411 if (SWIG_arg_fail(2)) SWIG_fail;
3412 }
3413 {
7449af73 3414 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
3415 if (SWIG_arg_fail(3)) SWIG_fail;
3416 }
d55e5bfc
RD
3417 {
3418 PyThreadState* __tstate = wxPyBeginAllowThreads();
3419 (arg1)->SetScrollPageSize(arg2,arg3);
3420
3421 wxPyEndAllowThreads(__tstate);
3422 if (PyErr_Occurred()) SWIG_fail;
3423 }
3424 Py_INCREF(Py_None); resultobj = Py_None;
3425 return resultobj;
3426 fail:
3427 return NULL;
3428}
3429
3430
c32bde28 3431static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3432 PyObject *resultobj = NULL;
d55e5bfc
RD
3433 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3434 int arg2 ;
3435 int arg3 ;
3436 PyObject * obj0 = 0 ;
3437 PyObject * obj1 = 0 ;
3438 PyObject * obj2 = 0 ;
3439 char *kwnames[] = {
3440 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
3441 };
3442
3443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3445 if (SWIG_arg_fail(1)) SWIG_fail;
3446 {
7449af73 3447 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
3448 if (SWIG_arg_fail(2)) SWIG_fail;
3449 }
3450 {
7449af73 3451 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
3452 if (SWIG_arg_fail(3)) SWIG_fail;
3453 }
d55e5bfc
RD
3454 {
3455 PyThreadState* __tstate = wxPyBeginAllowThreads();
3456 (arg1)->SetScrollRate(arg2,arg3);
3457
3458 wxPyEndAllowThreads(__tstate);
3459 if (PyErr_Occurred()) SWIG_fail;
3460 }
3461 Py_INCREF(Py_None); resultobj = Py_None;
3462 return resultobj;
3463 fail:
3464 return NULL;
3465}
3466
3467
c32bde28 3468static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3469 PyObject *resultobj = NULL;
d55e5bfc
RD
3470 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3471 int *arg2 = (int *) 0 ;
3472 int *arg3 = (int *) 0 ;
3473 int temp2 ;
c32bde28 3474 int res2 = 0 ;
d55e5bfc 3475 int temp3 ;
c32bde28 3476 int res3 = 0 ;
d55e5bfc
RD
3477 PyObject * obj0 = 0 ;
3478 char *kwnames[] = {
3479 (char *) "self", NULL
3480 };
3481
c32bde28
RD
3482 arg2 = &temp2; res2 = SWIG_NEWOBJ;
3483 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 3484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
093d3ff1
RD
3485 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3486 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3487 {
3488 PyThreadState* __tstate = wxPyBeginAllowThreads();
3489 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
3490
3491 wxPyEndAllowThreads(__tstate);
3492 if (PyErr_Occurred()) SWIG_fail;
3493 }
3494 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
3495 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
3496 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
3497 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
3498 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
3499 return resultobj;
3500 fail:
3501 return NULL;
3502}
3503
3504
c32bde28 3505static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3506 PyObject *resultobj = NULL;
d55e5bfc
RD
3507 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3508 bool arg2 ;
3509 bool arg3 ;
3510 PyObject * obj0 = 0 ;
3511 PyObject * obj1 = 0 ;
3512 PyObject * obj2 = 0 ;
3513 char *kwnames[] = {
3514 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
3515 };
3516
3517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3518 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3519 if (SWIG_arg_fail(1)) SWIG_fail;
3520 {
7449af73 3521 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
3522 if (SWIG_arg_fail(2)) SWIG_fail;
3523 }
3524 {
7449af73 3525 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
3526 if (SWIG_arg_fail(3)) SWIG_fail;
3527 }
d55e5bfc
RD
3528 {
3529 PyThreadState* __tstate = wxPyBeginAllowThreads();
3530 (arg1)->EnableScrolling(arg2,arg3);
3531
3532 wxPyEndAllowThreads(__tstate);
3533 if (PyErr_Occurred()) SWIG_fail;
3534 }
3535 Py_INCREF(Py_None); resultobj = Py_None;
3536 return resultobj;
3537 fail:
3538 return NULL;
3539}
3540
3541
c32bde28 3542static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3543 PyObject *resultobj = NULL;
d55e5bfc
RD
3544 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3545 int *arg2 = (int *) 0 ;
3546 int *arg3 = (int *) 0 ;
3547 int temp2 ;
c32bde28 3548 int res2 = 0 ;
d55e5bfc 3549 int temp3 ;
c32bde28 3550 int res3 = 0 ;
d55e5bfc
RD
3551 PyObject * obj0 = 0 ;
3552 char *kwnames[] = {
3553 (char *) "self", NULL
3554 };
3555
c32bde28
RD
3556 arg2 = &temp2; res2 = SWIG_NEWOBJ;
3557 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 3558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
093d3ff1
RD
3559 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3560 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3561 {
3562 PyThreadState* __tstate = wxPyBeginAllowThreads();
3563 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
3564
3565 wxPyEndAllowThreads(__tstate);
3566 if (PyErr_Occurred()) SWIG_fail;
3567 }
3568 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
3569 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
3570 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
3571 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
3572 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
3573 return resultobj;
3574 fail:
3575 return NULL;
3576}
3577
3578
c32bde28 3579static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3580 PyObject *resultobj = NULL;
d55e5bfc
RD
3581 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3582 double arg2 ;
3583 double arg3 ;
3584 PyObject * obj0 = 0 ;
3585 PyObject * obj1 = 0 ;
3586 PyObject * obj2 = 0 ;
3587 char *kwnames[] = {
3588 (char *) "self",(char *) "xs",(char *) "ys", NULL
3589 };
3590
3591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3592 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3593 if (SWIG_arg_fail(1)) SWIG_fail;
3594 {
7449af73 3595 arg2 = static_cast<double >(SWIG_As_double(obj1));
093d3ff1
RD
3596 if (SWIG_arg_fail(2)) SWIG_fail;
3597 }
3598 {
7449af73 3599 arg3 = static_cast<double >(SWIG_As_double(obj2));
093d3ff1
RD
3600 if (SWIG_arg_fail(3)) SWIG_fail;
3601 }
d55e5bfc
RD
3602 {
3603 PyThreadState* __tstate = wxPyBeginAllowThreads();
3604 (arg1)->SetScale(arg2,arg3);
3605
3606 wxPyEndAllowThreads(__tstate);
3607 if (PyErr_Occurred()) SWIG_fail;
3608 }
3609 Py_INCREF(Py_None); resultobj = Py_None;
3610 return resultobj;
3611 fail:
3612 return NULL;
3613}
3614
3615
c32bde28 3616static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3617 PyObject *resultobj = NULL;
d55e5bfc
RD
3618 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3619 double result;
3620 PyObject * obj0 = 0 ;
3621 char *kwnames[] = {
3622 (char *) "self", NULL
3623 };
3624
3625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
093d3ff1
RD
3626 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3627 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3628 {
3629 PyThreadState* __tstate = wxPyBeginAllowThreads();
3630 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
3631
3632 wxPyEndAllowThreads(__tstate);
3633 if (PyErr_Occurred()) SWIG_fail;
3634 }
093d3ff1 3635 {
7449af73 3636 resultobj = SWIG_From_double(static_cast<double >(result));
093d3ff1 3637 }
d55e5bfc
RD
3638 return resultobj;
3639 fail:
3640 return NULL;
3641}
3642
3643
c32bde28 3644static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3645 PyObject *resultobj = NULL;
d55e5bfc
RD
3646 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3647 double result;
3648 PyObject * obj0 = 0 ;
3649 char *kwnames[] = {
3650 (char *) "self", NULL
3651 };
3652
3653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
093d3ff1
RD
3654 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3655 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3656 {
3657 PyThreadState* __tstate = wxPyBeginAllowThreads();
3658 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
3659
3660 wxPyEndAllowThreads(__tstate);
3661 if (PyErr_Occurred()) SWIG_fail;
3662 }
093d3ff1 3663 {
7449af73 3664 resultobj = SWIG_From_double(static_cast<double >(result));
093d3ff1 3665 }
d55e5bfc
RD
3666 return resultobj;
3667 fail:
3668 return NULL;
3669}
3670
3671
c32bde28 3672static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *, PyObject *args) {
7449af73 3673 PyObject *resultobj = NULL;
d55e5bfc
RD
3674 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3675 wxPoint *arg2 = 0 ;
3676 wxPoint result;
3677 wxPoint temp2 ;
3678 PyObject * obj0 = 0 ;
3679 PyObject * obj1 = 0 ;
3680
3681 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
093d3ff1
RD
3682 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3683 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3684 {
3685 arg2 = &temp2;
3686 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3687 }
3688 {
3689 PyThreadState* __tstate = wxPyBeginAllowThreads();
3690 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
3691
3692 wxPyEndAllowThreads(__tstate);
3693 if (PyErr_Occurred()) SWIG_fail;
3694 }
3695 {
3696 wxPoint * resultptr;
7449af73 3697 resultptr = new wxPoint(static_cast<wxPoint & >(result));
d55e5bfc
RD
3698 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3699 }
3700 return resultobj;
3701 fail:
3702 return NULL;
3703}
3704
3705
c32bde28 3706static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *, PyObject *args) {
7449af73 3707 PyObject *resultobj = NULL;
d55e5bfc
RD
3708 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3709 int arg2 ;
3710 int arg3 ;
3711 int *arg4 = (int *) 0 ;
3712 int *arg5 = (int *) 0 ;
3713 int temp4 ;
c32bde28 3714 int res4 = 0 ;
d55e5bfc 3715 int temp5 ;
c32bde28 3716 int res5 = 0 ;
d55e5bfc
RD
3717 PyObject * obj0 = 0 ;
3718 PyObject * obj1 = 0 ;
3719 PyObject * obj2 = 0 ;
3720
c32bde28
RD
3721 arg4 = &temp4; res4 = SWIG_NEWOBJ;
3722 arg5 = &temp5; res5 = SWIG_NEWOBJ;
d55e5bfc 3723 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3724 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3725 if (SWIG_arg_fail(1)) SWIG_fail;
3726 {
7449af73 3727 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
3728 if (SWIG_arg_fail(2)) SWIG_fail;
3729 }
3730 {
7449af73 3731 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
3732 if (SWIG_arg_fail(3)) SWIG_fail;
3733 }
d55e5bfc
RD
3734 {
3735 PyThreadState* __tstate = wxPyBeginAllowThreads();
3736 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
3737
3738 wxPyEndAllowThreads(__tstate);
3739 if (PyErr_Occurred()) SWIG_fail;
3740 }
3741 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
3742 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
3743 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
3744 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
3745 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
3746 return resultobj;
3747 fail:
3748 return NULL;
3749}
3750
3751
3752static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
3753 int argc;
3754 PyObject *argv[4];
3755 int ii;
3756
3757 argc = PyObject_Length(args);
3758 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
3759 argv[ii] = PyTuple_GetItem(args,ii);
3760 }
3761 if (argc == 2) {
3762 int _v;
3763 {
3764 void *ptr;
3765 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3766 _v = 0;
3767 PyErr_Clear();
3768 } else {
3769 _v = 1;
3770 }
3771 }
3772 if (_v) {
3773 {
3774 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
3775 }
3776 if (_v) {
3777 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
3778 }
3779 }
3780 }
3781 if (argc == 3) {
3782 int _v;
3783 {
3784 void *ptr;
3785 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3786 _v = 0;
3787 PyErr_Clear();
3788 } else {
3789 _v = 1;
3790 }
3791 }
3792 if (_v) {
c32bde28 3793 _v = SWIG_Check_int(argv[1]);
d55e5bfc 3794 if (_v) {
c32bde28 3795 _v = SWIG_Check_int(argv[2]);
d55e5bfc
RD
3796 if (_v) {
3797 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
3798 }
3799 }
3800 }
3801 }
3802
093d3ff1 3803 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
d55e5bfc
RD
3804 return NULL;
3805}
3806
3807
c32bde28 3808static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *, PyObject *args) {
7449af73 3809 PyObject *resultobj = NULL;
d55e5bfc
RD
3810 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3811 wxPoint *arg2 = 0 ;
3812 wxPoint result;
3813 wxPoint temp2 ;
3814 PyObject * obj0 = 0 ;
3815 PyObject * obj1 = 0 ;
3816
3817 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
093d3ff1
RD
3818 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3819 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3820 {
3821 arg2 = &temp2;
3822 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3823 }
3824 {
3825 PyThreadState* __tstate = wxPyBeginAllowThreads();
3826 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
3827
3828 wxPyEndAllowThreads(__tstate);
3829 if (PyErr_Occurred()) SWIG_fail;
3830 }
3831 {
3832 wxPoint * resultptr;
7449af73 3833 resultptr = new wxPoint(static_cast<wxPoint & >(result));
d55e5bfc
RD
3834 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3835 }
3836 return resultobj;
3837 fail:
3838 return NULL;
3839}
3840
3841
c32bde28 3842static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *, PyObject *args) {
7449af73 3843 PyObject *resultobj = NULL;
d55e5bfc
RD
3844 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3845 int arg2 ;
3846 int arg3 ;
3847 int *arg4 = (int *) 0 ;
3848 int *arg5 = (int *) 0 ;
3849 int temp4 ;
c32bde28 3850 int res4 = 0 ;
d55e5bfc 3851 int temp5 ;
c32bde28 3852 int res5 = 0 ;
d55e5bfc
RD
3853 PyObject * obj0 = 0 ;
3854 PyObject * obj1 = 0 ;
3855 PyObject * obj2 = 0 ;
3856
c32bde28
RD
3857 arg4 = &temp4; res4 = SWIG_NEWOBJ;
3858 arg5 = &temp5; res5 = SWIG_NEWOBJ;
d55e5bfc 3859 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3860 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3861 if (SWIG_arg_fail(1)) SWIG_fail;
3862 {
7449af73 3863 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
3864 if (SWIG_arg_fail(2)) SWIG_fail;
3865 }
3866 {
7449af73 3867 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
3868 if (SWIG_arg_fail(3)) SWIG_fail;
3869 }
d55e5bfc
RD
3870 {
3871 PyThreadState* __tstate = wxPyBeginAllowThreads();
3872 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
3873
3874 wxPyEndAllowThreads(__tstate);
3875 if (PyErr_Occurred()) SWIG_fail;
3876 }
3877 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
3878 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
3879 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
3880 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
3881 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
3882 return resultobj;
3883 fail:
3884 return NULL;
3885}
3886
3887
3888static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
3889 int argc;
3890 PyObject *argv[4];
3891 int ii;
3892
3893 argc = PyObject_Length(args);
3894 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
3895 argv[ii] = PyTuple_GetItem(args,ii);
3896 }
3897 if (argc == 2) {
3898 int _v;
3899 {
3900 void *ptr;
3901 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3902 _v = 0;
3903 PyErr_Clear();
3904 } else {
3905 _v = 1;
3906 }
3907 }
3908 if (_v) {
3909 {
3910 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
3911 }
3912 if (_v) {
3913 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
3914 }
3915 }
3916 }
3917 if (argc == 3) {
3918 int _v;
3919 {
3920 void *ptr;
3921 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3922 _v = 0;
3923 PyErr_Clear();
3924 } else {
3925 _v = 1;
3926 }
3927 }
3928 if (_v) {
c32bde28 3929 _v = SWIG_Check_int(argv[1]);
d55e5bfc 3930 if (_v) {
c32bde28 3931 _v = SWIG_Check_int(argv[2]);
d55e5bfc
RD
3932 if (_v) {
3933 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
3934 }
3935 }
3936 }
3937 }
3938
093d3ff1 3939 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
d55e5bfc
RD
3940 return NULL;
3941}
3942
3943
c32bde28 3944static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3945 PyObject *resultobj = NULL;
d55e5bfc
RD
3946 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3947 PyObject * obj0 = 0 ;
3948 char *kwnames[] = {
3949 (char *) "self", NULL
3950 };
3951
3952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
093d3ff1
RD
3953 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3954 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3955 {
3956 PyThreadState* __tstate = wxPyBeginAllowThreads();
3957 (arg1)->AdjustScrollbars();
3958
3959 wxPyEndAllowThreads(__tstate);
3960 if (PyErr_Occurred()) SWIG_fail;
3961 }
3962 Py_INCREF(Py_None); resultobj = Py_None;
3963 return resultobj;
3964 fail:
3965 return NULL;
3966}
3967
3968
c32bde28 3969static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3970 PyObject *resultobj = NULL;
d55e5bfc
RD
3971 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3972 wxScrollWinEvent *arg2 = 0 ;
3973 int result;
3974 PyObject * obj0 = 0 ;
3975 PyObject * obj1 = 0 ;
3976 char *kwnames[] = {
3977 (char *) "self",(char *) "event", NULL
3978 };
3979
3980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3981 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3982 if (SWIG_arg_fail(1)) SWIG_fail;
3983 {
3984 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxScrollWinEvent, SWIG_POINTER_EXCEPTION | 0);
3985 if (SWIG_arg_fail(2)) SWIG_fail;
3986 if (arg2 == NULL) {
3987 SWIG_null_ref("wxScrollWinEvent");
3988 }
3989 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
3990 }
3991 {
3992 PyThreadState* __tstate = wxPyBeginAllowThreads();
3993 result = (int)(arg1)->CalcScrollInc(*arg2);
3994
3995 wxPyEndAllowThreads(__tstate);
3996 if (PyErr_Occurred()) SWIG_fail;
3997 }
093d3ff1 3998 {
7449af73 3999 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 4000 }
d55e5bfc
RD
4001 return resultobj;
4002 fail:
4003 return NULL;
4004}
4005
4006
c32bde28 4007static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4008 PyObject *resultobj = NULL;
d55e5bfc
RD
4009 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4010 wxWindow *arg2 = (wxWindow *) 0 ;
4011 PyObject * obj0 = 0 ;
4012 PyObject * obj1 = 0 ;
4013 char *kwnames[] = {
4014 (char *) "self",(char *) "target", NULL
4015 };
4016
4017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
4019 if (SWIG_arg_fail(1)) SWIG_fail;
4020 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4021 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
4022 {
4023 PyThreadState* __tstate = wxPyBeginAllowThreads();
4024 (arg1)->SetTargetWindow(arg2);
4025
4026 wxPyEndAllowThreads(__tstate);
4027 if (PyErr_Occurred()) SWIG_fail;
4028 }
4029 Py_INCREF(Py_None); resultobj = Py_None;
4030 return resultobj;
4031 fail:
4032 return NULL;
4033}
4034
4035
c32bde28 4036static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4037 PyObject *resultobj = NULL;
d55e5bfc
RD
4038 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4039 wxWindow *result;
4040 PyObject * obj0 = 0 ;
4041 char *kwnames[] = {
4042 (char *) "self", NULL
4043 };
4044
4045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
4046 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
4047 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4048 {
4049 PyThreadState* __tstate = wxPyBeginAllowThreads();
4050 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
4051
4052 wxPyEndAllowThreads(__tstate);
4053 if (PyErr_Occurred()) SWIG_fail;
4054 }
4055 {
412d302d 4056 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
4057 }
4058 return resultobj;
4059 fail:
4060 return NULL;
4061}
4062
4063
c32bde28 4064static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4065 PyObject *resultobj = NULL;
d55e5bfc
RD
4066 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4067 wxRect *arg2 = 0 ;
4068 wxRect temp2 ;
4069 PyObject * obj0 = 0 ;
4070 PyObject * obj1 = 0 ;
4071 char *kwnames[] = {
4072 (char *) "self",(char *) "rect", NULL
4073 };
4074
4075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4076 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
4077 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4078 {
4079 arg2 = &temp2;
4080 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4081 }
4082 {
4083 PyThreadState* __tstate = wxPyBeginAllowThreads();
4084 (arg1)->SetTargetRect((wxRect const &)*arg2);
4085
4086 wxPyEndAllowThreads(__tstate);
4087 if (PyErr_Occurred()) SWIG_fail;
4088 }
4089 Py_INCREF(Py_None); resultobj = Py_None;
4090 return resultobj;
4091 fail:
4092 return NULL;
4093}
4094
4095
c32bde28 4096static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4097 PyObject *resultobj = NULL;
d55e5bfc
RD
4098 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4099 wxRect result;
4100 PyObject * obj0 = 0 ;
4101 char *kwnames[] = {
4102 (char *) "self", NULL
4103 };
4104
4105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
093d3ff1
RD
4106 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
4107 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4108 {
4109 PyThreadState* __tstate = wxPyBeginAllowThreads();
4110 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
4111
4112 wxPyEndAllowThreads(__tstate);
4113 if (PyErr_Occurred()) SWIG_fail;
4114 }
4115 {
4116 wxRect * resultptr;
7449af73 4117 resultptr = new wxRect(static_cast<wxRect & >(result));
d55e5bfc
RD
4118 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
4119 }
4120 return resultobj;
4121 fail:
4122 return NULL;
4123}
4124
4125
c32bde28 4126static PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4127 PyObject *resultobj = NULL;
f5b96ee1
RD
4128 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4129 wxDC *arg2 = 0 ;
4130 PyObject * obj0 = 0 ;
4131 PyObject * obj1 = 0 ;
4132 char *kwnames[] = {
4133 (char *) "self",(char *) "dc", NULL
4134 };
4135
4136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4137 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
4138 if (SWIG_arg_fail(1)) SWIG_fail;
4139 {
4140 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
4141 if (SWIG_arg_fail(2)) SWIG_fail;
4142 if (arg2 == NULL) {
4143 SWIG_null_ref("wxDC");
4144 }
4145 if (SWIG_arg_fail(2)) SWIG_fail;
f5b96ee1
RD
4146 }
4147 {
4148 PyThreadState* __tstate = wxPyBeginAllowThreads();
4149 (arg1)->DoPrepareDC(*arg2);
4150
4151 wxPyEndAllowThreads(__tstate);
4152 if (PyErr_Occurred()) SWIG_fail;
4153 }
4154 Py_INCREF(Py_None); resultobj = Py_None;
4155 return resultobj;
4156 fail:
4157 return NULL;
4158}
4159
4160
c32bde28 4161static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4162 PyObject *resultobj = NULL;
093d3ff1 4163 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
4164 wxVisualAttributes result;
4165 PyObject * obj0 = 0 ;
4166 char *kwnames[] = {
4167 (char *) "variant", NULL
4168 };
4169
4170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4171 if (obj0) {
093d3ff1 4172 {
7449af73 4173 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
4174 if (SWIG_arg_fail(1)) SWIG_fail;
4175 }
f20a2e1f
RD
4176 }
4177 {
0439c23b 4178 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 4179 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 4180 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
4181
4182 wxPyEndAllowThreads(__tstate);
110da5b0 4183 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
4184 }
4185 {
4186 wxVisualAttributes * resultptr;
7449af73 4187 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
4188 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4189 }
4190 return resultobj;
4191 fail:
4192 return NULL;
4193}
4194
4195
c32bde28 4196static PyObject * ScrolledWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
4197 PyObject *obj;
4198 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4199 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
4200 Py_INCREF(obj);
4201 return Py_BuildValue((char *)"");
4202}
c32bde28 4203static int _wrap_FrameNameStr_set(PyObject *) {
d55e5bfc
RD
4204 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
4205 return 1;
4206}
4207
4208
093d3ff1 4209static PyObject *_wrap_FrameNameStr_get(void) {
7449af73 4210 PyObject *pyobj = NULL;
d55e5bfc
RD
4211
4212 {
4213#if wxUSE_UNICODE
4214 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
4215#else
4216 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
4217#endif
4218 }
4219 return pyobj;
4220}
4221
4222
c32bde28 4223static int _wrap_DialogNameStr_set(PyObject *) {
d55e5bfc
RD
4224 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
4225 return 1;
4226}
4227
4228
093d3ff1 4229static PyObject *_wrap_DialogNameStr_get(void) {
7449af73 4230 PyObject *pyobj = NULL;
d55e5bfc
RD
4231
4232 {
4233#if wxUSE_UNICODE
4234 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
4235#else
4236 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
4237#endif
4238 }
4239 return pyobj;
4240}
4241
4242
c32bde28 4243static int _wrap_StatusLineNameStr_set(PyObject *) {
d55e5bfc
RD
4244 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
4245 return 1;
4246}
4247
4248
093d3ff1 4249static PyObject *_wrap_StatusLineNameStr_get(void) {
7449af73 4250 PyObject *pyobj = NULL;
d55e5bfc
RD
4251
4252 {
4253#if wxUSE_UNICODE
4254 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
4255#else
4256 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
4257#endif
4258 }
4259 return pyobj;
4260}
4261
4262
c32bde28 4263static int _wrap_ToolBarNameStr_set(PyObject *) {
d55e5bfc
RD
4264 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
4265 return 1;
4266}
4267
4268
093d3ff1 4269static PyObject *_wrap_ToolBarNameStr_get(void) {
7449af73 4270 PyObject *pyobj = NULL;
d55e5bfc
RD
4271
4272 {
4273#if wxUSE_UNICODE
4274 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
4275#else
4276 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
4277#endif
4278 }
4279 return pyobj;
4280}
4281
4282
c32bde28 4283static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4284 PyObject *resultobj = NULL;
d55e5bfc 4285 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
ae8162c8 4286 bool arg2 = (bool) true ;
d55e5bfc
RD
4287 PyObject * obj0 = 0 ;
4288 PyObject * obj1 = 0 ;
4289 char *kwnames[] = {
4290 (char *) "self",(char *) "maximize", NULL
4291 };
4292
4293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4294 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4295 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 4296 if (obj1) {
093d3ff1 4297 {
7449af73 4298 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
4299 if (SWIG_arg_fail(2)) SWIG_fail;
4300 }
d55e5bfc
RD
4301 }
4302 {
4303 PyThreadState* __tstate = wxPyBeginAllowThreads();
4304 (arg1)->Maximize(arg2);
4305
4306 wxPyEndAllowThreads(__tstate);
4307 if (PyErr_Occurred()) SWIG_fail;
4308 }
4309 Py_INCREF(Py_None); resultobj = Py_None;
4310 return resultobj;
4311 fail:
4312 return NULL;
4313}
4314
4315
c32bde28 4316static PyObject *_wrap_TopLevelWindow_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4317 PyObject *resultobj = NULL;
d55e5bfc
RD
4318 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4319 PyObject * obj0 = 0 ;
4320 char *kwnames[] = {
4321 (char *) "self", NULL
4322 };
4323
4324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
093d3ff1
RD
4325 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4326 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4327 {
4328 PyThreadState* __tstate = wxPyBeginAllowThreads();
4329 (arg1)->Restore();
4330
4331 wxPyEndAllowThreads(__tstate);
4332 if (PyErr_Occurred()) SWIG_fail;
4333 }
4334 Py_INCREF(Py_None); resultobj = Py_None;
4335 return resultobj;
4336 fail:
4337 return NULL;
4338}
4339
4340
c32bde28 4341static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4342 PyObject *resultobj = NULL;
d55e5bfc 4343 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
ae8162c8 4344 bool arg2 = (bool) true ;
d55e5bfc
RD
4345 PyObject * obj0 = 0 ;
4346 PyObject * obj1 = 0 ;
4347 char *kwnames[] = {
4348 (char *) "self",(char *) "iconize", NULL
4349 };
4350
4351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4352 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4353 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 4354 if (obj1) {
093d3ff1 4355 {
7449af73 4356 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
4357 if (SWIG_arg_fail(2)) SWIG_fail;
4358 }
d55e5bfc
RD
4359 }
4360 {
4361 PyThreadState* __tstate = wxPyBeginAllowThreads();
4362 (arg1)->Iconize(arg2);
4363
4364 wxPyEndAllowThreads(__tstate);
4365 if (PyErr_Occurred()) SWIG_fail;
4366 }
4367 Py_INCREF(Py_None); resultobj = Py_None;
4368 return resultobj;
4369 fail:
4370 return NULL;
4371}
4372
4373
c32bde28 4374static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4375 PyObject *resultobj = NULL;
d55e5bfc
RD
4376 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4377 bool result;
4378 PyObject * obj0 = 0 ;
4379 char *kwnames[] = {
4380 (char *) "self", NULL
4381 };
4382
4383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
093d3ff1
RD
4384 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4385 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4386 {
4387 PyThreadState* __tstate = wxPyBeginAllowThreads();
4388 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
4389
4390 wxPyEndAllowThreads(__tstate);
4391 if (PyErr_Occurred()) SWIG_fail;
4392 }
4393 {
4394 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4395 }
4396 return resultobj;
4397 fail:
4398 return NULL;
4399}
4400
4401
c32bde28 4402static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4403 PyObject *resultobj = NULL;
d55e5bfc
RD
4404 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4405 bool result;
4406 PyObject * obj0 = 0 ;
4407 char *kwnames[] = {
4408 (char *) "self", NULL
4409 };
4410
4411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
093d3ff1
RD
4412 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4413 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4414 {
4415 PyThreadState* __tstate = wxPyBeginAllowThreads();
4416 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
4417
4418 wxPyEndAllowThreads(__tstate);
4419 if (PyErr_Occurred()) SWIG_fail;
4420 }
4421 {
4422 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4423 }
4424 return resultobj;
4425 fail:
4426 return NULL;
4427}
4428
4429
c32bde28 4430static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4431 PyObject *resultobj = NULL;
d55e5bfc
RD
4432 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4433 wxIcon result;
4434 PyObject * obj0 = 0 ;
4435 char *kwnames[] = {
4436 (char *) "self", NULL
4437 };
4438
4439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
093d3ff1
RD
4440 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4441 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4442 {
4443 PyThreadState* __tstate = wxPyBeginAllowThreads();
4444 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
4445
4446 wxPyEndAllowThreads(__tstate);
4447 if (PyErr_Occurred()) SWIG_fail;
4448 }
4449 {
4450 wxIcon * resultptr;
7449af73 4451 resultptr = new wxIcon(static_cast<wxIcon & >(result));
d55e5bfc
RD
4452 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
4453 }
4454 return resultobj;
4455 fail:
4456 return NULL;
4457}
4458
4459
c32bde28 4460static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4461 PyObject *resultobj = NULL;
d55e5bfc
RD
4462 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4463 wxIcon *arg2 = 0 ;
4464 PyObject * obj0 = 0 ;
4465 PyObject * obj1 = 0 ;
4466 char *kwnames[] = {
4467 (char *) "self",(char *) "icon", NULL
4468 };
4469
4470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4471 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4472 if (SWIG_arg_fail(1)) SWIG_fail;
4473 {
4474 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
4475 if (SWIG_arg_fail(2)) SWIG_fail;
4476 if (arg2 == NULL) {
4477 SWIG_null_ref("wxIcon");
4478 }
4479 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
4480 }
4481 {
4482 PyThreadState* __tstate = wxPyBeginAllowThreads();
4483 (arg1)->SetIcon((wxIcon const &)*arg2);
4484
4485 wxPyEndAllowThreads(__tstate);
4486 if (PyErr_Occurred()) SWIG_fail;
4487 }
4488 Py_INCREF(Py_None); resultobj = Py_None;
4489 return resultobj;
4490 fail:
4491 return NULL;
4492}
4493
4494
c32bde28 4495static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4496 PyObject *resultobj = NULL;
d55e5bfc
RD
4497 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4498 wxIconBundle *arg2 = 0 ;
4499 PyObject * obj0 = 0 ;
4500 PyObject * obj1 = 0 ;
4501 char *kwnames[] = {
4502 (char *) "self",(char *) "icons", NULL
4503 };
4504
4505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4507 if (SWIG_arg_fail(1)) SWIG_fail;
4508 {
4509 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIconBundle, SWIG_POINTER_EXCEPTION | 0);
4510 if (SWIG_arg_fail(2)) SWIG_fail;
4511 if (arg2 == NULL) {
4512 SWIG_null_ref("wxIconBundle");
4513 }
4514 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
4515 }
4516 {
4517 PyThreadState* __tstate = wxPyBeginAllowThreads();
4518 (arg1)->SetIcons((wxIconBundle const &)*arg2);
4519
4520 wxPyEndAllowThreads(__tstate);
4521 if (PyErr_Occurred()) SWIG_fail;
4522 }
4523 Py_INCREF(Py_None); resultobj = Py_None;
4524 return resultobj;
4525 fail:
4526 return NULL;
4527}
4528
4529
c32bde28 4530static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4531 PyObject *resultobj = NULL;
d55e5bfc
RD
4532 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4533 bool arg2 ;
4534 long arg3 = (long) wxFULLSCREEN_ALL ;
4535 bool result;
4536 PyObject * obj0 = 0 ;
4537 PyObject * obj1 = 0 ;
4538 PyObject * obj2 = 0 ;
4539 char *kwnames[] = {
4540 (char *) "self",(char *) "show",(char *) "style", NULL
4541 };
4542
4543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
4544 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4545 if (SWIG_arg_fail(1)) SWIG_fail;
4546 {
7449af73 4547 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
4548 if (SWIG_arg_fail(2)) SWIG_fail;
4549 }
d55e5bfc 4550 if (obj2) {
093d3ff1 4551 {
7449af73 4552 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
4553 if (SWIG_arg_fail(3)) SWIG_fail;
4554 }
d55e5bfc
RD
4555 }
4556 {
4557 PyThreadState* __tstate = wxPyBeginAllowThreads();
4558 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
4559
4560 wxPyEndAllowThreads(__tstate);
4561 if (PyErr_Occurred()) SWIG_fail;
4562 }
4563 {
4564 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4565 }
4566 return resultobj;
4567 fail:
4568 return NULL;
4569}
4570
4571
c32bde28 4572static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4573 PyObject *resultobj = NULL;
d55e5bfc
RD
4574 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4575 bool result;
4576 PyObject * obj0 = 0 ;
4577 char *kwnames[] = {
4578 (char *) "self", NULL
4579 };
4580
4581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
093d3ff1
RD
4582 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4583 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4584 {
4585 PyThreadState* __tstate = wxPyBeginAllowThreads();
4586 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
4587
4588 wxPyEndAllowThreads(__tstate);
4589 if (PyErr_Occurred()) SWIG_fail;
4590 }
4591 {
4592 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4593 }
4594 return resultobj;
4595 fail:
4596 return NULL;
4597}
4598
4599
c32bde28 4600static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4601 PyObject *resultobj = NULL;
d55e5bfc
RD
4602 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4603 wxString *arg2 = 0 ;
ae8162c8 4604 bool temp2 = false ;
d55e5bfc
RD
4605 PyObject * obj0 = 0 ;
4606 PyObject * obj1 = 0 ;
4607 char *kwnames[] = {
4608 (char *) "self",(char *) "title", NULL
4609 };
4610
4611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4612 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4613 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4614 {
4615 arg2 = wxString_in_helper(obj1);
4616 if (arg2 == NULL) SWIG_fail;
ae8162c8 4617 temp2 = true;
d55e5bfc
RD
4618 }
4619 {
4620 PyThreadState* __tstate = wxPyBeginAllowThreads();
4621 (arg1)->SetTitle((wxString const &)*arg2);
4622
4623 wxPyEndAllowThreads(__tstate);
4624 if (PyErr_Occurred()) SWIG_fail;
4625 }
4626 Py_INCREF(Py_None); resultobj = Py_None;
4627 {
4628 if (temp2)
4629 delete arg2;
4630 }
4631 return resultobj;
4632 fail:
4633 {
4634 if (temp2)
4635 delete arg2;
4636 }
4637 return NULL;
4638}
4639
4640
c32bde28 4641static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4642 PyObject *resultobj = NULL;
d55e5bfc
RD
4643 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4644 wxString result;
4645 PyObject * obj0 = 0 ;
4646 char *kwnames[] = {
4647 (char *) "self", NULL
4648 };
4649
4650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
093d3ff1
RD
4651 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4652 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4653 {
4654 PyThreadState* __tstate = wxPyBeginAllowThreads();
4655 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
4656
4657 wxPyEndAllowThreads(__tstate);
4658 if (PyErr_Occurred()) SWIG_fail;
4659 }
4660 {
4661#if wxUSE_UNICODE
4662 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4663#else
4664 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4665#endif
4666 }
4667 return resultobj;
4668 fail:
4669 return NULL;
4670}
4671
4672
c32bde28 4673static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4674 PyObject *resultobj = NULL;
d55e5bfc
RD
4675 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4676 wxRegion *arg2 = 0 ;
4677 bool result;
4678 PyObject * obj0 = 0 ;
4679 PyObject * obj1 = 0 ;
4680 char *kwnames[] = {
4681 (char *) "self",(char *) "region", NULL
4682 };
4683
4684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4685 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4686 if (SWIG_arg_fail(1)) SWIG_fail;
4687 {
4688 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
4689 if (SWIG_arg_fail(2)) SWIG_fail;
4690 if (arg2 == NULL) {
4691 SWIG_null_ref("wxRegion");
4692 }
4693 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
4694 }
4695 {
4696 PyThreadState* __tstate = wxPyBeginAllowThreads();
4697 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
4698
4699 wxPyEndAllowThreads(__tstate);
4700 if (PyErr_Occurred()) SWIG_fail;
4701 }
4702 {
4703 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4704 }
4705 return resultobj;
4706 fail:
4707 return NULL;
4708}
4709
4710
c32bde28 4711static PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4712 PyObject *resultobj = NULL;
c32bde28
RD
4713 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4714 int arg2 = (int) wxUSER_ATTENTION_INFO ;
4715 PyObject * obj0 = 0 ;
4716 PyObject * obj1 = 0 ;
4717 char *kwnames[] = {
4718 (char *) "self",(char *) "flags", NULL
4719 };
4720
4721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4722 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4723 if (SWIG_arg_fail(1)) SWIG_fail;
c32bde28 4724 if (obj1) {
093d3ff1 4725 {
7449af73 4726 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
4727 if (SWIG_arg_fail(2)) SWIG_fail;
4728 }
c32bde28
RD
4729 }
4730 {
4731 PyThreadState* __tstate = wxPyBeginAllowThreads();
4732 (arg1)->RequestUserAttention(arg2);
4733
4734 wxPyEndAllowThreads(__tstate);
4735 if (PyErr_Occurred()) SWIG_fail;
4736 }
4737 Py_INCREF(Py_None); resultobj = Py_None;
4738 return resultobj;
4739 fail:
4740 return NULL;
4741}
4742
4743
5e483524 4744static PyObject *_wrap_TopLevelWindow_IsActive(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4745 PyObject *resultobj = NULL;
5e483524
RD
4746 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4747 bool result;
4748 PyObject * obj0 = 0 ;
4749 char *kwnames[] = {
4750 (char *) "self", NULL
4751 };
4752
4753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsActive",kwnames,&obj0)) goto fail;
093d3ff1
RD
4754 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4755 if (SWIG_arg_fail(1)) SWIG_fail;
5e483524
RD
4756 {
4757 PyThreadState* __tstate = wxPyBeginAllowThreads();
4758 result = (bool)(arg1)->IsActive();
4759
4760 wxPyEndAllowThreads(__tstate);
4761 if (PyErr_Occurred()) SWIG_fail;
4762 }
4763 {
4764 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4765 }
4766 return resultobj;
4767 fail:
4768 return NULL;
4769}
4770
4771
84f85550 4772static PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4773 PyObject *resultobj = NULL;
84f85550
RD
4774 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4775 bool arg2 ;
4776 PyObject * obj0 = 0 ;
4777 PyObject * obj1 = 0 ;
4778 char *kwnames[] = {
4779 (char *) "self",(char *) "on", NULL
4780 };
4781
4782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4784 if (SWIG_arg_fail(1)) SWIG_fail;
4785 {
7449af73 4786 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
4787 if (SWIG_arg_fail(2)) SWIG_fail;
4788 }
84f85550
RD
4789 {
4790 PyThreadState* __tstate = wxPyBeginAllowThreads();
4791 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
4792
4793 wxPyEndAllowThreads(__tstate);
4794 if (PyErr_Occurred()) SWIG_fail;
4795 }
4796 Py_INCREF(Py_None); resultobj = Py_None;
4797 return resultobj;
4798 fail:
4799 return NULL;
4800}
4801
4802
4803static PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4804 PyObject *resultobj = NULL;
84f85550
RD
4805 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4806 bool result;
4807 PyObject * obj0 = 0 ;
4808 char *kwnames[] = {
4809 (char *) "self", NULL
4810 };
4811
4812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames,&obj0)) goto fail;
093d3ff1
RD
4813 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4814 if (SWIG_arg_fail(1)) SWIG_fail;
84f85550
RD
4815 {
4816 PyThreadState* __tstate = wxPyBeginAllowThreads();
4817 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
4818
4819 wxPyEndAllowThreads(__tstate);
4820 if (PyErr_Occurred()) SWIG_fail;
4821 }
4822 {
4823 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4824 }
4825 return resultobj;
4826 fail:
4827 return NULL;
4828}
4829
4830
b1fcee84
RD
4831static PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *, PyObject *args, PyObject *kwargs) {
4832 PyObject *resultobj = NULL;
4833 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4834 int arg2 = (int) wxBOTH ;
4835 PyObject * obj0 = 0 ;
4836 PyObject * obj1 = 0 ;
4837 char *kwnames[] = {
4838 (char *) "self",(char *) "dir", NULL
4839 };
4840
4841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) goto fail;
4842 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4843 if (SWIG_arg_fail(1)) SWIG_fail;
4844 if (obj1) {
4845 {
4846 arg2 = static_cast<int >(SWIG_As_int(obj1));
4847 if (SWIG_arg_fail(2)) SWIG_fail;
4848 }
4849 }
4850 {
4851 PyThreadState* __tstate = wxPyBeginAllowThreads();
4852 (arg1)->CenterOnScreen(arg2);
4853
4854 wxPyEndAllowThreads(__tstate);
4855 if (PyErr_Occurred()) SWIG_fail;
4856 }
4857 Py_INCREF(Py_None); resultobj = Py_None;
4858 return resultobj;
4859 fail:
4860 return NULL;
4861}
4862
4863
c32bde28 4864static PyObject * TopLevelWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
4865 PyObject *obj;
4866 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4867 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
4868 Py_INCREF(obj);
4869 return Py_BuildValue((char *)"");
4870}
c32bde28 4871static PyObject *_wrap_new_Frame(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4872 PyObject *resultobj = NULL;
d55e5bfc 4873 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
4874 int arg2 = (int) (int)-1 ;
4875 wxString const &arg3_defvalue = wxPyEmptyString ;
4876 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
4877 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4878 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4879 wxSize const &arg5_defvalue = wxDefaultSize ;
4880 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4881 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4882 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4883 wxString *arg7 = (wxString *) &arg7_defvalue ;
4884 wxFrame *result;
ae8162c8 4885 bool temp3 = false ;
d55e5bfc
RD
4886 wxPoint temp4 ;
4887 wxSize temp5 ;
ae8162c8 4888 bool temp7 = false ;
d55e5bfc
RD
4889 PyObject * obj0 = 0 ;
4890 PyObject * obj1 = 0 ;
4891 PyObject * obj2 = 0 ;
4892 PyObject * obj3 = 0 ;
4893 PyObject * obj4 = 0 ;
4894 PyObject * obj5 = 0 ;
4895 PyObject * obj6 = 0 ;
4896 char *kwnames[] = {
4897 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4898 };
4899
248ed943 4900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
4901 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4902 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 4903 if (obj1) {
093d3ff1 4904 {
7449af73 4905 arg2 = static_cast<int const >(SWIG_As_int(obj1));
093d3ff1
RD
4906 if (SWIG_arg_fail(2)) SWIG_fail;
4907 }
248ed943
RD
4908 }
4909 if (obj2) {
4910 {
4911 arg3 = wxString_in_helper(obj2);
4912 if (arg3 == NULL) SWIG_fail;
ae8162c8 4913 temp3 = true;
248ed943 4914 }
d55e5bfc
RD
4915 }
4916 if (obj3) {
4917 {
4918 arg4 = &temp4;
4919 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4920 }
4921 }
4922 if (obj4) {
4923 {
4924 arg5 = &temp5;
4925 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4926 }
4927 }
4928 if (obj5) {
093d3ff1 4929 {
7449af73 4930 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
4931 if (SWIG_arg_fail(6)) SWIG_fail;
4932 }
d55e5bfc
RD
4933 }
4934 if (obj6) {
4935 {
4936 arg7 = wxString_in_helper(obj6);
4937 if (arg7 == NULL) SWIG_fail;
ae8162c8 4938 temp7 = true;
d55e5bfc
RD
4939 }
4940 }
4941 {
0439c23b 4942 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4943 PyThreadState* __tstate = wxPyBeginAllowThreads();
4944 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4945
4946 wxPyEndAllowThreads(__tstate);
110da5b0 4947 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 4948 }
b0f7404b 4949 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
d55e5bfc
RD
4950 {
4951 if (temp3)
4952 delete arg3;
4953 }
4954 {
4955 if (temp7)
4956 delete arg7;
4957 }
4958 return resultobj;
4959 fail:
4960 {
4961 if (temp3)
4962 delete arg3;
4963 }
4964 {
4965 if (temp7)
4966 delete arg7;
4967 }
4968 return NULL;
4969}
4970
4971
c32bde28 4972static PyObject *_wrap_new_PreFrame(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4973 PyObject *resultobj = NULL;
d55e5bfc
RD
4974 wxFrame *result;
4975 char *kwnames[] = {
4976 NULL
4977 };
4978
4979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
4980 {
0439c23b 4981 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4982 PyThreadState* __tstate = wxPyBeginAllowThreads();
4983 result = (wxFrame *)new wxFrame();
4984
4985 wxPyEndAllowThreads(__tstate);
110da5b0 4986 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 4987 }
b0f7404b 4988 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
d55e5bfc
RD
4989 return resultobj;
4990 fail:
4991 return NULL;
4992}
4993
4994
c32bde28 4995static PyObject *_wrap_Frame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4996 PyObject *resultobj = NULL;
d55e5bfc
RD
4997 wxFrame *arg1 = (wxFrame *) 0 ;
4998 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
4999 int arg3 = (int) (int)-1 ;
5000 wxString const &arg4_defvalue = wxPyEmptyString ;
5001 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
5002 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5003 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5004 wxSize const &arg6_defvalue = wxDefaultSize ;
5005 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5006 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
5007 wxString const &arg8_defvalue = wxPyFrameNameStr ;
5008 wxString *arg8 = (wxString *) &arg8_defvalue ;
5009 bool result;
ae8162c8 5010 bool temp4 = false ;
d55e5bfc
RD
5011 wxPoint temp5 ;
5012 wxSize temp6 ;
ae8162c8 5013 bool temp8 = false ;
d55e5bfc
RD
5014 PyObject * obj0 = 0 ;
5015 PyObject * obj1 = 0 ;
5016 PyObject * obj2 = 0 ;
5017 PyObject * obj3 = 0 ;
5018 PyObject * obj4 = 0 ;
5019 PyObject * obj5 = 0 ;
5020 PyObject * obj6 = 0 ;
5021 PyObject * obj7 = 0 ;
5022 char *kwnames[] = {
5023 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5024 };
5025
248ed943 5026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
5027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5028 if (SWIG_arg_fail(1)) SWIG_fail;
5029 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5030 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 5031 if (obj2) {
093d3ff1 5032 {
7449af73 5033 arg3 = static_cast<int const >(SWIG_As_int(obj2));
093d3ff1
RD
5034 if (SWIG_arg_fail(3)) SWIG_fail;
5035 }
248ed943
RD
5036 }
5037 if (obj3) {
5038 {
5039 arg4 = wxString_in_helper(obj3);
5040 if (arg4 == NULL) SWIG_fail;
ae8162c8 5041 temp4 = true;
248ed943 5042 }
d55e5bfc
RD
5043 }
5044 if (obj4) {
5045 {
5046 arg5 = &temp5;
5047 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5048 }
5049 }
5050 if (obj5) {
5051 {
5052 arg6 = &temp6;
5053 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5054 }
5055 }
5056 if (obj6) {
093d3ff1 5057 {
7449af73 5058 arg7 = static_cast<long >(SWIG_As_long(obj6));
093d3ff1
RD
5059 if (SWIG_arg_fail(7)) SWIG_fail;
5060 }
d55e5bfc
RD
5061 }
5062 if (obj7) {
5063 {
5064 arg8 = wxString_in_helper(obj7);
5065 if (arg8 == NULL) SWIG_fail;
ae8162c8 5066 temp8 = true;
d55e5bfc
RD
5067 }
5068 }
5069 {
5070 PyThreadState* __tstate = wxPyBeginAllowThreads();
5071 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
5072
5073 wxPyEndAllowThreads(__tstate);
5074 if (PyErr_Occurred()) SWIG_fail;
5075 }
5076 {
5077 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5078 }
5079 {
5080 if (temp4)
5081 delete arg4;
5082 }
5083 {
5084 if (temp8)
5085 delete arg8;
5086 }
5087 return resultobj;
5088 fail:
5089 {
5090 if (temp4)
5091 delete arg4;
5092 }
5093 {
5094 if (temp8)
5095 delete arg8;
5096 }
5097 return NULL;
5098}
5099
5100
c32bde28 5101static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5102 PyObject *resultobj = NULL;
d55e5bfc
RD
5103 wxFrame *arg1 = (wxFrame *) 0 ;
5104 wxPoint result;
5105 PyObject * obj0 = 0 ;
5106 char *kwnames[] = {
5107 (char *) "self", NULL
5108 };
5109
5110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
093d3ff1
RD
5111 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5112 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5113 {
5114 PyThreadState* __tstate = wxPyBeginAllowThreads();
5115 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
5116
5117 wxPyEndAllowThreads(__tstate);
5118 if (PyErr_Occurred()) SWIG_fail;
5119 }
5120 {
5121 wxPoint * resultptr;
7449af73 5122 resultptr = new wxPoint(static_cast<wxPoint & >(result));
d55e5bfc
RD
5123 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
5124 }
5125 return resultobj;
5126 fail:
5127 return NULL;
5128}
5129
5130
c32bde28 5131static PyObject *_wrap_Frame_SendSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5132 PyObject *resultobj = NULL;
d55e5bfc
RD
5133 wxFrame *arg1 = (wxFrame *) 0 ;
5134 PyObject * obj0 = 0 ;
5135 char *kwnames[] = {
5136 (char *) "self", NULL
5137 };
5138
5139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
093d3ff1
RD
5140 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5141 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5142 {
5143 PyThreadState* __tstate = wxPyBeginAllowThreads();
5144 (arg1)->SendSizeEvent();
5145
5146 wxPyEndAllowThreads(__tstate);
5147 if (PyErr_Occurred()) SWIG_fail;
5148 }
5149 Py_INCREF(Py_None); resultobj = Py_None;
5150 return resultobj;
5151 fail:
5152 return NULL;
5153}
5154
5155
c32bde28 5156static PyObject *_wrap_Frame_SetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5157 PyObject *resultobj = NULL;
d55e5bfc
RD
5158 wxFrame *arg1 = (wxFrame *) 0 ;
5159 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
5160 PyObject * obj0 = 0 ;
5161 PyObject * obj1 = 0 ;
5162 char *kwnames[] = {
5163 (char *) "self",(char *) "menubar", NULL
5164 };
5165
5166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5167 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5168 if (SWIG_arg_fail(1)) SWIG_fail;
5169 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
5170 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
5171 {
5172 PyThreadState* __tstate = wxPyBeginAllowThreads();
5173 (arg1)->SetMenuBar(arg2);
5174
5175 wxPyEndAllowThreads(__tstate);
5176 if (PyErr_Occurred()) SWIG_fail;
5177 }
5178 Py_INCREF(Py_None); resultobj = Py_None;
5179 return resultobj;
5180 fail:
5181 return NULL;
5182}
5183
5184
c32bde28 5185static PyObject *_wrap_Frame_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5186 PyObject *resultobj = NULL;
d55e5bfc
RD
5187 wxFrame *arg1 = (wxFrame *) 0 ;
5188 wxMenuBar *result;
5189 PyObject * obj0 = 0 ;
5190 char *kwnames[] = {
5191 (char *) "self", NULL
5192 };
5193
5194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
5195 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5196 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5197 {
5198 PyThreadState* __tstate = wxPyBeginAllowThreads();
5199 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
5200
5201 wxPyEndAllowThreads(__tstate);
5202 if (PyErr_Occurred()) SWIG_fail;
5203 }
5204 {
412d302d 5205 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
5206 }
5207 return resultobj;
5208 fail:
5209 return NULL;
5210}
5211
5212
c32bde28 5213static PyObject *_wrap_Frame_ProcessCommand(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5214 PyObject *resultobj = NULL;
d55e5bfc
RD
5215 wxFrame *arg1 = (wxFrame *) 0 ;
5216 int arg2 ;
5217 bool result;
5218 PyObject * obj0 = 0 ;
5219 PyObject * obj1 = 0 ;
5220 char *kwnames[] = {
5221 (char *) "self",(char *) "winid", NULL
5222 };
5223
5224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5225 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5226 if (SWIG_arg_fail(1)) SWIG_fail;
5227 {
7449af73 5228 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
5229 if (SWIG_arg_fail(2)) SWIG_fail;
5230 }
d55e5bfc
RD
5231 {
5232 PyThreadState* __tstate = wxPyBeginAllowThreads();
5233 result = (bool)(arg1)->ProcessCommand(arg2);
5234
5235 wxPyEndAllowThreads(__tstate);
5236 if (PyErr_Occurred()) SWIG_fail;
5237 }
5238 {
5239 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5240 }
5241 return resultobj;
5242 fail:
5243 return NULL;
5244}
5245
5246
c32bde28 5247static PyObject *_wrap_Frame_CreateStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5248 PyObject *resultobj = NULL;
d55e5bfc
RD
5249 wxFrame *arg1 = (wxFrame *) 0 ;
5250 int arg2 = (int) 1 ;
6d88e192 5251 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
d55e5bfc
RD
5252 int arg4 = (int) 0 ;
5253 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
5254 wxString *arg5 = (wxString *) &arg5_defvalue ;
5255 wxStatusBar *result;
ae8162c8 5256 bool temp5 = false ;
d55e5bfc
RD
5257 PyObject * obj0 = 0 ;
5258 PyObject * obj1 = 0 ;
5259 PyObject * obj2 = 0 ;
5260 PyObject * obj3 = 0 ;
5261 PyObject * obj4 = 0 ;
5262 char *kwnames[] = {
5263 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
5264 };
5265
5266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
5267 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5268 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 5269 if (obj1) {
093d3ff1 5270 {
7449af73 5271 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
5272 if (SWIG_arg_fail(2)) SWIG_fail;
5273 }
d55e5bfc
RD
5274 }
5275 if (obj2) {
093d3ff1 5276 {
7449af73 5277 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
5278 if (SWIG_arg_fail(3)) SWIG_fail;
5279 }
d55e5bfc
RD
5280 }
5281 if (obj3) {
093d3ff1 5282 {
7449af73 5283 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
5284 if (SWIG_arg_fail(4)) SWIG_fail;
5285 }
d55e5bfc
RD
5286 }
5287 if (obj4) {
5288 {
5289 arg5 = wxString_in_helper(obj4);
5290 if (arg5 == NULL) SWIG_fail;
ae8162c8 5291 temp5 = true;
d55e5bfc
RD
5292 }
5293 }
5294 {
5295 PyThreadState* __tstate = wxPyBeginAllowThreads();
5296 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
5297
5298 wxPyEndAllowThreads(__tstate);
5299 if (PyErr_Occurred()) SWIG_fail;
5300 }
5301 {
7e08d4ef 5302 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
5303 }
5304 {
5305 if (temp5)
5306 delete arg5;
5307 }
5308 return resultobj;
5309 fail:
5310 {
5311 if (temp5)
5312 delete arg5;
5313 }
5314 return NULL;
5315}
5316
5317
c32bde28 5318static PyObject *_wrap_Frame_GetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5319 PyObject *resultobj = NULL;
d55e5bfc
RD
5320 wxFrame *arg1 = (wxFrame *) 0 ;
5321 wxStatusBar *result;
5322 PyObject * obj0 = 0 ;
5323 char *kwnames[] = {
5324 (char *) "self", NULL
5325 };
5326
5327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
5328 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5329 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5330 {
5331 PyThreadState* __tstate = wxPyBeginAllowThreads();
5332 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
5333
5334 wxPyEndAllowThreads(__tstate);
5335 if (PyErr_Occurred()) SWIG_fail;
5336 }
5337 {
7e08d4ef 5338 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
5339 }
5340 return resultobj;
5341 fail:
5342 return NULL;
5343}
5344
5345
c32bde28 5346static PyObject *_wrap_Frame_SetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5347 PyObject *resultobj = NULL;
d55e5bfc
RD
5348 wxFrame *arg1 = (wxFrame *) 0 ;
5349 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
5350 PyObject * obj0 = 0 ;
5351 PyObject * obj1 = 0 ;
5352 char *kwnames[] = {
5353 (char *) "self",(char *) "statBar", NULL
5354 };
5355
5356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5358 if (SWIG_arg_fail(1)) SWIG_fail;
5359 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
5360 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
5361 {
5362 PyThreadState* __tstate = wxPyBeginAllowThreads();
5363 (arg1)->SetStatusBar(arg2);
5364
5365 wxPyEndAllowThreads(__tstate);
5366 if (PyErr_Occurred()) SWIG_fail;
5367 }
5368 Py_INCREF(Py_None); resultobj = Py_None;
5369 return resultobj;
5370 fail:
5371 return NULL;
5372}
5373
5374
c32bde28 5375static PyObject *_wrap_Frame_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5376 PyObject *resultobj = NULL;
d55e5bfc
RD
5377 wxFrame *arg1 = (wxFrame *) 0 ;
5378 wxString *arg2 = 0 ;
5379 int arg3 = (int) 0 ;
ae8162c8 5380 bool temp2 = false ;
d55e5bfc
RD
5381 PyObject * obj0 = 0 ;
5382 PyObject * obj1 = 0 ;
5383 PyObject * obj2 = 0 ;
5384 char *kwnames[] = {
5385 (char *) "self",(char *) "text",(char *) "number", NULL
5386 };
5387
5388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
5389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5390 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5391 {
5392 arg2 = wxString_in_helper(obj1);
5393 if (arg2 == NULL) SWIG_fail;
ae8162c8 5394 temp2 = true;
d55e5bfc
RD
5395 }
5396 if (obj2) {
093d3ff1 5397 {
7449af73 5398 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
5399 if (SWIG_arg_fail(3)) SWIG_fail;
5400 }
d55e5bfc
RD
5401 }
5402 {
5403 PyThreadState* __tstate = wxPyBeginAllowThreads();
5404 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5405
5406 wxPyEndAllowThreads(__tstate);
5407 if (PyErr_Occurred()) SWIG_fail;
5408 }
5409 Py_INCREF(Py_None); resultobj = Py_None;
5410 {
5411 if (temp2)
5412 delete arg2;
5413 }
5414 return resultobj;
5415 fail:
5416 {
5417 if (temp2)
5418 delete arg2;
5419 }
5420 return NULL;
5421}
5422
5423
c32bde28 5424static PyObject *_wrap_Frame_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5425 PyObject *resultobj = NULL;
d55e5bfc
RD
5426 wxFrame *arg1 = (wxFrame *) 0 ;
5427 int arg2 ;
5428 int *arg3 = (int *) 0 ;
5429 PyObject * obj0 = 0 ;
5430 PyObject * obj1 = 0 ;
5431 char *kwnames[] = {
5432 (char *) "self",(char *) "widths", NULL
5433 };
5434
5435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",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;
d55e5bfc
RD
5438 {
5439 arg2 = PyList_Size(obj1);
5440 arg3 = int_LIST_helper(obj1);
5441 if (arg3 == NULL) SWIG_fail;
5442 }
5443 {
5444 PyThreadState* __tstate = wxPyBeginAllowThreads();
5445 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5446
5447 wxPyEndAllowThreads(__tstate);
5448 if (PyErr_Occurred()) SWIG_fail;
5449 }
5450 Py_INCREF(Py_None); resultobj = Py_None;
5451 {
5452 if (arg3) delete [] arg3;
5453 }
5454 return resultobj;
5455 fail:
5456 {
5457 if (arg3) delete [] arg3;
5458 }
5459 return NULL;
5460}
5461
5462
c32bde28 5463static PyObject *_wrap_Frame_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5464 PyObject *resultobj = NULL;
d55e5bfc
RD
5465 wxFrame *arg1 = (wxFrame *) 0 ;
5466 wxString *arg2 = 0 ;
5467 int arg3 = (int) 0 ;
ae8162c8 5468 bool temp2 = false ;
d55e5bfc
RD
5469 PyObject * obj0 = 0 ;
5470 PyObject * obj1 = 0 ;
5471 PyObject * obj2 = 0 ;
5472 char *kwnames[] = {
5473 (char *) "self",(char *) "text",(char *) "number", NULL
5474 };
5475
5476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
5477 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5478 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5479 {
5480 arg2 = wxString_in_helper(obj1);
5481 if (arg2 == NULL) SWIG_fail;
ae8162c8 5482 temp2 = true;
d55e5bfc
RD
5483 }
5484 if (obj2) {
093d3ff1 5485 {
7449af73 5486 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
5487 if (SWIG_arg_fail(3)) SWIG_fail;
5488 }
d55e5bfc
RD
5489 }
5490 {
5491 PyThreadState* __tstate = wxPyBeginAllowThreads();
5492 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5493
5494 wxPyEndAllowThreads(__tstate);
5495 if (PyErr_Occurred()) SWIG_fail;
5496 }
5497 Py_INCREF(Py_None); resultobj = Py_None;
5498 {
5499 if (temp2)
5500 delete arg2;
5501 }
5502 return resultobj;
5503 fail:
5504 {
5505 if (temp2)
5506 delete arg2;
5507 }
5508 return NULL;
5509}
5510
5511
c32bde28 5512static PyObject *_wrap_Frame_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5513 PyObject *resultobj = NULL;
d55e5bfc
RD
5514 wxFrame *arg1 = (wxFrame *) 0 ;
5515 int arg2 = (int) 0 ;
5516 PyObject * obj0 = 0 ;
5517 PyObject * obj1 = 0 ;
5518 char *kwnames[] = {
5519 (char *) "self",(char *) "number", NULL
5520 };
5521
5522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5523 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5524 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 5525 if (obj1) {
093d3ff1 5526 {
7449af73 5527 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
5528 if (SWIG_arg_fail(2)) SWIG_fail;
5529 }
d55e5bfc
RD
5530 }
5531 {
5532 PyThreadState* __tstate = wxPyBeginAllowThreads();
5533 (arg1)->PopStatusText(arg2);
5534
5535 wxPyEndAllowThreads(__tstate);
5536 if (PyErr_Occurred()) SWIG_fail;
5537 }
5538 Py_INCREF(Py_None); resultobj = Py_None;
5539 return resultobj;
5540 fail:
5541 return NULL;
5542}
5543
5544
c32bde28 5545static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5546 PyObject *resultobj = NULL;
d55e5bfc
RD
5547 wxFrame *arg1 = (wxFrame *) 0 ;
5548 int arg2 ;
5549 PyObject * obj0 = 0 ;
5550 PyObject * obj1 = 0 ;
5551 char *kwnames[] = {
5552 (char *) "self",(char *) "n", NULL
5553 };
5554
5555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5556 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5557 if (SWIG_arg_fail(1)) SWIG_fail;
5558 {
7449af73 5559 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
5560 if (SWIG_arg_fail(2)) SWIG_fail;
5561 }
d55e5bfc
RD
5562 {
5563 PyThreadState* __tstate = wxPyBeginAllowThreads();
5564 (arg1)->SetStatusBarPane(arg2);
5565
5566 wxPyEndAllowThreads(__tstate);
5567 if (PyErr_Occurred()) SWIG_fail;
5568 }
5569 Py_INCREF(Py_None); resultobj = Py_None;
5570 return resultobj;
5571 fail:
5572 return NULL;
5573}
5574
5575
c32bde28 5576static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5577 PyObject *resultobj = NULL;
d55e5bfc
RD
5578 wxFrame *arg1 = (wxFrame *) 0 ;
5579 int result;
5580 PyObject * obj0 = 0 ;
5581 char *kwnames[] = {
5582 (char *) "self", NULL
5583 };
5584
5585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
093d3ff1
RD
5586 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5587 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5588 {
5589 PyThreadState* __tstate = wxPyBeginAllowThreads();
5590 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
5591
5592 wxPyEndAllowThreads(__tstate);
5593 if (PyErr_Occurred()) SWIG_fail;
5594 }
093d3ff1 5595 {
7449af73 5596 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 5597 }
d55e5bfc
RD
5598 return resultobj;
5599 fail:
5600 return NULL;
5601}
5602
5603
c32bde28 5604static PyObject *_wrap_Frame_CreateToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5605 PyObject *resultobj = NULL;
d55e5bfc
RD
5606 wxFrame *arg1 = (wxFrame *) 0 ;
5607 long arg2 = (long) -1 ;
5608 int arg3 = (int) -1 ;
5609 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
5610 wxString *arg4 = (wxString *) &arg4_defvalue ;
5611 wxToolBar *result;
ae8162c8 5612 bool temp4 = false ;
d55e5bfc
RD
5613 PyObject * obj0 = 0 ;
5614 PyObject * obj1 = 0 ;
5615 PyObject * obj2 = 0 ;
5616 PyObject * obj3 = 0 ;
5617 char *kwnames[] = {
5618 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
5619 };
5620
5621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
5622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5623 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 5624 if (obj1) {
093d3ff1 5625 {
7449af73 5626 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
5627 if (SWIG_arg_fail(2)) SWIG_fail;
5628 }
d55e5bfc
RD
5629 }
5630 if (obj2) {
093d3ff1 5631 {
7449af73 5632 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
5633 if (SWIG_arg_fail(3)) SWIG_fail;
5634 }
d55e5bfc
RD
5635 }
5636 if (obj3) {
5637 {
5638 arg4 = wxString_in_helper(obj3);
5639 if (arg4 == NULL) SWIG_fail;
ae8162c8 5640 temp4 = true;
d55e5bfc
RD
5641 }
5642 }
5643 {
5644 PyThreadState* __tstate = wxPyBeginAllowThreads();
5645 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
5646
5647 wxPyEndAllowThreads(__tstate);
5648 if (PyErr_Occurred()) SWIG_fail;
5649 }
5650 {
7e08d4ef 5651 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
5652 }
5653 {
5654 if (temp4)
5655 delete arg4;
5656 }
5657 return resultobj;
5658 fail:
5659 {
5660 if (temp4)
5661 delete arg4;
5662 }
5663 return NULL;
5664}
5665
5666
c32bde28 5667static PyObject *_wrap_Frame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5668 PyObject *resultobj = NULL;
d55e5bfc
RD
5669 wxFrame *arg1 = (wxFrame *) 0 ;
5670 wxToolBar *result;
5671 PyObject * obj0 = 0 ;
5672 char *kwnames[] = {
5673 (char *) "self", NULL
5674 };
5675
5676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
5677 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5678 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5679 {
5680 PyThreadState* __tstate = wxPyBeginAllowThreads();
5681 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
5682
5683 wxPyEndAllowThreads(__tstate);
5684 if (PyErr_Occurred()) SWIG_fail;
5685 }
5686 {
7e08d4ef 5687 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
5688 }
5689 return resultobj;
5690 fail:
5691 return NULL;
5692}
5693
5694
c32bde28 5695static PyObject *_wrap_Frame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5696 PyObject *resultobj = NULL;
d55e5bfc
RD
5697 wxFrame *arg1 = (wxFrame *) 0 ;
5698 wxToolBar *arg2 = (wxToolBar *) 0 ;
5699 PyObject * obj0 = 0 ;
5700 PyObject * obj1 = 0 ;
5701 char *kwnames[] = {
5702 (char *) "self",(char *) "toolbar", NULL
5703 };
5704
5705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5706 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5707 if (SWIG_arg_fail(1)) SWIG_fail;
5708 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
5709 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
5710 {
5711 PyThreadState* __tstate = wxPyBeginAllowThreads();
5712 (arg1)->SetToolBar(arg2);
5713
5714 wxPyEndAllowThreads(__tstate);
5715 if (PyErr_Occurred()) SWIG_fail;
5716 }
5717 Py_INCREF(Py_None); resultobj = Py_None;
5718 return resultobj;
5719 fail:
5720 return NULL;
5721}
5722
5723
c32bde28 5724static PyObject *_wrap_Frame_DoGiveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5725 PyObject *resultobj = NULL;
d55e5bfc
RD
5726 wxFrame *arg1 = (wxFrame *) 0 ;
5727 wxString *arg2 = 0 ;
5728 bool arg3 ;
ae8162c8 5729 bool temp2 = false ;
d55e5bfc
RD
5730 PyObject * obj0 = 0 ;
5731 PyObject * obj1 = 0 ;
5732 PyObject * obj2 = 0 ;
5733 char *kwnames[] = {
5734 (char *) "self",(char *) "text",(char *) "show", NULL
5735 };
5736
5737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
5738 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5739 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5740 {
5741 arg2 = wxString_in_helper(obj1);
5742 if (arg2 == NULL) SWIG_fail;
ae8162c8 5743 temp2 = true;
d55e5bfc 5744 }
093d3ff1 5745 {
7449af73 5746 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
5747 if (SWIG_arg_fail(3)) SWIG_fail;
5748 }
d55e5bfc
RD
5749 {
5750 PyThreadState* __tstate = wxPyBeginAllowThreads();
5751 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
5752
5753 wxPyEndAllowThreads(__tstate);
5754 if (PyErr_Occurred()) SWIG_fail;
5755 }
5756 Py_INCREF(Py_None); resultobj = Py_None;
5757 {
5758 if (temp2)
5759 delete arg2;
5760 }
5761 return resultobj;
5762 fail:
5763 {
5764 if (temp2)
5765 delete arg2;
5766 }
5767 return NULL;
5768}
5769
5770
c32bde28 5771static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5772 PyObject *resultobj = NULL;
d55e5bfc
RD
5773 wxFrame *arg1 = (wxFrame *) 0 ;
5774 wxMenu *arg2 = (wxMenu *) NULL ;
5775 PyObject * obj0 = 0 ;
5776 PyObject * obj1 = 0 ;
5777 char *kwnames[] = {
5778 (char *) "self",(char *) "menu", NULL
5779 };
5780
5781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5782 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5783 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 5784 if (obj1) {
093d3ff1
RD
5785 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
5786 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
5787 }
5788 {
5789 PyThreadState* __tstate = wxPyBeginAllowThreads();
5790 (arg1)->DoMenuUpdates(arg2);
5791
5792 wxPyEndAllowThreads(__tstate);
5793 if (PyErr_Occurred()) SWIG_fail;
5794 }
5795 Py_INCREF(Py_None); resultobj = Py_None;
5796 return resultobj;
5797 fail:
5798 return NULL;
5799}
5800
5801
c32bde28 5802static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5803 PyObject *resultobj = NULL;
093d3ff1 5804 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
5805 wxVisualAttributes result;
5806 PyObject * obj0 = 0 ;
5807 char *kwnames[] = {
5808 (char *) "variant", NULL
5809 };
5810
5811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5812 if (obj0) {
093d3ff1 5813 {
7449af73 5814 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
5815 if (SWIG_arg_fail(1)) SWIG_fail;
5816 }
f20a2e1f
RD
5817 }
5818 {
0439c23b 5819 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 5820 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 5821 result = wxFrame::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
5822
5823 wxPyEndAllowThreads(__tstate);
110da5b0 5824 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
5825 }
5826 {
5827 wxVisualAttributes * resultptr;
7449af73 5828 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
5829 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5830 }
5831 return resultobj;
5832 fail:
5833 return NULL;
5834}
5835
5836
c32bde28 5837static PyObject * Frame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
5838 PyObject *obj;
5839 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5840 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
5841 Py_INCREF(obj);
5842 return Py_BuildValue((char *)"");
5843}
c32bde28 5844static PyObject *_wrap_new_Dialog(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5845 PyObject *resultobj = NULL;
d55e5bfc 5846 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
5847 int arg2 = (int) (int)-1 ;
5848 wxString const &arg3_defvalue = wxPyEmptyString ;
5849 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
5850 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5851 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5852 wxSize const &arg5_defvalue = wxDefaultSize ;
5853 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5854 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
5855 wxString const &arg7_defvalue = wxPyDialogNameStr ;
5856 wxString *arg7 = (wxString *) &arg7_defvalue ;
5857 wxDialog *result;
ae8162c8 5858 bool temp3 = false ;
d55e5bfc
RD
5859 wxPoint temp4 ;
5860 wxSize temp5 ;
ae8162c8 5861 bool temp7 = false ;
d55e5bfc
RD
5862 PyObject * obj0 = 0 ;
5863 PyObject * obj1 = 0 ;
5864 PyObject * obj2 = 0 ;
5865 PyObject * obj3 = 0 ;
5866 PyObject * obj4 = 0 ;
5867 PyObject * obj5 = 0 ;
5868 PyObject * obj6 = 0 ;
5869 char *kwnames[] = {
5870 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5871 };
5872
248ed943 5873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
5874 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5875 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 5876 if (obj1) {
093d3ff1 5877 {
7449af73 5878 arg2 = static_cast<int const >(SWIG_As_int(obj1));
093d3ff1
RD
5879 if (SWIG_arg_fail(2)) SWIG_fail;
5880 }
248ed943
RD
5881 }
5882 if (obj2) {
5883 {
5884 arg3 = wxString_in_helper(obj2);
5885 if (arg3 == NULL) SWIG_fail;
ae8162c8 5886 temp3 = true;
248ed943 5887 }
d55e5bfc
RD
5888 }
5889 if (obj3) {
5890 {
5891 arg4 = &temp4;
5892 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5893 }
5894 }
5895 if (obj4) {
5896 {
5897 arg5 = &temp5;
5898 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5899 }
5900 }
5901 if (obj5) {
093d3ff1 5902 {
7449af73 5903 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
5904 if (SWIG_arg_fail(6)) SWIG_fail;
5905 }
d55e5bfc
RD
5906 }
5907 if (obj6) {
5908 {
5909 arg7 = wxString_in_helper(obj6);
5910 if (arg7 == NULL) SWIG_fail;
ae8162c8 5911 temp7 = true;
d55e5bfc
RD
5912 }
5913 }
5914 {
0439c23b 5915 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5916 PyThreadState* __tstate = wxPyBeginAllowThreads();
5917 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5918
5919 wxPyEndAllowThreads(__tstate);
110da5b0 5920 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 5921 }
b0f7404b 5922 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
d55e5bfc
RD
5923 {
5924 if (temp3)
5925 delete arg3;
5926 }
5927 {
5928 if (temp7)
5929 delete arg7;
5930 }
5931 return resultobj;
5932 fail:
5933 {
5934 if (temp3)
5935 delete arg3;
5936 }
5937 {
5938 if (temp7)
5939 delete arg7;
5940 }
5941 return NULL;
5942}
5943
5944
c32bde28 5945static PyObject *_wrap_new_PreDialog(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5946 PyObject *resultobj = NULL;
d55e5bfc
RD
5947 wxDialog *result;
5948 char *kwnames[] = {
5949 NULL
5950 };
5951
5952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
5953 {
0439c23b 5954 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5955 PyThreadState* __tstate = wxPyBeginAllowThreads();
5956 result = (wxDialog *)new wxDialog();
5957
5958 wxPyEndAllowThreads(__tstate);
110da5b0 5959 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 5960 }
b0f7404b 5961 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
d55e5bfc
RD
5962 return resultobj;
5963 fail:
5964 return NULL;
5965}
5966
5967
c32bde28 5968static PyObject *_wrap_Dialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5969 PyObject *resultobj = NULL;
d55e5bfc
RD
5970 wxDialog *arg1 = (wxDialog *) 0 ;
5971 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
5972 int arg3 = (int) (int)-1 ;
5973 wxString const &arg4_defvalue = wxPyEmptyString ;
5974 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
5975 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5976 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5977 wxSize const &arg6_defvalue = wxDefaultSize ;
5978 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5979 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
5980 wxString const &arg8_defvalue = wxPyDialogNameStr ;
5981 wxString *arg8 = (wxString *) &arg8_defvalue ;
5982 bool result;
ae8162c8 5983 bool temp4 = false ;
d55e5bfc
RD
5984 wxPoint temp5 ;
5985 wxSize temp6 ;
ae8162c8 5986 bool temp8 = false ;
d55e5bfc
RD
5987 PyObject * obj0 = 0 ;
5988 PyObject * obj1 = 0 ;
5989 PyObject * obj2 = 0 ;
5990 PyObject * obj3 = 0 ;
5991 PyObject * obj4 = 0 ;
5992 PyObject * obj5 = 0 ;
5993 PyObject * obj6 = 0 ;
5994 PyObject * obj7 = 0 ;
5995 char *kwnames[] = {
5996 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5997 };
5998
248ed943 5999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
6000 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6001 if (SWIG_arg_fail(1)) SWIG_fail;
6002 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6003 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 6004 if (obj2) {
093d3ff1 6005 {
7449af73 6006 arg3 = static_cast<int const >(SWIG_As_int(obj2));
093d3ff1
RD
6007 if (SWIG_arg_fail(3)) SWIG_fail;
6008 }
248ed943
RD
6009 }
6010 if (obj3) {
6011 {
6012 arg4 = wxString_in_helper(obj3);
6013 if (arg4 == NULL) SWIG_fail;
ae8162c8 6014 temp4 = true;
248ed943 6015 }
d55e5bfc
RD
6016 }
6017 if (obj4) {
6018 {
6019 arg5 = &temp5;
6020 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6021 }
6022 }
6023 if (obj5) {
6024 {
6025 arg6 = &temp6;
6026 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6027 }
6028 }
6029 if (obj6) {
093d3ff1 6030 {
7449af73 6031 arg7 = static_cast<long >(SWIG_As_long(obj6));
093d3ff1
RD
6032 if (SWIG_arg_fail(7)) SWIG_fail;
6033 }
d55e5bfc
RD
6034 }
6035 if (obj7) {
6036 {
6037 arg8 = wxString_in_helper(obj7);
6038 if (arg8 == NULL) SWIG_fail;
ae8162c8 6039 temp8 = true;
d55e5bfc
RD
6040 }
6041 }
6042 {
6043 PyThreadState* __tstate = wxPyBeginAllowThreads();
6044 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6045
6046 wxPyEndAllowThreads(__tstate);
6047 if (PyErr_Occurred()) SWIG_fail;
6048 }
6049 {
6050 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6051 }
6052 {
6053 if (temp4)
6054 delete arg4;
6055 }
6056 {
6057 if (temp8)
6058 delete arg8;
6059 }
6060 return resultobj;
6061 fail:
6062 {
6063 if (temp4)
6064 delete arg4;
6065 }
6066 {
6067 if (temp8)
6068 delete arg8;
6069 }
6070 return NULL;
6071}
6072
6073
c32bde28 6074static PyObject *_wrap_Dialog_SetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6075 PyObject *resultobj = NULL;
d55e5bfc
RD
6076 wxDialog *arg1 = (wxDialog *) 0 ;
6077 int arg2 ;
6078 PyObject * obj0 = 0 ;
6079 PyObject * obj1 = 0 ;
6080 char *kwnames[] = {
6081 (char *) "self",(char *) "returnCode", NULL
6082 };
6083
6084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6086 if (SWIG_arg_fail(1)) SWIG_fail;
6087 {
7449af73 6088 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
6089 if (SWIG_arg_fail(2)) SWIG_fail;
6090 }
d55e5bfc
RD
6091 {
6092 PyThreadState* __tstate = wxPyBeginAllowThreads();
6093 (arg1)->SetReturnCode(arg2);
6094
6095 wxPyEndAllowThreads(__tstate);
6096 if (PyErr_Occurred()) SWIG_fail;
6097 }
6098 Py_INCREF(Py_None); resultobj = Py_None;
6099 return resultobj;
6100 fail:
6101 return NULL;
6102}
6103
6104
c32bde28 6105static PyObject *_wrap_Dialog_GetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6106 PyObject *resultobj = NULL;
d55e5bfc
RD
6107 wxDialog *arg1 = (wxDialog *) 0 ;
6108 int result;
6109 PyObject * obj0 = 0 ;
6110 char *kwnames[] = {
6111 (char *) "self", NULL
6112 };
6113
6114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
093d3ff1
RD
6115 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6116 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6117 {
6118 PyThreadState* __tstate = wxPyBeginAllowThreads();
6119 result = (int)((wxDialog const *)arg1)->GetReturnCode();
6120
6121 wxPyEndAllowThreads(__tstate);
6122 if (PyErr_Occurred()) SWIG_fail;
6123 }
093d3ff1 6124 {
7449af73 6125 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 6126 }
d55e5bfc
RD
6127 return resultobj;
6128 fail:
6129 return NULL;
6130}
6131
6132
b1fcee84
RD
6133static PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *, PyObject *args, PyObject *kwargs) {
6134 PyObject *resultobj = NULL;
6135 wxDialog *arg1 = (wxDialog *) 0 ;
6136 int arg2 ;
6137 PyObject * obj0 = 0 ;
6138 PyObject * obj1 = 0 ;
6139 char *kwnames[] = {
6140 (char *) "self",(char *) "affirmativeId", NULL
6141 };
6142
6143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) goto fail;
6144 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6145 if (SWIG_arg_fail(1)) SWIG_fail;
6146 {
6147 arg2 = static_cast<int >(SWIG_As_int(obj1));
6148 if (SWIG_arg_fail(2)) SWIG_fail;
6149 }
6150 {
6151 PyThreadState* __tstate = wxPyBeginAllowThreads();
6152 (arg1)->SetAffirmativeId(arg2);
6153
6154 wxPyEndAllowThreads(__tstate);
6155 if (PyErr_Occurred()) SWIG_fail;
6156 }
6157 Py_INCREF(Py_None); resultobj = Py_None;
6158 return resultobj;
6159 fail:
6160 return NULL;
6161}
6162
6163
6164static PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *, PyObject *args, PyObject *kwargs) {
6165 PyObject *resultobj = NULL;
6166 wxDialog *arg1 = (wxDialog *) 0 ;
6167 int result;
6168 PyObject * obj0 = 0 ;
6169 char *kwnames[] = {
6170 (char *) "self", NULL
6171 };
6172
6173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetAffirmativeId",kwnames,&obj0)) goto fail;
6174 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6175 if (SWIG_arg_fail(1)) SWIG_fail;
6176 {
6177 PyThreadState* __tstate = wxPyBeginAllowThreads();
6178 result = (int)((wxDialog const *)arg1)->GetAffirmativeId();
6179
6180 wxPyEndAllowThreads(__tstate);
6181 if (PyErr_Occurred()) SWIG_fail;
6182 }
6183 {
6184 resultobj = SWIG_From_int(static_cast<int >(result));
6185 }
6186 return resultobj;
6187 fail:
6188 return NULL;
6189}
6190
6191
6192static PyObject *_wrap_Dialog_SetEscapeId(PyObject *, PyObject *args, PyObject *kwargs) {
6193 PyObject *resultobj = NULL;
6194 wxDialog *arg1 = (wxDialog *) 0 ;
6195 int arg2 ;
6196 PyObject * obj0 = 0 ;
6197 PyObject * obj1 = 0 ;
6198 char *kwnames[] = {
6199 (char *) "self",(char *) "escapeId", NULL
6200 };
6201
6202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) goto fail;
6203 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6204 if (SWIG_arg_fail(1)) SWIG_fail;
6205 {
6206 arg2 = static_cast<int >(SWIG_As_int(obj1));
6207 if (SWIG_arg_fail(2)) SWIG_fail;
6208 }
6209 {
6210 PyThreadState* __tstate = wxPyBeginAllowThreads();
6211 (arg1)->SetEscapeId(arg2);
6212
6213 wxPyEndAllowThreads(__tstate);
6214 if (PyErr_Occurred()) SWIG_fail;
6215 }
6216 Py_INCREF(Py_None); resultobj = Py_None;
6217 return resultobj;
6218 fail:
6219 return NULL;
6220}
6221
6222
6223static PyObject *_wrap_Dialog_GetEscapeId(PyObject *, PyObject *args, PyObject *kwargs) {
6224 PyObject *resultobj = NULL;
6225 wxDialog *arg1 = (wxDialog *) 0 ;
6226 int result;
6227 PyObject * obj0 = 0 ;
6228 char *kwnames[] = {
6229 (char *) "self", NULL
6230 };
6231
6232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetEscapeId",kwnames,&obj0)) goto fail;
6233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6234 if (SWIG_arg_fail(1)) SWIG_fail;
6235 {
6236 PyThreadState* __tstate = wxPyBeginAllowThreads();
6237 result = (int)((wxDialog const *)arg1)->GetEscapeId();
6238
6239 wxPyEndAllowThreads(__tstate);
6240 if (PyErr_Occurred()) SWIG_fail;
6241 }
6242 {
6243 resultobj = SWIG_From_int(static_cast<int >(result));
6244 }
6245 return resultobj;
6246 fail:
6247 return NULL;
6248}
6249
6250
c32bde28 6251static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6252 PyObject *resultobj = NULL;
d55e5bfc
RD
6253 wxDialog *arg1 = (wxDialog *) 0 ;
6254 wxString *arg2 = 0 ;
6255 wxSizer *result;
ae8162c8 6256 bool temp2 = false ;
d55e5bfc
RD
6257 PyObject * obj0 = 0 ;
6258 PyObject * obj1 = 0 ;
6259 char *kwnames[] = {
6260 (char *) "self",(char *) "message", NULL
6261 };
6262
6263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6264 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6265 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6266 {
6267 arg2 = wxString_in_helper(obj1);
6268 if (arg2 == NULL) SWIG_fail;
ae8162c8 6269 temp2 = true;
d55e5bfc
RD
6270 }
6271 {
6272 PyThreadState* __tstate = wxPyBeginAllowThreads();
6273 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
6274
6275 wxPyEndAllowThreads(__tstate);
6276 if (PyErr_Occurred()) SWIG_fail;
6277 }
6278 {
7e08d4ef 6279 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
6280 }
6281 {
6282 if (temp2)
6283 delete arg2;
6284 }
6285 return resultobj;
6286 fail:
6287 {
6288 if (temp2)
6289 delete arg2;
6290 }
6291 return NULL;
6292}
6293
6294
c32bde28 6295static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6296 PyObject *resultobj = NULL;
d55e5bfc
RD
6297 wxDialog *arg1 = (wxDialog *) 0 ;
6298 long arg2 ;
7449af73
RD
6299 bool arg3 = (bool) false ;
6300 int arg4 = (int) 0 ;
d55e5bfc
RD
6301 wxSizer *result;
6302 PyObject * obj0 = 0 ;
6303 PyObject * obj1 = 0 ;
7449af73
RD
6304 PyObject * obj2 = 0 ;
6305 PyObject * obj3 = 0 ;
d55e5bfc 6306 char *kwnames[] = {
7449af73 6307 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
d55e5bfc
RD
6308 };
6309
7449af73 6310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
6311 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6312 if (SWIG_arg_fail(1)) SWIG_fail;
6313 {
7449af73 6314 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
6315 if (SWIG_arg_fail(2)) SWIG_fail;
6316 }
7449af73
RD
6317 if (obj2) {
6318 {
6319 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
6320 if (SWIG_arg_fail(3)) SWIG_fail;
6321 }
6322 }
6323 if (obj3) {
6324 {
6325 arg4 = static_cast<int >(SWIG_As_int(obj3));
6326 if (SWIG_arg_fail(4)) SWIG_fail;
6327 }
6328 }
d55e5bfc
RD
6329 {
6330 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 6331 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2,arg3,arg4);
d55e5bfc
RD
6332
6333 wxPyEndAllowThreads(__tstate);
6334 if (PyErr_Occurred()) SWIG_fail;
6335 }
6336 {
7e08d4ef 6337 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
6338 }
6339 return resultobj;
6340 fail:
6341 return NULL;
6342}
6343
6344
62d32a5f 6345static PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6346 PyObject *resultobj = NULL;
62d32a5f
RD
6347 wxDialog *arg1 = (wxDialog *) 0 ;
6348 long arg2 ;
6349 wxStdDialogButtonSizer *result;
6350 PyObject * obj0 = 0 ;
6351 PyObject * obj1 = 0 ;
6352 char *kwnames[] = {
6353 (char *) "self",(char *) "flags", NULL
6354 };
6355
6356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) goto fail;
6357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6358 if (SWIG_arg_fail(1)) SWIG_fail;
6359 {
7449af73 6360 arg2 = static_cast<long >(SWIG_As_long(obj1));
62d32a5f
RD
6361 if (SWIG_arg_fail(2)) SWIG_fail;
6362 }
6363 {
6364 PyThreadState* __tstate = wxPyBeginAllowThreads();
6365 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
6366
6367 wxPyEndAllowThreads(__tstate);
6368 if (PyErr_Occurred()) SWIG_fail;
6369 }
6370 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0);
6371 return resultobj;
6372 fail:
6373 return NULL;
6374}
6375
6376
c32bde28 6377static PyObject *_wrap_Dialog_IsModal(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6378 PyObject *resultobj = NULL;
d55e5bfc
RD
6379 wxDialog *arg1 = (wxDialog *) 0 ;
6380 bool result;
6381 PyObject * obj0 = 0 ;
6382 char *kwnames[] = {
6383 (char *) "self", NULL
6384 };
6385
6386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
093d3ff1
RD
6387 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6388 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6389 {
6390 PyThreadState* __tstate = wxPyBeginAllowThreads();
6391 result = (bool)((wxDialog const *)arg1)->IsModal();
6392
6393 wxPyEndAllowThreads(__tstate);
6394 if (PyErr_Occurred()) SWIG_fail;
6395 }
6396 {
6397 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6398 }
6399 return resultobj;
6400 fail:
6401 return NULL;
6402}
6403
6404
c32bde28 6405static PyObject *_wrap_Dialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6406 PyObject *resultobj = NULL;
d55e5bfc
RD
6407 wxDialog *arg1 = (wxDialog *) 0 ;
6408 int result;
6409 PyObject * obj0 = 0 ;
6410 char *kwnames[] = {
6411 (char *) "self", NULL
6412 };
6413
6414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
093d3ff1
RD
6415 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6416 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6417 {
6418 PyThreadState* __tstate = wxPyBeginAllowThreads();
6419 result = (int)(arg1)->ShowModal();
6420
6421 wxPyEndAllowThreads(__tstate);
6422 if (PyErr_Occurred()) SWIG_fail;
6423 }
093d3ff1 6424 {
7449af73 6425 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 6426 }
d55e5bfc
RD
6427 return resultobj;
6428 fail:
6429 return NULL;
6430}
6431
6432
c32bde28 6433static PyObject *_wrap_Dialog_EndModal(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6434 PyObject *resultobj = NULL;
d55e5bfc
RD
6435 wxDialog *arg1 = (wxDialog *) 0 ;
6436 int arg2 ;
6437 PyObject * obj0 = 0 ;
6438 PyObject * obj1 = 0 ;
6439 char *kwnames[] = {
6440 (char *) "self",(char *) "retCode", NULL
6441 };
6442
6443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6445 if (SWIG_arg_fail(1)) SWIG_fail;
6446 {
7449af73 6447 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
6448 if (SWIG_arg_fail(2)) SWIG_fail;
6449 }
d55e5bfc
RD
6450 {
6451 PyThreadState* __tstate = wxPyBeginAllowThreads();
6452 (arg1)->EndModal(arg2);
6453
6454 wxPyEndAllowThreads(__tstate);
6455 if (PyErr_Occurred()) SWIG_fail;
6456 }
6457 Py_INCREF(Py_None); resultobj = Py_None;
6458 return resultobj;
6459 fail:
6460 return NULL;
6461}
6462
6463
c32bde28 6464static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6465 PyObject *resultobj = NULL;
093d3ff1 6466 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
6467 wxVisualAttributes result;
6468 PyObject * obj0 = 0 ;
6469 char *kwnames[] = {
6470 (char *) "variant", NULL
6471 };
6472
6473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6474 if (obj0) {
093d3ff1 6475 {
7449af73 6476 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
6477 if (SWIG_arg_fail(1)) SWIG_fail;
6478 }
f20a2e1f
RD
6479 }
6480 {
0439c23b 6481 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 6482 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 6483 result = wxDialog::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
6484
6485 wxPyEndAllowThreads(__tstate);
110da5b0 6486 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
6487 }
6488 {
6489 wxVisualAttributes * resultptr;
7449af73 6490 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
6491 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6492 }
6493 return resultobj;
6494 fail:
6495 return NULL;
6496}
6497
6498
c32bde28 6499static PyObject * Dialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6500 PyObject *obj;
6501 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6502 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
6503 Py_INCREF(obj);
6504 return Py_BuildValue((char *)"");
6505}
c32bde28 6506static PyObject *_wrap_new_MiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6507 PyObject *resultobj = NULL;
d55e5bfc 6508 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
6509 int arg2 = (int) (int)-1 ;
6510 wxString const &arg3_defvalue = wxPyEmptyString ;
6511 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
6512 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6513 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6514 wxSize const &arg5_defvalue = wxDefaultSize ;
6515 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6516 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6517 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6518 wxString *arg7 = (wxString *) &arg7_defvalue ;
6519 wxMiniFrame *result;
ae8162c8 6520 bool temp3 = false ;
d55e5bfc
RD
6521 wxPoint temp4 ;
6522 wxSize temp5 ;
ae8162c8 6523 bool temp7 = false ;
d55e5bfc
RD
6524 PyObject * obj0 = 0 ;
6525 PyObject * obj1 = 0 ;
6526 PyObject * obj2 = 0 ;
6527 PyObject * obj3 = 0 ;
6528 PyObject * obj4 = 0 ;
6529 PyObject * obj5 = 0 ;
6530 PyObject * obj6 = 0 ;
6531 char *kwnames[] = {
6532 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6533 };
6534
248ed943 6535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
6536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6537 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 6538 if (obj1) {
093d3ff1 6539 {
7449af73 6540 arg2 = static_cast<int const >(SWIG_As_int(obj1));
093d3ff1
RD
6541 if (SWIG_arg_fail(2)) SWIG_fail;
6542 }
248ed943
RD
6543 }
6544 if (obj2) {
6545 {
6546 arg3 = wxString_in_helper(obj2);
6547 if (arg3 == NULL) SWIG_fail;
ae8162c8 6548 temp3 = true;
248ed943 6549 }
d55e5bfc
RD
6550 }
6551 if (obj3) {
6552 {
6553 arg4 = &temp4;
6554 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6555 }
6556 }
6557 if (obj4) {
6558 {
6559 arg5 = &temp5;
6560 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6561 }
6562 }
6563 if (obj5) {
093d3ff1 6564 {
7449af73 6565 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
6566 if (SWIG_arg_fail(6)) SWIG_fail;
6567 }
d55e5bfc
RD
6568 }
6569 if (obj6) {
6570 {
6571 arg7 = wxString_in_helper(obj6);
6572 if (arg7 == NULL) SWIG_fail;
ae8162c8 6573 temp7 = true;
d55e5bfc
RD
6574 }
6575 }
6576 {
0439c23b 6577 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6578 PyThreadState* __tstate = wxPyBeginAllowThreads();
6579 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6580
6581 wxPyEndAllowThreads(__tstate);
110da5b0 6582 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6583 }
6584 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
6585 {
6586 if (temp3)
6587 delete arg3;
6588 }
6589 {
6590 if (temp7)
6591 delete arg7;
6592 }
6593 return resultobj;
6594 fail:
6595 {
6596 if (temp3)
6597 delete arg3;
6598 }
6599 {
6600 if (temp7)
6601 delete arg7;
6602 }
6603 return NULL;
6604}
6605
6606
c32bde28 6607static PyObject *_wrap_new_PreMiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6608 PyObject *resultobj = NULL;
d55e5bfc
RD
6609 wxMiniFrame *result;
6610 char *kwnames[] = {
6611 NULL
6612 };
6613
6614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
6615 {
0439c23b 6616 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6617 PyThreadState* __tstate = wxPyBeginAllowThreads();
6618 result = (wxMiniFrame *)new wxMiniFrame();
6619
6620 wxPyEndAllowThreads(__tstate);
110da5b0 6621 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6622 }
6623 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
6624 return resultobj;
6625 fail:
6626 return NULL;
6627}
6628
6629
c32bde28 6630static PyObject *_wrap_MiniFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6631 PyObject *resultobj = NULL;
d55e5bfc
RD
6632 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
6633 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
6634 int arg3 = (int) (int)-1 ;
6635 wxString const &arg4_defvalue = wxPyEmptyString ;
6636 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
6637 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6638 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6639 wxSize const &arg6_defvalue = wxDefaultSize ;
6640 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6641 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6642 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6643 wxString *arg8 = (wxString *) &arg8_defvalue ;
6644 bool result;
ae8162c8 6645 bool temp4 = false ;
d55e5bfc
RD
6646 wxPoint temp5 ;
6647 wxSize temp6 ;
ae8162c8 6648 bool temp8 = false ;
d55e5bfc
RD
6649 PyObject * obj0 = 0 ;
6650 PyObject * obj1 = 0 ;
6651 PyObject * obj2 = 0 ;
6652 PyObject * obj3 = 0 ;
6653 PyObject * obj4 = 0 ;
6654 PyObject * obj5 = 0 ;
6655 PyObject * obj6 = 0 ;
6656 PyObject * obj7 = 0 ;
6657 char *kwnames[] = {
6658 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6659 };
6660
248ed943 6661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
6662 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_EXCEPTION | 0);
6663 if (SWIG_arg_fail(1)) SWIG_fail;
6664 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6665 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 6666 if (obj2) {
093d3ff1 6667 {
7449af73 6668 arg3 = static_cast<int const >(SWIG_As_int(obj2));
093d3ff1
RD
6669 if (SWIG_arg_fail(3)) SWIG_fail;
6670 }
248ed943
RD
6671 }
6672 if (obj3) {
6673 {
6674 arg4 = wxString_in_helper(obj3);
6675 if (arg4 == NULL) SWIG_fail;
ae8162c8 6676 temp4 = true;
248ed943 6677 }
d55e5bfc
RD
6678 }
6679 if (obj4) {
6680 {
6681 arg5 = &temp5;
6682 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6683 }
6684 }
6685 if (obj5) {
6686 {
6687 arg6 = &temp6;
6688 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6689 }
6690 }
6691 if (obj6) {
093d3ff1 6692 {
7449af73 6693 arg7 = static_cast<long >(SWIG_As_long(obj6));
093d3ff1
RD
6694 if (SWIG_arg_fail(7)) SWIG_fail;
6695 }
d55e5bfc
RD
6696 }
6697 if (obj7) {
6698 {
6699 arg8 = wxString_in_helper(obj7);
6700 if (arg8 == NULL) SWIG_fail;
ae8162c8 6701 temp8 = true;
d55e5bfc
RD
6702 }
6703 }
6704 {
6705 PyThreadState* __tstate = wxPyBeginAllowThreads();
6706 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6707
6708 wxPyEndAllowThreads(__tstate);
6709 if (PyErr_Occurred()) SWIG_fail;
6710 }
6711 {
6712 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6713 }
6714 {
6715 if (temp4)
6716 delete arg4;
6717 }
6718 {
6719 if (temp8)
6720 delete arg8;
6721 }
6722 return resultobj;
6723 fail:
6724 {
6725 if (temp4)
6726 delete arg4;
6727 }
6728 {
6729 if (temp8)
6730 delete arg8;
6731 }
6732 return NULL;
6733}
6734
6735
c32bde28 6736static PyObject * MiniFrame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6737 PyObject *obj;
6738 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6739 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
6740 Py_INCREF(obj);
6741 return Py_BuildValue((char *)"");
6742}
c32bde28 6743static PyObject *_wrap_new_SplashScreenWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6744 PyObject *resultobj = NULL;
d55e5bfc
RD
6745 wxBitmap *arg1 = 0 ;
6746 wxWindow *arg2 = (wxWindow *) 0 ;
6747 int arg3 ;
6748 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6749 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6750 wxSize const &arg5_defvalue = wxDefaultSize ;
6751 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6752 long arg6 = (long) wxNO_BORDER ;
6753 wxSplashScreenWindow *result;
6754 wxPoint temp4 ;
6755 wxSize temp5 ;
6756 PyObject * obj0 = 0 ;
6757 PyObject * obj1 = 0 ;
6758 PyObject * obj2 = 0 ;
6759 PyObject * obj3 = 0 ;
6760 PyObject * obj4 = 0 ;
6761 PyObject * obj5 = 0 ;
6762 char *kwnames[] = {
6763 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6764 };
6765
6766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
6767 {
6768 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6769 if (SWIG_arg_fail(1)) SWIG_fail;
6770 if (arg1 == NULL) {
6771 SWIG_null_ref("wxBitmap");
6772 }
6773 if (SWIG_arg_fail(1)) SWIG_fail;
6774 }
6775 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6776 if (SWIG_arg_fail(2)) SWIG_fail;
6777 {
7449af73 6778 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
6779 if (SWIG_arg_fail(3)) SWIG_fail;
6780 }
d55e5bfc
RD
6781 if (obj3) {
6782 {
6783 arg4 = &temp4;
6784 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6785 }
6786 }
6787 if (obj4) {
6788 {
6789 arg5 = &temp5;
6790 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6791 }
6792 }
6793 if (obj5) {
093d3ff1 6794 {
7449af73 6795 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
6796 if (SWIG_arg_fail(6)) SWIG_fail;
6797 }
d55e5bfc
RD
6798 }
6799 {
0439c23b 6800 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6801 PyThreadState* __tstate = wxPyBeginAllowThreads();
6802 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
6803
6804 wxPyEndAllowThreads(__tstate);
110da5b0 6805 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6806 }
6807 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
6808 return resultobj;
6809 fail:
6810 return NULL;
6811}
6812
6813
c32bde28 6814static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6815 PyObject *resultobj = NULL;
d55e5bfc
RD
6816 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
6817 wxBitmap *arg2 = 0 ;
6818 PyObject * obj0 = 0 ;
6819 PyObject * obj1 = 0 ;
6820 char *kwnames[] = {
6821 (char *) "self",(char *) "bitmap", NULL
6822 };
6823
6824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6825 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_EXCEPTION | 0);
6826 if (SWIG_arg_fail(1)) SWIG_fail;
6827 {
6828 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6829 if (SWIG_arg_fail(2)) SWIG_fail;
6830 if (arg2 == NULL) {
6831 SWIG_null_ref("wxBitmap");
6832 }
6833 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
6834 }
6835 {
6836 PyThreadState* __tstate = wxPyBeginAllowThreads();
6837 (arg1)->SetBitmap((wxBitmap const &)*arg2);
6838
6839 wxPyEndAllowThreads(__tstate);
6840 if (PyErr_Occurred()) SWIG_fail;
6841 }
6842 Py_INCREF(Py_None); resultobj = Py_None;
6843 return resultobj;
6844 fail:
6845 return NULL;
6846}
6847
6848
c32bde28 6849static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6850 PyObject *resultobj = NULL;
d55e5bfc
RD
6851 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
6852 wxBitmap *result;
6853 PyObject * obj0 = 0 ;
6854 char *kwnames[] = {
6855 (char *) "self", NULL
6856 };
6857
6858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
093d3ff1
RD
6859 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_EXCEPTION | 0);
6860 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6861 {
6862 PyThreadState* __tstate = wxPyBeginAllowThreads();
6863 {
6864 wxBitmap &_result_ref = (arg1)->GetBitmap();
6865 result = (wxBitmap *) &_result_ref;
6866 }
6867
6868 wxPyEndAllowThreads(__tstate);
6869 if (PyErr_Occurred()) SWIG_fail;
6870 }
6871 {
6872 wxBitmap* resultptr = new wxBitmap(*result);
6873 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
6874 }
6875 return resultobj;
6876 fail:
6877 return NULL;
6878}
6879
6880
c32bde28 6881static PyObject * SplashScreenWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6882 PyObject *obj;
6883 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6884 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
6885 Py_INCREF(obj);
6886 return Py_BuildValue((char *)"");
6887}
c32bde28 6888static PyObject *_wrap_new_SplashScreen(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6889 PyObject *resultobj = NULL;
d55e5bfc
RD
6890 wxBitmap *arg1 = 0 ;
6891 long arg2 ;
6892 int arg3 ;
6893 wxWindow *arg4 = (wxWindow *) 0 ;
248ed943 6894 int arg5 = (int) -1 ;
d55e5bfc
RD
6895 wxPoint const &arg6_defvalue = wxDefaultPosition ;
6896 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
6897 wxSize const &arg7_defvalue = wxDefaultSize ;
6898 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
6899 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
6900 wxSplashScreen *result;
6901 wxPoint temp6 ;
6902 wxSize temp7 ;
6903 PyObject * obj0 = 0 ;
6904 PyObject * obj1 = 0 ;
6905 PyObject * obj2 = 0 ;
6906 PyObject * obj3 = 0 ;
6907 PyObject * obj4 = 0 ;
6908 PyObject * obj5 = 0 ;
6909 PyObject * obj6 = 0 ;
6910 PyObject * obj7 = 0 ;
6911 char *kwnames[] = {
6912 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6913 };
6914
248ed943 6915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
6916 {
6917 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6918 if (SWIG_arg_fail(1)) SWIG_fail;
6919 if (arg1 == NULL) {
6920 SWIG_null_ref("wxBitmap");
6921 }
6922 if (SWIG_arg_fail(1)) SWIG_fail;
6923 }
6924 {
7449af73 6925 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
6926 if (SWIG_arg_fail(2)) SWIG_fail;
6927 }
6928 {
7449af73 6929 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
6930 if (SWIG_arg_fail(3)) SWIG_fail;
6931 }
6932 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6933 if (SWIG_arg_fail(4)) SWIG_fail;
248ed943 6934 if (obj4) {
093d3ff1 6935 {
7449af73 6936 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
6937 if (SWIG_arg_fail(5)) SWIG_fail;
6938 }
248ed943 6939 }
d55e5bfc
RD
6940 if (obj5) {
6941 {
6942 arg6 = &temp6;
6943 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
6944 }
6945 }
6946 if (obj6) {
6947 {
6948 arg7 = &temp7;
6949 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
6950 }
6951 }
6952 if (obj7) {
093d3ff1 6953 {
7449af73 6954 arg8 = static_cast<long >(SWIG_As_long(obj7));
093d3ff1
RD
6955 if (SWIG_arg_fail(8)) SWIG_fail;
6956 }
d55e5bfc
RD
6957 }
6958 {
0439c23b 6959 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6960 PyThreadState* __tstate = wxPyBeginAllowThreads();
6961 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
6962
6963 wxPyEndAllowThreads(__tstate);
110da5b0 6964 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6965 }
6966 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
6967 return resultobj;
6968 fail:
6969 return NULL;
6970}
6971
6972
c32bde28 6973static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6974 PyObject *resultobj = NULL;
d55e5bfc
RD
6975 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6976 long result;
6977 PyObject * obj0 = 0 ;
6978 char *kwnames[] = {
6979 (char *) "self", NULL
6980 };
6981
6982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
093d3ff1
RD
6983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6984 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6985 {
6986 PyThreadState* __tstate = wxPyBeginAllowThreads();
6987 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
6988
6989 wxPyEndAllowThreads(__tstate);
6990 if (PyErr_Occurred()) SWIG_fail;
6991 }
093d3ff1 6992 {
7449af73 6993 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 6994 }
d55e5bfc
RD
6995 return resultobj;
6996 fail:
6997 return NULL;
6998}
6999
7000
c32bde28 7001static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7002 PyObject *resultobj = NULL;
d55e5bfc
RD
7003 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
7004 wxSplashScreenWindow *result;
7005 PyObject * obj0 = 0 ;
7006 char *kwnames[] = {
7007 (char *) "self", NULL
7008 };
7009
7010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
7011 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
7012 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7013 {
7014 PyThreadState* __tstate = wxPyBeginAllowThreads();
7015 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
7016
7017 wxPyEndAllowThreads(__tstate);
7018 if (PyErr_Occurred()) SWIG_fail;
7019 }
7020 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
7021 return resultobj;
7022 fail:
7023 return NULL;
7024}
7025
7026
c32bde28 7027static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7028 PyObject *resultobj = NULL;
d55e5bfc
RD
7029 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
7030 int result;
7031 PyObject * obj0 = 0 ;
7032 char *kwnames[] = {
7033 (char *) "self", NULL
7034 };
7035
7036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
093d3ff1
RD
7037 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
7038 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7039 {
7040 PyThreadState* __tstate = wxPyBeginAllowThreads();
7041 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
7042
7043 wxPyEndAllowThreads(__tstate);
7044 if (PyErr_Occurred()) SWIG_fail;
7045 }
093d3ff1 7046 {
7449af73 7047 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 7048 }
d55e5bfc
RD
7049 return resultobj;
7050 fail:
7051 return NULL;
7052}
7053
7054
c32bde28 7055static PyObject * SplashScreen_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7056 PyObject *obj;
7057 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7058 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
7059 Py_INCREF(obj);
7060 return Py_BuildValue((char *)"");
7061}
c32bde28 7062static PyObject *_wrap_new_StatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7063 PyObject *resultobj = NULL;
d55e5bfc
RD
7064 wxWindow *arg1 = (wxWindow *) 0 ;
7065 int arg2 = (int) -1 ;
6d88e192 7066 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
d55e5bfc
RD
7067 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
7068 wxString *arg4 = (wxString *) &arg4_defvalue ;
7069 wxStatusBar *result;
ae8162c8 7070 bool temp4 = false ;
d55e5bfc
RD
7071 PyObject * obj0 = 0 ;
7072 PyObject * obj1 = 0 ;
7073 PyObject * obj2 = 0 ;
7074 PyObject * obj3 = 0 ;
7075 char *kwnames[] = {
7076 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
7077 };
7078
7079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
7080 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7081 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 7082 if (obj1) {
093d3ff1 7083 {
7449af73 7084 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
7085 if (SWIG_arg_fail(2)) SWIG_fail;
7086 }
d55e5bfc
RD
7087 }
7088 if (obj2) {
093d3ff1 7089 {
7449af73 7090 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
7091 if (SWIG_arg_fail(3)) SWIG_fail;
7092 }
d55e5bfc
RD
7093 }
7094 if (obj3) {
7095 {
7096 arg4 = wxString_in_helper(obj3);
7097 if (arg4 == NULL) SWIG_fail;
ae8162c8 7098 temp4 = true;
d55e5bfc
RD
7099 }
7100 }
7101 {
0439c23b 7102 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7103 PyThreadState* __tstate = wxPyBeginAllowThreads();
7104 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
7105
7106 wxPyEndAllowThreads(__tstate);
110da5b0 7107 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 7108 }
b0f7404b 7109 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
d55e5bfc
RD
7110 {
7111 if (temp4)
7112 delete arg4;
7113 }
7114 return resultobj;
7115 fail:
7116 {
7117 if (temp4)
7118 delete arg4;
7119 }
7120 return NULL;
7121}
7122
7123
c32bde28 7124static PyObject *_wrap_new_PreStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7125 PyObject *resultobj = NULL;
d55e5bfc
RD
7126 wxStatusBar *result;
7127 char *kwnames[] = {
7128 NULL
7129 };
7130
7131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
7132 {
0439c23b 7133 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7134 PyThreadState* __tstate = wxPyBeginAllowThreads();
7135 result = (wxStatusBar *)new wxStatusBar();
7136
7137 wxPyEndAllowThreads(__tstate);
110da5b0 7138 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 7139 }
b0f7404b 7140 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
d55e5bfc
RD
7141 return resultobj;
7142 fail:
7143 return NULL;
7144}
7145
7146
c32bde28 7147static PyObject *_wrap_StatusBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7148 PyObject *resultobj = NULL;
d55e5bfc
RD
7149 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7150 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 7151 int arg3 = (int) -1 ;
d55e5bfc
RD
7152 long arg4 = (long) wxST_SIZEGRIP ;
7153 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
7154 wxString *arg5 = (wxString *) &arg5_defvalue ;
7155 bool result;
ae8162c8 7156 bool temp5 = false ;
d55e5bfc
RD
7157 PyObject * obj0 = 0 ;
7158 PyObject * obj1 = 0 ;
7159 PyObject * obj2 = 0 ;
7160 PyObject * obj3 = 0 ;
7161 PyObject * obj4 = 0 ;
7162 char *kwnames[] = {
7163 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
7164 };
7165
248ed943 7166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
7167 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7168 if (SWIG_arg_fail(1)) SWIG_fail;
7169 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7170 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 7171 if (obj2) {
093d3ff1 7172 {
7449af73 7173 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
7174 if (SWIG_arg_fail(3)) SWIG_fail;
7175 }
248ed943 7176 }
d55e5bfc 7177 if (obj3) {
093d3ff1 7178 {
7449af73 7179 arg4 = static_cast<long >(SWIG_As_long(obj3));
093d3ff1
RD
7180 if (SWIG_arg_fail(4)) SWIG_fail;
7181 }
d55e5bfc
RD
7182 }
7183 if (obj4) {
7184 {
7185 arg5 = wxString_in_helper(obj4);
7186 if (arg5 == NULL) SWIG_fail;
ae8162c8 7187 temp5 = true;
d55e5bfc
RD
7188 }
7189 }
7190 {
7191 PyThreadState* __tstate = wxPyBeginAllowThreads();
7192 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
7193
7194 wxPyEndAllowThreads(__tstate);
7195 if (PyErr_Occurred()) SWIG_fail;
7196 }
7197 {
7198 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7199 }
7200 {
7201 if (temp5)
7202 delete arg5;
7203 }
7204 return resultobj;
7205 fail:
7206 {
7207 if (temp5)
7208 delete arg5;
7209 }
7210 return NULL;
7211}
7212
7213
c32bde28 7214static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7215 PyObject *resultobj = NULL;
d55e5bfc
RD
7216 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7217 int arg2 = (int) 1 ;
7218 PyObject * obj0 = 0 ;
7219 PyObject * obj1 = 0 ;
7220 char *kwnames[] = {
7221 (char *) "self",(char *) "number", NULL
7222 };
7223
7224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7225 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7226 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 7227 if (obj1) {
093d3ff1 7228 {
7449af73 7229 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
7230 if (SWIG_arg_fail(2)) SWIG_fail;
7231 }
d55e5bfc
RD
7232 }
7233 {
7234 PyThreadState* __tstate = wxPyBeginAllowThreads();
7235 (arg1)->SetFieldsCount(arg2);
7236
7237 wxPyEndAllowThreads(__tstate);
7238 if (PyErr_Occurred()) SWIG_fail;
7239 }
7240 Py_INCREF(Py_None); resultobj = Py_None;
7241 return resultobj;
7242 fail:
7243 return NULL;
7244}
7245
7246
c32bde28 7247static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7248 PyObject *resultobj = NULL;
d55e5bfc
RD
7249 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7250 int result;
7251 PyObject * obj0 = 0 ;
7252 char *kwnames[] = {
7253 (char *) "self", NULL
7254 };
7255
7256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
7257 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7258 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7259 {
7260 PyThreadState* __tstate = wxPyBeginAllowThreads();
7261 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
7262
7263 wxPyEndAllowThreads(__tstate);
7264 if (PyErr_Occurred()) SWIG_fail;
7265 }
093d3ff1 7266 {
7449af73 7267 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 7268 }
d55e5bfc
RD
7269 return resultobj;
7270 fail:
7271 return NULL;
7272}
7273
7274
c32bde28 7275static PyObject *_wrap_StatusBar_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7276 PyObject *resultobj = NULL;
d55e5bfc
RD
7277 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7278 wxString *arg2 = 0 ;
7279 int arg3 = (int) 0 ;
ae8162c8 7280 bool temp2 = false ;
d55e5bfc
RD
7281 PyObject * obj0 = 0 ;
7282 PyObject * obj1 = 0 ;
7283 PyObject * obj2 = 0 ;
7284 char *kwnames[] = {
7285 (char *) "self",(char *) "text",(char *) "number", NULL
7286 };
7287
7288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7289 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7290 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7291 {
7292 arg2 = wxString_in_helper(obj1);
7293 if (arg2 == NULL) SWIG_fail;
ae8162c8 7294 temp2 = true;
d55e5bfc
RD
7295 }
7296 if (obj2) {
093d3ff1 7297 {
7449af73 7298 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
7299 if (SWIG_arg_fail(3)) SWIG_fail;
7300 }
d55e5bfc
RD
7301 }
7302 {
7303 PyThreadState* __tstate = wxPyBeginAllowThreads();
7304 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
7305
7306 wxPyEndAllowThreads(__tstate);
7307 if (PyErr_Occurred()) SWIG_fail;
7308 }
7309 Py_INCREF(Py_None); resultobj = Py_None;
7310 {
7311 if (temp2)
7312 delete arg2;
7313 }
7314 return resultobj;
7315 fail:
7316 {
7317 if (temp2)
7318 delete arg2;
7319 }
7320 return NULL;
7321}
7322
7323
c32bde28 7324static PyObject *_wrap_StatusBar_GetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7325 PyObject *resultobj = NULL;
d55e5bfc
RD
7326 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7327 int arg2 = (int) 0 ;
7328 wxString result;
7329 PyObject * obj0 = 0 ;
7330 PyObject * obj1 = 0 ;
7331 char *kwnames[] = {
7332 (char *) "self",(char *) "number", NULL
7333 };
7334
7335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7336 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7337 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 7338 if (obj1) {
093d3ff1 7339 {
7449af73 7340 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
7341 if (SWIG_arg_fail(2)) SWIG_fail;
7342 }
d55e5bfc
RD
7343 }
7344 {
7345 PyThreadState* __tstate = wxPyBeginAllowThreads();
7346 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
7347
7348 wxPyEndAllowThreads(__tstate);
7349 if (PyErr_Occurred()) SWIG_fail;
7350 }
7351 {
7352#if wxUSE_UNICODE
7353 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7354#else
7355 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7356#endif
7357 }
7358 return resultobj;
7359 fail:
7360 return NULL;
7361}
7362
7363
c32bde28 7364static PyObject *_wrap_StatusBar_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7365 PyObject *resultobj = NULL;
d55e5bfc
RD
7366 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7367 wxString *arg2 = 0 ;
7368 int arg3 = (int) 0 ;
ae8162c8 7369 bool temp2 = false ;
d55e5bfc
RD
7370 PyObject * obj0 = 0 ;
7371 PyObject * obj1 = 0 ;
7372 PyObject * obj2 = 0 ;
7373 char *kwnames[] = {
7374 (char *) "self",(char *) "text",(char *) "number", NULL
7375 };
7376
7377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7378 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7379 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7380 {
7381 arg2 = wxString_in_helper(obj1);
7382 if (arg2 == NULL) SWIG_fail;
ae8162c8 7383 temp2 = true;
d55e5bfc
RD
7384 }
7385 if (obj2) {
093d3ff1 7386 {
7449af73 7387 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
7388 if (SWIG_arg_fail(3)) SWIG_fail;
7389 }
d55e5bfc
RD
7390 }
7391 {
7392 PyThreadState* __tstate = wxPyBeginAllowThreads();
7393 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
7394
7395 wxPyEndAllowThreads(__tstate);
7396 if (PyErr_Occurred()) SWIG_fail;
7397 }
7398 Py_INCREF(Py_None); resultobj = Py_None;
7399 {
7400 if (temp2)
7401 delete arg2;
7402 }
7403 return resultobj;
7404 fail:
7405 {
7406 if (temp2)
7407 delete arg2;
7408 }
7409 return NULL;
7410}
7411
7412
c32bde28 7413static PyObject *_wrap_StatusBar_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7414 PyObject *resultobj = NULL;
d55e5bfc
RD
7415 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7416 int arg2 = (int) 0 ;
7417 PyObject * obj0 = 0 ;
7418 PyObject * obj1 = 0 ;
7419 char *kwnames[] = {
7420 (char *) "self",(char *) "number", NULL
7421 };
7422
7423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) 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;
d55e5bfc 7426 if (obj1) {
093d3ff1 7427 {
7449af73 7428 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
7429 if (SWIG_arg_fail(2)) SWIG_fail;
7430 }
d55e5bfc
RD
7431 }
7432 {
7433 PyThreadState* __tstate = wxPyBeginAllowThreads();
7434 (arg1)->PopStatusText(arg2);
7435
7436 wxPyEndAllowThreads(__tstate);
7437 if (PyErr_Occurred()) SWIG_fail;
7438 }
7439 Py_INCREF(Py_None); resultobj = Py_None;
7440 return resultobj;
7441 fail:
7442 return NULL;
7443}
7444
7445
c32bde28 7446static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7447 PyObject *resultobj = NULL;
d55e5bfc
RD
7448 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7449 int arg2 ;
7450 int *arg3 = (int *) 0 ;
7451 PyObject * obj0 = 0 ;
7452 PyObject * obj1 = 0 ;
7453 char *kwnames[] = {
7454 (char *) "self",(char *) "widths", NULL
7455 };
7456
7457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7459 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7460 {
7461 arg2 = PyList_Size(obj1);
7462 arg3 = int_LIST_helper(obj1);
7463 if (arg3 == NULL) SWIG_fail;
7464 }
7465 {
7466 PyThreadState* __tstate = wxPyBeginAllowThreads();
7467 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
7468
7469 wxPyEndAllowThreads(__tstate);
7470 if (PyErr_Occurred()) SWIG_fail;
7471 }
7472 Py_INCREF(Py_None); resultobj = Py_None;
7473 {
7474 if (arg3) delete [] arg3;
7475 }
7476 return resultobj;
7477 fail:
7478 {
7479 if (arg3) delete [] arg3;
7480 }
7481 return NULL;
7482}
7483
7484
c32bde28 7485static PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7486 PyObject *resultobj = NULL;
03837c5c
RD
7487 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7488 int arg2 ;
7489 int *arg3 = (int *) 0 ;
7490 PyObject * obj0 = 0 ;
7491 PyObject * obj1 = 0 ;
7492 char *kwnames[] = {
7493 (char *) "self",(char *) "styles", NULL
7494 };
7495
7496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7497 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7498 if (SWIG_arg_fail(1)) SWIG_fail;
03837c5c
RD
7499 {
7500 arg2 = PyList_Size(obj1);
7501 arg3 = int_LIST_helper(obj1);
7502 if (arg3 == NULL) SWIG_fail;
7503 }
7504 {
7505 PyThreadState* __tstate = wxPyBeginAllowThreads();
7506 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
7507
7508 wxPyEndAllowThreads(__tstate);
7509 if (PyErr_Occurred()) SWIG_fail;
7510 }
7511 Py_INCREF(Py_None); resultobj = Py_None;
7512 {
7513 if (arg3) delete [] arg3;
7514 }
7515 return resultobj;
7516 fail:
7517 {
7518 if (arg3) delete [] arg3;
7519 }
7520 return NULL;
7521}
7522
7523
c32bde28 7524static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7525 PyObject *resultobj = NULL;
d55e5bfc
RD
7526 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7527 int arg2 ;
7528 wxRect result;
7529 PyObject * obj0 = 0 ;
7530 PyObject * obj1 = 0 ;
7531 char *kwnames[] = {
7532 (char *) "self",(char *) "i", NULL
7533 };
7534
7535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7537 if (SWIG_arg_fail(1)) SWIG_fail;
7538 {
7449af73 7539 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
7540 if (SWIG_arg_fail(2)) SWIG_fail;
7541 }
d55e5bfc
RD
7542 {
7543 PyThreadState* __tstate = wxPyBeginAllowThreads();
7544 result = wxStatusBar_GetFieldRect(arg1,arg2);
7545
7546 wxPyEndAllowThreads(__tstate);
7547 if (PyErr_Occurred()) SWIG_fail;
7548 }
7549 {
7550 wxRect * resultptr;
7449af73 7551 resultptr = new wxRect(static_cast<wxRect & >(result));
d55e5bfc
RD
7552 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7553 }
7554 return resultobj;
7555 fail:
7556 return NULL;
7557}
7558
7559
c32bde28 7560static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7561 PyObject *resultobj = NULL;
d55e5bfc
RD
7562 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7563 int arg2 ;
7564 PyObject * obj0 = 0 ;
7565 PyObject * obj1 = 0 ;
7566 char *kwnames[] = {
7567 (char *) "self",(char *) "height", NULL
7568 };
7569
7570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7571 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7572 if (SWIG_arg_fail(1)) SWIG_fail;
7573 {
7449af73 7574 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
7575 if (SWIG_arg_fail(2)) SWIG_fail;
7576 }
d55e5bfc
RD
7577 {
7578 PyThreadState* __tstate = wxPyBeginAllowThreads();
7579 (arg1)->SetMinHeight(arg2);
7580
7581 wxPyEndAllowThreads(__tstate);
7582 if (PyErr_Occurred()) SWIG_fail;
7583 }
7584 Py_INCREF(Py_None); resultobj = Py_None;
7585 return resultobj;
7586 fail:
7587 return NULL;
7588}
7589
7590
c32bde28 7591static PyObject *_wrap_StatusBar_GetBorderX(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7592 PyObject *resultobj = NULL;
d55e5bfc
RD
7593 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7594 int result;
7595 PyObject * obj0 = 0 ;
7596 char *kwnames[] = {
7597 (char *) "self", NULL
7598 };
7599
7600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
093d3ff1
RD
7601 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7602 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7603 {
7604 PyThreadState* __tstate = wxPyBeginAllowThreads();
7605 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
7606
7607 wxPyEndAllowThreads(__tstate);
7608 if (PyErr_Occurred()) SWIG_fail;
7609 }
093d3ff1 7610 {
7449af73 7611 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 7612 }
d55e5bfc
RD
7613 return resultobj;
7614 fail:
7615 return NULL;
7616}
7617
7618
c32bde28 7619static PyObject *_wrap_StatusBar_GetBorderY(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7620 PyObject *resultobj = NULL;
d55e5bfc
RD
7621 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7622 int result;
7623 PyObject * obj0 = 0 ;
7624 char *kwnames[] = {
7625 (char *) "self", NULL
7626 };
7627
7628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
093d3ff1
RD
7629 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7630 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7631 {
7632 PyThreadState* __tstate = wxPyBeginAllowThreads();
7633 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
7634
7635 wxPyEndAllowThreads(__tstate);
7636 if (PyErr_Occurred()) SWIG_fail;
7637 }
093d3ff1 7638 {
7449af73 7639 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 7640 }
d55e5bfc
RD
7641 return resultobj;
7642 fail:
7643 return NULL;
7644}
7645
7646
c32bde28 7647static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7648 PyObject *resultobj = NULL;
093d3ff1 7649 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
7650 wxVisualAttributes result;
7651 PyObject * obj0 = 0 ;
7652 char *kwnames[] = {
7653 (char *) "variant", NULL
7654 };
7655
7656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
7657 if (obj0) {
093d3ff1 7658 {
7449af73 7659 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
7660 if (SWIG_arg_fail(1)) SWIG_fail;
7661 }
f20a2e1f
RD
7662 }
7663 {
0439c23b 7664 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 7665 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 7666 result = wxStatusBar::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
7667
7668 wxPyEndAllowThreads(__tstate);
110da5b0 7669 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
7670 }
7671 {
7672 wxVisualAttributes * resultptr;
7449af73 7673 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
7674 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7675 }
7676 return resultobj;
7677 fail:
7678 return NULL;
7679}
7680
7681
c32bde28 7682static PyObject * StatusBar_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7683 PyObject *obj;
7684 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7685 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
7686 Py_INCREF(obj);
7687 return Py_BuildValue((char *)"");
7688}
c32bde28 7689static int _wrap_SplitterNameStr_set(PyObject *) {
d55e5bfc
RD
7690 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
7691 return 1;
7692}
7693
7694
093d3ff1 7695static PyObject *_wrap_SplitterNameStr_get(void) {
7449af73 7696 PyObject *pyobj = NULL;
d55e5bfc
RD
7697
7698 {
7699#if wxUSE_UNICODE
7700 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
7701#else
7702 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
7703#endif
7704 }
7705 return pyobj;
7706}
7707
7708
c32bde28 7709static PyObject *_wrap_new_SplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7710 PyObject *resultobj = NULL;
d55e5bfc
RD
7711 wxWindow *arg1 = (wxWindow *) 0 ;
7712 int arg2 = (int) -1 ;
7713 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7714 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7715 wxSize const &arg4_defvalue = wxDefaultSize ;
7716 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7717 long arg5 = (long) wxSP_3D ;
7718 wxString const &arg6_defvalue = wxPySplitterNameStr ;
7719 wxString *arg6 = (wxString *) &arg6_defvalue ;
7720 wxSplitterWindow *result;
7721 wxPoint temp3 ;
7722 wxSize temp4 ;
ae8162c8 7723 bool temp6 = false ;
d55e5bfc
RD
7724 PyObject * obj0 = 0 ;
7725 PyObject * obj1 = 0 ;
7726 PyObject * obj2 = 0 ;
7727 PyObject * obj3 = 0 ;
7728 PyObject * obj4 = 0 ;
7729 PyObject * obj5 = 0 ;
7730 char *kwnames[] = {
7731 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7732 };
7733
7734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
7735 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7736 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 7737 if (obj1) {
093d3ff1 7738 {
7449af73 7739 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
7740 if (SWIG_arg_fail(2)) SWIG_fail;
7741 }
d55e5bfc
RD
7742 }
7743 if (obj2) {
7744 {
7745 arg3 = &temp3;
7746 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7747 }
7748 }
7749 if (obj3) {
7750 {
7751 arg4 = &temp4;
7752 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7753 }
7754 }
7755 if (obj4) {
093d3ff1 7756 {
7449af73 7757 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
7758 if (SWIG_arg_fail(5)) SWIG_fail;
7759 }
d55e5bfc
RD
7760 }
7761 if (obj5) {
7762 {
7763 arg6 = wxString_in_helper(obj5);
7764 if (arg6 == NULL) SWIG_fail;
ae8162c8 7765 temp6 = true;
d55e5bfc
RD
7766 }
7767 }
7768 {
0439c23b 7769 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7770 PyThreadState* __tstate = wxPyBeginAllowThreads();
7771 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7772
7773 wxPyEndAllowThreads(__tstate);
110da5b0 7774 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
7775 }
7776 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
7777 {
7778 if (temp6)
7779 delete arg6;
7780 }
7781 return resultobj;
7782 fail:
7783 {
7784 if (temp6)
7785 delete arg6;
7786 }
7787 return NULL;
7788}
7789
7790
c32bde28 7791static PyObject *_wrap_new_PreSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7792 PyObject *resultobj = NULL;
d55e5bfc
RD
7793 wxSplitterWindow *result;
7794 char *kwnames[] = {
7795 NULL
7796 };
7797
7798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
7799 {
0439c23b 7800 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7801 PyThreadState* __tstate = wxPyBeginAllowThreads();
7802 result = (wxSplitterWindow *)new wxSplitterWindow();
7803
7804 wxPyEndAllowThreads(__tstate);
110da5b0 7805 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
7806 }
7807 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
7808 return resultobj;
7809 fail:
7810 return NULL;
7811}
7812
7813
c32bde28 7814static PyObject *_wrap_SplitterWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7815 PyObject *resultobj = NULL;
d55e5bfc
RD
7816 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7817 wxWindow *arg2 = (wxWindow *) 0 ;
7818 int arg3 = (int) -1 ;
7819 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7820 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7821 wxSize const &arg5_defvalue = wxDefaultSize ;
7822 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7823 long arg6 = (long) wxSP_3D ;
7824 wxString const &arg7_defvalue = wxPySplitterNameStr ;
7825 wxString *arg7 = (wxString *) &arg7_defvalue ;
7826 bool result;
7827 wxPoint temp4 ;
7828 wxSize temp5 ;
ae8162c8 7829 bool temp7 = false ;
d55e5bfc
RD
7830 PyObject * obj0 = 0 ;
7831 PyObject * obj1 = 0 ;
7832 PyObject * obj2 = 0 ;
7833 PyObject * obj3 = 0 ;
7834 PyObject * obj4 = 0 ;
7835 PyObject * obj5 = 0 ;
7836 PyObject * obj6 = 0 ;
7837 char *kwnames[] = {
7838 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7839 };
7840
7841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
7842 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7843 if (SWIG_arg_fail(1)) SWIG_fail;
7844 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7845 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 7846 if (obj2) {
093d3ff1 7847 {
7449af73 7848 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
7849 if (SWIG_arg_fail(3)) SWIG_fail;
7850 }
d55e5bfc
RD
7851 }
7852 if (obj3) {
7853 {
7854 arg4 = &temp4;
7855 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7856 }
7857 }
7858 if (obj4) {
7859 {
7860 arg5 = &temp5;
7861 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7862 }
7863 }
7864 if (obj5) {
093d3ff1 7865 {
7449af73 7866 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
7867 if (SWIG_arg_fail(6)) SWIG_fail;
7868 }
d55e5bfc
RD
7869 }
7870 if (obj6) {
7871 {
7872 arg7 = wxString_in_helper(obj6);
7873 if (arg7 == NULL) SWIG_fail;
ae8162c8 7874 temp7 = true;
d55e5bfc
RD
7875 }
7876 }
7877 {
7878 PyThreadState* __tstate = wxPyBeginAllowThreads();
7879 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7880
7881 wxPyEndAllowThreads(__tstate);
7882 if (PyErr_Occurred()) SWIG_fail;
7883 }
7884 {
7885 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7886 }
7887 {
7888 if (temp7)
7889 delete arg7;
7890 }
7891 return resultobj;
7892 fail:
7893 {
7894 if (temp7)
7895 delete arg7;
7896 }
7897 return NULL;
7898}
7899
7900
c32bde28 7901static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7902 PyObject *resultobj = NULL;
d55e5bfc
RD
7903 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7904 wxWindow *result;
7905 PyObject * obj0 = 0 ;
7906 char *kwnames[] = {
7907 (char *) "self", NULL
7908 };
7909
7910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
093d3ff1
RD
7911 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7912 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7913 {
7914 PyThreadState* __tstate = wxPyBeginAllowThreads();
7915 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
7916
7917 wxPyEndAllowThreads(__tstate);
7918 if (PyErr_Occurred()) SWIG_fail;
7919 }
7920 {
412d302d 7921 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
7922 }
7923 return resultobj;
7924 fail:
7925 return NULL;
7926}
7927
7928
c32bde28 7929static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7930 PyObject *resultobj = NULL;
d55e5bfc
RD
7931 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7932 wxWindow *result;
7933 PyObject * obj0 = 0 ;
7934 char *kwnames[] = {
7935 (char *) "self", NULL
7936 };
7937
7938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
093d3ff1
RD
7939 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7940 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7941 {
7942 PyThreadState* __tstate = wxPyBeginAllowThreads();
7943 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
7944
7945 wxPyEndAllowThreads(__tstate);
7946 if (PyErr_Occurred()) SWIG_fail;
7947 }
7948 {
412d302d 7949 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
7950 }
7951 return resultobj;
7952 fail:
7953 return NULL;
7954}
7955
7956
c32bde28 7957static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7958 PyObject *resultobj = NULL;
d55e5bfc
RD
7959 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7960 int arg2 ;
7961 PyObject * obj0 = 0 ;
7962 PyObject * obj1 = 0 ;
7963 char *kwnames[] = {
7964 (char *) "self",(char *) "mode", NULL
7965 };
7966
7967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7968 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7969 if (SWIG_arg_fail(1)) SWIG_fail;
7970 {
7449af73 7971 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
7972 if (SWIG_arg_fail(2)) SWIG_fail;
7973 }
d55e5bfc
RD
7974 {
7975 PyThreadState* __tstate = wxPyBeginAllowThreads();
7976 (arg1)->SetSplitMode(arg2);
7977
7978 wxPyEndAllowThreads(__tstate);
7979 if (PyErr_Occurred()) SWIG_fail;
7980 }
7981 Py_INCREF(Py_None); resultobj = Py_None;
7982 return resultobj;
7983 fail:
7984 return NULL;
7985}
7986
7987
c32bde28 7988static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7989 PyObject *resultobj = NULL;
d55e5bfc 7990 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
093d3ff1 7991 wxSplitMode result;
d55e5bfc
RD
7992 PyObject * obj0 = 0 ;
7993 char *kwnames[] = {
7994 (char *) "self", NULL
7995 };
7996
7997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
093d3ff1
RD
7998 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7999 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8000 {
8001 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 8002 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
d55e5bfc
RD
8003
8004 wxPyEndAllowThreads(__tstate);
8005 if (PyErr_Occurred()) SWIG_fail;
8006 }
093d3ff1 8007 resultobj = SWIG_From_int((result));
d55e5bfc
RD
8008 return resultobj;
8009 fail:
8010 return NULL;
8011}
8012
8013
c32bde28 8014static PyObject *_wrap_SplitterWindow_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8015 PyObject *resultobj = NULL;
d55e5bfc
RD
8016 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8017 wxWindow *arg2 = (wxWindow *) 0 ;
8018 PyObject * obj0 = 0 ;
8019 PyObject * obj1 = 0 ;
8020 char *kwnames[] = {
8021 (char *) "self",(char *) "window", NULL
8022 };
8023
8024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8025 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8026 if (SWIG_arg_fail(1)) SWIG_fail;
8027 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8028 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
8029 {
8030 PyThreadState* __tstate = wxPyBeginAllowThreads();
8031 (arg1)->Initialize(arg2);
8032
8033 wxPyEndAllowThreads(__tstate);
8034 if (PyErr_Occurred()) SWIG_fail;
8035 }
8036 Py_INCREF(Py_None); resultobj = Py_None;
8037 return resultobj;
8038 fail:
8039 return NULL;
8040}
8041
8042
c32bde28 8043static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8044 PyObject *resultobj = NULL;
d55e5bfc
RD
8045 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8046 wxWindow *arg2 = (wxWindow *) 0 ;
8047 wxWindow *arg3 = (wxWindow *) 0 ;
8048 int arg4 = (int) 0 ;
8049 bool result;
8050 PyObject * obj0 = 0 ;
8051 PyObject * obj1 = 0 ;
8052 PyObject * obj2 = 0 ;
8053 PyObject * obj3 = 0 ;
8054 char *kwnames[] = {
8055 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
8056 };
8057
8058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
8059 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8060 if (SWIG_arg_fail(1)) SWIG_fail;
8061 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8062 if (SWIG_arg_fail(2)) SWIG_fail;
8063 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8064 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc 8065 if (obj3) {
093d3ff1 8066 {
7449af73 8067 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
8068 if (SWIG_arg_fail(4)) SWIG_fail;
8069 }
d55e5bfc
RD
8070 }
8071 {
8072 PyThreadState* __tstate = wxPyBeginAllowThreads();
8073 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
8074
8075 wxPyEndAllowThreads(__tstate);
8076 if (PyErr_Occurred()) SWIG_fail;
8077 }
8078 {
8079 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8080 }
8081 return resultobj;
8082 fail:
8083 return NULL;
8084}
8085
8086
c32bde28 8087static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8088 PyObject *resultobj = NULL;
d55e5bfc
RD
8089 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8090 wxWindow *arg2 = (wxWindow *) 0 ;
8091 wxWindow *arg3 = (wxWindow *) 0 ;
8092 int arg4 = (int) 0 ;
8093 bool result;
8094 PyObject * obj0 = 0 ;
8095 PyObject * obj1 = 0 ;
8096 PyObject * obj2 = 0 ;
8097 PyObject * obj3 = 0 ;
8098 char *kwnames[] = {
8099 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
8100 };
8101
8102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
8103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8104 if (SWIG_arg_fail(1)) SWIG_fail;
8105 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8106 if (SWIG_arg_fail(2)) SWIG_fail;
8107 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8108 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc 8109 if (obj3) {
093d3ff1 8110 {
7449af73 8111 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
8112 if (SWIG_arg_fail(4)) SWIG_fail;
8113 }
d55e5bfc
RD
8114 }
8115 {
8116 PyThreadState* __tstate = wxPyBeginAllowThreads();
8117 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
8118
8119 wxPyEndAllowThreads(__tstate);
8120 if (PyErr_Occurred()) SWIG_fail;
8121 }
8122 {
8123 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8124 }
8125 return resultobj;
8126 fail:
8127 return NULL;
8128}
8129
8130
c32bde28 8131static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8132 PyObject *resultobj = NULL;
d55e5bfc
RD
8133 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8134 wxWindow *arg2 = (wxWindow *) NULL ;
8135 bool result;
8136 PyObject * obj0 = 0 ;
8137 PyObject * obj1 = 0 ;
8138 char *kwnames[] = {
8139 (char *) "self",(char *) "toRemove", NULL
8140 };
8141
8142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8143 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8144 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 8145 if (obj1) {
093d3ff1
RD
8146 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8147 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
8148 }
8149 {
8150 PyThreadState* __tstate = wxPyBeginAllowThreads();
8151 result = (bool)(arg1)->Unsplit(arg2);
8152
8153 wxPyEndAllowThreads(__tstate);
8154 if (PyErr_Occurred()) SWIG_fail;
8155 }
8156 {
8157 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8158 }
8159 return resultobj;
8160 fail:
8161 return NULL;
8162}
8163
8164
c32bde28 8165static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8166 PyObject *resultobj = NULL;
d55e5bfc
RD
8167 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8168 wxWindow *arg2 = (wxWindow *) 0 ;
8169 wxWindow *arg3 = (wxWindow *) 0 ;
8170 bool result;
8171 PyObject * obj0 = 0 ;
8172 PyObject * obj1 = 0 ;
8173 PyObject * obj2 = 0 ;
8174 char *kwnames[] = {
8175 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
8176 };
8177
8178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8179 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8180 if (SWIG_arg_fail(1)) SWIG_fail;
8181 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8182 if (SWIG_arg_fail(2)) SWIG_fail;
8183 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8184 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
8185 {
8186 PyThreadState* __tstate = wxPyBeginAllowThreads();
8187 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
8188
8189 wxPyEndAllowThreads(__tstate);
8190 if (PyErr_Occurred()) SWIG_fail;
8191 }
8192 {
8193 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8194 }
8195 return resultobj;
8196 fail:
8197 return NULL;
8198}
8199
8200
c32bde28 8201static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8202 PyObject *resultobj = NULL;
d55e5bfc
RD
8203 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8204 PyObject * obj0 = 0 ;
8205 char *kwnames[] = {
8206 (char *) "self", NULL
8207 };
8208
8209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
8210 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8211 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8212 {
8213 PyThreadState* __tstate = wxPyBeginAllowThreads();
8214 (arg1)->UpdateSize();
8215
8216 wxPyEndAllowThreads(__tstate);
8217 if (PyErr_Occurred()) SWIG_fail;
8218 }
8219 Py_INCREF(Py_None); resultobj = Py_None;
8220 return resultobj;
8221 fail:
8222 return NULL;
8223}
8224
8225
c32bde28 8226static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8227 PyObject *resultobj = NULL;
d55e5bfc
RD
8228 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8229 bool result;
8230 PyObject * obj0 = 0 ;
8231 char *kwnames[] = {
8232 (char *) "self", NULL
8233 };
8234
8235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
093d3ff1
RD
8236 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8237 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8238 {
8239 PyThreadState* __tstate = wxPyBeginAllowThreads();
8240 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
8241
8242 wxPyEndAllowThreads(__tstate);
8243 if (PyErr_Occurred()) SWIG_fail;
8244 }
8245 {
8246 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8247 }
8248 return resultobj;
8249 fail:
8250 return NULL;
8251}
8252
8253
c32bde28 8254static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8255 PyObject *resultobj = NULL;
d55e5bfc
RD
8256 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8257 int arg2 ;
8258 PyObject * obj0 = 0 ;
8259 PyObject * obj1 = 0 ;
8260 char *kwnames[] = {
8261 (char *) "self",(char *) "width", NULL
8262 };
8263
8264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8265 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8266 if (SWIG_arg_fail(1)) SWIG_fail;
8267 {
7449af73 8268 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
8269 if (SWIG_arg_fail(2)) SWIG_fail;
8270 }
d55e5bfc
RD
8271 {
8272 PyThreadState* __tstate = wxPyBeginAllowThreads();
8273 (arg1)->SetSashSize(arg2);
8274
8275 wxPyEndAllowThreads(__tstate);
8276 if (PyErr_Occurred()) SWIG_fail;
8277 }
8278 Py_INCREF(Py_None); resultobj = Py_None;
8279 return resultobj;
8280 fail:
8281 return NULL;
8282}
8283
8284
c32bde28 8285static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8286 PyObject *resultobj = NULL;
d55e5bfc
RD
8287 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8288 int arg2 ;
8289 PyObject * obj0 = 0 ;
8290 PyObject * obj1 = 0 ;
8291 char *kwnames[] = {
8292 (char *) "self",(char *) "width", NULL
8293 };
8294
8295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8296 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8297 if (SWIG_arg_fail(1)) SWIG_fail;
8298 {
7449af73 8299 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
8300 if (SWIG_arg_fail(2)) SWIG_fail;
8301 }
d55e5bfc
RD
8302 {
8303 PyThreadState* __tstate = wxPyBeginAllowThreads();
8304 (arg1)->SetBorderSize(arg2);
8305
8306 wxPyEndAllowThreads(__tstate);
8307 if (PyErr_Occurred()) SWIG_fail;
8308 }
8309 Py_INCREF(Py_None); resultobj = Py_None;
8310 return resultobj;
8311 fail:
8312 return NULL;
8313}
8314
8315
c32bde28 8316static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8317 PyObject *resultobj = NULL;
d55e5bfc
RD
8318 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8319 int result;
8320 PyObject * obj0 = 0 ;
8321 char *kwnames[] = {
8322 (char *) "self", NULL
8323 };
8324
8325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
8326 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8327 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8328 {
8329 PyThreadState* __tstate = wxPyBeginAllowThreads();
8330 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
8331
8332 wxPyEndAllowThreads(__tstate);
8333 if (PyErr_Occurred()) SWIG_fail;
8334 }
093d3ff1 8335 {
7449af73 8336 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 8337 }
d55e5bfc
RD
8338 return resultobj;
8339 fail:
8340 return NULL;
8341}
8342
8343
c32bde28 8344static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8345 PyObject *resultobj = NULL;
d55e5bfc
RD
8346 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8347 int result;
8348 PyObject * obj0 = 0 ;
8349 char *kwnames[] = {
8350 (char *) "self", NULL
8351 };
8352
8353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
8354 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8355 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8356 {
8357 PyThreadState* __tstate = wxPyBeginAllowThreads();
8358 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
8359
8360 wxPyEndAllowThreads(__tstate);
8361 if (PyErr_Occurred()) SWIG_fail;
8362 }
093d3ff1 8363 {
7449af73 8364 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 8365 }
d55e5bfc
RD
8366 return resultobj;
8367 fail:
8368 return NULL;
8369}
8370
8371
c32bde28 8372static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8373 PyObject *resultobj = NULL;
d55e5bfc
RD
8374 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8375 int arg2 ;
ae8162c8 8376 bool arg3 = (bool) true ;
d55e5bfc
RD
8377 PyObject * obj0 = 0 ;
8378 PyObject * obj1 = 0 ;
8379 PyObject * obj2 = 0 ;
8380 char *kwnames[] = {
8381 (char *) "self",(char *) "position",(char *) "redraw", NULL
8382 };
8383
8384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8385 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8386 if (SWIG_arg_fail(1)) SWIG_fail;
8387 {
7449af73 8388 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
8389 if (SWIG_arg_fail(2)) SWIG_fail;
8390 }
d55e5bfc 8391 if (obj2) {
093d3ff1 8392 {
7449af73 8393 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
8394 if (SWIG_arg_fail(3)) SWIG_fail;
8395 }
d55e5bfc
RD
8396 }
8397 {
8398 PyThreadState* __tstate = wxPyBeginAllowThreads();
8399 (arg1)->SetSashPosition(arg2,arg3);
8400
8401 wxPyEndAllowThreads(__tstate);
8402 if (PyErr_Occurred()) SWIG_fail;
8403 }
8404 Py_INCREF(Py_None); resultobj = Py_None;
8405 return resultobj;
8406 fail:
8407 return NULL;
8408}
8409
8410
c32bde28 8411static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8412 PyObject *resultobj = NULL;
d55e5bfc
RD
8413 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8414 int result;
8415 PyObject * obj0 = 0 ;
8416 char *kwnames[] = {
8417 (char *) "self", NULL
8418 };
8419
8420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
8421 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8422 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8423 {
8424 PyThreadState* __tstate = wxPyBeginAllowThreads();
8425 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
8426
8427 wxPyEndAllowThreads(__tstate);
8428 if (PyErr_Occurred()) SWIG_fail;
8429 }
093d3ff1 8430 {
7449af73 8431 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 8432 }
d55e5bfc
RD
8433 return resultobj;
8434 fail:
8435 return NULL;
8436}
8437
8438
b519803b 8439static PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8440 PyObject *resultobj = NULL;
b519803b
RD
8441 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8442 double arg2 ;
8443 PyObject * obj0 = 0 ;
8444 PyObject * obj1 = 0 ;
8445 char *kwnames[] = {
8446 (char *) "self",(char *) "gravity", NULL
8447 };
8448
8449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8451 if (SWIG_arg_fail(1)) SWIG_fail;
8452 {
7449af73 8453 arg2 = static_cast<double >(SWIG_As_double(obj1));
093d3ff1
RD
8454 if (SWIG_arg_fail(2)) SWIG_fail;
8455 }
b519803b
RD
8456 {
8457 PyThreadState* __tstate = wxPyBeginAllowThreads();
8458 (arg1)->SetSashGravity(arg2);
8459
8460 wxPyEndAllowThreads(__tstate);
8461 if (PyErr_Occurred()) SWIG_fail;
8462 }
8463 Py_INCREF(Py_None); resultobj = Py_None;
8464 return resultobj;
8465 fail:
8466 return NULL;
8467}
8468
8469
8470static PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8471 PyObject *resultobj = NULL;
b519803b
RD
8472 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8473 double result;
8474 PyObject * obj0 = 0 ;
8475 char *kwnames[] = {
8476 (char *) "self", NULL
8477 };
8478
8479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashGravity",kwnames,&obj0)) goto fail;
093d3ff1
RD
8480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8481 if (SWIG_arg_fail(1)) SWIG_fail;
b519803b
RD
8482 {
8483 PyThreadState* __tstate = wxPyBeginAllowThreads();
8484 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
8485
8486 wxPyEndAllowThreads(__tstate);
8487 if (PyErr_Occurred()) SWIG_fail;
8488 }
093d3ff1 8489 {
7449af73 8490 resultobj = SWIG_From_double(static_cast<double >(result));
093d3ff1 8491 }
b519803b
RD
8492 return resultobj;
8493 fail:
8494 return NULL;
8495}
8496
8497
c32bde28 8498static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8499 PyObject *resultobj = NULL;
d55e5bfc
RD
8500 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8501 int arg2 ;
8502 PyObject * obj0 = 0 ;
8503 PyObject * obj1 = 0 ;
8504 char *kwnames[] = {
8505 (char *) "self",(char *) "min", NULL
8506 };
8507
8508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8509 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8510 if (SWIG_arg_fail(1)) SWIG_fail;
8511 {
7449af73 8512 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
8513 if (SWIG_arg_fail(2)) SWIG_fail;
8514 }
d55e5bfc
RD
8515 {
8516 PyThreadState* __tstate = wxPyBeginAllowThreads();
8517 (arg1)->SetMinimumPaneSize(arg2);
8518
8519 wxPyEndAllowThreads(__tstate);
8520 if (PyErr_Occurred()) SWIG_fail;
8521 }
8522 Py_INCREF(Py_None); resultobj = Py_None;
8523 return resultobj;
8524 fail:
8525 return NULL;
8526}
8527
8528
c32bde28 8529static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8530 PyObject *resultobj = NULL;
d55e5bfc
RD
8531 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8532 int result;
8533 PyObject * obj0 = 0 ;
8534 char *kwnames[] = {
8535 (char *) "self", NULL
8536 };
8537
8538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
8539 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8540 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8541 {
8542 PyThreadState* __tstate = wxPyBeginAllowThreads();
8543 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
8544
8545 wxPyEndAllowThreads(__tstate);
8546 if (PyErr_Occurred()) SWIG_fail;
8547 }
093d3ff1 8548 {
7449af73 8549 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 8550 }
d55e5bfc
RD
8551 return resultobj;
8552 fail:
8553 return NULL;
8554}
8555
8556
c32bde28 8557static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8558 PyObject *resultobj = NULL;
d55e5bfc
RD
8559 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8560 int arg2 ;
8561 int arg3 ;
8562 int arg4 = (int) 5 ;
8563 bool result;
8564 PyObject * obj0 = 0 ;
8565 PyObject * obj1 = 0 ;
8566 PyObject * obj2 = 0 ;
8567 PyObject * obj3 = 0 ;
8568 char *kwnames[] = {
8569 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
8570 };
8571
8572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
8573 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8574 if (SWIG_arg_fail(1)) SWIG_fail;
8575 {
7449af73 8576 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
8577 if (SWIG_arg_fail(2)) SWIG_fail;
8578 }
8579 {
7449af73 8580 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
8581 if (SWIG_arg_fail(3)) SWIG_fail;
8582 }
d55e5bfc 8583 if (obj3) {
093d3ff1 8584 {
7449af73 8585 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
8586 if (SWIG_arg_fail(4)) SWIG_fail;
8587 }
d55e5bfc
RD
8588 }
8589 {
8590 PyThreadState* __tstate = wxPyBeginAllowThreads();
8591 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
8592
8593 wxPyEndAllowThreads(__tstate);
8594 if (PyErr_Occurred()) SWIG_fail;
8595 }
8596 {
8597 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8598 }
8599 return resultobj;
8600 fail:
8601 return NULL;
8602}
8603
8604
c32bde28 8605static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8606 PyObject *resultobj = NULL;
d55e5bfc
RD
8607 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8608 PyObject * obj0 = 0 ;
8609 char *kwnames[] = {
8610 (char *) "self", NULL
8611 };
8612
8613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
093d3ff1
RD
8614 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8615 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8616 {
8617 PyThreadState* __tstate = wxPyBeginAllowThreads();
8618 (arg1)->SizeWindows();
8619
8620 wxPyEndAllowThreads(__tstate);
8621 if (PyErr_Occurred()) SWIG_fail;
8622 }
8623 Py_INCREF(Py_None); resultobj = Py_None;
8624 return resultobj;
8625 fail:
8626 return NULL;
8627}
8628
8629
c32bde28 8630static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8631 PyObject *resultobj = NULL;
d55e5bfc
RD
8632 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8633 bool arg2 ;
8634 PyObject * obj0 = 0 ;
8635 PyObject * obj1 = 0 ;
8636 char *kwnames[] = {
8637 (char *) "self",(char *) "needUpdating", NULL
8638 };
8639
8640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8641 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8642 if (SWIG_arg_fail(1)) SWIG_fail;
8643 {
7449af73 8644 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
8645 if (SWIG_arg_fail(2)) SWIG_fail;
8646 }
d55e5bfc
RD
8647 {
8648 PyThreadState* __tstate = wxPyBeginAllowThreads();
8649 (arg1)->SetNeedUpdating(arg2);
8650
8651 wxPyEndAllowThreads(__tstate);
8652 if (PyErr_Occurred()) SWIG_fail;
8653 }
8654 Py_INCREF(Py_None); resultobj = Py_None;
8655 return resultobj;
8656 fail:
8657 return NULL;
8658}
8659
8660
c32bde28 8661static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8662 PyObject *resultobj = NULL;
d55e5bfc
RD
8663 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8664 bool result;
8665 PyObject * obj0 = 0 ;
8666 char *kwnames[] = {
8667 (char *) "self", NULL
8668 };
8669
8670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
093d3ff1
RD
8671 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8672 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8673 {
8674 PyThreadState* __tstate = wxPyBeginAllowThreads();
8675 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
8676
8677 wxPyEndAllowThreads(__tstate);
8678 if (PyErr_Occurred()) SWIG_fail;
8679 }
8680 {
8681 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8682 }
8683 return resultobj;
8684 fail:
8685 return NULL;
8686}
8687
8688
c32bde28 8689static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8690 PyObject *resultobj = NULL;
093d3ff1 8691 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
8692 wxVisualAttributes result;
8693 PyObject * obj0 = 0 ;
8694 char *kwnames[] = {
8695 (char *) "variant", NULL
8696 };
8697
8698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
8699 if (obj0) {
093d3ff1 8700 {
7449af73 8701 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
8702 if (SWIG_arg_fail(1)) SWIG_fail;
8703 }
f20a2e1f
RD
8704 }
8705 {
0439c23b 8706 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 8707 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 8708 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
8709
8710 wxPyEndAllowThreads(__tstate);
110da5b0 8711 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
8712 }
8713 {
8714 wxVisualAttributes * resultptr;
7449af73 8715 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
8716 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
8717 }
8718 return resultobj;
8719 fail:
8720 return NULL;
8721}
8722
8723
c32bde28 8724static PyObject * SplitterWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8725 PyObject *obj;
8726 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8727 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
8728 Py_INCREF(obj);
8729 return Py_BuildValue((char *)"");
8730}
c32bde28 8731static PyObject *_wrap_new_SplitterEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8732 PyObject *resultobj = NULL;
d55e5bfc
RD
8733 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
8734 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
8735 wxSplitterEvent *result;
8736 PyObject * obj0 = 0 ;
8737 PyObject * obj1 = 0 ;
8738 char *kwnames[] = {
8739 (char *) "type",(char *) "splitter", NULL
8740 };
8741
8742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
8743 if (obj0) {
093d3ff1 8744 {
7449af73 8745 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
093d3ff1
RD
8746 if (SWIG_arg_fail(1)) SWIG_fail;
8747 }
d55e5bfc
RD
8748 }
8749 if (obj1) {
093d3ff1
RD
8750 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8751 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
8752 }
8753 {
8754 PyThreadState* __tstate = wxPyBeginAllowThreads();
8755 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
8756
8757 wxPyEndAllowThreads(__tstate);
8758 if (PyErr_Occurred()) SWIG_fail;
8759 }
8760 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
8761 return resultobj;
8762 fail:
8763 return NULL;
8764}
8765
8766
c32bde28 8767static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8768 PyObject *resultobj = NULL;
d55e5bfc
RD
8769 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8770 int arg2 ;
8771 PyObject * obj0 = 0 ;
8772 PyObject * obj1 = 0 ;
8773 char *kwnames[] = {
8774 (char *) "self",(char *) "pos", NULL
8775 };
8776
8777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8778 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8779 if (SWIG_arg_fail(1)) SWIG_fail;
8780 {
7449af73 8781 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
8782 if (SWIG_arg_fail(2)) SWIG_fail;
8783 }
d55e5bfc
RD
8784 {
8785 PyThreadState* __tstate = wxPyBeginAllowThreads();
8786 (arg1)->SetSashPosition(arg2);
8787
8788 wxPyEndAllowThreads(__tstate);
8789 if (PyErr_Occurred()) SWIG_fail;
8790 }
8791 Py_INCREF(Py_None); resultobj = Py_None;
8792 return resultobj;
8793 fail:
8794 return NULL;
8795}
8796
8797
c32bde28 8798static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8799 PyObject *resultobj = NULL;
d55e5bfc
RD
8800 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8801 int result;
8802 PyObject * obj0 = 0 ;
8803 char *kwnames[] = {
8804 (char *) "self", NULL
8805 };
8806
8807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
8808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8809 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8810 {
8811 PyThreadState* __tstate = wxPyBeginAllowThreads();
8812 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
8813
8814 wxPyEndAllowThreads(__tstate);
8815 if (PyErr_Occurred()) SWIG_fail;
8816 }
093d3ff1 8817 {
7449af73 8818 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 8819 }
d55e5bfc
RD
8820 return resultobj;
8821 fail:
8822 return NULL;
8823}
8824
8825
c32bde28 8826static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8827 PyObject *resultobj = NULL;
d55e5bfc
RD
8828 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8829 wxWindow *result;
8830 PyObject * obj0 = 0 ;
8831 char *kwnames[] = {
8832 (char *) "self", NULL
8833 };
8834
8835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
093d3ff1
RD
8836 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8837 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8838 {
8839 PyThreadState* __tstate = wxPyBeginAllowThreads();
8840 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
8841
8842 wxPyEndAllowThreads(__tstate);
8843 if (PyErr_Occurred()) SWIG_fail;
8844 }
8845 {
412d302d 8846 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
8847 }
8848 return resultobj;
8849 fail:
8850 return NULL;
8851}
8852
8853
c32bde28 8854static PyObject *_wrap_SplitterEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8855 PyObject *resultobj = NULL;
d55e5bfc
RD
8856 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8857 int result;
8858 PyObject * obj0 = 0 ;
8859 char *kwnames[] = {
8860 (char *) "self", NULL
8861 };
8862
8863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
093d3ff1
RD
8864 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8865 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8866 {
8867 PyThreadState* __tstate = wxPyBeginAllowThreads();
8868 result = (int)((wxSplitterEvent const *)arg1)->GetX();
8869
8870 wxPyEndAllowThreads(__tstate);
8871 if (PyErr_Occurred()) SWIG_fail;
8872 }
093d3ff1 8873 {
7449af73 8874 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 8875 }
d55e5bfc
RD
8876 return resultobj;
8877 fail:
8878 return NULL;
8879}
8880
8881
c32bde28 8882static PyObject *_wrap_SplitterEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8883 PyObject *resultobj = NULL;
d55e5bfc
RD
8884 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8885 int result;
8886 PyObject * obj0 = 0 ;
8887 char *kwnames[] = {
8888 (char *) "self", NULL
8889 };
8890
8891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
093d3ff1
RD
8892 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8893 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8894 {
8895 PyThreadState* __tstate = wxPyBeginAllowThreads();
8896 result = (int)((wxSplitterEvent const *)arg1)->GetY();
8897
8898 wxPyEndAllowThreads(__tstate);
8899 if (PyErr_Occurred()) SWIG_fail;
8900 }
093d3ff1 8901 {
7449af73 8902 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 8903 }
d55e5bfc
RD
8904 return resultobj;
8905 fail:
8906 return NULL;
8907}
8908
8909
c32bde28 8910static PyObject * SplitterEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8911 PyObject *obj;
8912 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8913 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
8914 Py_INCREF(obj);
8915 return Py_BuildValue((char *)"");
8916}
c32bde28 8917static int _wrap_SashNameStr_set(PyObject *) {
d55e5bfc
RD
8918 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
8919 return 1;
8920}
8921
8922
093d3ff1 8923static PyObject *_wrap_SashNameStr_get(void) {
7449af73 8924 PyObject *pyobj = NULL;
d55e5bfc
RD
8925
8926 {
8927#if wxUSE_UNICODE
8928 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
8929#else
8930 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
8931#endif
8932 }
8933 return pyobj;
8934}
8935
8936
c32bde28 8937static int _wrap_SashLayoutNameStr_set(PyObject *) {
d55e5bfc
RD
8938 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
8939 return 1;
8940}
8941
8942
093d3ff1 8943static PyObject *_wrap_SashLayoutNameStr_get(void) {
7449af73 8944 PyObject *pyobj = NULL;
d55e5bfc
RD
8945
8946 {
8947#if wxUSE_UNICODE
8948 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
8949#else
8950 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
8951#endif
8952 }
8953 return pyobj;
8954}
8955
8956
c32bde28 8957static PyObject *_wrap_new_SashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8958 PyObject *resultobj = NULL;
d55e5bfc 8959 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 8960 int arg2 = (int) -1 ;
d55e5bfc
RD
8961 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8962 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8963 wxSize const &arg4_defvalue = wxDefaultSize ;
8964 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8965 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8966 wxString const &arg6_defvalue = wxPySashNameStr ;
8967 wxString *arg6 = (wxString *) &arg6_defvalue ;
8968 wxSashWindow *result;
8969 wxPoint temp3 ;
8970 wxSize temp4 ;
ae8162c8 8971 bool temp6 = false ;
d55e5bfc
RD
8972 PyObject * obj0 = 0 ;
8973 PyObject * obj1 = 0 ;
8974 PyObject * obj2 = 0 ;
8975 PyObject * obj3 = 0 ;
8976 PyObject * obj4 = 0 ;
8977 PyObject * obj5 = 0 ;
8978 char *kwnames[] = {
8979 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8980 };
8981
248ed943 8982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
8983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8984 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 8985 if (obj1) {
093d3ff1 8986 {
7449af73 8987 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
8988 if (SWIG_arg_fail(2)) SWIG_fail;
8989 }
248ed943 8990 }
d55e5bfc
RD
8991 if (obj2) {
8992 {
8993 arg3 = &temp3;
8994 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8995 }
8996 }
8997 if (obj3) {
8998 {
8999 arg4 = &temp4;
9000 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9001 }
9002 }
9003 if (obj4) {
093d3ff1 9004 {
7449af73 9005 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
9006 if (SWIG_arg_fail(5)) SWIG_fail;
9007 }
d55e5bfc
RD
9008 }
9009 if (obj5) {
9010 {
9011 arg6 = wxString_in_helper(obj5);
9012 if (arg6 == NULL) SWIG_fail;
ae8162c8 9013 temp6 = true;
d55e5bfc
RD
9014 }
9015 }
9016 {
0439c23b 9017 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9018 PyThreadState* __tstate = wxPyBeginAllowThreads();
9019 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9020
9021 wxPyEndAllowThreads(__tstate);
110da5b0 9022 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
9023 }
9024 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
9025 {
9026 if (temp6)
9027 delete arg6;
9028 }
9029 return resultobj;
9030 fail:
9031 {
9032 if (temp6)
9033 delete arg6;
9034 }
9035 return NULL;
9036}
9037
9038
c32bde28 9039static PyObject *_wrap_new_PreSashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9040 PyObject *resultobj = NULL;
d55e5bfc
RD
9041 wxSashWindow *result;
9042 char *kwnames[] = {
9043 NULL
9044 };
9045
9046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
9047 {
0439c23b 9048 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9049 PyThreadState* __tstate = wxPyBeginAllowThreads();
9050 result = (wxSashWindow *)new wxSashWindow();
9051
9052 wxPyEndAllowThreads(__tstate);
110da5b0 9053 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
9054 }
9055 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
9056 return resultobj;
9057 fail:
9058 return NULL;
9059}
9060
9061
c32bde28 9062static PyObject *_wrap_SashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9063 PyObject *resultobj = NULL;
d55e5bfc
RD
9064 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9065 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 9066 int arg3 = (int) -1 ;
d55e5bfc
RD
9067 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9068 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9069 wxSize const &arg5_defvalue = wxDefaultSize ;
9070 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9071 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
9072 wxString const &arg7_defvalue = wxPySashNameStr ;
9073 wxString *arg7 = (wxString *) &arg7_defvalue ;
9074 bool result;
9075 wxPoint temp4 ;
9076 wxSize temp5 ;
ae8162c8 9077 bool temp7 = false ;
d55e5bfc
RD
9078 PyObject * obj0 = 0 ;
9079 PyObject * obj1 = 0 ;
9080 PyObject * obj2 = 0 ;
9081 PyObject * obj3 = 0 ;
9082 PyObject * obj4 = 0 ;
9083 PyObject * obj5 = 0 ;
9084 PyObject * obj6 = 0 ;
9085 char *kwnames[] = {
9086 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9087 };
9088
248ed943 9089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
9090 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9091 if (SWIG_arg_fail(1)) SWIG_fail;
9092 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9093 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 9094 if (obj2) {
093d3ff1 9095 {
7449af73 9096 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
9097 if (SWIG_arg_fail(3)) SWIG_fail;
9098 }
248ed943 9099 }
d55e5bfc
RD
9100 if (obj3) {
9101 {
9102 arg4 = &temp4;
9103 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9104 }
9105 }
9106 if (obj4) {
9107 {
9108 arg5 = &temp5;
9109 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9110 }
9111 }
9112 if (obj5) {
093d3ff1 9113 {
7449af73 9114 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
9115 if (SWIG_arg_fail(6)) SWIG_fail;
9116 }
d55e5bfc
RD
9117 }
9118 if (obj6) {
9119 {
9120 arg7 = wxString_in_helper(obj6);
9121 if (arg7 == NULL) SWIG_fail;
ae8162c8 9122 temp7 = true;
d55e5bfc
RD
9123 }
9124 }
9125 {
9126 PyThreadState* __tstate = wxPyBeginAllowThreads();
9127 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9128
9129 wxPyEndAllowThreads(__tstate);
9130 if (PyErr_Occurred()) SWIG_fail;
9131 }
9132 {
9133 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9134 }
9135 {
9136 if (temp7)
9137 delete arg7;
9138 }
9139 return resultobj;
9140 fail:
9141 {
9142 if (temp7)
9143 delete arg7;
9144 }
9145 return NULL;
9146}
9147
9148
c32bde28 9149static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9150 PyObject *resultobj = NULL;
d55e5bfc 9151 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
093d3ff1 9152 wxSashEdgePosition arg2 ;
d55e5bfc
RD
9153 bool arg3 ;
9154 PyObject * obj0 = 0 ;
9155 PyObject * obj1 = 0 ;
9156 PyObject * obj2 = 0 ;
9157 char *kwnames[] = {
9158 (char *) "self",(char *) "edge",(char *) "sash", NULL
9159 };
9160
9161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
9162 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9163 if (SWIG_arg_fail(1)) SWIG_fail;
9164 {
7449af73 9165 arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1));
093d3ff1
RD
9166 if (SWIG_arg_fail(2)) SWIG_fail;
9167 }
9168 {
7449af73 9169 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
9170 if (SWIG_arg_fail(3)) SWIG_fail;
9171 }
d55e5bfc
RD
9172 {
9173 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 9174 (arg1)->SetSashVisible(arg2,arg3);
d55e5bfc
RD
9175
9176 wxPyEndAllowThreads(__tstate);
9177 if (PyErr_Occurred()) SWIG_fail;
9178 }
9179 Py_INCREF(Py_None); resultobj = Py_None;
9180 return resultobj;
9181 fail:
9182 return NULL;
9183}
9184
9185
c32bde28 9186static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9187 PyObject *resultobj = NULL;
d55e5bfc 9188 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
093d3ff1 9189 wxSashEdgePosition arg2 ;
d55e5bfc
RD
9190 bool result;
9191 PyObject * obj0 = 0 ;
9192 PyObject * obj1 = 0 ;
9193 char *kwnames[] = {
9194 (char *) "self",(char *) "edge", NULL
9195 };
9196
9197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9199 if (SWIG_arg_fail(1)) SWIG_fail;
9200 {
7449af73 9201 arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1));
093d3ff1
RD
9202 if (SWIG_arg_fail(2)) SWIG_fail;
9203 }
d55e5bfc
RD
9204 {
9205 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 9206 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
d55e5bfc
RD
9207
9208 wxPyEndAllowThreads(__tstate);
9209 if (PyErr_Occurred()) SWIG_fail;
9210 }
9211 {
9212 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9213 }
9214 return resultobj;
9215 fail:
9216 return NULL;
9217}
9218
9219
c32bde28 9220static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9221 PyObject *resultobj = NULL;
d55e5bfc 9222 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
093d3ff1 9223 wxSashEdgePosition arg2 ;
d55e5bfc
RD
9224 bool arg3 ;
9225 PyObject * obj0 = 0 ;
9226 PyObject * obj1 = 0 ;
9227 PyObject * obj2 = 0 ;
9228 char *kwnames[] = {
9229 (char *) "self",(char *) "edge",(char *) "border", NULL
9230 };
9231
9232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
9233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9234 if (SWIG_arg_fail(1)) SWIG_fail;
9235 {
7449af73 9236 arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1));
093d3ff1
RD
9237 if (SWIG_arg_fail(2)) SWIG_fail;
9238 }
9239 {
7449af73 9240 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
9241 if (SWIG_arg_fail(3)) SWIG_fail;
9242 }
d55e5bfc
RD
9243 {
9244 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 9245 (arg1)->SetSashBorder(arg2,arg3);
d55e5bfc
RD
9246
9247 wxPyEndAllowThreads(__tstate);
9248 if (PyErr_Occurred()) SWIG_fail;
9249 }
9250 Py_INCREF(Py_None); resultobj = Py_None;
9251 return resultobj;
9252 fail:
9253 return NULL;
9254}
9255
9256
c32bde28 9257static PyObject *_wrap_SashWindow_HasBorder(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9258 PyObject *resultobj = NULL;
d55e5bfc 9259 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
093d3ff1 9260 wxSashEdgePosition arg2 ;
d55e5bfc
RD
9261 bool result;
9262 PyObject * obj0 = 0 ;
9263 PyObject * obj1 = 0 ;
9264 char *kwnames[] = {
9265 (char *) "self",(char *) "edge", NULL
9266 };
9267
9268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9270 if (SWIG_arg_fail(1)) SWIG_fail;
9271 {
7449af73 9272 arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1));
093d3ff1
RD
9273 if (SWIG_arg_fail(2)) SWIG_fail;
9274 }
d55e5bfc
RD
9275 {
9276 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 9277 result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2);
d55e5bfc
RD
9278
9279 wxPyEndAllowThreads(__tstate);
9280 if (PyErr_Occurred()) SWIG_fail;
9281 }
9282 {
9283 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9284 }
9285 return resultobj;
9286 fail:
9287 return NULL;
9288}
9289
9290
c32bde28 9291static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9292 PyObject *resultobj = NULL;
d55e5bfc 9293 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
093d3ff1 9294 wxSashEdgePosition arg2 ;
d55e5bfc
RD
9295 int result;
9296 PyObject * obj0 = 0 ;
9297 PyObject * obj1 = 0 ;
9298 char *kwnames[] = {
9299 (char *) "self",(char *) "edge", NULL
9300 };
9301
9302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9303 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9304 if (SWIG_arg_fail(1)) SWIG_fail;
9305 {
7449af73 9306 arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1));
093d3ff1
RD
9307 if (SWIG_arg_fail(2)) SWIG_fail;
9308 }
d55e5bfc
RD
9309 {
9310 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 9311 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
d55e5bfc
RD
9312
9313 wxPyEndAllowThreads(__tstate);
9314 if (PyErr_Occurred()) SWIG_fail;
9315 }
093d3ff1 9316 {
7449af73 9317 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 9318 }
d55e5bfc
RD
9319 return resultobj;
9320 fail:
9321 return NULL;
9322}
9323
9324
c32bde28 9325static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9326 PyObject *resultobj = NULL;
d55e5bfc
RD
9327 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9328 int arg2 ;
9329 PyObject * obj0 = 0 ;
9330 PyObject * obj1 = 0 ;
9331 char *kwnames[] = {
9332 (char *) "self",(char *) "width", NULL
9333 };
9334
9335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9336 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9337 if (SWIG_arg_fail(1)) SWIG_fail;
9338 {
7449af73 9339 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
9340 if (SWIG_arg_fail(2)) SWIG_fail;
9341 }
d55e5bfc
RD
9342 {
9343 PyThreadState* __tstate = wxPyBeginAllowThreads();
9344 (arg1)->SetDefaultBorderSize(arg2);
9345
9346 wxPyEndAllowThreads(__tstate);
9347 if (PyErr_Occurred()) SWIG_fail;
9348 }
9349 Py_INCREF(Py_None); resultobj = Py_None;
9350 return resultobj;
9351 fail:
9352 return NULL;
9353}
9354
9355
c32bde28 9356static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9357 PyObject *resultobj = NULL;
d55e5bfc
RD
9358 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9359 int result;
9360 PyObject * obj0 = 0 ;
9361 char *kwnames[] = {
9362 (char *) "self", NULL
9363 };
9364
9365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
9366 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9367 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9368 {
9369 PyThreadState* __tstate = wxPyBeginAllowThreads();
9370 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
9371
9372 wxPyEndAllowThreads(__tstate);
9373 if (PyErr_Occurred()) SWIG_fail;
9374 }
093d3ff1 9375 {
7449af73 9376 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 9377 }
d55e5bfc
RD
9378 return resultobj;
9379 fail:
9380 return NULL;
9381}
9382
9383
c32bde28 9384static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9385 PyObject *resultobj = NULL;
d55e5bfc
RD
9386 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9387 int arg2 ;
9388 PyObject * obj0 = 0 ;
9389 PyObject * obj1 = 0 ;
9390 char *kwnames[] = {
9391 (char *) "self",(char *) "width", NULL
9392 };
9393
9394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9395 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9396 if (SWIG_arg_fail(1)) SWIG_fail;
9397 {
7449af73 9398 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
9399 if (SWIG_arg_fail(2)) SWIG_fail;
9400 }
d55e5bfc
RD
9401 {
9402 PyThreadState* __tstate = wxPyBeginAllowThreads();
9403 (arg1)->SetExtraBorderSize(arg2);
9404
9405 wxPyEndAllowThreads(__tstate);
9406 if (PyErr_Occurred()) SWIG_fail;
9407 }
9408 Py_INCREF(Py_None); resultobj = Py_None;
9409 return resultobj;
9410 fail:
9411 return NULL;
9412}
9413
9414
c32bde28 9415static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9416 PyObject *resultobj = NULL;
d55e5bfc
RD
9417 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9418 int result;
9419 PyObject * obj0 = 0 ;
9420 char *kwnames[] = {
9421 (char *) "self", NULL
9422 };
9423
9424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
9425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9426 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9427 {
9428 PyThreadState* __tstate = wxPyBeginAllowThreads();
9429 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
9430
9431 wxPyEndAllowThreads(__tstate);
9432 if (PyErr_Occurred()) SWIG_fail;
9433 }
093d3ff1 9434 {
7449af73 9435 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 9436 }
d55e5bfc
RD
9437 return resultobj;
9438 fail:
9439 return NULL;
9440}
9441
9442
c32bde28 9443static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9444 PyObject *resultobj = NULL;
d55e5bfc
RD
9445 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9446 int arg2 ;
9447 PyObject * obj0 = 0 ;
9448 PyObject * obj1 = 0 ;
9449 char *kwnames[] = {
9450 (char *) "self",(char *) "min", NULL
9451 };
9452
9453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9454 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9455 if (SWIG_arg_fail(1)) SWIG_fail;
9456 {
7449af73 9457 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
9458 if (SWIG_arg_fail(2)) SWIG_fail;
9459 }
d55e5bfc
RD
9460 {
9461 PyThreadState* __tstate = wxPyBeginAllowThreads();
9462 (arg1)->SetMinimumSizeX(arg2);
9463
9464 wxPyEndAllowThreads(__tstate);
9465 if (PyErr_Occurred()) SWIG_fail;
9466 }
9467 Py_INCREF(Py_None); resultobj = Py_None;
9468 return resultobj;
9469 fail:
9470 return NULL;
9471}
9472
9473
c32bde28 9474static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9475 PyObject *resultobj = NULL;
d55e5bfc
RD
9476 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9477 int arg2 ;
9478 PyObject * obj0 = 0 ;
9479 PyObject * obj1 = 0 ;
9480 char *kwnames[] = {
9481 (char *) "self",(char *) "min", NULL
9482 };
9483
9484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9485 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9486 if (SWIG_arg_fail(1)) SWIG_fail;
9487 {
7449af73 9488 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
9489 if (SWIG_arg_fail(2)) SWIG_fail;
9490 }
d55e5bfc
RD
9491 {
9492 PyThreadState* __tstate = wxPyBeginAllowThreads();
9493 (arg1)->SetMinimumSizeY(arg2);
9494
9495 wxPyEndAllowThreads(__tstate);
9496 if (PyErr_Occurred()) SWIG_fail;
9497 }
9498 Py_INCREF(Py_None); resultobj = Py_None;
9499 return resultobj;
9500 fail:
9501 return NULL;
9502}
9503
9504
c32bde28 9505static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9506 PyObject *resultobj = NULL;
d55e5bfc
RD
9507 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9508 int result;
9509 PyObject * obj0 = 0 ;
9510 char *kwnames[] = {
9511 (char *) "self", NULL
9512 };
9513
9514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
093d3ff1
RD
9515 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9516 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9517 {
9518 PyThreadState* __tstate = wxPyBeginAllowThreads();
9519 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
9520
9521 wxPyEndAllowThreads(__tstate);
9522 if (PyErr_Occurred()) SWIG_fail;
9523 }
093d3ff1 9524 {
7449af73 9525 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 9526 }
d55e5bfc
RD
9527 return resultobj;
9528 fail:
9529 return NULL;
9530}
9531
9532
c32bde28 9533static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9534 PyObject *resultobj = NULL;
d55e5bfc
RD
9535 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9536 int result;
9537 PyObject * obj0 = 0 ;
9538 char *kwnames[] = {
9539 (char *) "self", NULL
9540 };
9541
9542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
093d3ff1
RD
9543 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9544 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9545 {
9546 PyThreadState* __tstate = wxPyBeginAllowThreads();
9547 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
9548
9549 wxPyEndAllowThreads(__tstate);
9550 if (PyErr_Occurred()) SWIG_fail;
9551 }
093d3ff1 9552 {
7449af73 9553 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 9554 }
d55e5bfc
RD
9555 return resultobj;
9556 fail:
9557 return NULL;
9558}
9559
9560
c32bde28 9561static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9562 PyObject *resultobj = NULL;
d55e5bfc
RD
9563 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9564 int arg2 ;
9565 PyObject * obj0 = 0 ;
9566 PyObject * obj1 = 0 ;
9567 char *kwnames[] = {
9568 (char *) "self",(char *) "max", NULL
9569 };
9570
9571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9572 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9573 if (SWIG_arg_fail(1)) SWIG_fail;
9574 {
7449af73 9575 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
9576 if (SWIG_arg_fail(2)) SWIG_fail;
9577 }
d55e5bfc
RD
9578 {
9579 PyThreadState* __tstate = wxPyBeginAllowThreads();
9580 (arg1)->SetMaximumSizeX(arg2);
9581
9582 wxPyEndAllowThreads(__tstate);
9583 if (PyErr_Occurred()) SWIG_fail;
9584 }
9585 Py_INCREF(Py_None); resultobj = Py_None;
9586 return resultobj;
9587 fail:
9588 return NULL;
9589}
9590
9591
c32bde28 9592static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9593 PyObject *resultobj = NULL;
d55e5bfc
RD
9594 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9595 int arg2 ;
9596 PyObject * obj0 = 0 ;
9597 PyObject * obj1 = 0 ;
9598 char *kwnames[] = {
9599 (char *) "self",(char *) "max", NULL
9600 };
9601
9602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9603 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9604 if (SWIG_arg_fail(1)) SWIG_fail;
9605 {
7449af73 9606 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
9607 if (SWIG_arg_fail(2)) SWIG_fail;
9608 }
d55e5bfc
RD
9609 {
9610 PyThreadState* __tstate = wxPyBeginAllowThreads();
9611 (arg1)->SetMaximumSizeY(arg2);
9612
9613 wxPyEndAllowThreads(__tstate);
9614 if (PyErr_Occurred()) SWIG_fail;
9615 }
9616 Py_INCREF(Py_None); resultobj = Py_None;
9617 return resultobj;
9618 fail:
9619 return NULL;
9620}
9621
9622
c32bde28 9623static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9624 PyObject *resultobj = NULL;
d55e5bfc
RD
9625 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9626 int result;
9627 PyObject * obj0 = 0 ;
9628 char *kwnames[] = {
9629 (char *) "self", NULL
9630 };
9631
9632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
093d3ff1
RD
9633 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9634 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9635 {
9636 PyThreadState* __tstate = wxPyBeginAllowThreads();
9637 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
9638
9639 wxPyEndAllowThreads(__tstate);
9640 if (PyErr_Occurred()) SWIG_fail;
9641 }
093d3ff1 9642 {
7449af73 9643 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 9644 }
d55e5bfc
RD
9645 return resultobj;
9646 fail:
9647 return NULL;
9648}
9649
9650
c32bde28 9651static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9652 PyObject *resultobj = NULL;
d55e5bfc
RD
9653 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9654 int result;
9655 PyObject * obj0 = 0 ;
9656 char *kwnames[] = {
9657 (char *) "self", NULL
9658 };
9659
9660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
093d3ff1
RD
9661 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9662 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9663 {
9664 PyThreadState* __tstate = wxPyBeginAllowThreads();
9665 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
9666
9667 wxPyEndAllowThreads(__tstate);
9668 if (PyErr_Occurred()) SWIG_fail;
9669 }
093d3ff1 9670 {
7449af73 9671 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 9672 }
d55e5bfc
RD
9673 return resultobj;
9674 fail:
9675 return NULL;
9676}
9677
9678
c32bde28 9679static PyObject *_wrap_SashWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9680 PyObject *resultobj = NULL;
d55e5bfc
RD
9681 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9682 int arg2 ;
9683 int arg3 ;
9684 int arg4 = (int) 2 ;
093d3ff1 9685 wxSashEdgePosition result;
d55e5bfc
RD
9686 PyObject * obj0 = 0 ;
9687 PyObject * obj1 = 0 ;
9688 PyObject * obj2 = 0 ;
9689 PyObject * obj3 = 0 ;
9690 char *kwnames[] = {
9691 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
9692 };
9693
9694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
9695 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9696 if (SWIG_arg_fail(1)) SWIG_fail;
9697 {
7449af73 9698 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
9699 if (SWIG_arg_fail(2)) SWIG_fail;
9700 }
9701 {
7449af73 9702 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
9703 if (SWIG_arg_fail(3)) SWIG_fail;
9704 }
d55e5bfc 9705 if (obj3) {
093d3ff1 9706 {
7449af73 9707 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
9708 if (SWIG_arg_fail(4)) SWIG_fail;
9709 }
d55e5bfc
RD
9710 }
9711 {
9712 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9713 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
d55e5bfc
RD
9714
9715 wxPyEndAllowThreads(__tstate);
9716 if (PyErr_Occurred()) SWIG_fail;
9717 }
093d3ff1 9718 resultobj = SWIG_From_int((result));
d55e5bfc
RD
9719 return resultobj;
9720 fail:
9721 return NULL;
9722}
9723
9724
c32bde28 9725static PyObject *_wrap_SashWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9726 PyObject *resultobj = NULL;
d55e5bfc
RD
9727 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9728 PyObject * obj0 = 0 ;
9729 char *kwnames[] = {
9730 (char *) "self", NULL
9731 };
9732
9733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
093d3ff1
RD
9734 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9735 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9736 {
9737 PyThreadState* __tstate = wxPyBeginAllowThreads();
9738 (arg1)->SizeWindows();
9739
9740 wxPyEndAllowThreads(__tstate);
9741 if (PyErr_Occurred()) SWIG_fail;
9742 }
9743 Py_INCREF(Py_None); resultobj = Py_None;
9744 return resultobj;
9745 fail:
9746 return NULL;
9747}
9748
9749
c32bde28 9750static PyObject * SashWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9751 PyObject *obj;
9752 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9753 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
9754 Py_INCREF(obj);
9755 return Py_BuildValue((char *)"");
9756}
c32bde28 9757static PyObject *_wrap_new_SashEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9758 PyObject *resultobj = NULL;
d55e5bfc 9759 int arg1 = (int) 0 ;
093d3ff1 9760 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
d55e5bfc
RD
9761 wxSashEvent *result;
9762 PyObject * obj0 = 0 ;
9763 PyObject * obj1 = 0 ;
9764 char *kwnames[] = {
9765 (char *) "id",(char *) "edge", NULL
9766 };
9767
9768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
9769 if (obj0) {
093d3ff1 9770 {
7449af73 9771 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
9772 if (SWIG_arg_fail(1)) SWIG_fail;
9773 }
d55e5bfc
RD
9774 }
9775 if (obj1) {
093d3ff1 9776 {
7449af73 9777 arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1));
093d3ff1
RD
9778 if (SWIG_arg_fail(2)) SWIG_fail;
9779 }
d55e5bfc
RD
9780 }
9781 {
9782 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 9783 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
d55e5bfc
RD
9784
9785 wxPyEndAllowThreads(__tstate);
9786 if (PyErr_Occurred()) SWIG_fail;
9787 }
9788 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
9789 return resultobj;
9790 fail:
9791 return NULL;
9792}
9793
9794
c32bde28 9795static PyObject *_wrap_SashEvent_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9796 PyObject *resultobj = NULL;
d55e5bfc 9797 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
093d3ff1 9798 wxSashEdgePosition arg2 ;
d55e5bfc
RD
9799 PyObject * obj0 = 0 ;
9800 PyObject * obj1 = 0 ;
9801 char *kwnames[] = {
9802 (char *) "self",(char *) "edge", NULL
9803 };
9804
9805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9807 if (SWIG_arg_fail(1)) SWIG_fail;
9808 {
7449af73 9809 arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1));
093d3ff1
RD
9810 if (SWIG_arg_fail(2)) SWIG_fail;
9811 }
d55e5bfc
RD
9812 {
9813 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 9814 (arg1)->SetEdge(arg2);
d55e5bfc
RD
9815
9816 wxPyEndAllowThreads(__tstate);
9817 if (PyErr_Occurred()) SWIG_fail;
9818 }
9819 Py_INCREF(Py_None); resultobj = Py_None;
9820 return resultobj;
9821 fail:
9822 return NULL;
9823}
9824
9825
c32bde28 9826static PyObject *_wrap_SashEvent_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9827 PyObject *resultobj = NULL;
d55e5bfc 9828 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
093d3ff1 9829 wxSashEdgePosition result;
d55e5bfc
RD
9830 PyObject * obj0 = 0 ;
9831 char *kwnames[] = {
9832 (char *) "self", NULL
9833 };
9834
9835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
093d3ff1
RD
9836 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9837 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9838 {
9839 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9840 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
d55e5bfc
RD
9841
9842 wxPyEndAllowThreads(__tstate);
9843 if (PyErr_Occurred()) SWIG_fail;
9844 }
093d3ff1 9845 resultobj = SWIG_From_int((result));
d55e5bfc
RD
9846 return resultobj;
9847 fail:
9848 return NULL;
9849}
9850
9851
c32bde28 9852static PyObject *_wrap_SashEvent_SetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9853 PyObject *resultobj = NULL;
d55e5bfc
RD
9854 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9855 wxRect *arg2 = 0 ;
9856 wxRect temp2 ;
9857 PyObject * obj0 = 0 ;
9858 PyObject * obj1 = 0 ;
9859 char *kwnames[] = {
9860 (char *) "self",(char *) "rect", NULL
9861 };
9862
9863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9864 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9865 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9866 {
9867 arg2 = &temp2;
9868 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9869 }
9870 {
9871 PyThreadState* __tstate = wxPyBeginAllowThreads();
9872 (arg1)->SetDragRect((wxRect const &)*arg2);
9873
9874 wxPyEndAllowThreads(__tstate);
9875 if (PyErr_Occurred()) SWIG_fail;
9876 }
9877 Py_INCREF(Py_None); resultobj = Py_None;
9878 return resultobj;
9879 fail:
9880 return NULL;
9881}
9882
9883
c32bde28 9884static PyObject *_wrap_SashEvent_GetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9885 PyObject *resultobj = NULL;
d55e5bfc
RD
9886 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9887 wxRect result;
9888 PyObject * obj0 = 0 ;
9889 char *kwnames[] = {
9890 (char *) "self", NULL
9891 };
9892
9893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
093d3ff1
RD
9894 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9895 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9896 {
9897 PyThreadState* __tstate = wxPyBeginAllowThreads();
9898 result = ((wxSashEvent const *)arg1)->GetDragRect();
9899
9900 wxPyEndAllowThreads(__tstate);
9901 if (PyErr_Occurred()) SWIG_fail;
9902 }
9903 {
9904 wxRect * resultptr;
7449af73 9905 resultptr = new wxRect(static_cast<wxRect & >(result));
d55e5bfc
RD
9906 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
9907 }
9908 return resultobj;
9909 fail:
9910 return NULL;
9911}
9912
9913
c32bde28 9914static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9915 PyObject *resultobj = NULL;
d55e5bfc 9916 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
093d3ff1 9917 wxSashDragStatus arg2 ;
d55e5bfc
RD
9918 PyObject * obj0 = 0 ;
9919 PyObject * obj1 = 0 ;
9920 char *kwnames[] = {
9921 (char *) "self",(char *) "status", NULL
9922 };
9923
9924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9925 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9926 if (SWIG_arg_fail(1)) SWIG_fail;
9927 {
7449af73 9928 arg2 = static_cast<wxSashDragStatus >(SWIG_As_int(obj1));
093d3ff1
RD
9929 if (SWIG_arg_fail(2)) SWIG_fail;
9930 }
d55e5bfc
RD
9931 {
9932 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 9933 (arg1)->SetDragStatus(arg2);
d55e5bfc
RD
9934
9935 wxPyEndAllowThreads(__tstate);
9936 if (PyErr_Occurred()) SWIG_fail;
9937 }
9938 Py_INCREF(Py_None); resultobj = Py_None;
9939 return resultobj;
9940 fail:
9941 return NULL;
9942}
9943
9944
c32bde28 9945static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9946 PyObject *resultobj = NULL;
d55e5bfc 9947 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
093d3ff1 9948 wxSashDragStatus result;
d55e5bfc
RD
9949 PyObject * obj0 = 0 ;
9950 char *kwnames[] = {
9951 (char *) "self", NULL
9952 };
9953
9954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
093d3ff1
RD
9955 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9956 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9957 {
9958 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9959 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
d55e5bfc
RD
9960
9961 wxPyEndAllowThreads(__tstate);
9962 if (PyErr_Occurred()) SWIG_fail;
9963 }
093d3ff1 9964 resultobj = SWIG_From_int((result));
d55e5bfc
RD
9965 return resultobj;
9966 fail:
9967 return NULL;
9968}
9969
9970
c32bde28 9971static PyObject * SashEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9972 PyObject *obj;
9973 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9974 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
9975 Py_INCREF(obj);
9976 return Py_BuildValue((char *)"");
9977}
c32bde28 9978static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9979 PyObject *resultobj = NULL;
d55e5bfc
RD
9980 int arg1 = (int) 0 ;
9981 wxQueryLayoutInfoEvent *result;
9982 PyObject * obj0 = 0 ;
9983 char *kwnames[] = {
9984 (char *) "id", NULL
9985 };
9986
9987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
9988 if (obj0) {
093d3ff1 9989 {
7449af73 9990 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
9991 if (SWIG_arg_fail(1)) SWIG_fail;
9992 }
d55e5bfc
RD
9993 }
9994 {
9995 PyThreadState* __tstate = wxPyBeginAllowThreads();
9996 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
9997
9998 wxPyEndAllowThreads(__tstate);
9999 if (PyErr_Occurred()) SWIG_fail;
10000 }
10001 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
10002 return resultobj;
10003 fail:
10004 return NULL;
10005}
10006
10007
c32bde28 10008static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10009 PyObject *resultobj = NULL;
d55e5bfc
RD
10010 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
10011 int arg2 ;
10012 PyObject * obj0 = 0 ;
10013 PyObject * obj1 = 0 ;
10014 char *kwnames[] = {
10015 (char *) "self",(char *) "length", NULL
10016 };
10017
10018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10019 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
10020 if (SWIG_arg_fail(1)) SWIG_fail;
10021 {
7449af73 10022 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
10023 if (SWIG_arg_fail(2)) SWIG_fail;
10024 }
d55e5bfc
RD
10025 {
10026 PyThreadState* __tstate = wxPyBeginAllowThreads();
10027 (arg1)->SetRequestedLength(arg2);
10028
10029 wxPyEndAllowThreads(__tstate);
10030 if (PyErr_Occurred()) SWIG_fail;
10031 }
10032 Py_INCREF(Py_None); resultobj = Py_None;
10033 return resultobj;
10034 fail:
10035 return NULL;
10036}
10037
10038
c32bde28 10039static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10040 PyObject *resultobj = NULL;
d55e5bfc
RD
10041 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
10042 int result;
10043 PyObject * obj0 = 0 ;
10044 char *kwnames[] = {
10045 (char *) "self", NULL
10046 };
10047
10048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
093d3ff1
RD
10049 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
10050 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10051 {
10052 PyThreadState* __tstate = wxPyBeginAllowThreads();
10053 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
10054
10055 wxPyEndAllowThreads(__tstate);
10056 if (PyErr_Occurred()) SWIG_fail;
10057 }
093d3ff1 10058 {
7449af73 10059 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 10060 }
d55e5bfc
RD
10061 return resultobj;
10062 fail:
10063 return NULL;
10064}
10065
10066
c32bde28 10067static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10068 PyObject *resultobj = NULL;
d55e5bfc
RD
10069 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
10070 int arg2 ;
10071 PyObject * obj0 = 0 ;
10072 PyObject * obj1 = 0 ;
10073 char *kwnames[] = {
10074 (char *) "self",(char *) "flags", NULL
10075 };
10076
10077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10078 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
10079 if (SWIG_arg_fail(1)) SWIG_fail;
10080 {
7449af73 10081 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
10082 if (SWIG_arg_fail(2)) SWIG_fail;
10083 }
d55e5bfc
RD
10084 {
10085 PyThreadState* __tstate = wxPyBeginAllowThreads();
10086 (arg1)->SetFlags(arg2);
10087
10088 wxPyEndAllowThreads(__tstate);
10089 if (PyErr_Occurred()) SWIG_fail;
10090 }
10091 Py_INCREF(Py_None); resultobj = Py_None;
10092 return resultobj;
10093 fail:
10094 return NULL;
10095}
10096
10097
c32bde28 10098static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10099 PyObject *resultobj = NULL;
d55e5bfc
RD
10100 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
10101 int result;
10102 PyObject * obj0 = 0 ;
10103 char *kwnames[] = {
10104 (char *) "self", NULL
10105 };
10106
10107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
093d3ff1
RD
10108 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
10109 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10110 {
10111 PyThreadState* __tstate = wxPyBeginAllowThreads();
10112 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
10113
10114 wxPyEndAllowThreads(__tstate);
10115 if (PyErr_Occurred()) SWIG_fail;
10116 }
093d3ff1 10117 {
7449af73 10118 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 10119 }
d55e5bfc
RD
10120 return resultobj;
10121 fail:
10122 return NULL;
10123}
10124
10125
c32bde28 10126static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10127 PyObject *resultobj = NULL;
d55e5bfc
RD
10128 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
10129 wxSize *arg2 = 0 ;
10130 wxSize temp2 ;
10131 PyObject * obj0 = 0 ;
10132 PyObject * obj1 = 0 ;
10133 char *kwnames[] = {
10134 (char *) "self",(char *) "size", NULL
10135 };
10136
10137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10138 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
10139 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10140 {
10141 arg2 = &temp2;
10142 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
10143 }
10144 {
10145 PyThreadState* __tstate = wxPyBeginAllowThreads();
10146 (arg1)->SetSize((wxSize const &)*arg2);
10147
10148 wxPyEndAllowThreads(__tstate);
10149 if (PyErr_Occurred()) SWIG_fail;
10150 }
10151 Py_INCREF(Py_None); resultobj = Py_None;
10152 return resultobj;
10153 fail:
10154 return NULL;
10155}
10156
10157
c32bde28 10158static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10159 PyObject *resultobj = NULL;
d55e5bfc
RD
10160 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
10161 wxSize result;
10162 PyObject * obj0 = 0 ;
10163 char *kwnames[] = {
10164 (char *) "self", NULL
10165 };
10166
10167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
10168 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
10169 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10170 {
10171 PyThreadState* __tstate = wxPyBeginAllowThreads();
10172 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
10173
10174 wxPyEndAllowThreads(__tstate);
10175 if (PyErr_Occurred()) SWIG_fail;
10176 }
10177 {
10178 wxSize * resultptr;
7449af73 10179 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
10180 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
10181 }
10182 return resultobj;
10183 fail:
10184 return NULL;
10185}
10186
10187
c32bde28 10188static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10189 PyObject *resultobj = NULL;
d55e5bfc 10190 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
093d3ff1 10191 wxLayoutOrientation arg2 ;
d55e5bfc
RD
10192 PyObject * obj0 = 0 ;
10193 PyObject * obj1 = 0 ;
10194 char *kwnames[] = {
10195 (char *) "self",(char *) "orient", NULL
10196 };
10197
10198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10199 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
10200 if (SWIG_arg_fail(1)) SWIG_fail;
10201 {
7449af73 10202 arg2 = static_cast<wxLayoutOrientation >(SWIG_As_int(obj1));
093d3ff1
RD
10203 if (SWIG_arg_fail(2)) SWIG_fail;
10204 }
d55e5bfc
RD
10205 {
10206 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 10207 (arg1)->SetOrientation(arg2);
d55e5bfc
RD
10208
10209 wxPyEndAllowThreads(__tstate);
10210 if (PyErr_Occurred()) SWIG_fail;
10211 }
10212 Py_INCREF(Py_None); resultobj = Py_None;
10213 return resultobj;
10214 fail:
10215 return NULL;
10216}
10217
10218
c32bde28 10219static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10220 PyObject *resultobj = NULL;
d55e5bfc 10221 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
093d3ff1 10222 wxLayoutOrientation result;
d55e5bfc
RD
10223 PyObject * obj0 = 0 ;
10224 char *kwnames[] = {
10225 (char *) "self", NULL
10226 };
10227
10228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
093d3ff1
RD
10229 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
10230 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10231 {
10232 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10233 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
d55e5bfc
RD
10234
10235 wxPyEndAllowThreads(__tstate);
10236 if (PyErr_Occurred()) SWIG_fail;
10237 }
093d3ff1 10238 resultobj = SWIG_From_int((result));
d55e5bfc
RD
10239 return resultobj;
10240 fail:
10241 return NULL;
10242}
10243
10244
c32bde28 10245static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10246 PyObject *resultobj = NULL;
d55e5bfc 10247 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
093d3ff1 10248 wxLayoutAlignment arg2 ;
d55e5bfc
RD
10249 PyObject * obj0 = 0 ;
10250 PyObject * obj1 = 0 ;
10251 char *kwnames[] = {
10252 (char *) "self",(char *) "align", NULL
10253 };
10254
10255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10256 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
10257 if (SWIG_arg_fail(1)) SWIG_fail;
10258 {
7449af73 10259 arg2 = static_cast<wxLayoutAlignment >(SWIG_As_int(obj1));
093d3ff1
RD
10260 if (SWIG_arg_fail(2)) SWIG_fail;
10261 }
d55e5bfc
RD
10262 {
10263 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 10264 (arg1)->SetAlignment(arg2);
d55e5bfc
RD
10265
10266 wxPyEndAllowThreads(__tstate);
10267 if (PyErr_Occurred()) SWIG_fail;
10268 }
10269 Py_INCREF(Py_None); resultobj = Py_None;
10270 return resultobj;
10271 fail:
10272 return NULL;
10273}
10274
10275
c32bde28 10276static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10277 PyObject *resultobj = NULL;
d55e5bfc 10278 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
093d3ff1 10279 wxLayoutAlignment result;
d55e5bfc
RD
10280 PyObject * obj0 = 0 ;
10281 char *kwnames[] = {
10282 (char *) "self", NULL
10283 };
10284
10285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
093d3ff1
RD
10286 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
10287 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10288 {
10289 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10290 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
d55e5bfc
RD
10291
10292 wxPyEndAllowThreads(__tstate);
10293 if (PyErr_Occurred()) SWIG_fail;
10294 }
093d3ff1 10295 resultobj = SWIG_From_int((result));
d55e5bfc
RD
10296 return resultobj;
10297 fail:
10298 return NULL;
10299}
10300
10301
c32bde28 10302static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10303 PyObject *obj;
10304 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10305 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
10306 Py_INCREF(obj);
10307 return Py_BuildValue((char *)"");
10308}
c32bde28 10309static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10310 PyObject *resultobj = NULL;
d55e5bfc
RD
10311 int arg1 = (int) 0 ;
10312 wxCalculateLayoutEvent *result;
10313 PyObject * obj0 = 0 ;
10314 char *kwnames[] = {
10315 (char *) "id", NULL
10316 };
10317
10318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
10319 if (obj0) {
093d3ff1 10320 {
7449af73 10321 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
10322 if (SWIG_arg_fail(1)) SWIG_fail;
10323 }
d55e5bfc
RD
10324 }
10325 {
10326 PyThreadState* __tstate = wxPyBeginAllowThreads();
10327 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
10328
10329 wxPyEndAllowThreads(__tstate);
10330 if (PyErr_Occurred()) SWIG_fail;
10331 }
10332 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
10333 return resultobj;
10334 fail:
10335 return NULL;
10336}
10337
10338
c32bde28 10339static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10340 PyObject *resultobj = NULL;
d55e5bfc
RD
10341 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10342 int arg2 ;
10343 PyObject * obj0 = 0 ;
10344 PyObject * obj1 = 0 ;
10345 char *kwnames[] = {
10346 (char *) "self",(char *) "flags", NULL
10347 };
10348
10349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10350 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10351 if (SWIG_arg_fail(1)) SWIG_fail;
10352 {
7449af73 10353 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
10354 if (SWIG_arg_fail(2)) SWIG_fail;
10355 }
d55e5bfc
RD
10356 {
10357 PyThreadState* __tstate = wxPyBeginAllowThreads();
10358 (arg1)->SetFlags(arg2);
10359
10360 wxPyEndAllowThreads(__tstate);
10361 if (PyErr_Occurred()) SWIG_fail;
10362 }
10363 Py_INCREF(Py_None); resultobj = Py_None;
10364 return resultobj;
10365 fail:
10366 return NULL;
10367}
10368
10369
c32bde28 10370static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10371 PyObject *resultobj = NULL;
d55e5bfc
RD
10372 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10373 int result;
10374 PyObject * obj0 = 0 ;
10375 char *kwnames[] = {
10376 (char *) "self", NULL
10377 };
10378
10379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
093d3ff1
RD
10380 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10381 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10382 {
10383 PyThreadState* __tstate = wxPyBeginAllowThreads();
10384 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
10385
10386 wxPyEndAllowThreads(__tstate);
10387 if (PyErr_Occurred()) SWIG_fail;
10388 }
093d3ff1 10389 {
7449af73 10390 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 10391 }
d55e5bfc
RD
10392 return resultobj;
10393 fail:
10394 return NULL;
10395}
10396
10397
c32bde28 10398static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10399 PyObject *resultobj = NULL;
d55e5bfc
RD
10400 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10401 wxRect *arg2 = 0 ;
10402 wxRect temp2 ;
10403 PyObject * obj0 = 0 ;
10404 PyObject * obj1 = 0 ;
10405 char *kwnames[] = {
10406 (char *) "self",(char *) "rect", NULL
10407 };
10408
10409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10410 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10411 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10412 {
10413 arg2 = &temp2;
10414 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10415 }
10416 {
10417 PyThreadState* __tstate = wxPyBeginAllowThreads();
10418 (arg1)->SetRect((wxRect const &)*arg2);
10419
10420 wxPyEndAllowThreads(__tstate);
10421 if (PyErr_Occurred()) SWIG_fail;
10422 }
10423 Py_INCREF(Py_None); resultobj = Py_None;
10424 return resultobj;
10425 fail:
10426 return NULL;
10427}
10428
10429
c32bde28 10430static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10431 PyObject *resultobj = NULL;
d55e5bfc
RD
10432 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10433 wxRect result;
10434 PyObject * obj0 = 0 ;
10435 char *kwnames[] = {
10436 (char *) "self", NULL
10437 };
10438
10439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
093d3ff1
RD
10440 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10441 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10442 {
10443 PyThreadState* __tstate = wxPyBeginAllowThreads();
10444 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
10445
10446 wxPyEndAllowThreads(__tstate);
10447 if (PyErr_Occurred()) SWIG_fail;
10448 }
10449 {
10450 wxRect * resultptr;
7449af73 10451 resultptr = new wxRect(static_cast<wxRect & >(result));
d55e5bfc
RD
10452 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
10453 }
10454 return resultobj;
10455 fail:
10456 return NULL;
10457}
10458
10459
c32bde28 10460static PyObject * CalculateLayoutEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10461 PyObject *obj;
10462 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10463 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
10464 Py_INCREF(obj);
10465 return Py_BuildValue((char *)"");
10466}
c32bde28 10467static PyObject *_wrap_new_SashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10468 PyObject *resultobj = NULL;
d55e5bfc 10469 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 10470 int arg2 = (int) -1 ;
d55e5bfc
RD
10471 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10472 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10473 wxSize const &arg4_defvalue = wxDefaultSize ;
10474 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10475 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10476 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
10477 wxString *arg6 = (wxString *) &arg6_defvalue ;
10478 wxSashLayoutWindow *result;
10479 wxPoint temp3 ;
10480 wxSize temp4 ;
ae8162c8 10481 bool temp6 = false ;
d55e5bfc
RD
10482 PyObject * obj0 = 0 ;
10483 PyObject * obj1 = 0 ;
10484 PyObject * obj2 = 0 ;
10485 PyObject * obj3 = 0 ;
10486 PyObject * obj4 = 0 ;
10487 PyObject * obj5 = 0 ;
10488 char *kwnames[] = {
10489 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10490 };
10491
248ed943 10492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
10493 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10494 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 10495 if (obj1) {
093d3ff1 10496 {
7449af73 10497 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
10498 if (SWIG_arg_fail(2)) SWIG_fail;
10499 }
248ed943 10500 }
d55e5bfc
RD
10501 if (obj2) {
10502 {
10503 arg3 = &temp3;
10504 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10505 }
10506 }
10507 if (obj3) {
10508 {
10509 arg4 = &temp4;
10510 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10511 }
10512 }
10513 if (obj4) {
093d3ff1 10514 {
7449af73 10515 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
10516 if (SWIG_arg_fail(5)) SWIG_fail;
10517 }
d55e5bfc
RD
10518 }
10519 if (obj5) {
10520 {
10521 arg6 = wxString_in_helper(obj5);
10522 if (arg6 == NULL) SWIG_fail;
ae8162c8 10523 temp6 = true;
d55e5bfc
RD
10524 }
10525 }
10526 {
0439c23b 10527 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10528 PyThreadState* __tstate = wxPyBeginAllowThreads();
10529 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10530
10531 wxPyEndAllowThreads(__tstate);
110da5b0 10532 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10533 }
10534 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
10535 {
10536 if (temp6)
10537 delete arg6;
10538 }
10539 return resultobj;
10540 fail:
10541 {
10542 if (temp6)
10543 delete arg6;
10544 }
10545 return NULL;
10546}
10547
10548
c32bde28 10549static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10550 PyObject *resultobj = NULL;
d55e5bfc
RD
10551 wxSashLayoutWindow *result;
10552 char *kwnames[] = {
10553 NULL
10554 };
10555
10556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
10557 {
0439c23b 10558 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10559 PyThreadState* __tstate = wxPyBeginAllowThreads();
10560 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
10561
10562 wxPyEndAllowThreads(__tstate);
110da5b0 10563 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10564 }
10565 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
10566 return resultobj;
10567 fail:
10568 return NULL;
10569}
10570
10571
c32bde28 10572static PyObject *_wrap_SashLayoutWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10573 PyObject *resultobj = NULL;
d55e5bfc
RD
10574 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10575 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 10576 int arg3 = (int) -1 ;
d55e5bfc
RD
10577 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10578 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10579 wxSize const &arg5_defvalue = wxDefaultSize ;
10580 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10581 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10582 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
10583 wxString *arg7 = (wxString *) &arg7_defvalue ;
10584 bool result;
10585 wxPoint temp4 ;
10586 wxSize temp5 ;
ae8162c8 10587 bool temp7 = false ;
d55e5bfc
RD
10588 PyObject * obj0 = 0 ;
10589 PyObject * obj1 = 0 ;
10590 PyObject * obj2 = 0 ;
10591 PyObject * obj3 = 0 ;
10592 PyObject * obj4 = 0 ;
10593 PyObject * obj5 = 0 ;
10594 PyObject * obj6 = 0 ;
10595 char *kwnames[] = {
10596 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10597 };
10598
248ed943 10599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
10600 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10601 if (SWIG_arg_fail(1)) SWIG_fail;
10602 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10603 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 10604 if (obj2) {
093d3ff1 10605 {
7449af73 10606 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
10607 if (SWIG_arg_fail(3)) SWIG_fail;
10608 }
248ed943 10609 }
d55e5bfc
RD
10610 if (obj3) {
10611 {
10612 arg4 = &temp4;
10613 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10614 }
10615 }
10616 if (obj4) {
10617 {
10618 arg5 = &temp5;
10619 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10620 }
10621 }
10622 if (obj5) {
093d3ff1 10623 {
7449af73 10624 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
10625 if (SWIG_arg_fail(6)) SWIG_fail;
10626 }
d55e5bfc
RD
10627 }
10628 if (obj6) {
10629 {
10630 arg7 = wxString_in_helper(obj6);
10631 if (arg7 == NULL) SWIG_fail;
ae8162c8 10632 temp7 = true;
d55e5bfc
RD
10633 }
10634 }
10635 {
10636 PyThreadState* __tstate = wxPyBeginAllowThreads();
10637 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10638
10639 wxPyEndAllowThreads(__tstate);
10640 if (PyErr_Occurred()) SWIG_fail;
10641 }
10642 {
10643 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10644 }
10645 {
10646 if (temp7)
10647 delete arg7;
10648 }
10649 return resultobj;
10650 fail:
10651 {
10652 if (temp7)
10653 delete arg7;
10654 }
10655 return NULL;
10656}
10657
10658
c32bde28 10659static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10660 PyObject *resultobj = NULL;
d55e5bfc 10661 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
093d3ff1 10662 wxLayoutAlignment result;
d55e5bfc
RD
10663 PyObject * obj0 = 0 ;
10664 char *kwnames[] = {
10665 (char *) "self", NULL
10666 };
10667
10668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
093d3ff1
RD
10669 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10670 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10671 {
10672 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10673 result = (wxLayoutAlignment)(arg1)->GetAlignment();
d55e5bfc
RD
10674
10675 wxPyEndAllowThreads(__tstate);
10676 if (PyErr_Occurred()) SWIG_fail;
10677 }
093d3ff1 10678 resultobj = SWIG_From_int((result));
d55e5bfc
RD
10679 return resultobj;
10680 fail:
10681 return NULL;
10682}
10683
10684
c32bde28 10685static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10686 PyObject *resultobj = NULL;
d55e5bfc 10687 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
093d3ff1 10688 wxLayoutOrientation result;
d55e5bfc
RD
10689 PyObject * obj0 = 0 ;
10690 char *kwnames[] = {
10691 (char *) "self", NULL
10692 };
10693
10694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
093d3ff1
RD
10695 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10696 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10697 {
10698 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10699 result = (wxLayoutOrientation)(arg1)->GetOrientation();
d55e5bfc
RD
10700
10701 wxPyEndAllowThreads(__tstate);
10702 if (PyErr_Occurred()) SWIG_fail;
10703 }
093d3ff1 10704 resultobj = SWIG_From_int((result));
d55e5bfc
RD
10705 return resultobj;
10706 fail:
10707 return NULL;
10708}
10709
10710
c32bde28 10711static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10712 PyObject *resultobj = NULL;
d55e5bfc 10713 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
093d3ff1 10714 wxLayoutAlignment arg2 ;
d55e5bfc
RD
10715 PyObject * obj0 = 0 ;
10716 PyObject * obj1 = 0 ;
10717 char *kwnames[] = {
10718 (char *) "self",(char *) "alignment", NULL
10719 };
10720
10721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10722 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10723 if (SWIG_arg_fail(1)) SWIG_fail;
10724 {
7449af73 10725 arg2 = static_cast<wxLayoutAlignment >(SWIG_As_int(obj1));
093d3ff1
RD
10726 if (SWIG_arg_fail(2)) SWIG_fail;
10727 }
d55e5bfc
RD
10728 {
10729 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 10730 (arg1)->SetAlignment(arg2);
d55e5bfc
RD
10731
10732 wxPyEndAllowThreads(__tstate);
10733 if (PyErr_Occurred()) SWIG_fail;
10734 }
10735 Py_INCREF(Py_None); resultobj = Py_None;
10736 return resultobj;
10737 fail:
10738 return NULL;
10739}
10740
10741
c32bde28 10742static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10743 PyObject *resultobj = NULL;
d55e5bfc
RD
10744 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10745 wxSize *arg2 = 0 ;
10746 wxSize temp2 ;
10747 PyObject * obj0 = 0 ;
10748 PyObject * obj1 = 0 ;
10749 char *kwnames[] = {
10750 (char *) "self",(char *) "size", NULL
10751 };
10752
10753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10754 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10755 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10756 {
10757 arg2 = &temp2;
10758 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
10759 }
10760 {
10761 PyThreadState* __tstate = wxPyBeginAllowThreads();
10762 (arg1)->SetDefaultSize((wxSize const &)*arg2);
10763
10764 wxPyEndAllowThreads(__tstate);
10765 if (PyErr_Occurred()) SWIG_fail;
10766 }
10767 Py_INCREF(Py_None); resultobj = Py_None;
10768 return resultobj;
10769 fail:
10770 return NULL;
10771}
10772
10773
c32bde28 10774static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10775 PyObject *resultobj = NULL;
d55e5bfc 10776 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
093d3ff1 10777 wxLayoutOrientation arg2 ;
d55e5bfc
RD
10778 PyObject * obj0 = 0 ;
10779 PyObject * obj1 = 0 ;
10780 char *kwnames[] = {
10781 (char *) "self",(char *) "orientation", NULL
10782 };
10783
10784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10785 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10786 if (SWIG_arg_fail(1)) SWIG_fail;
10787 {
7449af73 10788 arg2 = static_cast<wxLayoutOrientation >(SWIG_As_int(obj1));
093d3ff1
RD
10789 if (SWIG_arg_fail(2)) SWIG_fail;
10790 }
d55e5bfc
RD
10791 {
10792 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 10793 (arg1)->SetOrientation(arg2);
d55e5bfc
RD
10794
10795 wxPyEndAllowThreads(__tstate);
10796 if (PyErr_Occurred()) SWIG_fail;
10797 }
10798 Py_INCREF(Py_None); resultobj = Py_None;
10799 return resultobj;
10800 fail:
10801 return NULL;
10802}
10803
10804
c32bde28 10805static PyObject * SashLayoutWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10806 PyObject *obj;
10807 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10808 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
10809 Py_INCREF(obj);
10810 return Py_BuildValue((char *)"");
10811}
c32bde28 10812static PyObject *_wrap_new_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10813 PyObject *resultobj = NULL;
d55e5bfc
RD
10814 wxLayoutAlgorithm *result;
10815 char *kwnames[] = {
10816 NULL
10817 };
10818
10819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
10820 {
10821 PyThreadState* __tstate = wxPyBeginAllowThreads();
10822 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
10823
10824 wxPyEndAllowThreads(__tstate);
10825 if (PyErr_Occurred()) SWIG_fail;
10826 }
10827 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
10828 return resultobj;
10829 fail:
10830 return NULL;
10831}
10832
10833
c32bde28 10834static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10835 PyObject *resultobj = NULL;
d55e5bfc
RD
10836 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10837 PyObject * obj0 = 0 ;
10838 char *kwnames[] = {
10839 (char *) "self", NULL
10840 };
10841
10842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
093d3ff1
RD
10843 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10844 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10845 {
10846 PyThreadState* __tstate = wxPyBeginAllowThreads();
10847 delete arg1;
10848
10849 wxPyEndAllowThreads(__tstate);
10850 if (PyErr_Occurred()) SWIG_fail;
10851 }
10852 Py_INCREF(Py_None); resultobj = Py_None;
10853 return resultobj;
10854 fail:
10855 return NULL;
10856}
10857
10858
c32bde28 10859static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10860 PyObject *resultobj = NULL;
d55e5bfc
RD
10861 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10862 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
10863 wxRect *arg3 = (wxRect *) NULL ;
10864 bool result;
10865 PyObject * obj0 = 0 ;
10866 PyObject * obj1 = 0 ;
10867 PyObject * obj2 = 0 ;
10868 char *kwnames[] = {
10869 (char *) "self",(char *) "frame",(char *) "rect", NULL
10870 };
10871
10872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10874 if (SWIG_arg_fail(1)) SWIG_fail;
10875 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
10876 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 10877 if (obj2) {
093d3ff1
RD
10878 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
10879 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
10880 }
10881 {
10882 PyThreadState* __tstate = wxPyBeginAllowThreads();
10883 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
10884
10885 wxPyEndAllowThreads(__tstate);
10886 if (PyErr_Occurred()) SWIG_fail;
10887 }
10888 {
10889 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10890 }
10891 return resultobj;
10892 fail:
10893 return NULL;
10894}
10895
10896
c32bde28 10897static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10898 PyObject *resultobj = NULL;
d55e5bfc
RD
10899 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10900 wxFrame *arg2 = (wxFrame *) 0 ;
10901 wxWindow *arg3 = (wxWindow *) NULL ;
10902 bool result;
10903 PyObject * obj0 = 0 ;
10904 PyObject * obj1 = 0 ;
10905 PyObject * obj2 = 0 ;
10906 char *kwnames[] = {
10907 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
10908 };
10909
10910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10911 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10912 if (SWIG_arg_fail(1)) SWIG_fail;
10913 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
10914 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 10915 if (obj2) {
093d3ff1
RD
10916 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10917 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
10918 }
10919 {
10920 PyThreadState* __tstate = wxPyBeginAllowThreads();
10921 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
10922
10923 wxPyEndAllowThreads(__tstate);
10924 if (PyErr_Occurred()) SWIG_fail;
10925 }
10926 {
10927 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10928 }
10929 return resultobj;
10930 fail:
10931 return NULL;
10932}
10933
10934
c32bde28 10935static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10936 PyObject *resultobj = NULL;
d55e5bfc
RD
10937 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10938 wxWindow *arg2 = (wxWindow *) 0 ;
10939 wxWindow *arg3 = (wxWindow *) NULL ;
10940 bool result;
10941 PyObject * obj0 = 0 ;
10942 PyObject * obj1 = 0 ;
10943 PyObject * obj2 = 0 ;
10944 char *kwnames[] = {
10945 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
10946 };
10947
10948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10949 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10950 if (SWIG_arg_fail(1)) SWIG_fail;
10951 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10952 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 10953 if (obj2) {
093d3ff1
RD
10954 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10955 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
10956 }
10957 {
10958 PyThreadState* __tstate = wxPyBeginAllowThreads();
10959 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
10960
10961 wxPyEndAllowThreads(__tstate);
10962 if (PyErr_Occurred()) SWIG_fail;
10963 }
10964 {
10965 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10966 }
10967 return resultobj;
10968 fail:
10969 return NULL;
10970}
10971
10972
c32bde28 10973static PyObject * LayoutAlgorithm_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10974 PyObject *obj;
10975 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10976 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
10977 Py_INCREF(obj);
10978 return Py_BuildValue((char *)"");
10979}
c32bde28 10980static PyObject *_wrap_new_PopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10981 PyObject *resultobj = NULL;
d55e5bfc
RD
10982 wxWindow *arg1 = (wxWindow *) 0 ;
10983 int arg2 = (int) wxBORDER_NONE ;
10984 wxPopupWindow *result;
10985 PyObject * obj0 = 0 ;
10986 PyObject * obj1 = 0 ;
10987 char *kwnames[] = {
10988 (char *) "parent",(char *) "flags", NULL
10989 };
10990
10991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10992 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10993 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 10994 if (obj1) {
093d3ff1 10995 {
7449af73 10996 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
10997 if (SWIG_arg_fail(2)) SWIG_fail;
10998 }
d55e5bfc
RD
10999 }
11000 {
0439c23b 11001 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11002 PyThreadState* __tstate = wxPyBeginAllowThreads();
11003 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
11004
11005 wxPyEndAllowThreads(__tstate);
110da5b0 11006 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11007 }
11008 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
11009 return resultobj;
11010 fail:
11011 return NULL;
11012}
11013
11014
c32bde28 11015static PyObject *_wrap_new_PrePopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11016 PyObject *resultobj = NULL;
d55e5bfc
RD
11017 wxPopupWindow *result;
11018 char *kwnames[] = {
11019 NULL
11020 };
11021
11022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
11023 {
0439c23b 11024 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11025 PyThreadState* __tstate = wxPyBeginAllowThreads();
11026 result = (wxPopupWindow *)new wxPopupWindow();
11027
11028 wxPyEndAllowThreads(__tstate);
110da5b0 11029 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11030 }
11031 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
11032 return resultobj;
11033 fail:
11034 return NULL;
11035}
11036
11037
c32bde28 11038static PyObject *_wrap_PopupWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11039 PyObject *resultobj = NULL;
d55e5bfc
RD
11040 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
11041 wxWindow *arg2 = (wxWindow *) 0 ;
11042 int arg3 = (int) wxBORDER_NONE ;
11043 bool result;
11044 PyObject * obj0 = 0 ;
11045 PyObject * obj1 = 0 ;
11046 PyObject * obj2 = 0 ;
11047 char *kwnames[] = {
11048 (char *) "self",(char *) "parent",(char *) "flags", NULL
11049 };
11050
11051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11052 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_EXCEPTION | 0);
11053 if (SWIG_arg_fail(1)) SWIG_fail;
11054 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11055 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 11056 if (obj2) {
093d3ff1 11057 {
7449af73 11058 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
11059 if (SWIG_arg_fail(3)) SWIG_fail;
11060 }
d55e5bfc
RD
11061 }
11062 {
11063 PyThreadState* __tstate = wxPyBeginAllowThreads();
11064 result = (bool)(arg1)->Create(arg2,arg3);
11065
11066 wxPyEndAllowThreads(__tstate);
11067 if (PyErr_Occurred()) SWIG_fail;
11068 }
11069 {
11070 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11071 }
11072 return resultobj;
11073 fail:
11074 return NULL;
11075}
11076
11077
c32bde28 11078static PyObject *_wrap_PopupWindow_Position(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11079 PyObject *resultobj = NULL;
d55e5bfc
RD
11080 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
11081 wxPoint *arg2 = 0 ;
11082 wxSize *arg3 = 0 ;
11083 wxPoint temp2 ;
11084 wxSize temp3 ;
11085 PyObject * obj0 = 0 ;
11086 PyObject * obj1 = 0 ;
11087 PyObject * obj2 = 0 ;
11088 char *kwnames[] = {
11089 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
11090 };
11091
11092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11093 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_EXCEPTION | 0);
11094 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11095 {
11096 arg2 = &temp2;
11097 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11098 }
11099 {
11100 arg3 = &temp3;
11101 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
11102 }
11103 {
11104 PyThreadState* __tstate = wxPyBeginAllowThreads();
11105 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
11106
11107 wxPyEndAllowThreads(__tstate);
11108 if (PyErr_Occurred()) SWIG_fail;
11109 }
11110 Py_INCREF(Py_None); resultobj = Py_None;
11111 return resultobj;
11112 fail:
11113 return NULL;
11114}
11115
11116
c32bde28 11117static PyObject * PopupWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11118 PyObject *obj;
11119 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11120 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
11121 Py_INCREF(obj);
11122 return Py_BuildValue((char *)"");
11123}
c32bde28 11124static PyObject *_wrap_new_PopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11125 PyObject *resultobj = NULL;
d55e5bfc
RD
11126 wxWindow *arg1 = (wxWindow *) 0 ;
11127 int arg2 = (int) wxBORDER_NONE ;
11128 wxPyPopupTransientWindow *result;
11129 PyObject * obj0 = 0 ;
11130 PyObject * obj1 = 0 ;
11131 char *kwnames[] = {
11132 (char *) "parent",(char *) "style", NULL
11133 };
11134
11135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11136 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11137 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 11138 if (obj1) {
093d3ff1 11139 {
7449af73 11140 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
11141 if (SWIG_arg_fail(2)) SWIG_fail;
11142 }
d55e5bfc
RD
11143 }
11144 {
0439c23b 11145 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11146 PyThreadState* __tstate = wxPyBeginAllowThreads();
11147 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
11148
11149 wxPyEndAllowThreads(__tstate);
110da5b0 11150 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11151 }
11152 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
11153 return resultobj;
11154 fail:
11155 return NULL;
11156}
11157
11158
c32bde28 11159static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11160 PyObject *resultobj = NULL;
d55e5bfc
RD
11161 wxPyPopupTransientWindow *result;
11162 char *kwnames[] = {
11163 NULL
11164 };
11165
11166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
11167 {
0439c23b 11168 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11169 PyThreadState* __tstate = wxPyBeginAllowThreads();
11170 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
11171
11172 wxPyEndAllowThreads(__tstate);
110da5b0 11173 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11174 }
11175 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
11176 return resultobj;
11177 fail:
11178 return NULL;
11179}
11180
11181
c32bde28 11182static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11183 PyObject *resultobj = NULL;
d55e5bfc
RD
11184 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
11185 PyObject *arg2 = (PyObject *) 0 ;
11186 PyObject *arg3 = (PyObject *) 0 ;
11187 PyObject * obj0 = 0 ;
11188 PyObject * obj1 = 0 ;
11189 PyObject * obj2 = 0 ;
11190 char *kwnames[] = {
11191 (char *) "self",(char *) "self",(char *) "_class", NULL
11192 };
11193
11194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11195 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_EXCEPTION | 0);
11196 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11197 arg2 = obj1;
11198 arg3 = obj2;
11199 {
11200 PyThreadState* __tstate = wxPyBeginAllowThreads();
11201 (arg1)->_setCallbackInfo(arg2,arg3);
11202
11203 wxPyEndAllowThreads(__tstate);
11204 if (PyErr_Occurred()) SWIG_fail;
11205 }
11206 Py_INCREF(Py_None); resultobj = Py_None;
11207 return resultobj;
11208 fail:
11209 return NULL;
11210}
11211
11212
c32bde28 11213static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11214 PyObject *resultobj = NULL;
d55e5bfc
RD
11215 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
11216 wxWindow *arg2 = (wxWindow *) NULL ;
11217 PyObject * obj0 = 0 ;
11218 PyObject * obj1 = 0 ;
11219 char *kwnames[] = {
11220 (char *) "self",(char *) "focus", NULL
11221 };
11222
11223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11224 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_EXCEPTION | 0);
11225 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 11226 if (obj1) {
093d3ff1
RD
11227 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11228 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
11229 }
11230 {
11231 PyThreadState* __tstate = wxPyBeginAllowThreads();
11232 (arg1)->Popup(arg2);
11233
11234 wxPyEndAllowThreads(__tstate);
11235 if (PyErr_Occurred()) SWIG_fail;
11236 }
11237 Py_INCREF(Py_None); resultobj = Py_None;
11238 return resultobj;
11239 fail:
11240 return NULL;
11241}
11242
11243
c32bde28 11244static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11245 PyObject *resultobj = NULL;
d55e5bfc
RD
11246 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
11247 PyObject * obj0 = 0 ;
11248 char *kwnames[] = {
11249 (char *) "self", NULL
11250 };
11251
11252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
093d3ff1
RD
11253 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_EXCEPTION | 0);
11254 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11255 {
11256 PyThreadState* __tstate = wxPyBeginAllowThreads();
11257 (arg1)->Dismiss();
11258
11259 wxPyEndAllowThreads(__tstate);
11260 if (PyErr_Occurred()) SWIG_fail;
11261 }
11262 Py_INCREF(Py_None); resultobj = Py_None;
11263 return resultobj;
11264 fail:
11265 return NULL;
11266}
11267
11268
c32bde28 11269static PyObject * PopupTransientWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11270 PyObject *obj;
11271 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11272 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
11273 Py_INCREF(obj);
11274 return Py_BuildValue((char *)"");
11275}
c32bde28 11276static PyObject *_wrap_new_TipWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11277 PyObject *resultobj = NULL;
d55e5bfc
RD
11278 wxWindow *arg1 = (wxWindow *) 0 ;
11279 wxString *arg2 = 0 ;
11280 int arg3 = (int) 100 ;
11281 wxRect *arg4 = (wxRect *) NULL ;
11282 wxTipWindow *result;
ae8162c8 11283 bool temp2 = false ;
d55e5bfc
RD
11284 PyObject * obj0 = 0 ;
11285 PyObject * obj1 = 0 ;
11286 PyObject * obj2 = 0 ;
11287 PyObject * obj3 = 0 ;
11288 char *kwnames[] = {
11289 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
11290 };
11291
11292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
11293 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11294 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11295 {
11296 arg2 = wxString_in_helper(obj1);
11297 if (arg2 == NULL) SWIG_fail;
ae8162c8 11298 temp2 = true;
d55e5bfc
RD
11299 }
11300 if (obj2) {
093d3ff1 11301 {
7449af73 11302 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
11303 if (SWIG_arg_fail(3)) SWIG_fail;
11304 }
d55e5bfc
RD
11305 }
11306 if (obj3) {
093d3ff1
RD
11307 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
11308 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
11309 }
11310 {
0439c23b 11311 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11312 PyThreadState* __tstate = wxPyBeginAllowThreads();
11313 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
11314
11315 wxPyEndAllowThreads(__tstate);
110da5b0 11316 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11317 }
11318 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
11319 {
11320 if (temp2)
11321 delete arg2;
11322 }
11323 return resultobj;
11324 fail:
11325 {
11326 if (temp2)
11327 delete arg2;
11328 }
11329 return NULL;
11330}
11331
11332
c32bde28 11333static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11334 PyObject *resultobj = NULL;
d55e5bfc
RD
11335 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
11336 wxRect *arg2 = 0 ;
11337 wxRect temp2 ;
11338 PyObject * obj0 = 0 ;
11339 PyObject * obj1 = 0 ;
11340 char *kwnames[] = {
11341 (char *) "self",(char *) "rectBound", NULL
11342 };
11343
11344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11345 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipWindow, SWIG_POINTER_EXCEPTION | 0);
11346 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11347 {
11348 arg2 = &temp2;
11349 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11350 }
11351 {
11352 PyThreadState* __tstate = wxPyBeginAllowThreads();
11353 (arg1)->SetBoundingRect((wxRect const &)*arg2);
11354
11355 wxPyEndAllowThreads(__tstate);
11356 if (PyErr_Occurred()) SWIG_fail;
11357 }
11358 Py_INCREF(Py_None); resultobj = Py_None;
11359 return resultobj;
11360 fail:
11361 return NULL;
11362}
11363
11364
c32bde28 11365static PyObject *_wrap_TipWindow_Close(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11366 PyObject *resultobj = NULL;
d55e5bfc
RD
11367 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
11368 PyObject * obj0 = 0 ;
11369 char *kwnames[] = {
11370 (char *) "self", NULL
11371 };
11372
11373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
093d3ff1
RD
11374 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipWindow, SWIG_POINTER_EXCEPTION | 0);
11375 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11376 {
11377 PyThreadState* __tstate = wxPyBeginAllowThreads();
11378 (arg1)->Close();
11379
11380 wxPyEndAllowThreads(__tstate);
11381 if (PyErr_Occurred()) SWIG_fail;
11382 }
11383 Py_INCREF(Py_None); resultobj = Py_None;
11384 return resultobj;
11385 fail:
11386 return NULL;
11387}
11388
11389
c32bde28 11390static PyObject * TipWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11391 PyObject *obj;
11392 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11393 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
11394 Py_INCREF(obj);
11395 return Py_BuildValue((char *)"");
11396}
c32bde28 11397static PyObject *_wrap_new_VScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11398 PyObject *resultobj = NULL;
d55e5bfc
RD
11399 wxWindow *arg1 = (wxWindow *) 0 ;
11400 int arg2 = (int) wxID_ANY ;
11401 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11402 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11403 wxSize const &arg4_defvalue = wxDefaultSize ;
11404 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11405 long arg5 = (long) 0 ;
11406 wxString const &arg6_defvalue = wxPyPanelNameStr ;
11407 wxString *arg6 = (wxString *) &arg6_defvalue ;
11408 wxPyVScrolledWindow *result;
11409 wxPoint temp3 ;
11410 wxSize temp4 ;
ae8162c8 11411 bool temp6 = false ;
d55e5bfc
RD
11412 PyObject * obj0 = 0 ;
11413 PyObject * obj1 = 0 ;
11414 PyObject * obj2 = 0 ;
11415 PyObject * obj3 = 0 ;
11416 PyObject * obj4 = 0 ;
11417 PyObject * obj5 = 0 ;
11418 char *kwnames[] = {
11419 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11420 };
11421
11422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
11423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11424 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 11425 if (obj1) {
093d3ff1 11426 {
7449af73 11427 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
11428 if (SWIG_arg_fail(2)) SWIG_fail;
11429 }
d55e5bfc
RD
11430 }
11431 if (obj2) {
11432 {
11433 arg3 = &temp3;
11434 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11435 }
11436 }
11437 if (obj3) {
11438 {
11439 arg4 = &temp4;
11440 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11441 }
11442 }
11443 if (obj4) {
093d3ff1 11444 {
7449af73 11445 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
11446 if (SWIG_arg_fail(5)) SWIG_fail;
11447 }
d55e5bfc
RD
11448 }
11449 if (obj5) {
11450 {
11451 arg6 = wxString_in_helper(obj5);
11452 if (arg6 == NULL) SWIG_fail;
ae8162c8 11453 temp6 = true;
d55e5bfc
RD
11454 }
11455 }
11456 {
0439c23b 11457 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11458 PyThreadState* __tstate = wxPyBeginAllowThreads();
11459 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11460
11461 wxPyEndAllowThreads(__tstate);
110da5b0 11462 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11463 }
11464 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
11465 {
11466 if (temp6)
11467 delete arg6;
11468 }
11469 return resultobj;
11470 fail:
11471 {
11472 if (temp6)
11473 delete arg6;
11474 }
11475 return NULL;
11476}
11477
11478
c32bde28 11479static PyObject *_wrap_new_PreVScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11480 PyObject *resultobj = NULL;
d55e5bfc
RD
11481 wxPyVScrolledWindow *result;
11482 char *kwnames[] = {
11483 NULL
11484 };
11485
11486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
11487 {
0439c23b 11488 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11489 PyThreadState* __tstate = wxPyBeginAllowThreads();
11490 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
11491
11492 wxPyEndAllowThreads(__tstate);
110da5b0 11493 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11494 }
11495 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
11496 return resultobj;
11497 fail:
11498 return NULL;
11499}
11500
11501
c32bde28 11502static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11503 PyObject *resultobj = NULL;
d55e5bfc
RD
11504 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11505 PyObject *arg2 = (PyObject *) 0 ;
11506 PyObject *arg3 = (PyObject *) 0 ;
11507 PyObject * obj0 = 0 ;
11508 PyObject * obj1 = 0 ;
11509 PyObject * obj2 = 0 ;
11510 char *kwnames[] = {
11511 (char *) "self",(char *) "self",(char *) "_class", NULL
11512 };
11513
11514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11515 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11516 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11517 arg2 = obj1;
11518 arg3 = obj2;
11519 {
11520 PyThreadState* __tstate = wxPyBeginAllowThreads();
11521 (arg1)->_setCallbackInfo(arg2,arg3);
11522
11523 wxPyEndAllowThreads(__tstate);
11524 if (PyErr_Occurred()) SWIG_fail;
11525 }
11526 Py_INCREF(Py_None); resultobj = Py_None;
11527 return resultobj;
11528 fail:
11529 return NULL;
11530}
11531
11532
c32bde28 11533static PyObject *_wrap_VScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11534 PyObject *resultobj = NULL;
d55e5bfc
RD
11535 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11536 wxWindow *arg2 = (wxWindow *) 0 ;
11537 int arg3 = (int) wxID_ANY ;
11538 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11539 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11540 wxSize const &arg5_defvalue = wxDefaultSize ;
11541 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11542 long arg6 = (long) 0 ;
11543 wxString const &arg7_defvalue = wxPyPanelNameStr ;
11544 wxString *arg7 = (wxString *) &arg7_defvalue ;
11545 bool result;
11546 wxPoint temp4 ;
11547 wxSize temp5 ;
ae8162c8 11548 bool temp7 = false ;
d55e5bfc
RD
11549 PyObject * obj0 = 0 ;
11550 PyObject * obj1 = 0 ;
11551 PyObject * obj2 = 0 ;
11552 PyObject * obj3 = 0 ;
11553 PyObject * obj4 = 0 ;
11554 PyObject * obj5 = 0 ;
11555 PyObject * obj6 = 0 ;
11556 char *kwnames[] = {
11557 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11558 };
11559
11560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
11561 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11562 if (SWIG_arg_fail(1)) SWIG_fail;
11563 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11564 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 11565 if (obj2) {
093d3ff1 11566 {
7449af73 11567 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
11568 if (SWIG_arg_fail(3)) SWIG_fail;
11569 }
d55e5bfc
RD
11570 }
11571 if (obj3) {
11572 {
11573 arg4 = &temp4;
11574 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11575 }
11576 }
11577 if (obj4) {
11578 {
11579 arg5 = &temp5;
11580 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11581 }
11582 }
11583 if (obj5) {
093d3ff1 11584 {
7449af73 11585 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
11586 if (SWIG_arg_fail(6)) SWIG_fail;
11587 }
d55e5bfc
RD
11588 }
11589 if (obj6) {
11590 {
11591 arg7 = wxString_in_helper(obj6);
11592 if (arg7 == NULL) SWIG_fail;
ae8162c8 11593 temp7 = true;
d55e5bfc
RD
11594 }
11595 }
11596 {
11597 PyThreadState* __tstate = wxPyBeginAllowThreads();
11598 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11599
11600 wxPyEndAllowThreads(__tstate);
11601 if (PyErr_Occurred()) SWIG_fail;
11602 }
11603 {
11604 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11605 }
11606 {
11607 if (temp7)
11608 delete arg7;
11609 }
11610 return resultobj;
11611 fail:
11612 {
11613 if (temp7)
11614 delete arg7;
11615 }
11616 return NULL;
11617}
11618
11619
c32bde28 11620static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11621 PyObject *resultobj = NULL;
d55e5bfc
RD
11622 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11623 size_t arg2 ;
11624 PyObject * obj0 = 0 ;
11625 PyObject * obj1 = 0 ;
11626 char *kwnames[] = {
11627 (char *) "self",(char *) "count", NULL
11628 };
11629
11630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11632 if (SWIG_arg_fail(1)) SWIG_fail;
11633 {
7449af73 11634 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
11635 if (SWIG_arg_fail(2)) SWIG_fail;
11636 }
d55e5bfc
RD
11637 {
11638 PyThreadState* __tstate = wxPyBeginAllowThreads();
11639 (arg1)->SetLineCount(arg2);
11640
11641 wxPyEndAllowThreads(__tstate);
11642 if (PyErr_Occurred()) SWIG_fail;
11643 }
11644 Py_INCREF(Py_None); resultobj = Py_None;
11645 return resultobj;
11646 fail:
11647 return NULL;
11648}
11649
11650
c32bde28 11651static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11652 PyObject *resultobj = NULL;
d55e5bfc
RD
11653 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11654 size_t arg2 ;
11655 bool result;
11656 PyObject * obj0 = 0 ;
11657 PyObject * obj1 = 0 ;
11658 char *kwnames[] = {
11659 (char *) "self",(char *) "line", NULL
11660 };
11661
11662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11664 if (SWIG_arg_fail(1)) SWIG_fail;
11665 {
7449af73 11666 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
11667 if (SWIG_arg_fail(2)) SWIG_fail;
11668 }
d55e5bfc
RD
11669 {
11670 PyThreadState* __tstate = wxPyBeginAllowThreads();
11671 result = (bool)(arg1)->ScrollToLine(arg2);
11672
11673 wxPyEndAllowThreads(__tstate);
11674 if (PyErr_Occurred()) SWIG_fail;
11675 }
11676 {
11677 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11678 }
11679 return resultobj;
11680 fail:
11681 return NULL;
11682}
11683
11684
c32bde28 11685static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11686 PyObject *resultobj = NULL;
d55e5bfc
RD
11687 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11688 int arg2 ;
11689 bool result;
11690 PyObject * obj0 = 0 ;
11691 PyObject * obj1 = 0 ;
11692 char *kwnames[] = {
11693 (char *) "self",(char *) "lines", NULL
11694 };
11695
11696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11697 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11698 if (SWIG_arg_fail(1)) SWIG_fail;
11699 {
7449af73 11700 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
11701 if (SWIG_arg_fail(2)) SWIG_fail;
11702 }
d55e5bfc
RD
11703 {
11704 PyThreadState* __tstate = wxPyBeginAllowThreads();
11705 result = (bool)(arg1)->ScrollLines(arg2);
11706
11707 wxPyEndAllowThreads(__tstate);
11708 if (PyErr_Occurred()) SWIG_fail;
11709 }
11710 {
11711 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11712 }
11713 return resultobj;
11714 fail:
11715 return NULL;
11716}
11717
11718
c32bde28 11719static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11720 PyObject *resultobj = NULL;
d55e5bfc
RD
11721 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11722 int arg2 ;
11723 bool result;
11724 PyObject * obj0 = 0 ;
11725 PyObject * obj1 = 0 ;
11726 char *kwnames[] = {
11727 (char *) "self",(char *) "pages", NULL
11728 };
11729
11730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11731 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11732 if (SWIG_arg_fail(1)) SWIG_fail;
11733 {
7449af73 11734 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
11735 if (SWIG_arg_fail(2)) SWIG_fail;
11736 }
d55e5bfc
RD
11737 {
11738 PyThreadState* __tstate = wxPyBeginAllowThreads();
11739 result = (bool)(arg1)->ScrollPages(arg2);
11740
11741 wxPyEndAllowThreads(__tstate);
11742 if (PyErr_Occurred()) SWIG_fail;
11743 }
11744 {
11745 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11746 }
11747 return resultobj;
11748 fail:
11749 return NULL;
11750}
11751
11752
c32bde28 11753static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11754 PyObject *resultobj = NULL;
d55e5bfc
RD
11755 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11756 size_t arg2 ;
11757 PyObject * obj0 = 0 ;
11758 PyObject * obj1 = 0 ;
11759 char *kwnames[] = {
11760 (char *) "self",(char *) "line", NULL
11761 };
11762
11763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11764 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11765 if (SWIG_arg_fail(1)) SWIG_fail;
11766 {
7449af73 11767 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
11768 if (SWIG_arg_fail(2)) SWIG_fail;
11769 }
d55e5bfc
RD
11770 {
11771 PyThreadState* __tstate = wxPyBeginAllowThreads();
11772 (arg1)->RefreshLine(arg2);
11773
11774 wxPyEndAllowThreads(__tstate);
11775 if (PyErr_Occurred()) SWIG_fail;
11776 }
11777 Py_INCREF(Py_None); resultobj = Py_None;
11778 return resultobj;
11779 fail:
11780 return NULL;
11781}
11782
11783
c32bde28 11784static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11785 PyObject *resultobj = NULL;
d55e5bfc
RD
11786 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11787 size_t arg2 ;
11788 size_t arg3 ;
11789 PyObject * obj0 = 0 ;
11790 PyObject * obj1 = 0 ;
11791 PyObject * obj2 = 0 ;
11792 char *kwnames[] = {
11793 (char *) "self",(char *) "from",(char *) "to", NULL
11794 };
11795
11796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11797 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11798 if (SWIG_arg_fail(1)) SWIG_fail;
11799 {
7449af73 11800 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
11801 if (SWIG_arg_fail(2)) SWIG_fail;
11802 }
11803 {
7449af73 11804 arg3 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2));
093d3ff1
RD
11805 if (SWIG_arg_fail(3)) SWIG_fail;
11806 }
d55e5bfc
RD
11807 {
11808 PyThreadState* __tstate = wxPyBeginAllowThreads();
11809 (arg1)->RefreshLines(arg2,arg3);
11810
11811 wxPyEndAllowThreads(__tstate);
11812 if (PyErr_Occurred()) SWIG_fail;
11813 }
11814 Py_INCREF(Py_None); resultobj = Py_None;
11815 return resultobj;
11816 fail:
11817 return NULL;
11818}
11819
11820
c32bde28 11821static PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11822 PyObject *resultobj = NULL;
d55e5bfc
RD
11823 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11824 int arg2 ;
11825 int arg3 ;
11826 int result;
11827 PyObject * obj0 = 0 ;
11828 PyObject * obj1 = 0 ;
11829 PyObject * obj2 = 0 ;
11830 char *kwnames[] = {
11831 (char *) "self",(char *) "x",(char *) "y", NULL
11832 };
11833
354693ff 11834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11836 if (SWIG_arg_fail(1)) SWIG_fail;
11837 {
7449af73 11838 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
11839 if (SWIG_arg_fail(2)) SWIG_fail;
11840 }
11841 {
7449af73 11842 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
11843 if (SWIG_arg_fail(3)) SWIG_fail;
11844 }
d55e5bfc
RD
11845 {
11846 PyThreadState* __tstate = wxPyBeginAllowThreads();
11847 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
11848
11849 wxPyEndAllowThreads(__tstate);
11850 if (PyErr_Occurred()) SWIG_fail;
11851 }
093d3ff1 11852 {
7449af73 11853 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 11854 }
d55e5bfc
RD
11855 return resultobj;
11856 fail:
11857 return NULL;
11858}
11859
11860
c32bde28 11861static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11862 PyObject *resultobj = NULL;
d55e5bfc
RD
11863 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11864 wxPoint *arg2 = 0 ;
11865 int result;
11866 wxPoint temp2 ;
11867 PyObject * obj0 = 0 ;
11868 PyObject * obj1 = 0 ;
11869 char *kwnames[] = {
11870 (char *) "self",(char *) "pt", NULL
11871 };
11872
11873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11874 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11875 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11876 {
11877 arg2 = &temp2;
11878 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11879 }
11880 {
11881 PyThreadState* __tstate = wxPyBeginAllowThreads();
11882 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
11883
11884 wxPyEndAllowThreads(__tstate);
11885 if (PyErr_Occurred()) SWIG_fail;
11886 }
093d3ff1 11887 {
7449af73 11888 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 11889 }
d55e5bfc
RD
11890 return resultobj;
11891 fail:
11892 return NULL;
11893}
11894
11895
c32bde28 11896static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11897 PyObject *resultobj = NULL;
d55e5bfc
RD
11898 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11899 PyObject * obj0 = 0 ;
11900 char *kwnames[] = {
11901 (char *) "self", NULL
11902 };
11903
11904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
11905 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11906 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11907 {
11908 PyThreadState* __tstate = wxPyBeginAllowThreads();
11909 (arg1)->RefreshAll();
11910
11911 wxPyEndAllowThreads(__tstate);
11912 if (PyErr_Occurred()) SWIG_fail;
11913 }
11914 Py_INCREF(Py_None); resultobj = Py_None;
11915 return resultobj;
11916 fail:
11917 return NULL;
11918}
11919
11920
c32bde28 11921static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11922 PyObject *resultobj = NULL;
d55e5bfc
RD
11923 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11924 size_t result;
11925 PyObject * obj0 = 0 ;
11926 char *kwnames[] = {
11927 (char *) "self", NULL
11928 };
11929
11930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
11931 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11932 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11933 {
11934 PyThreadState* __tstate = wxPyBeginAllowThreads();
11935 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
11936
11937 wxPyEndAllowThreads(__tstate);
11938 if (PyErr_Occurred()) SWIG_fail;
11939 }
093d3ff1 11940 {
7449af73 11941 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
093d3ff1 11942 }
d55e5bfc
RD
11943 return resultobj;
11944 fail:
11945 return NULL;
11946}
11947
11948
70b7a5fe 11949static PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11950 PyObject *resultobj = NULL;
d55e5bfc
RD
11951 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11952 size_t result;
11953 PyObject * obj0 = 0 ;
11954 char *kwnames[] = {
11955 (char *) "self", NULL
11956 };
11957
70b7a5fe 11958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetVisibleBegin",kwnames,&obj0)) goto fail;
093d3ff1
RD
11959 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11960 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11961 {
11962 PyThreadState* __tstate = wxPyBeginAllowThreads();
70b7a5fe 11963 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
d55e5bfc
RD
11964
11965 wxPyEndAllowThreads(__tstate);
11966 if (PyErr_Occurred()) SWIG_fail;
11967 }
093d3ff1 11968 {
7449af73 11969 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
093d3ff1 11970 }
d55e5bfc
RD
11971 return resultobj;
11972 fail:
11973 return NULL;
11974}
11975
11976
70b7a5fe 11977static PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11978 PyObject *resultobj = NULL;
d55e5bfc
RD
11979 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11980 size_t result;
11981 PyObject * obj0 = 0 ;
11982 char *kwnames[] = {
11983 (char *) "self", NULL
11984 };
11985
70b7a5fe 11986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetVisibleEnd",kwnames,&obj0)) goto fail;
093d3ff1
RD
11987 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11988 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11989 {
11990 PyThreadState* __tstate = wxPyBeginAllowThreads();
70b7a5fe 11991 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
d55e5bfc
RD
11992
11993 wxPyEndAllowThreads(__tstate);
11994 if (PyErr_Occurred()) SWIG_fail;
11995 }
093d3ff1 11996 {
7449af73 11997 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
093d3ff1 11998 }
d55e5bfc
RD
11999 return resultobj;
12000 fail:
12001 return NULL;
12002}
12003
12004
c32bde28 12005static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12006 PyObject *resultobj = NULL;
d55e5bfc
RD
12007 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
12008 size_t arg2 ;
12009 bool result;
12010 PyObject * obj0 = 0 ;
12011 PyObject * obj1 = 0 ;
12012 char *kwnames[] = {
12013 (char *) "self",(char *) "line", NULL
12014 };
12015
12016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
12018 if (SWIG_arg_fail(1)) SWIG_fail;
12019 {
7449af73 12020 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
12021 if (SWIG_arg_fail(2)) SWIG_fail;
12022 }
d55e5bfc
RD
12023 {
12024 PyThreadState* __tstate = wxPyBeginAllowThreads();
12025 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
12026
12027 wxPyEndAllowThreads(__tstate);
12028 if (PyErr_Occurred()) SWIG_fail;
12029 }
12030 {
12031 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12032 }
12033 return resultobj;
12034 fail:
12035 return NULL;
12036}
12037
12038
70b7a5fe 12039static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12040 PyObject *resultobj = NULL;
70b7a5fe
RD
12041 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
12042 size_t result;
12043 PyObject * obj0 = 0 ;
12044 char *kwnames[] = {
12045 (char *) "self", NULL
12046 };
12047
12048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
12049 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
12050 if (SWIG_arg_fail(1)) SWIG_fail;
12051 {
12052 PyThreadState* __tstate = wxPyBeginAllowThreads();
12053 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
12054
12055 wxPyEndAllowThreads(__tstate);
12056 if (PyErr_Occurred()) SWIG_fail;
12057 }
12058 {
7449af73 12059 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
70b7a5fe
RD
12060 }
12061 return resultobj;
12062 fail:
12063 return NULL;
12064}
12065
12066
12067static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12068 PyObject *resultobj = NULL;
70b7a5fe
RD
12069 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
12070 size_t result;
12071 PyObject * obj0 = 0 ;
12072 char *kwnames[] = {
12073 (char *) "self", NULL
12074 };
12075
12076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
12077 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
12078 if (SWIG_arg_fail(1)) SWIG_fail;
12079 {
12080 PyThreadState* __tstate = wxPyBeginAllowThreads();
12081 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
12082
12083 wxPyEndAllowThreads(__tstate);
12084 if (PyErr_Occurred()) SWIG_fail;
12085 }
12086 {
7449af73 12087 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
70b7a5fe
RD
12088 }
12089 return resultobj;
12090 fail:
12091 return NULL;
12092}
12093
12094
c32bde28 12095static PyObject * VScrolledWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
12096 PyObject *obj;
12097 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12098 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
12099 Py_INCREF(obj);
12100 return Py_BuildValue((char *)"");
12101}
c32bde28 12102static int _wrap_VListBoxNameStr_set(PyObject *) {
d55e5bfc
RD
12103 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
12104 return 1;
12105}
12106
12107
093d3ff1 12108static PyObject *_wrap_VListBoxNameStr_get(void) {
7449af73 12109 PyObject *pyobj = NULL;
d55e5bfc
RD
12110
12111 {
12112#if wxUSE_UNICODE
12113 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
12114#else
12115 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
12116#endif
12117 }
12118 return pyobj;
12119}
12120
12121
c32bde28 12122static PyObject *_wrap_new_VListBox(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12123 PyObject *resultobj = NULL;
d55e5bfc
RD
12124 wxWindow *arg1 = (wxWindow *) 0 ;
12125 int arg2 = (int) wxID_ANY ;
12126 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12127 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12128 wxSize const &arg4_defvalue = wxDefaultSize ;
12129 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12130 long arg5 = (long) 0 ;
12131 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
12132 wxString *arg6 = (wxString *) &arg6_defvalue ;
12133 wxPyVListBox *result;
12134 wxPoint temp3 ;
12135 wxSize temp4 ;
ae8162c8 12136 bool temp6 = false ;
d55e5bfc
RD
12137 PyObject * obj0 = 0 ;
12138 PyObject * obj1 = 0 ;
12139 PyObject * obj2 = 0 ;
12140 PyObject * obj3 = 0 ;
12141 PyObject * obj4 = 0 ;
12142 PyObject * obj5 = 0 ;
12143 char *kwnames[] = {
12144 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12145 };
12146
12147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
12148 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12149 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 12150 if (obj1) {
093d3ff1 12151 {
7449af73 12152 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
12153 if (SWIG_arg_fail(2)) SWIG_fail;
12154 }
d55e5bfc
RD
12155 }
12156 if (obj2) {
12157 {
12158 arg3 = &temp3;
12159 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12160 }
12161 }
12162 if (obj3) {
12163 {
12164 arg4 = &temp4;
12165 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12166 }
12167 }
12168 if (obj4) {
093d3ff1 12169 {
7449af73 12170 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
12171 if (SWIG_arg_fail(5)) SWIG_fail;
12172 }
d55e5bfc
RD
12173 }
12174 if (obj5) {
12175 {
12176 arg6 = wxString_in_helper(obj5);
12177 if (arg6 == NULL) SWIG_fail;
ae8162c8 12178 temp6 = true;
d55e5bfc
RD
12179 }
12180 }
12181 {
0439c23b 12182 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12183 PyThreadState* __tstate = wxPyBeginAllowThreads();
12184 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12185
12186 wxPyEndAllowThreads(__tstate);
110da5b0 12187 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12188 }
12189 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
12190 {
12191 if (temp6)
12192 delete arg6;
12193 }
12194 return resultobj;
12195 fail:
12196 {
12197 if (temp6)
12198 delete arg6;
12199 }
12200 return NULL;
12201}
12202
12203
c32bde28 12204static PyObject *_wrap_new_PreVListBox(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12205 PyObject *resultobj = NULL;
d55e5bfc
RD
12206 wxPyVListBox *result;
12207 char *kwnames[] = {
12208 NULL
12209 };
12210
12211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
12212 {
0439c23b 12213 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12214 PyThreadState* __tstate = wxPyBeginAllowThreads();
12215 result = (wxPyVListBox *)new wxPyVListBox();
12216
12217 wxPyEndAllowThreads(__tstate);
110da5b0 12218 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12219 }
12220 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
12221 return resultobj;
12222 fail:
12223 return NULL;
12224}
12225
12226
c32bde28 12227static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12228 PyObject *resultobj = NULL;
d55e5bfc
RD
12229 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12230 PyObject *arg2 = (PyObject *) 0 ;
12231 PyObject *arg3 = (PyObject *) 0 ;
12232 PyObject * obj0 = 0 ;
12233 PyObject * obj1 = 0 ;
12234 PyObject * obj2 = 0 ;
12235 char *kwnames[] = {
12236 (char *) "self",(char *) "self",(char *) "_class", NULL
12237 };
12238
12239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12240 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12241 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12242 arg2 = obj1;
12243 arg3 = obj2;
12244 {
12245 PyThreadState* __tstate = wxPyBeginAllowThreads();
12246 (arg1)->_setCallbackInfo(arg2,arg3);
12247
12248 wxPyEndAllowThreads(__tstate);
12249 if (PyErr_Occurred()) SWIG_fail;
12250 }
12251 Py_INCREF(Py_None); resultobj = Py_None;
12252 return resultobj;
12253 fail:
12254 return NULL;
12255}
12256
12257
c32bde28 12258static PyObject *_wrap_VListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12259 PyObject *resultobj = NULL;
d55e5bfc
RD
12260 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12261 wxWindow *arg2 = (wxWindow *) 0 ;
12262 int arg3 = (int) wxID_ANY ;
12263 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12264 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12265 wxSize const &arg5_defvalue = wxDefaultSize ;
12266 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12267 long arg6 = (long) 0 ;
12268 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
12269 wxString *arg7 = (wxString *) &arg7_defvalue ;
12270 bool result;
12271 wxPoint temp4 ;
12272 wxSize temp5 ;
ae8162c8 12273 bool temp7 = false ;
d55e5bfc
RD
12274 PyObject * obj0 = 0 ;
12275 PyObject * obj1 = 0 ;
12276 PyObject * obj2 = 0 ;
12277 PyObject * obj3 = 0 ;
12278 PyObject * obj4 = 0 ;
12279 PyObject * obj5 = 0 ;
12280 PyObject * obj6 = 0 ;
12281 char *kwnames[] = {
12282 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12283 };
12284
12285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
12286 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12287 if (SWIG_arg_fail(1)) SWIG_fail;
12288 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12289 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 12290 if (obj2) {
093d3ff1 12291 {
7449af73 12292 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
12293 if (SWIG_arg_fail(3)) SWIG_fail;
12294 }
d55e5bfc
RD
12295 }
12296 if (obj3) {
12297 {
12298 arg4 = &temp4;
12299 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12300 }
12301 }
12302 if (obj4) {
12303 {
12304 arg5 = &temp5;
12305 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12306 }
12307 }
12308 if (obj5) {
093d3ff1 12309 {
7449af73 12310 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
12311 if (SWIG_arg_fail(6)) SWIG_fail;
12312 }
d55e5bfc
RD
12313 }
12314 if (obj6) {
12315 {
12316 arg7 = wxString_in_helper(obj6);
12317 if (arg7 == NULL) SWIG_fail;
ae8162c8 12318 temp7 = true;
d55e5bfc
RD
12319 }
12320 }
12321 {
12322 PyThreadState* __tstate = wxPyBeginAllowThreads();
12323 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12324
12325 wxPyEndAllowThreads(__tstate);
12326 if (PyErr_Occurred()) SWIG_fail;
12327 }
12328 {
12329 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12330 }
12331 {
12332 if (temp7)
12333 delete arg7;
12334 }
12335 return resultobj;
12336 fail:
12337 {
12338 if (temp7)
12339 delete arg7;
12340 }
12341 return NULL;
12342}
12343
12344
c32bde28 12345static PyObject *_wrap_VListBox_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12346 PyObject *resultobj = NULL;
d55e5bfc
RD
12347 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12348 size_t result;
12349 PyObject * obj0 = 0 ;
12350 char *kwnames[] = {
12351 (char *) "self", NULL
12352 };
12353
12354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
12355 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12356 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12357 {
12358 PyThreadState* __tstate = wxPyBeginAllowThreads();
12359 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
12360
12361 wxPyEndAllowThreads(__tstate);
12362 if (PyErr_Occurred()) SWIG_fail;
12363 }
093d3ff1 12364 {
7449af73 12365 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
093d3ff1 12366 }
d55e5bfc
RD
12367 return resultobj;
12368 fail:
12369 return NULL;
12370}
12371
12372
c32bde28 12373static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12374 PyObject *resultobj = NULL;
d55e5bfc
RD
12375 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12376 bool result;
12377 PyObject * obj0 = 0 ;
12378 char *kwnames[] = {
12379 (char *) "self", NULL
12380 };
12381
12382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
12383 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12384 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12385 {
12386 PyThreadState* __tstate = wxPyBeginAllowThreads();
12387 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
12388
12389 wxPyEndAllowThreads(__tstate);
12390 if (PyErr_Occurred()) SWIG_fail;
12391 }
12392 {
12393 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12394 }
12395 return resultobj;
12396 fail:
12397 return NULL;
12398}
12399
12400
c32bde28 12401static PyObject *_wrap_VListBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12402 PyObject *resultobj = NULL;
d55e5bfc
RD
12403 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12404 int result;
12405 PyObject * obj0 = 0 ;
12406 char *kwnames[] = {
12407 (char *) "self", NULL
12408 };
12409
12410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
12411 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12412 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12413 {
12414 PyThreadState* __tstate = wxPyBeginAllowThreads();
12415 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
12416
12417 wxPyEndAllowThreads(__tstate);
12418 if (PyErr_Occurred()) SWIG_fail;
12419 }
093d3ff1 12420 {
7449af73 12421 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 12422 }
d55e5bfc
RD
12423 return resultobj;
12424 fail:
12425 return NULL;
12426}
12427
12428
c32bde28 12429static PyObject *_wrap_VListBox_IsCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12430 PyObject *resultobj = NULL;
d55e5bfc
RD
12431 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12432 size_t arg2 ;
12433 bool result;
12434 PyObject * obj0 = 0 ;
12435 PyObject * obj1 = 0 ;
12436 char *kwnames[] = {
12437 (char *) "self",(char *) "item", NULL
12438 };
12439
12440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12441 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12442 if (SWIG_arg_fail(1)) SWIG_fail;
12443 {
7449af73 12444 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
12445 if (SWIG_arg_fail(2)) SWIG_fail;
12446 }
d55e5bfc
RD
12447 {
12448 PyThreadState* __tstate = wxPyBeginAllowThreads();
12449 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
12450
12451 wxPyEndAllowThreads(__tstate);
12452 if (PyErr_Occurred()) SWIG_fail;
12453 }
12454 {
12455 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12456 }
12457 return resultobj;
12458 fail:
12459 return NULL;
12460}
12461
12462
c32bde28 12463static PyObject *_wrap_VListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12464 PyObject *resultobj = NULL;
d55e5bfc
RD
12465 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12466 size_t arg2 ;
12467 bool result;
12468 PyObject * obj0 = 0 ;
12469 PyObject * obj1 = 0 ;
12470 char *kwnames[] = {
12471 (char *) "self",(char *) "item", NULL
12472 };
12473
12474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12475 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12476 if (SWIG_arg_fail(1)) SWIG_fail;
12477 {
7449af73 12478 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
12479 if (SWIG_arg_fail(2)) SWIG_fail;
12480 }
d55e5bfc
RD
12481 {
12482 PyThreadState* __tstate = wxPyBeginAllowThreads();
12483 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
12484
12485 wxPyEndAllowThreads(__tstate);
12486 if (PyErr_Occurred()) SWIG_fail;
12487 }
12488 {
12489 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12490 }
12491 return resultobj;
12492 fail:
12493 return NULL;
12494}
12495
12496
c32bde28 12497static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12498 PyObject *resultobj = NULL;
d55e5bfc
RD
12499 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12500 size_t result;
12501 PyObject * obj0 = 0 ;
12502 char *kwnames[] = {
12503 (char *) "self", NULL
12504 };
12505
12506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
12507 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12508 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12509 {
12510 PyThreadState* __tstate = wxPyBeginAllowThreads();
12511 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
12512
12513 wxPyEndAllowThreads(__tstate);
12514 if (PyErr_Occurred()) SWIG_fail;
12515 }
093d3ff1 12516 {
7449af73 12517 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
093d3ff1 12518 }
d55e5bfc
RD
12519 return resultobj;
12520 fail:
12521 return NULL;
12522}
12523
12524
c32bde28 12525static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12526 PyObject *resultobj = NULL;
d55e5bfc 12527 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
09c21d3b 12528 PyObject *result;
d55e5bfc 12529 PyObject * obj0 = 0 ;
d55e5bfc 12530 char *kwnames[] = {
09c21d3b 12531 (char *) "self", NULL
d55e5bfc
RD
12532 };
12533
09c21d3b 12534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetFirstSelected",kwnames,&obj0)) goto fail;
093d3ff1
RD
12535 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12536 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12537 {
12538 PyThreadState* __tstate = wxPyBeginAllowThreads();
09c21d3b 12539 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
d55e5bfc
RD
12540
12541 wxPyEndAllowThreads(__tstate);
12542 if (PyErr_Occurred()) SWIG_fail;
12543 }
09c21d3b 12544 resultobj = result;
d55e5bfc
RD
12545 return resultobj;
12546 fail:
12547 return NULL;
12548}
12549
12550
c32bde28 12551static PyObject *_wrap_VListBox_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12552 PyObject *resultobj = NULL;
d55e5bfc 12553 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
09c21d3b
RD
12554 unsigned long arg2 ;
12555 PyObject *result;
d55e5bfc
RD
12556 PyObject * obj0 = 0 ;
12557 PyObject * obj1 = 0 ;
12558 char *kwnames[] = {
12559 (char *) "self",(char *) "cookie", NULL
12560 };
12561
12562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12563 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12564 if (SWIG_arg_fail(1)) SWIG_fail;
12565 {
7449af73 12566 arg2 = static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
12567 if (SWIG_arg_fail(2)) SWIG_fail;
12568 }
d55e5bfc
RD
12569 {
12570 PyThreadState* __tstate = wxPyBeginAllowThreads();
09c21d3b 12571 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
d55e5bfc
RD
12572
12573 wxPyEndAllowThreads(__tstate);
12574 if (PyErr_Occurred()) SWIG_fail;
12575 }
09c21d3b 12576 resultobj = result;
d55e5bfc
RD
12577 return resultobj;
12578 fail:
12579 return NULL;
12580}
12581
12582
c32bde28 12583static PyObject *_wrap_VListBox_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12584 PyObject *resultobj = NULL;
d55e5bfc
RD
12585 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12586 wxPoint result;
12587 PyObject * obj0 = 0 ;
12588 char *kwnames[] = {
12589 (char *) "self", NULL
12590 };
12591
12592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
093d3ff1
RD
12593 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12594 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12595 {
12596 PyThreadState* __tstate = wxPyBeginAllowThreads();
12597 result = ((wxPyVListBox const *)arg1)->GetMargins();
12598
12599 wxPyEndAllowThreads(__tstate);
12600 if (PyErr_Occurred()) SWIG_fail;
12601 }
12602 {
12603 wxPoint * resultptr;
7449af73 12604 resultptr = new wxPoint(static_cast<wxPoint & >(result));
d55e5bfc
RD
12605 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
12606 }
12607 return resultobj;
12608 fail:
12609 return NULL;
12610}
12611
12612
c32bde28 12613static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12614 PyObject *resultobj = NULL;
d55e5bfc
RD
12615 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12616 wxColour *result;
12617 PyObject * obj0 = 0 ;
12618 char *kwnames[] = {
12619 (char *) "self", NULL
12620 };
12621
12622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
093d3ff1
RD
12623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12624 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12625 {
12626 PyThreadState* __tstate = wxPyBeginAllowThreads();
12627 {
12628 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
12629 result = (wxColour *) &_result_ref;
12630 }
12631
12632 wxPyEndAllowThreads(__tstate);
12633 if (PyErr_Occurred()) SWIG_fail;
12634 }
12635 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
12636 return resultobj;
12637 fail:
12638 return NULL;
12639}
12640
12641
c32bde28 12642static PyObject *_wrap_VListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12643 PyObject *resultobj = NULL;
d55e5bfc
RD
12644 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12645 size_t arg2 ;
12646 PyObject * obj0 = 0 ;
12647 PyObject * obj1 = 0 ;
12648 char *kwnames[] = {
12649 (char *) "self",(char *) "count", NULL
12650 };
12651
12652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12653 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12654 if (SWIG_arg_fail(1)) SWIG_fail;
12655 {
7449af73 12656 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
12657 if (SWIG_arg_fail(2)) SWIG_fail;
12658 }
d55e5bfc
RD
12659 {
12660 PyThreadState* __tstate = wxPyBeginAllowThreads();
12661 (arg1)->SetItemCount(arg2);
12662
12663 wxPyEndAllowThreads(__tstate);
12664 if (PyErr_Occurred()) SWIG_fail;
12665 }
12666 Py_INCREF(Py_None); resultobj = Py_None;
12667 return resultobj;
12668 fail:
12669 return NULL;
12670}
12671
12672
c32bde28 12673static PyObject *_wrap_VListBox_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12674 PyObject *resultobj = NULL;
d55e5bfc
RD
12675 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12676 PyObject * obj0 = 0 ;
12677 char *kwnames[] = {
12678 (char *) "self", NULL
12679 };
12680
12681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
093d3ff1
RD
12682 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12683 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12684 {
12685 PyThreadState* __tstate = wxPyBeginAllowThreads();
12686 (arg1)->Clear();
12687
12688 wxPyEndAllowThreads(__tstate);
12689 if (PyErr_Occurred()) SWIG_fail;
12690 }
12691 Py_INCREF(Py_None); resultobj = Py_None;
12692 return resultobj;
12693 fail:
12694 return NULL;
12695}
12696
12697
c32bde28 12698static PyObject *_wrap_VListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12699 PyObject *resultobj = NULL;
d55e5bfc
RD
12700 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12701 int arg2 ;
12702 PyObject * obj0 = 0 ;
12703 PyObject * obj1 = 0 ;
12704 char *kwnames[] = {
12705 (char *) "self",(char *) "selection", NULL
12706 };
12707
12708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12709 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12710 if (SWIG_arg_fail(1)) SWIG_fail;
12711 {
7449af73 12712 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
12713 if (SWIG_arg_fail(2)) SWIG_fail;
12714 }
d55e5bfc
RD
12715 {
12716 PyThreadState* __tstate = wxPyBeginAllowThreads();
12717 (arg1)->SetSelection(arg2);
12718
12719 wxPyEndAllowThreads(__tstate);
12720 if (PyErr_Occurred()) SWIG_fail;
12721 }
12722 Py_INCREF(Py_None); resultobj = Py_None;
12723 return resultobj;
12724 fail:
12725 return NULL;
12726}
12727
12728
c32bde28 12729static PyObject *_wrap_VListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12730 PyObject *resultobj = NULL;
d55e5bfc
RD
12731 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12732 size_t arg2 ;
ae8162c8 12733 bool arg3 = (bool) true ;
d55e5bfc
RD
12734 bool result;
12735 PyObject * obj0 = 0 ;
12736 PyObject * obj1 = 0 ;
12737 PyObject * obj2 = 0 ;
12738 char *kwnames[] = {
12739 (char *) "self",(char *) "item",(char *) "select", NULL
12740 };
12741
12742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12743 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12744 if (SWIG_arg_fail(1)) SWIG_fail;
12745 {
7449af73 12746 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
12747 if (SWIG_arg_fail(2)) SWIG_fail;
12748 }
d55e5bfc 12749 if (obj2) {
093d3ff1 12750 {
7449af73 12751 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
12752 if (SWIG_arg_fail(3)) SWIG_fail;
12753 }
d55e5bfc
RD
12754 }
12755 {
12756 PyThreadState* __tstate = wxPyBeginAllowThreads();
12757 result = (bool)(arg1)->Select(arg2,arg3);
12758
12759 wxPyEndAllowThreads(__tstate);
12760 if (PyErr_Occurred()) SWIG_fail;
12761 }
12762 {
12763 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12764 }
12765 return resultobj;
12766 fail:
12767 return NULL;
12768}
12769
12770
c32bde28 12771static PyObject *_wrap_VListBox_SelectRange(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12772 PyObject *resultobj = NULL;
d55e5bfc
RD
12773 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12774 size_t arg2 ;
12775 size_t arg3 ;
12776 bool result;
12777 PyObject * obj0 = 0 ;
12778 PyObject * obj1 = 0 ;
12779 PyObject * obj2 = 0 ;
12780 char *kwnames[] = {
12781 (char *) "self",(char *) "from",(char *) "to", NULL
12782 };
12783
12784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12785 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12786 if (SWIG_arg_fail(1)) SWIG_fail;
12787 {
7449af73 12788 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
12789 if (SWIG_arg_fail(2)) SWIG_fail;
12790 }
12791 {
7449af73 12792 arg3 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2));
093d3ff1
RD
12793 if (SWIG_arg_fail(3)) SWIG_fail;
12794 }
d55e5bfc
RD
12795 {
12796 PyThreadState* __tstate = wxPyBeginAllowThreads();
12797 result = (bool)(arg1)->SelectRange(arg2,arg3);
12798
12799 wxPyEndAllowThreads(__tstate);
12800 if (PyErr_Occurred()) SWIG_fail;
12801 }
12802 {
12803 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12804 }
12805 return resultobj;
12806 fail:
12807 return NULL;
12808}
12809
12810
c32bde28 12811static PyObject *_wrap_VListBox_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12812 PyObject *resultobj = NULL;
d55e5bfc
RD
12813 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12814 size_t arg2 ;
12815 PyObject * obj0 = 0 ;
12816 PyObject * obj1 = 0 ;
12817 char *kwnames[] = {
12818 (char *) "self",(char *) "item", NULL
12819 };
12820
12821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12822 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12823 if (SWIG_arg_fail(1)) SWIG_fail;
12824 {
7449af73 12825 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
12826 if (SWIG_arg_fail(2)) SWIG_fail;
12827 }
d55e5bfc
RD
12828 {
12829 PyThreadState* __tstate = wxPyBeginAllowThreads();
12830 (arg1)->Toggle(arg2);
12831
12832 wxPyEndAllowThreads(__tstate);
12833 if (PyErr_Occurred()) SWIG_fail;
12834 }
12835 Py_INCREF(Py_None); resultobj = Py_None;
12836 return resultobj;
12837 fail:
12838 return NULL;
12839}
12840
12841
c32bde28 12842static PyObject *_wrap_VListBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12843 PyObject *resultobj = NULL;
d55e5bfc
RD
12844 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12845 bool result;
12846 PyObject * obj0 = 0 ;
12847 char *kwnames[] = {
12848 (char *) "self", NULL
12849 };
12850
12851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
12852 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12853 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12854 {
12855 PyThreadState* __tstate = wxPyBeginAllowThreads();
12856 result = (bool)(arg1)->SelectAll();
12857
12858 wxPyEndAllowThreads(__tstate);
12859 if (PyErr_Occurred()) SWIG_fail;
12860 }
12861 {
12862 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12863 }
12864 return resultobj;
12865 fail:
12866 return NULL;
12867}
12868
12869
c32bde28 12870static PyObject *_wrap_VListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12871 PyObject *resultobj = NULL;
d55e5bfc
RD
12872 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12873 bool result;
12874 PyObject * obj0 = 0 ;
12875 char *kwnames[] = {
12876 (char *) "self", NULL
12877 };
12878
12879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
12880 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12881 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12882 {
12883 PyThreadState* __tstate = wxPyBeginAllowThreads();
12884 result = (bool)(arg1)->DeselectAll();
12885
12886 wxPyEndAllowThreads(__tstate);
12887 if (PyErr_Occurred()) SWIG_fail;
12888 }
12889 {
12890 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12891 }
12892 return resultobj;
12893 fail:
12894 return NULL;
12895}
12896
12897
c32bde28 12898static PyObject *_wrap_VListBox_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12899 PyObject *resultobj = NULL;
d55e5bfc
RD
12900 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12901 wxPoint *arg2 = 0 ;
12902 wxPoint temp2 ;
12903 PyObject * obj0 = 0 ;
12904 PyObject * obj1 = 0 ;
12905 char *kwnames[] = {
12906 (char *) "self",(char *) "pt", NULL
12907 };
12908
12909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12910 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12911 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12912 {
12913 arg2 = &temp2;
12914 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12915 }
12916 {
12917 PyThreadState* __tstate = wxPyBeginAllowThreads();
12918 (arg1)->SetMargins((wxPoint const &)*arg2);
12919
12920 wxPyEndAllowThreads(__tstate);
12921 if (PyErr_Occurred()) SWIG_fail;
12922 }
12923 Py_INCREF(Py_None); resultobj = Py_None;
12924 return resultobj;
12925 fail:
12926 return NULL;
12927}
12928
12929
c32bde28 12930static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12931 PyObject *resultobj = NULL;
d55e5bfc
RD
12932 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12933 int arg2 ;
12934 int arg3 ;
12935 PyObject * obj0 = 0 ;
12936 PyObject * obj1 = 0 ;
12937 PyObject * obj2 = 0 ;
12938 char *kwnames[] = {
12939 (char *) "self",(char *) "x",(char *) "y", NULL
12940 };
12941
12942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12943 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12944 if (SWIG_arg_fail(1)) SWIG_fail;
12945 {
7449af73 12946 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
12947 if (SWIG_arg_fail(2)) SWIG_fail;
12948 }
12949 {
7449af73 12950 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
12951 if (SWIG_arg_fail(3)) SWIG_fail;
12952 }
d55e5bfc
RD
12953 {
12954 PyThreadState* __tstate = wxPyBeginAllowThreads();
12955 (arg1)->SetMargins(arg2,arg3);
12956
12957 wxPyEndAllowThreads(__tstate);
12958 if (PyErr_Occurred()) SWIG_fail;
12959 }
12960 Py_INCREF(Py_None); resultobj = Py_None;
12961 return resultobj;
12962 fail:
12963 return NULL;
12964}
12965
12966
c32bde28 12967static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12968 PyObject *resultobj = NULL;
d55e5bfc
RD
12969 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12970 wxColour *arg2 = 0 ;
12971 wxColour temp2 ;
12972 PyObject * obj0 = 0 ;
12973 PyObject * obj1 = 0 ;
12974 char *kwnames[] = {
12975 (char *) "self",(char *) "col", NULL
12976 };
12977
12978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12979 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12980 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12981 {
12982 arg2 = &temp2;
12983 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12984 }
12985 {
12986 PyThreadState* __tstate = wxPyBeginAllowThreads();
12987 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
12988
12989 wxPyEndAllowThreads(__tstate);
12990 if (PyErr_Occurred()) SWIG_fail;
12991 }
12992 Py_INCREF(Py_None); resultobj = Py_None;
12993 return resultobj;
12994 fail:
12995 return NULL;
12996}
12997
12998
c32bde28 12999static PyObject * VListBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13000 PyObject *obj;
13001 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13002 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
13003 Py_INCREF(obj);
13004 return Py_BuildValue((char *)"");
13005}
c32bde28 13006static PyObject *_wrap_new_HtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13007 PyObject *resultobj = NULL;
d55e5bfc
RD
13008 wxWindow *arg1 = (wxWindow *) 0 ;
13009 int arg2 = (int) wxID_ANY ;
13010 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13011 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13012 wxSize const &arg4_defvalue = wxDefaultSize ;
13013 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13014 long arg5 = (long) 0 ;
13015 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
13016 wxString *arg6 = (wxString *) &arg6_defvalue ;
13017 wxPyHtmlListBox *result;
13018 wxPoint temp3 ;
13019 wxSize temp4 ;
ae8162c8 13020 bool temp6 = false ;
d55e5bfc
RD
13021 PyObject * obj0 = 0 ;
13022 PyObject * obj1 = 0 ;
13023 PyObject * obj2 = 0 ;
13024 PyObject * obj3 = 0 ;
13025 PyObject * obj4 = 0 ;
13026 PyObject * obj5 = 0 ;
13027 char *kwnames[] = {
13028 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13029 };
13030
13031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
13032 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13033 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 13034 if (obj1) {
093d3ff1 13035 {
7449af73 13036 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
13037 if (SWIG_arg_fail(2)) SWIG_fail;
13038 }
d55e5bfc
RD
13039 }
13040 if (obj2) {
13041 {
13042 arg3 = &temp3;
13043 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13044 }
13045 }
13046 if (obj3) {
13047 {
13048 arg4 = &temp4;
13049 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13050 }
13051 }
13052 if (obj4) {
093d3ff1 13053 {
7449af73 13054 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
13055 if (SWIG_arg_fail(5)) SWIG_fail;
13056 }
d55e5bfc
RD
13057 }
13058 if (obj5) {
13059 {
13060 arg6 = wxString_in_helper(obj5);
13061 if (arg6 == NULL) SWIG_fail;
ae8162c8 13062 temp6 = true;
d55e5bfc
RD
13063 }
13064 }
13065 {
0439c23b 13066 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13067 PyThreadState* __tstate = wxPyBeginAllowThreads();
13068 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13069
13070 wxPyEndAllowThreads(__tstate);
110da5b0 13071 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13072 }
13073 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
13074 {
13075 if (temp6)
13076 delete arg6;
13077 }
13078 return resultobj;
13079 fail:
13080 {
13081 if (temp6)
13082 delete arg6;
13083 }
13084 return NULL;
13085}
13086
13087
c32bde28 13088static PyObject *_wrap_new_PreHtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13089 PyObject *resultobj = NULL;
d55e5bfc
RD
13090 wxPyHtmlListBox *result;
13091 char *kwnames[] = {
13092 NULL
13093 };
13094
13095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
13096 {
0439c23b 13097 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13098 PyThreadState* __tstate = wxPyBeginAllowThreads();
13099 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
13100
13101 wxPyEndAllowThreads(__tstate);
110da5b0 13102 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13103 }
13104 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
13105 return resultobj;
13106 fail:
13107 return NULL;
13108}
13109
13110
c32bde28 13111static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13112 PyObject *resultobj = NULL;
d55e5bfc
RD
13113 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
13114 PyObject *arg2 = (PyObject *) 0 ;
13115 PyObject *arg3 = (PyObject *) 0 ;
13116 PyObject * obj0 = 0 ;
13117 PyObject * obj1 = 0 ;
13118 PyObject * obj2 = 0 ;
13119 char *kwnames[] = {
13120 (char *) "self",(char *) "self",(char *) "_class", NULL
13121 };
13122
13123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
13124 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
13125 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13126 arg2 = obj1;
13127 arg3 = obj2;
13128 {
13129 PyThreadState* __tstate = wxPyBeginAllowThreads();
13130 (arg1)->_setCallbackInfo(arg2,arg3);
13131
13132 wxPyEndAllowThreads(__tstate);
13133 if (PyErr_Occurred()) SWIG_fail;
13134 }
13135 Py_INCREF(Py_None); resultobj = Py_None;
13136 return resultobj;
13137 fail:
13138 return NULL;
13139}
13140
13141
c32bde28 13142static PyObject *_wrap_HtmlListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13143 PyObject *resultobj = NULL;
d55e5bfc
RD
13144 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
13145 wxWindow *arg2 = (wxWindow *) 0 ;
13146 int arg3 = (int) wxID_ANY ;
13147 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13148 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13149 wxSize const &arg5_defvalue = wxDefaultSize ;
13150 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13151 long arg6 = (long) 0 ;
13152 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
13153 wxString *arg7 = (wxString *) &arg7_defvalue ;
13154 bool result;
13155 wxPoint temp4 ;
13156 wxSize temp5 ;
ae8162c8 13157 bool temp7 = false ;
d55e5bfc
RD
13158 PyObject * obj0 = 0 ;
13159 PyObject * obj1 = 0 ;
13160 PyObject * obj2 = 0 ;
13161 PyObject * obj3 = 0 ;
13162 PyObject * obj4 = 0 ;
13163 PyObject * obj5 = 0 ;
13164 PyObject * obj6 = 0 ;
13165 char *kwnames[] = {
13166 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13167 };
13168
13169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
13170 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
13171 if (SWIG_arg_fail(1)) SWIG_fail;
13172 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13173 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 13174 if (obj2) {
093d3ff1 13175 {
7449af73 13176 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
13177 if (SWIG_arg_fail(3)) SWIG_fail;
13178 }
d55e5bfc
RD
13179 }
13180 if (obj3) {
13181 {
13182 arg4 = &temp4;
13183 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13184 }
13185 }
13186 if (obj4) {
13187 {
13188 arg5 = &temp5;
13189 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13190 }
13191 }
13192 if (obj5) {
093d3ff1 13193 {
7449af73 13194 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
13195 if (SWIG_arg_fail(6)) SWIG_fail;
13196 }
d55e5bfc
RD
13197 }
13198 if (obj6) {
13199 {
13200 arg7 = wxString_in_helper(obj6);
13201 if (arg7 == NULL) SWIG_fail;
ae8162c8 13202 temp7 = true;
d55e5bfc
RD
13203 }
13204 }
13205 {
13206 PyThreadState* __tstate = wxPyBeginAllowThreads();
13207 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13208
13209 wxPyEndAllowThreads(__tstate);
13210 if (PyErr_Occurred()) SWIG_fail;
13211 }
13212 {
13213 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13214 }
13215 {
13216 if (temp7)
13217 delete arg7;
13218 }
13219 return resultobj;
13220 fail:
13221 {
13222 if (temp7)
13223 delete arg7;
13224 }
13225 return NULL;
13226}
13227
13228
c32bde28 13229static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13230 PyObject *resultobj = NULL;
d55e5bfc
RD
13231 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
13232 PyObject * obj0 = 0 ;
13233 char *kwnames[] = {
13234 (char *) "self", NULL
13235 };
13236
13237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
13238 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
13239 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13240 {
13241 PyThreadState* __tstate = wxPyBeginAllowThreads();
13242 (arg1)->RefreshAll();
13243
13244 wxPyEndAllowThreads(__tstate);
13245 if (PyErr_Occurred()) SWIG_fail;
13246 }
13247 Py_INCREF(Py_None); resultobj = Py_None;
13248 return resultobj;
13249 fail:
13250 return NULL;
13251}
13252
13253
c32bde28 13254static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13255 PyObject *resultobj = NULL;
d55e5bfc
RD
13256 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
13257 size_t arg2 ;
13258 PyObject * obj0 = 0 ;
13259 PyObject * obj1 = 0 ;
13260 char *kwnames[] = {
13261 (char *) "self",(char *) "count", NULL
13262 };
13263
13264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13265 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
13266 if (SWIG_arg_fail(1)) SWIG_fail;
13267 {
7449af73 13268 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
13269 if (SWIG_arg_fail(2)) SWIG_fail;
13270 }
d55e5bfc
RD
13271 {
13272 PyThreadState* __tstate = wxPyBeginAllowThreads();
13273 (arg1)->SetItemCount(arg2);
13274
13275 wxPyEndAllowThreads(__tstate);
13276 if (PyErr_Occurred()) SWIG_fail;
13277 }
13278 Py_INCREF(Py_None); resultobj = Py_None;
13279 return resultobj;
13280 fail:
13281 return NULL;
13282}
13283
13284
c32bde28 13285static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13286 PyObject *resultobj = NULL;
c24da6d6
RD
13287 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
13288 wxFileSystem *result;
13289 PyObject * obj0 = 0 ;
13290 char *kwnames[] = {
13291 (char *) "self", NULL
13292 };
13293
13294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail;
093d3ff1
RD
13295 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
13296 if (SWIG_arg_fail(1)) SWIG_fail;
c24da6d6
RD
13297 {
13298 PyThreadState* __tstate = wxPyBeginAllowThreads();
13299 {
13300 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
13301 result = (wxFileSystem *) &_result_ref;
13302 }
13303
13304 wxPyEndAllowThreads(__tstate);
13305 if (PyErr_Occurred()) SWIG_fail;
13306 }
13307 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0);
13308 return resultobj;
13309 fail:
13310 return NULL;
13311}
13312
13313
c32bde28 13314static PyObject * HtmlListBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13315 PyObject *obj;
13316 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13317 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
13318 Py_INCREF(obj);
13319 return Py_BuildValue((char *)"");
13320}
c32bde28 13321static PyObject *_wrap_new_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13322 PyObject *resultobj = NULL;
5e483524 13323 wxPyTaskBarIcon *result;
d55e5bfc
RD
13324 char *kwnames[] = {
13325 NULL
13326 };
13327
13328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
13329 {
0439c23b 13330 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 13331 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 13332 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
d55e5bfc
RD
13333
13334 wxPyEndAllowThreads(__tstate);
110da5b0 13335 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 13336 }
5e483524 13337 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTaskBarIcon, 1);
d55e5bfc
RD
13338 return resultobj;
13339 fail:
13340 return NULL;
13341}
13342
13343
7e08d4ef
RD
13344static PyObject *_wrap_delete_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
13345 PyObject *resultobj = NULL;
13346 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13347 PyObject * obj0 = 0 ;
13348 char *kwnames[] = {
13349 (char *) "self", NULL
13350 };
13351
13352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
13353 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13354 if (SWIG_arg_fail(1)) SWIG_fail;
13355 {
13356 PyThreadState* __tstate = wxPyBeginAllowThreads();
13357 delete arg1;
13358
13359 wxPyEndAllowThreads(__tstate);
13360 if (PyErr_Occurred()) SWIG_fail;
13361 }
13362 Py_INCREF(Py_None); resultobj = Py_None;
13363 return resultobj;
13364 fail:
13365 return NULL;
13366}
13367
13368
5e483524 13369static PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13370 PyObject *resultobj = NULL;
5e483524
RD
13371 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13372 PyObject *arg2 = (PyObject *) 0 ;
13373 PyObject *arg3 = (PyObject *) 0 ;
13374 int arg4 ;
d55e5bfc 13375 PyObject * obj0 = 0 ;
5e483524
RD
13376 PyObject * obj1 = 0 ;
13377 PyObject * obj2 = 0 ;
13378 PyObject * obj3 = 0 ;
d55e5bfc 13379 char *kwnames[] = {
5e483524 13380 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
d55e5bfc
RD
13381 };
13382
5e483524 13383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
13384 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13385 if (SWIG_arg_fail(1)) SWIG_fail;
5e483524
RD
13386 arg2 = obj1;
13387 arg3 = obj2;
093d3ff1 13388 {
7449af73 13389 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
13390 if (SWIG_arg_fail(4)) SWIG_fail;
13391 }
d55e5bfc
RD
13392 {
13393 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 13394 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
d55e5bfc
RD
13395
13396 wxPyEndAllowThreads(__tstate);
13397 if (PyErr_Occurred()) SWIG_fail;
13398 }
13399 Py_INCREF(Py_None); resultobj = Py_None;
13400 return resultobj;
13401 fail:
13402 return NULL;
13403}
13404
13405
c32bde28 13406static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13407 PyObject *resultobj = NULL;
5e483524 13408 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d55e5bfc
RD
13409 PyObject * obj0 = 0 ;
13410 char *kwnames[] = {
13411 (char *) "self", NULL
13412 };
13413
13414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
093d3ff1
RD
13415 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13416 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13417 {
13418 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 13419 wxPyTaskBarIcon_Destroy(arg1);
d55e5bfc
RD
13420
13421 wxPyEndAllowThreads(__tstate);
13422 if (PyErr_Occurred()) SWIG_fail;
13423 }
13424 Py_INCREF(Py_None); resultobj = Py_None;
13425 return resultobj;
13426 fail:
13427 return NULL;
13428}
13429
13430
c32bde28 13431static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13432 PyObject *resultobj = NULL;
5e483524 13433 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d55e5bfc
RD
13434 bool result;
13435 PyObject * obj0 = 0 ;
13436 char *kwnames[] = {
13437 (char *) "self", NULL
13438 };
13439
13440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
093d3ff1
RD
13441 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13442 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13443 {
13444 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 13445 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
d55e5bfc
RD
13446
13447 wxPyEndAllowThreads(__tstate);
13448 if (PyErr_Occurred()) SWIG_fail;
13449 }
13450 {
13451 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13452 }
13453 return resultobj;
13454 fail:
13455 return NULL;
13456}
13457
13458
c32bde28 13459static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13460 PyObject *resultobj = NULL;
5e483524 13461 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d55e5bfc
RD
13462 bool result;
13463 PyObject * obj0 = 0 ;
13464 char *kwnames[] = {
13465 (char *) "self", NULL
13466 };
13467
13468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
093d3ff1
RD
13469 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13470 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13471 {
13472 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 13473 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
d55e5bfc
RD
13474
13475 wxPyEndAllowThreads(__tstate);
13476 if (PyErr_Occurred()) SWIG_fail;
13477 }
13478 {
13479 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13480 }
13481 return resultobj;
13482 fail:
13483 return NULL;
13484}
13485
13486
c32bde28 13487static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13488 PyObject *resultobj = NULL;
5e483524 13489 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d55e5bfc
RD
13490 wxIcon *arg2 = 0 ;
13491 wxString const &arg3_defvalue = wxPyEmptyString ;
13492 wxString *arg3 = (wxString *) &arg3_defvalue ;
13493 bool result;
ae8162c8 13494 bool temp3 = false ;
d55e5bfc
RD
13495 PyObject * obj0 = 0 ;
13496 PyObject * obj1 = 0 ;
13497 PyObject * obj2 = 0 ;
13498 char *kwnames[] = {
13499 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
13500 };
13501
13502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
13503 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13504 if (SWIG_arg_fail(1)) SWIG_fail;
13505 {
13506 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
13507 if (SWIG_arg_fail(2)) SWIG_fail;
13508 if (arg2 == NULL) {
13509 SWIG_null_ref("wxIcon");
13510 }
13511 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
13512 }
13513 if (obj2) {
13514 {
13515 arg3 = wxString_in_helper(obj2);
13516 if (arg3 == NULL) SWIG_fail;
ae8162c8 13517 temp3 = true;
d55e5bfc
RD
13518 }
13519 }
13520 {
13521 PyThreadState* __tstate = wxPyBeginAllowThreads();
13522 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
13523
13524 wxPyEndAllowThreads(__tstate);
13525 if (PyErr_Occurred()) SWIG_fail;
13526 }
13527 {
13528 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13529 }
13530 {
13531 if (temp3)
13532 delete arg3;
13533 }
13534 return resultobj;
13535 fail:
13536 {
13537 if (temp3)
13538 delete arg3;
13539 }
13540 return NULL;
13541}
13542
13543
c32bde28 13544static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13545 PyObject *resultobj = NULL;
5e483524 13546 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d55e5bfc
RD
13547 bool result;
13548 PyObject * obj0 = 0 ;
13549 char *kwnames[] = {
13550 (char *) "self", NULL
13551 };
13552
13553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
093d3ff1
RD
13554 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13555 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13556 {
13557 PyThreadState* __tstate = wxPyBeginAllowThreads();
13558 result = (bool)(arg1)->RemoveIcon();
13559
13560 wxPyEndAllowThreads(__tstate);
13561 if (PyErr_Occurred()) SWIG_fail;
13562 }
13563 {
13564 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13565 }
13566 return resultobj;
13567 fail:
13568 return NULL;
13569}
13570
13571
c32bde28 13572static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13573 PyObject *resultobj = NULL;
5e483524 13574 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d55e5bfc
RD
13575 wxMenu *arg2 = (wxMenu *) 0 ;
13576 bool result;
13577 PyObject * obj0 = 0 ;
13578 PyObject * obj1 = 0 ;
13579 char *kwnames[] = {
13580 (char *) "self",(char *) "menu", NULL
13581 };
13582
13583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13585 if (SWIG_arg_fail(1)) SWIG_fail;
13586 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
13587 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
13588 {
13589 PyThreadState* __tstate = wxPyBeginAllowThreads();
13590 result = (bool)(arg1)->PopupMenu(arg2);
13591
13592 wxPyEndAllowThreads(__tstate);
13593 if (PyErr_Occurred()) SWIG_fail;
13594 }
13595 {
13596 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13597 }
13598 return resultobj;
13599 fail:
13600 return NULL;
13601}
13602
13603
c32bde28 13604static PyObject * TaskBarIcon_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13605 PyObject *obj;
13606 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5e483524 13607 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon, obj);
d55e5bfc
RD
13608 Py_INCREF(obj);
13609 return Py_BuildValue((char *)"");
13610}
c32bde28 13611static PyObject *_wrap_new_TaskBarIconEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13612 PyObject *resultobj = NULL;
d55e5bfc
RD
13613 wxEventType arg1 ;
13614 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
13615 wxTaskBarIconEvent *result;
13616 PyObject * obj0 = 0 ;
13617 PyObject * obj1 = 0 ;
13618 char *kwnames[] = {
13619 (char *) "evtType",(char *) "tbIcon", NULL
13620 };
13621
13622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1 13623 {
7449af73 13624 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
093d3ff1
RD
13625 if (SWIG_arg_fail(1)) SWIG_fail;
13626 }
13627 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13628 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
13629 {
13630 PyThreadState* __tstate = wxPyBeginAllowThreads();
13631 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
13632
13633 wxPyEndAllowThreads(__tstate);
13634 if (PyErr_Occurred()) SWIG_fail;
13635 }
13636 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
13637 return resultobj;
13638 fail:
13639 return NULL;
13640}
13641
13642
c32bde28 13643static PyObject * TaskBarIconEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13644 PyObject *obj;
13645 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13646 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
13647 Py_INCREF(obj);
13648 return Py_BuildValue((char *)"");
13649}
c32bde28 13650static int _wrap_FileSelectorPromptStr_set(PyObject *) {
d55e5bfc
RD
13651 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
13652 return 1;
13653}
13654
13655
093d3ff1 13656static PyObject *_wrap_FileSelectorPromptStr_get(void) {
7449af73 13657 PyObject *pyobj = NULL;
d55e5bfc
RD
13658
13659 {
13660#if wxUSE_UNICODE
13661 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
13662#else
13663 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
13664#endif
13665 }
13666 return pyobj;
13667}
13668
13669
c32bde28 13670static int _wrap_DirSelectorPromptStr_set(PyObject *) {
d55e5bfc
RD
13671 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
13672 return 1;
13673}
13674
13675
093d3ff1 13676static PyObject *_wrap_DirSelectorPromptStr_get(void) {
7449af73 13677 PyObject *pyobj = NULL;
d55e5bfc
RD
13678
13679 {
13680#if wxUSE_UNICODE
13681 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
13682#else
13683 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
13684#endif
13685 }
13686 return pyobj;
13687}
13688
13689
c32bde28 13690static int _wrap_DirDialogNameStr_set(PyObject *) {
d55e5bfc
RD
13691 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
13692 return 1;
13693}
13694
13695
093d3ff1 13696static PyObject *_wrap_DirDialogNameStr_get(void) {
7449af73 13697 PyObject *pyobj = NULL;
d55e5bfc
RD
13698
13699 {
13700#if wxUSE_UNICODE
13701 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
13702#else
13703 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
13704#endif
13705 }
13706 return pyobj;
13707}
13708
13709
c32bde28 13710static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
d55e5bfc
RD
13711 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
13712 return 1;
13713}
13714
13715
093d3ff1 13716static PyObject *_wrap_FileSelectorDefaultWildcardStr_get(void) {
7449af73 13717 PyObject *pyobj = NULL;
d55e5bfc
RD
13718
13719 {
13720#if wxUSE_UNICODE
13721 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
13722#else
13723 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
13724#endif
13725 }
13726 return pyobj;
13727}
13728
13729
c32bde28 13730static int _wrap_GetTextFromUserPromptStr_set(PyObject *) {
d55e5bfc
RD
13731 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
13732 return 1;
13733}
13734
13735
093d3ff1 13736static PyObject *_wrap_GetTextFromUserPromptStr_get(void) {
7449af73 13737 PyObject *pyobj = NULL;
d55e5bfc
RD
13738
13739 {
13740#if wxUSE_UNICODE
13741 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
13742#else
13743 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
13744#endif
13745 }
13746 return pyobj;
13747}
13748
13749
c32bde28 13750static int _wrap_MessageBoxCaptionStr_set(PyObject *) {
d55e5bfc
RD
13751 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
13752 return 1;
13753}
13754
13755
093d3ff1 13756static PyObject *_wrap_MessageBoxCaptionStr_get(void) {
7449af73 13757 PyObject *pyobj = NULL;
d55e5bfc
RD
13758
13759 {
13760#if wxUSE_UNICODE
13761 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
13762#else
13763 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
13764#endif
13765 }
13766 return pyobj;
13767}
13768
13769
c32bde28 13770static PyObject *_wrap_new_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13771 PyObject *resultobj = NULL;
d55e5bfc
RD
13772 wxColourData *result;
13773 char *kwnames[] = {
13774 NULL
13775 };
13776
13777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
13778 {
13779 PyThreadState* __tstate = wxPyBeginAllowThreads();
13780 result = (wxColourData *)new wxColourData();
13781
13782 wxPyEndAllowThreads(__tstate);
13783 if (PyErr_Occurred()) SWIG_fail;
13784 }
13785 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
13786 return resultobj;
13787 fail:
13788 return NULL;
13789}
13790
13791
c32bde28 13792static PyObject *_wrap_delete_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13793 PyObject *resultobj = NULL;
d55e5bfc
RD
13794 wxColourData *arg1 = (wxColourData *) 0 ;
13795 PyObject * obj0 = 0 ;
13796 char *kwnames[] = {
13797 (char *) "self", NULL
13798 };
13799
13800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
093d3ff1
RD
13801 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13802 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13803 {
13804 PyThreadState* __tstate = wxPyBeginAllowThreads();
13805 delete arg1;
13806
13807 wxPyEndAllowThreads(__tstate);
13808 if (PyErr_Occurred()) SWIG_fail;
13809 }
13810 Py_INCREF(Py_None); resultobj = Py_None;
13811 return resultobj;
13812 fail:
13813 return NULL;
13814}
13815
13816
c32bde28 13817static PyObject *_wrap_ColourData_GetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13818 PyObject *resultobj = NULL;
d55e5bfc
RD
13819 wxColourData *arg1 = (wxColourData *) 0 ;
13820 bool result;
13821 PyObject * obj0 = 0 ;
13822 char *kwnames[] = {
13823 (char *) "self", NULL
13824 };
13825
13826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
093d3ff1
RD
13827 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13828 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13829 {
13830 PyThreadState* __tstate = wxPyBeginAllowThreads();
13831 result = (bool)(arg1)->GetChooseFull();
13832
13833 wxPyEndAllowThreads(__tstate);
13834 if (PyErr_Occurred()) SWIG_fail;
13835 }
13836 {
13837 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13838 }
13839 return resultobj;
13840 fail:
13841 return NULL;
13842}
13843
13844
c32bde28 13845static PyObject *_wrap_ColourData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13846 PyObject *resultobj = NULL;
d55e5bfc
RD
13847 wxColourData *arg1 = (wxColourData *) 0 ;
13848 wxColour result;
13849 PyObject * obj0 = 0 ;
13850 char *kwnames[] = {
13851 (char *) "self", NULL
13852 };
13853
13854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
13855 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13856 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13857 {
13858 PyThreadState* __tstate = wxPyBeginAllowThreads();
13859 result = (arg1)->GetColour();
13860
13861 wxPyEndAllowThreads(__tstate);
13862 if (PyErr_Occurred()) SWIG_fail;
13863 }
13864 {
13865 wxColour * resultptr;
7449af73 13866 resultptr = new wxColour(static_cast<wxColour & >(result));
d55e5bfc
RD
13867 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13868 }
13869 return resultobj;
13870 fail:
13871 return NULL;
13872}
13873
13874
c32bde28 13875static PyObject *_wrap_ColourData_GetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13876 PyObject *resultobj = NULL;
d55e5bfc
RD
13877 wxColourData *arg1 = (wxColourData *) 0 ;
13878 int arg2 ;
13879 wxColour result;
13880 PyObject * obj0 = 0 ;
13881 PyObject * obj1 = 0 ;
13882 char *kwnames[] = {
13883 (char *) "self",(char *) "i", NULL
13884 };
13885
13886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13887 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13888 if (SWIG_arg_fail(1)) SWIG_fail;
13889 {
7449af73 13890 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
13891 if (SWIG_arg_fail(2)) SWIG_fail;
13892 }
d55e5bfc
RD
13893 {
13894 PyThreadState* __tstate = wxPyBeginAllowThreads();
13895 result = (arg1)->GetCustomColour(arg2);
13896
13897 wxPyEndAllowThreads(__tstate);
13898 if (PyErr_Occurred()) SWIG_fail;
13899 }
13900 {
13901 wxColour * resultptr;
7449af73 13902 resultptr = new wxColour(static_cast<wxColour & >(result));
d55e5bfc
RD
13903 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13904 }
13905 return resultobj;
13906 fail:
13907 return NULL;
13908}
13909
13910
c32bde28 13911static PyObject *_wrap_ColourData_SetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13912 PyObject *resultobj = NULL;
d55e5bfc
RD
13913 wxColourData *arg1 = (wxColourData *) 0 ;
13914 int arg2 ;
13915 PyObject * obj0 = 0 ;
13916 PyObject * obj1 = 0 ;
13917 char *kwnames[] = {
13918 (char *) "self",(char *) "flag", NULL
13919 };
13920
13921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13923 if (SWIG_arg_fail(1)) SWIG_fail;
13924 {
7449af73 13925 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
13926 if (SWIG_arg_fail(2)) SWIG_fail;
13927 }
d55e5bfc
RD
13928 {
13929 PyThreadState* __tstate = wxPyBeginAllowThreads();
13930 (arg1)->SetChooseFull(arg2);
13931
13932 wxPyEndAllowThreads(__tstate);
13933 if (PyErr_Occurred()) SWIG_fail;
13934 }
13935 Py_INCREF(Py_None); resultobj = Py_None;
13936 return resultobj;
13937 fail:
13938 return NULL;
13939}
13940
13941
c32bde28 13942static PyObject *_wrap_ColourData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13943 PyObject *resultobj = NULL;
d55e5bfc
RD
13944 wxColourData *arg1 = (wxColourData *) 0 ;
13945 wxColour *arg2 = 0 ;
13946 wxColour temp2 ;
13947 PyObject * obj0 = 0 ;
13948 PyObject * obj1 = 0 ;
13949 char *kwnames[] = {
13950 (char *) "self",(char *) "colour", NULL
13951 };
13952
13953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13955 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13956 {
13957 arg2 = &temp2;
13958 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13959 }
13960 {
13961 PyThreadState* __tstate = wxPyBeginAllowThreads();
13962 (arg1)->SetColour((wxColour const &)*arg2);
13963
13964 wxPyEndAllowThreads(__tstate);
13965 if (PyErr_Occurred()) SWIG_fail;
13966 }
13967 Py_INCREF(Py_None); resultobj = Py_None;
13968 return resultobj;
13969 fail:
13970 return NULL;
13971}
13972
13973
c32bde28 13974static PyObject *_wrap_ColourData_SetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13975 PyObject *resultobj = NULL;
d55e5bfc
RD
13976 wxColourData *arg1 = (wxColourData *) 0 ;
13977 int arg2 ;
13978 wxColour *arg3 = 0 ;
13979 wxColour temp3 ;
13980 PyObject * obj0 = 0 ;
13981 PyObject * obj1 = 0 ;
13982 PyObject * obj2 = 0 ;
13983 char *kwnames[] = {
13984 (char *) "self",(char *) "i",(char *) "colour", NULL
13985 };
13986
13987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
13988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13989 if (SWIG_arg_fail(1)) SWIG_fail;
13990 {
7449af73 13991 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
13992 if (SWIG_arg_fail(2)) SWIG_fail;
13993 }
d55e5bfc
RD
13994 {
13995 arg3 = &temp3;
13996 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
13997 }
13998 {
13999 PyThreadState* __tstate = wxPyBeginAllowThreads();
14000 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
14001
14002 wxPyEndAllowThreads(__tstate);
14003 if (PyErr_Occurred()) SWIG_fail;
14004 }
14005 Py_INCREF(Py_None); resultobj = Py_None;
14006 return resultobj;
14007 fail:
14008 return NULL;
14009}
14010
14011
c32bde28 14012static PyObject * ColourData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14013 PyObject *obj;
14014 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14015 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
14016 Py_INCREF(obj);
14017 return Py_BuildValue((char *)"");
14018}
c32bde28 14019static PyObject *_wrap_new_ColourDialog(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14020 PyObject *resultobj = NULL;
d55e5bfc
RD
14021 wxWindow *arg1 = (wxWindow *) 0 ;
14022 wxColourData *arg2 = (wxColourData *) NULL ;
14023 wxColourDialog *result;
14024 PyObject * obj0 = 0 ;
14025 PyObject * obj1 = 0 ;
14026 char *kwnames[] = {
14027 (char *) "parent",(char *) "data", NULL
14028 };
14029
14030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14031 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14032 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 14033 if (obj1) {
093d3ff1
RD
14034 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
14035 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
14036 }
14037 {
0439c23b 14038 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14039 PyThreadState* __tstate = wxPyBeginAllowThreads();
14040 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
14041
14042 wxPyEndAllowThreads(__tstate);
110da5b0 14043 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14044 }
14045 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
14046 return resultobj;
14047 fail:
14048 return NULL;
14049}
14050
14051
c32bde28 14052static PyObject *_wrap_ColourDialog_GetColourData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14053 PyObject *resultobj = NULL;
d55e5bfc
RD
14054 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
14055 wxColourData *result;
14056 PyObject * obj0 = 0 ;
14057 char *kwnames[] = {
14058 (char *) "self", NULL
14059 };
14060
14061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
093d3ff1
RD
14062 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourDialog, SWIG_POINTER_EXCEPTION | 0);
14063 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14064 {
14065 PyThreadState* __tstate = wxPyBeginAllowThreads();
14066 {
14067 wxColourData &_result_ref = (arg1)->GetColourData();
14068 result = (wxColourData *) &_result_ref;
14069 }
14070
14071 wxPyEndAllowThreads(__tstate);
14072 if (PyErr_Occurred()) SWIG_fail;
14073 }
14074 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
14075 return resultobj;
14076 fail:
14077 return NULL;
14078}
14079
14080
c32bde28 14081static PyObject * ColourDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14082 PyObject *obj;
14083 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14084 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
14085 Py_INCREF(obj);
14086 return Py_BuildValue((char *)"");
14087}
7449af73
RD
14088static PyObject *_wrap_GetColourFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
14089 PyObject *resultobj = NULL;
14090 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
14091 wxColour const &arg2_defvalue = wxNullColour ;
14092 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
14093 wxString const &arg3_defvalue = wxPyEmptyString ;
14094 wxString *arg3 = (wxString *) &arg3_defvalue ;
14095 wxColour result;
14096 wxColour temp2 ;
14097 bool temp3 = false ;
14098 PyObject * obj0 = 0 ;
14099 PyObject * obj1 = 0 ;
14100 PyObject * obj2 = 0 ;
14101 char *kwnames[] = {
14102 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
14103 };
14104
14105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) goto fail;
14106 if (obj0) {
14107 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14108 if (SWIG_arg_fail(1)) SWIG_fail;
14109 }
14110 if (obj1) {
14111 {
14112 arg2 = &temp2;
14113 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
14114 }
14115 }
14116 if (obj2) {
14117 {
14118 arg3 = wxString_in_helper(obj2);
14119 if (arg3 == NULL) SWIG_fail;
14120 temp3 = true;
14121 }
14122 }
14123 {
14124 PyThreadState* __tstate = wxPyBeginAllowThreads();
14125 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
14126
14127 wxPyEndAllowThreads(__tstate);
14128 if (PyErr_Occurred()) SWIG_fail;
14129 }
14130 {
14131 wxColour * resultptr;
14132 resultptr = new wxColour(static_cast<wxColour & >(result));
14133 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
14134 }
14135 {
14136 if (temp3)
14137 delete arg3;
14138 }
14139 return resultobj;
14140 fail:
14141 {
14142 if (temp3)
14143 delete arg3;
14144 }
14145 return NULL;
14146}
14147
14148
c32bde28 14149static PyObject *_wrap_new_DirDialog(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14150 PyObject *resultobj = NULL;
d55e5bfc
RD
14151 wxWindow *arg1 = (wxWindow *) 0 ;
14152 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
14153 wxString *arg2 = (wxString *) &arg2_defvalue ;
14154 wxString const &arg3_defvalue = wxPyEmptyString ;
14155 wxString *arg3 = (wxString *) &arg3_defvalue ;
14156 long arg4 = (long) 0 ;
14157 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14158 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14159 wxSize const &arg6_defvalue = wxDefaultSize ;
14160 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14161 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
14162 wxString *arg7 = (wxString *) &arg7_defvalue ;
14163 wxDirDialog *result;
ae8162c8
RD
14164 bool temp2 = false ;
14165 bool temp3 = false ;
d55e5bfc
RD
14166 wxPoint temp5 ;
14167 wxSize temp6 ;
ae8162c8 14168 bool temp7 = false ;
d55e5bfc
RD
14169 PyObject * obj0 = 0 ;
14170 PyObject * obj1 = 0 ;
14171 PyObject * obj2 = 0 ;
14172 PyObject * obj3 = 0 ;
14173 PyObject * obj4 = 0 ;
14174 PyObject * obj5 = 0 ;
14175 PyObject * obj6 = 0 ;
14176 char *kwnames[] = {
14177 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
14178 };
14179
14180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
14181 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14182 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14183 if (obj1) {
14184 {
14185 arg2 = wxString_in_helper(obj1);
14186 if (arg2 == NULL) SWIG_fail;
ae8162c8 14187 temp2 = true;
d55e5bfc
RD
14188 }
14189 }
14190 if (obj2) {
14191 {
14192 arg3 = wxString_in_helper(obj2);
14193 if (arg3 == NULL) SWIG_fail;
ae8162c8 14194 temp3 = true;
d55e5bfc
RD
14195 }
14196 }
14197 if (obj3) {
093d3ff1 14198 {
7449af73 14199 arg4 = static_cast<long >(SWIG_As_long(obj3));
093d3ff1
RD
14200 if (SWIG_arg_fail(4)) SWIG_fail;
14201 }
d55e5bfc
RD
14202 }
14203 if (obj4) {
14204 {
14205 arg5 = &temp5;
14206 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14207 }
14208 }
14209 if (obj5) {
14210 {
14211 arg6 = &temp6;
14212 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14213 }
14214 }
14215 if (obj6) {
14216 {
14217 arg7 = wxString_in_helper(obj6);
14218 if (arg7 == NULL) SWIG_fail;
ae8162c8 14219 temp7 = true;
d55e5bfc
RD
14220 }
14221 }
14222 {
0439c23b 14223 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14224 PyThreadState* __tstate = wxPyBeginAllowThreads();
14225 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
14226
14227 wxPyEndAllowThreads(__tstate);
110da5b0 14228 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14229 }
14230 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
14231 {
14232 if (temp2)
14233 delete arg2;
14234 }
14235 {
14236 if (temp3)
14237 delete arg3;
14238 }
14239 {
14240 if (temp7)
14241 delete arg7;
14242 }
14243 return resultobj;
14244 fail:
14245 {
14246 if (temp2)
14247 delete arg2;
14248 }
14249 {
14250 if (temp3)
14251 delete arg3;
14252 }
14253 {
14254 if (temp7)
14255 delete arg7;
14256 }
14257 return NULL;
14258}
14259
14260
c32bde28 14261static PyObject *_wrap_DirDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14262 PyObject *resultobj = NULL;
d55e5bfc
RD
14263 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
14264 wxString result;
14265 PyObject * obj0 = 0 ;
14266 char *kwnames[] = {
14267 (char *) "self", NULL
14268 };
14269
14270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
093d3ff1
RD
14271 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
14272 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14273 {
14274 PyThreadState* __tstate = wxPyBeginAllowThreads();
14275 result = (arg1)->GetPath();
14276
14277 wxPyEndAllowThreads(__tstate);
14278 if (PyErr_Occurred()) SWIG_fail;
14279 }
14280 {
14281#if wxUSE_UNICODE
14282 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14283#else
14284 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14285#endif
14286 }
14287 return resultobj;
14288 fail:
14289 return NULL;
14290}
14291
14292
c32bde28 14293static PyObject *_wrap_DirDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14294 PyObject *resultobj = NULL;
d55e5bfc
RD
14295 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
14296 wxString result;
14297 PyObject * obj0 = 0 ;
14298 char *kwnames[] = {
14299 (char *) "self", NULL
14300 };
14301
14302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
093d3ff1
RD
14303 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
14304 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14305 {
14306 PyThreadState* __tstate = wxPyBeginAllowThreads();
14307 result = (arg1)->GetMessage();
14308
14309 wxPyEndAllowThreads(__tstate);
14310 if (PyErr_Occurred()) SWIG_fail;
14311 }
14312 {
14313#if wxUSE_UNICODE
14314 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14315#else
14316 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14317#endif
14318 }
14319 return resultobj;
14320 fail:
14321 return NULL;
14322}
14323
14324
c32bde28 14325static PyObject *_wrap_DirDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14326 PyObject *resultobj = NULL;
d55e5bfc
RD
14327 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
14328 long result;
14329 PyObject * obj0 = 0 ;
14330 char *kwnames[] = {
14331 (char *) "self", NULL
14332 };
14333
14334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
093d3ff1
RD
14335 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
14336 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14337 {
14338 PyThreadState* __tstate = wxPyBeginAllowThreads();
14339 result = (long)(arg1)->GetStyle();
14340
14341 wxPyEndAllowThreads(__tstate);
14342 if (PyErr_Occurred()) SWIG_fail;
14343 }
093d3ff1 14344 {
7449af73 14345 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 14346 }
d55e5bfc
RD
14347 return resultobj;
14348 fail:
14349 return NULL;
14350}
14351
14352
c32bde28 14353static PyObject *_wrap_DirDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14354 PyObject *resultobj = NULL;
d55e5bfc
RD
14355 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
14356 wxString *arg2 = 0 ;
ae8162c8 14357 bool temp2 = false ;
d55e5bfc
RD
14358 PyObject * obj0 = 0 ;
14359 PyObject * obj1 = 0 ;
14360 char *kwnames[] = {
14361 (char *) "self",(char *) "message", NULL
14362 };
14363
14364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14365 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
14366 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14367 {
14368 arg2 = wxString_in_helper(obj1);
14369 if (arg2 == NULL) SWIG_fail;
ae8162c8 14370 temp2 = true;
d55e5bfc
RD
14371 }
14372 {
14373 PyThreadState* __tstate = wxPyBeginAllowThreads();
14374 (arg1)->SetMessage((wxString const &)*arg2);
14375
14376 wxPyEndAllowThreads(__tstate);
14377 if (PyErr_Occurred()) SWIG_fail;
14378 }
14379 Py_INCREF(Py_None); resultobj = Py_None;
14380 {
14381 if (temp2)
14382 delete arg2;
14383 }
14384 return resultobj;
14385 fail:
14386 {
14387 if (temp2)
14388 delete arg2;
14389 }
14390 return NULL;
14391}
14392
14393
c32bde28 14394static PyObject *_wrap_DirDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14395 PyObject *resultobj = NULL;
d55e5bfc
RD
14396 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
14397 wxString *arg2 = 0 ;
ae8162c8 14398 bool temp2 = false ;
d55e5bfc
RD
14399 PyObject * obj0 = 0 ;
14400 PyObject * obj1 = 0 ;
14401 char *kwnames[] = {
14402 (char *) "self",(char *) "path", NULL
14403 };
14404
14405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14406 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
14407 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14408 {
14409 arg2 = wxString_in_helper(obj1);
14410 if (arg2 == NULL) SWIG_fail;
ae8162c8 14411 temp2 = true;
d55e5bfc
RD
14412 }
14413 {
14414 PyThreadState* __tstate = wxPyBeginAllowThreads();
14415 (arg1)->SetPath((wxString const &)*arg2);
14416
14417 wxPyEndAllowThreads(__tstate);
14418 if (PyErr_Occurred()) SWIG_fail;
14419 }
14420 Py_INCREF(Py_None); resultobj = Py_None;
14421 {
14422 if (temp2)
14423 delete arg2;
14424 }
14425 return resultobj;
14426 fail:
14427 {
14428 if (temp2)
14429 delete arg2;
14430 }
14431 return NULL;
14432}
14433
14434
c32bde28 14435static PyObject * DirDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14436 PyObject *obj;
14437 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14438 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
14439 Py_INCREF(obj);
14440 return Py_BuildValue((char *)"");
14441}
c32bde28 14442static PyObject *_wrap_new_FileDialog(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14443 PyObject *resultobj = NULL;
d55e5bfc
RD
14444 wxWindow *arg1 = (wxWindow *) 0 ;
14445 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
14446 wxString *arg2 = (wxString *) &arg2_defvalue ;
14447 wxString const &arg3_defvalue = wxPyEmptyString ;
14448 wxString *arg3 = (wxString *) &arg3_defvalue ;
14449 wxString const &arg4_defvalue = wxPyEmptyString ;
14450 wxString *arg4 = (wxString *) &arg4_defvalue ;
14451 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
14452 wxString *arg5 = (wxString *) &arg5_defvalue ;
14453 long arg6 = (long) 0 ;
14454 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14455 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14456 wxFileDialog *result;
ae8162c8
RD
14457 bool temp2 = false ;
14458 bool temp3 = false ;
14459 bool temp4 = false ;
14460 bool temp5 = false ;
d55e5bfc
RD
14461 wxPoint temp7 ;
14462 PyObject * obj0 = 0 ;
14463 PyObject * obj1 = 0 ;
14464 PyObject * obj2 = 0 ;
14465 PyObject * obj3 = 0 ;
14466 PyObject * obj4 = 0 ;
14467 PyObject * obj5 = 0 ;
14468 PyObject * obj6 = 0 ;
14469 char *kwnames[] = {
14470 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
14471 };
14472
14473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
14474 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14475 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14476 if (obj1) {
14477 {
14478 arg2 = wxString_in_helper(obj1);
14479 if (arg2 == NULL) SWIG_fail;
ae8162c8 14480 temp2 = true;
d55e5bfc
RD
14481 }
14482 }
14483 if (obj2) {
14484 {
14485 arg3 = wxString_in_helper(obj2);
14486 if (arg3 == NULL) SWIG_fail;
ae8162c8 14487 temp3 = true;
d55e5bfc
RD
14488 }
14489 }
14490 if (obj3) {
14491 {
14492 arg4 = wxString_in_helper(obj3);
14493 if (arg4 == NULL) SWIG_fail;
ae8162c8 14494 temp4 = true;
d55e5bfc
RD
14495 }
14496 }
14497 if (obj4) {
14498 {
14499 arg5 = wxString_in_helper(obj4);
14500 if (arg5 == NULL) SWIG_fail;
ae8162c8 14501 temp5 = true;
d55e5bfc
RD
14502 }
14503 }
14504 if (obj5) {
093d3ff1 14505 {
7449af73 14506 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
14507 if (SWIG_arg_fail(6)) SWIG_fail;
14508 }
d55e5bfc
RD
14509 }
14510 if (obj6) {
14511 {
14512 arg7 = &temp7;
14513 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
14514 }
14515 }
14516 {
0439c23b 14517 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14518 PyThreadState* __tstate = wxPyBeginAllowThreads();
14519 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
14520
14521 wxPyEndAllowThreads(__tstate);
110da5b0 14522 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14523 }
14524 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
14525 {
14526 if (temp2)
14527 delete arg2;
14528 }
14529 {
14530 if (temp3)
14531 delete arg3;
14532 }
14533 {
14534 if (temp4)
14535 delete arg4;
14536 }
14537 {
14538 if (temp5)
14539 delete arg5;
14540 }
14541 return resultobj;
14542 fail:
14543 {
14544 if (temp2)
14545 delete arg2;
14546 }
14547 {
14548 if (temp3)
14549 delete arg3;
14550 }
14551 {
14552 if (temp4)
14553 delete arg4;
14554 }
14555 {
14556 if (temp5)
14557 delete arg5;
14558 }
14559 return NULL;
14560}
14561
14562
c32bde28 14563static PyObject *_wrap_FileDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14564 PyObject *resultobj = NULL;
d55e5bfc
RD
14565 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14566 wxString *arg2 = 0 ;
ae8162c8 14567 bool temp2 = false ;
d55e5bfc
RD
14568 PyObject * obj0 = 0 ;
14569 PyObject * obj1 = 0 ;
14570 char *kwnames[] = {
14571 (char *) "self",(char *) "message", NULL
14572 };
14573
14574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14575 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14576 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14577 {
14578 arg2 = wxString_in_helper(obj1);
14579 if (arg2 == NULL) SWIG_fail;
ae8162c8 14580 temp2 = true;
d55e5bfc
RD
14581 }
14582 {
14583 PyThreadState* __tstate = wxPyBeginAllowThreads();
14584 (arg1)->SetMessage((wxString const &)*arg2);
14585
14586 wxPyEndAllowThreads(__tstate);
14587 if (PyErr_Occurred()) SWIG_fail;
14588 }
14589 Py_INCREF(Py_None); resultobj = Py_None;
14590 {
14591 if (temp2)
14592 delete arg2;
14593 }
14594 return resultobj;
14595 fail:
14596 {
14597 if (temp2)
14598 delete arg2;
14599 }
14600 return NULL;
14601}
14602
14603
c32bde28 14604static PyObject *_wrap_FileDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14605 PyObject *resultobj = NULL;
d55e5bfc
RD
14606 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14607 wxString *arg2 = 0 ;
ae8162c8 14608 bool temp2 = false ;
d55e5bfc
RD
14609 PyObject * obj0 = 0 ;
14610 PyObject * obj1 = 0 ;
14611 char *kwnames[] = {
14612 (char *) "self",(char *) "path", NULL
14613 };
14614
14615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14616 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14617 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14618 {
14619 arg2 = wxString_in_helper(obj1);
14620 if (arg2 == NULL) SWIG_fail;
ae8162c8 14621 temp2 = true;
d55e5bfc
RD
14622 }
14623 {
14624 PyThreadState* __tstate = wxPyBeginAllowThreads();
14625 (arg1)->SetPath((wxString const &)*arg2);
14626
14627 wxPyEndAllowThreads(__tstate);
14628 if (PyErr_Occurred()) SWIG_fail;
14629 }
14630 Py_INCREF(Py_None); resultobj = Py_None;
14631 {
14632 if (temp2)
14633 delete arg2;
14634 }
14635 return resultobj;
14636 fail:
14637 {
14638 if (temp2)
14639 delete arg2;
14640 }
14641 return NULL;
14642}
14643
14644
c32bde28 14645static PyObject *_wrap_FileDialog_SetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14646 PyObject *resultobj = NULL;
d55e5bfc
RD
14647 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14648 wxString *arg2 = 0 ;
ae8162c8 14649 bool temp2 = false ;
d55e5bfc
RD
14650 PyObject * obj0 = 0 ;
14651 PyObject * obj1 = 0 ;
14652 char *kwnames[] = {
14653 (char *) "self",(char *) "dir", NULL
14654 };
14655
14656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14657 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14658 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14659 {
14660 arg2 = wxString_in_helper(obj1);
14661 if (arg2 == NULL) SWIG_fail;
ae8162c8 14662 temp2 = true;
d55e5bfc
RD
14663 }
14664 {
14665 PyThreadState* __tstate = wxPyBeginAllowThreads();
14666 (arg1)->SetDirectory((wxString const &)*arg2);
14667
14668 wxPyEndAllowThreads(__tstate);
14669 if (PyErr_Occurred()) SWIG_fail;
14670 }
14671 Py_INCREF(Py_None); resultobj = Py_None;
14672 {
14673 if (temp2)
14674 delete arg2;
14675 }
14676 return resultobj;
14677 fail:
14678 {
14679 if (temp2)
14680 delete arg2;
14681 }
14682 return NULL;
14683}
14684
14685
c32bde28 14686static PyObject *_wrap_FileDialog_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14687 PyObject *resultobj = NULL;
d55e5bfc
RD
14688 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14689 wxString *arg2 = 0 ;
ae8162c8 14690 bool temp2 = false ;
d55e5bfc
RD
14691 PyObject * obj0 = 0 ;
14692 PyObject * obj1 = 0 ;
14693 char *kwnames[] = {
14694 (char *) "self",(char *) "name", NULL
14695 };
14696
14697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14698 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14699 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14700 {
14701 arg2 = wxString_in_helper(obj1);
14702 if (arg2 == NULL) SWIG_fail;
ae8162c8 14703 temp2 = true;
d55e5bfc
RD
14704 }
14705 {
14706 PyThreadState* __tstate = wxPyBeginAllowThreads();
14707 (arg1)->SetFilename((wxString const &)*arg2);
14708
14709 wxPyEndAllowThreads(__tstate);
14710 if (PyErr_Occurred()) SWIG_fail;
14711 }
14712 Py_INCREF(Py_None); resultobj = Py_None;
14713 {
14714 if (temp2)
14715 delete arg2;
14716 }
14717 return resultobj;
14718 fail:
14719 {
14720 if (temp2)
14721 delete arg2;
14722 }
14723 return NULL;
14724}
14725
14726
c32bde28 14727static PyObject *_wrap_FileDialog_SetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14728 PyObject *resultobj = NULL;
d55e5bfc
RD
14729 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14730 wxString *arg2 = 0 ;
ae8162c8 14731 bool temp2 = false ;
d55e5bfc
RD
14732 PyObject * obj0 = 0 ;
14733 PyObject * obj1 = 0 ;
14734 char *kwnames[] = {
14735 (char *) "self",(char *) "wildCard", NULL
14736 };
14737
14738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14739 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14740 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14741 {
14742 arg2 = wxString_in_helper(obj1);
14743 if (arg2 == NULL) SWIG_fail;
ae8162c8 14744 temp2 = true;
d55e5bfc
RD
14745 }
14746 {
14747 PyThreadState* __tstate = wxPyBeginAllowThreads();
14748 (arg1)->SetWildcard((wxString const &)*arg2);
14749
14750 wxPyEndAllowThreads(__tstate);
14751 if (PyErr_Occurred()) SWIG_fail;
14752 }
14753 Py_INCREF(Py_None); resultobj = Py_None;
14754 {
14755 if (temp2)
14756 delete arg2;
14757 }
14758 return resultobj;
14759 fail:
14760 {
14761 if (temp2)
14762 delete arg2;
14763 }
14764 return NULL;
14765}
14766
14767
c32bde28 14768static PyObject *_wrap_FileDialog_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14769 PyObject *resultobj = NULL;
d55e5bfc
RD
14770 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14771 long arg2 ;
14772 PyObject * obj0 = 0 ;
14773 PyObject * obj1 = 0 ;
14774 char *kwnames[] = {
14775 (char *) "self",(char *) "style", NULL
14776 };
14777
14778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14779 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14780 if (SWIG_arg_fail(1)) SWIG_fail;
14781 {
7449af73 14782 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
14783 if (SWIG_arg_fail(2)) SWIG_fail;
14784 }
d55e5bfc
RD
14785 {
14786 PyThreadState* __tstate = wxPyBeginAllowThreads();
14787 (arg1)->SetStyle(arg2);
14788
14789 wxPyEndAllowThreads(__tstate);
14790 if (PyErr_Occurred()) SWIG_fail;
14791 }
14792 Py_INCREF(Py_None); resultobj = Py_None;
14793 return resultobj;
14794 fail:
14795 return NULL;
14796}
14797
14798
c32bde28 14799static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14800 PyObject *resultobj = NULL;
d55e5bfc
RD
14801 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14802 int arg2 ;
14803 PyObject * obj0 = 0 ;
14804 PyObject * obj1 = 0 ;
14805 char *kwnames[] = {
14806 (char *) "self",(char *) "filterIndex", NULL
14807 };
14808
14809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14810 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14811 if (SWIG_arg_fail(1)) SWIG_fail;
14812 {
7449af73 14813 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
14814 if (SWIG_arg_fail(2)) SWIG_fail;
14815 }
d55e5bfc
RD
14816 {
14817 PyThreadState* __tstate = wxPyBeginAllowThreads();
14818 (arg1)->SetFilterIndex(arg2);
14819
14820 wxPyEndAllowThreads(__tstate);
14821 if (PyErr_Occurred()) SWIG_fail;
14822 }
14823 Py_INCREF(Py_None); resultobj = Py_None;
14824 return resultobj;
14825 fail:
14826 return NULL;
14827}
14828
14829
c32bde28 14830static PyObject *_wrap_FileDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14831 PyObject *resultobj = NULL;
d55e5bfc
RD
14832 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14833 wxString result;
14834 PyObject * obj0 = 0 ;
14835 char *kwnames[] = {
14836 (char *) "self", NULL
14837 };
14838
14839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
093d3ff1
RD
14840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14841 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14842 {
14843 PyThreadState* __tstate = wxPyBeginAllowThreads();
14844 result = ((wxFileDialog const *)arg1)->GetMessage();
14845
14846 wxPyEndAllowThreads(__tstate);
14847 if (PyErr_Occurred()) SWIG_fail;
14848 }
14849 {
14850#if wxUSE_UNICODE
14851 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14852#else
14853 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14854#endif
14855 }
14856 return resultobj;
14857 fail:
14858 return NULL;
14859}
14860
14861
c32bde28 14862static PyObject *_wrap_FileDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14863 PyObject *resultobj = NULL;
d55e5bfc
RD
14864 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14865 wxString result;
14866 PyObject * obj0 = 0 ;
14867 char *kwnames[] = {
14868 (char *) "self", NULL
14869 };
14870
14871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
093d3ff1
RD
14872 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14873 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14874 {
14875 PyThreadState* __tstate = wxPyBeginAllowThreads();
14876 result = ((wxFileDialog const *)arg1)->GetPath();
14877
14878 wxPyEndAllowThreads(__tstate);
14879 if (PyErr_Occurred()) SWIG_fail;
14880 }
14881 {
14882#if wxUSE_UNICODE
14883 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14884#else
14885 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14886#endif
14887 }
14888 return resultobj;
14889 fail:
14890 return NULL;
14891}
14892
14893
c32bde28 14894static PyObject *_wrap_FileDialog_GetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14895 PyObject *resultobj = NULL;
d55e5bfc
RD
14896 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14897 wxString result;
14898 PyObject * obj0 = 0 ;
14899 char *kwnames[] = {
14900 (char *) "self", NULL
14901 };
14902
14903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
093d3ff1
RD
14904 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14905 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14906 {
14907 PyThreadState* __tstate = wxPyBeginAllowThreads();
14908 result = ((wxFileDialog const *)arg1)->GetDirectory();
14909
14910 wxPyEndAllowThreads(__tstate);
14911 if (PyErr_Occurred()) SWIG_fail;
14912 }
14913 {
14914#if wxUSE_UNICODE
14915 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14916#else
14917 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14918#endif
14919 }
14920 return resultobj;
14921 fail:
14922 return NULL;
14923}
14924
14925
c32bde28 14926static PyObject *_wrap_FileDialog_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14927 PyObject *resultobj = NULL;
d55e5bfc
RD
14928 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14929 wxString result;
14930 PyObject * obj0 = 0 ;
14931 char *kwnames[] = {
14932 (char *) "self", NULL
14933 };
14934
14935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
093d3ff1
RD
14936 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14937 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14938 {
14939 PyThreadState* __tstate = wxPyBeginAllowThreads();
14940 result = ((wxFileDialog const *)arg1)->GetFilename();
14941
14942 wxPyEndAllowThreads(__tstate);
14943 if (PyErr_Occurred()) SWIG_fail;
14944 }
14945 {
14946#if wxUSE_UNICODE
14947 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14948#else
14949 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14950#endif
14951 }
14952 return resultobj;
14953 fail:
14954 return NULL;
14955}
14956
14957
c32bde28 14958static PyObject *_wrap_FileDialog_GetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14959 PyObject *resultobj = NULL;
d55e5bfc
RD
14960 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14961 wxString result;
14962 PyObject * obj0 = 0 ;
14963 char *kwnames[] = {
14964 (char *) "self", NULL
14965 };
14966
14967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
093d3ff1
RD
14968 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14969 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14970 {
14971 PyThreadState* __tstate = wxPyBeginAllowThreads();
14972 result = ((wxFileDialog const *)arg1)->GetWildcard();
14973
14974 wxPyEndAllowThreads(__tstate);
14975 if (PyErr_Occurred()) SWIG_fail;
14976 }
14977 {
14978#if wxUSE_UNICODE
14979 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14980#else
14981 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14982#endif
14983 }
14984 return resultobj;
14985 fail:
14986 return NULL;
14987}
14988
14989
c32bde28 14990static PyObject *_wrap_FileDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14991 PyObject *resultobj = NULL;
d55e5bfc
RD
14992 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14993 long result;
14994 PyObject * obj0 = 0 ;
14995 char *kwnames[] = {
14996 (char *) "self", NULL
14997 };
14998
14999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
093d3ff1
RD
15000 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
15001 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15002 {
15003 PyThreadState* __tstate = wxPyBeginAllowThreads();
15004 result = (long)((wxFileDialog const *)arg1)->GetStyle();
15005
15006 wxPyEndAllowThreads(__tstate);
15007 if (PyErr_Occurred()) SWIG_fail;
15008 }
093d3ff1 15009 {
7449af73 15010 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 15011 }
d55e5bfc
RD
15012 return resultobj;
15013 fail:
15014 return NULL;
15015}
15016
15017
c32bde28 15018static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15019 PyObject *resultobj = NULL;
d55e5bfc
RD
15020 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
15021 int result;
15022 PyObject * obj0 = 0 ;
15023 char *kwnames[] = {
15024 (char *) "self", NULL
15025 };
15026
15027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
093d3ff1
RD
15028 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
15029 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15030 {
15031 PyThreadState* __tstate = wxPyBeginAllowThreads();
15032 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
15033
15034 wxPyEndAllowThreads(__tstate);
15035 if (PyErr_Occurred()) SWIG_fail;
15036 }
093d3ff1 15037 {
7449af73 15038 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 15039 }
d55e5bfc
RD
15040 return resultobj;
15041 fail:
15042 return NULL;
15043}
15044
15045
c32bde28 15046static PyObject *_wrap_FileDialog_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15047 PyObject *resultobj = NULL;
d55e5bfc
RD
15048 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
15049 PyObject *result;
15050 PyObject * obj0 = 0 ;
15051 char *kwnames[] = {
15052 (char *) "self", NULL
15053 };
15054
15055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
093d3ff1
RD
15056 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
15057 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15058 {
15059 PyThreadState* __tstate = wxPyBeginAllowThreads();
15060 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
15061
15062 wxPyEndAllowThreads(__tstate);
15063 if (PyErr_Occurred()) SWIG_fail;
15064 }
15065 resultobj = result;
15066 return resultobj;
15067 fail:
15068 return NULL;
15069}
15070
15071
c32bde28 15072static PyObject *_wrap_FileDialog_GetPaths(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15073 PyObject *resultobj = NULL;
d55e5bfc
RD
15074 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
15075 PyObject *result;
15076 PyObject * obj0 = 0 ;
15077 char *kwnames[] = {
15078 (char *) "self", NULL
15079 };
15080
15081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
093d3ff1
RD
15082 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
15083 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15084 {
15085 PyThreadState* __tstate = wxPyBeginAllowThreads();
15086 result = (PyObject *)wxFileDialog_GetPaths(arg1);
15087
15088 wxPyEndAllowThreads(__tstate);
15089 if (PyErr_Occurred()) SWIG_fail;
15090 }
15091 resultobj = result;
15092 return resultobj;
15093 fail:
15094 return NULL;
15095}
15096
15097
c32bde28 15098static PyObject * FileDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15099 PyObject *obj;
15100 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15101 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
15102 Py_INCREF(obj);
15103 return Py_BuildValue((char *)"");
15104}
c32bde28 15105static PyObject *_wrap_new_MultiChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15106 PyObject *resultobj = NULL;
d55e5bfc
RD
15107 wxWindow *arg1 = (wxWindow *) 0 ;
15108 wxString *arg2 = 0 ;
15109 wxString *arg3 = 0 ;
15110 int arg4 = (int) 0 ;
248ed943 15111 wxString *arg5 = (wxString *) NULL ;
d55e5bfc
RD
15112 long arg6 = (long) wxCHOICEDLG_STYLE ;
15113 wxPoint const &arg7_defvalue = wxDefaultPosition ;
15114 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
15115 wxMultiChoiceDialog *result;
ae8162c8
RD
15116 bool temp2 = false ;
15117 bool temp3 = false ;
093d3ff1 15118 wxPoint temp7 ;
d55e5bfc
RD
15119 PyObject * obj0 = 0 ;
15120 PyObject * obj1 = 0 ;
15121 PyObject * obj2 = 0 ;
15122 PyObject * obj3 = 0 ;
15123 PyObject * obj4 = 0 ;
15124 PyObject * obj5 = 0 ;
15125 char *kwnames[] = {
15126 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
15127 };
15128
15129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
15130 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15131 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15132 {
15133 arg2 = wxString_in_helper(obj1);
15134 if (arg2 == NULL) SWIG_fail;
ae8162c8 15135 temp2 = true;
d55e5bfc
RD
15136 }
15137 {
15138 arg3 = wxString_in_helper(obj2);
15139 if (arg3 == NULL) SWIG_fail;
ae8162c8 15140 temp3 = true;
d55e5bfc
RD
15141 }
15142 if (obj3) {
15143 {
15144 arg4 = PyList_Size(obj3);
15145 arg5 = wxString_LIST_helper(obj3);
15146 if (arg5 == NULL) SWIG_fail;
15147 }
15148 }
15149 if (obj4) {
093d3ff1 15150 {
7449af73 15151 arg6 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
15152 if (SWIG_arg_fail(6)) SWIG_fail;
15153 }
d55e5bfc
RD
15154 }
15155 if (obj5) {
15156 {
093d3ff1 15157 arg7 = &temp7;
d55e5bfc
RD
15158 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
15159 }
15160 }
15161 {
0439c23b 15162 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15163 PyThreadState* __tstate = wxPyBeginAllowThreads();
15164 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
15165
15166 wxPyEndAllowThreads(__tstate);
110da5b0 15167 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15168 }
15169 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
15170 {
15171 if (temp2)
15172 delete arg2;
15173 }
15174 {
15175 if (temp3)
15176 delete arg3;
15177 }
15178 {
15179 if (arg5) delete [] arg5;
15180 }
15181 return resultobj;
15182 fail:
15183 {
15184 if (temp2)
15185 delete arg2;
15186 }
15187 {
15188 if (temp3)
15189 delete arg3;
15190 }
15191 {
15192 if (arg5) delete [] arg5;
15193 }
15194 return NULL;
15195}
15196
15197
c32bde28 15198static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15199 PyObject *resultobj = NULL;
d55e5bfc
RD
15200 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
15201 wxArrayInt *arg2 = 0 ;
ae8162c8 15202 bool temp2 = false ;
d55e5bfc
RD
15203 PyObject * obj0 = 0 ;
15204 PyObject * obj1 = 0 ;
15205 char *kwnames[] = {
15206 (char *) "self",(char *) "selections", NULL
15207 };
15208
15209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15210 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
15211 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15212 {
15213 if (! PySequence_Check(obj1)) {
15214 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
15215 SWIG_fail;
15216 }
15217 arg2 = new wxArrayInt;
ae8162c8 15218 temp2 = true;
d55e5bfc
RD
15219 int i, len=PySequence_Length(obj1);
15220 for (i=0; i<len; i++) {
15221 PyObject* item = PySequence_GetItem(obj1, i);
15222 PyObject* number = PyNumber_Int(item);
15223 arg2->Add(PyInt_AS_LONG(number));
15224 Py_DECREF(item);
15225 Py_DECREF(number);
15226 }
15227 }
15228 {
15229 PyThreadState* __tstate = wxPyBeginAllowThreads();
15230 (arg1)->SetSelections((wxArrayInt const &)*arg2);
15231
15232 wxPyEndAllowThreads(__tstate);
15233 if (PyErr_Occurred()) SWIG_fail;
15234 }
15235 Py_INCREF(Py_None); resultobj = Py_None;
15236 {
15237 if (temp2) delete arg2;
15238 }
15239 return resultobj;
15240 fail:
15241 {
15242 if (temp2) delete arg2;
15243 }
15244 return NULL;
15245}
15246
15247
c32bde28 15248static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15249 PyObject *resultobj = NULL;
d55e5bfc
RD
15250 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
15251 PyObject *result;
15252 PyObject * obj0 = 0 ;
15253 char *kwnames[] = {
15254 (char *) "self", NULL
15255 };
15256
15257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
093d3ff1
RD
15258 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
15259 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15260 {
15261 PyThreadState* __tstate = wxPyBeginAllowThreads();
15262 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
15263
15264 wxPyEndAllowThreads(__tstate);
15265 if (PyErr_Occurred()) SWIG_fail;
15266 }
15267 resultobj = result;
15268 return resultobj;
15269 fail:
15270 return NULL;
15271}
15272
15273
c32bde28 15274static PyObject * MultiChoiceDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15275 PyObject *obj;
15276 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15277 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
15278 Py_INCREF(obj);
15279 return Py_BuildValue((char *)"");
15280}
c32bde28 15281static PyObject *_wrap_new_SingleChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15282 PyObject *resultobj = NULL;
d55e5bfc
RD
15283 wxWindow *arg1 = (wxWindow *) 0 ;
15284 wxString *arg2 = 0 ;
15285 wxString *arg3 = 0 ;
15286 int arg4 ;
15287 wxString *arg5 = (wxString *) 0 ;
15288 long arg6 = (long) wxCHOICEDLG_STYLE ;
15289 wxPoint const &arg7_defvalue = wxDefaultPosition ;
15290 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
15291 wxSingleChoiceDialog *result;
ae8162c8
RD
15292 bool temp2 = false ;
15293 bool temp3 = false ;
093d3ff1 15294 wxPoint temp7 ;
d55e5bfc
RD
15295 PyObject * obj0 = 0 ;
15296 PyObject * obj1 = 0 ;
15297 PyObject * obj2 = 0 ;
15298 PyObject * obj3 = 0 ;
15299 PyObject * obj4 = 0 ;
15300 PyObject * obj5 = 0 ;
15301 char *kwnames[] = {
15302 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
15303 };
15304
15305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
15306 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15307 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15308 {
15309 arg2 = wxString_in_helper(obj1);
15310 if (arg2 == NULL) SWIG_fail;
ae8162c8 15311 temp2 = true;
d55e5bfc
RD
15312 }
15313 {
15314 arg3 = wxString_in_helper(obj2);
15315 if (arg3 == NULL) SWIG_fail;
ae8162c8 15316 temp3 = true;
d55e5bfc
RD
15317 }
15318 {
15319 arg4 = PyList_Size(obj3);
15320 arg5 = wxString_LIST_helper(obj3);
15321 if (arg5 == NULL) SWIG_fail;
15322 }
15323 if (obj4) {
093d3ff1 15324 {
7449af73 15325 arg6 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
15326 if (SWIG_arg_fail(6)) SWIG_fail;
15327 }
d55e5bfc
RD
15328 }
15329 if (obj5) {
15330 {
093d3ff1 15331 arg7 = &temp7;
d55e5bfc
RD
15332 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
15333 }
15334 }
15335 {
0439c23b 15336 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15337 PyThreadState* __tstate = wxPyBeginAllowThreads();
15338 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
15339
15340 wxPyEndAllowThreads(__tstate);
110da5b0 15341 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15342 }
15343 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
15344 {
15345 if (temp2)
15346 delete arg2;
15347 }
15348 {
15349 if (temp3)
15350 delete arg3;
15351 }
15352 {
15353 if (arg5) delete [] arg5;
15354 }
15355 return resultobj;
15356 fail:
15357 {
15358 if (temp2)
15359 delete arg2;
15360 }
15361 {
15362 if (temp3)
15363 delete arg3;
15364 }
15365 {
15366 if (arg5) delete [] arg5;
15367 }
15368 return NULL;
15369}
15370
15371
c32bde28 15372static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15373 PyObject *resultobj = NULL;
d55e5bfc
RD
15374 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
15375 int result;
15376 PyObject * obj0 = 0 ;
15377 char *kwnames[] = {
15378 (char *) "self", NULL
15379 };
15380
15381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
15382 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
15383 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15384 {
15385 PyThreadState* __tstate = wxPyBeginAllowThreads();
15386 result = (int)(arg1)->GetSelection();
15387
15388 wxPyEndAllowThreads(__tstate);
15389 if (PyErr_Occurred()) SWIG_fail;
15390 }
093d3ff1 15391 {
7449af73 15392 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 15393 }
d55e5bfc
RD
15394 return resultobj;
15395 fail:
15396 return NULL;
15397}
15398
15399
c32bde28 15400static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15401 PyObject *resultobj = NULL;
d55e5bfc
RD
15402 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
15403 wxString result;
15404 PyObject * obj0 = 0 ;
15405 char *kwnames[] = {
15406 (char *) "self", NULL
15407 };
15408
15409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
15410 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
15411 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15412 {
15413 PyThreadState* __tstate = wxPyBeginAllowThreads();
15414 result = (arg1)->GetStringSelection();
15415
15416 wxPyEndAllowThreads(__tstate);
15417 if (PyErr_Occurred()) SWIG_fail;
15418 }
15419 {
15420#if wxUSE_UNICODE
15421 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15422#else
15423 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15424#endif
15425 }
15426 return resultobj;
15427 fail:
15428 return NULL;
15429}
15430
15431
c32bde28 15432static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15433 PyObject *resultobj = NULL;
d55e5bfc
RD
15434 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
15435 int arg2 ;
15436 PyObject * obj0 = 0 ;
15437 PyObject * obj1 = 0 ;
15438 char *kwnames[] = {
15439 (char *) "self",(char *) "sel", NULL
15440 };
15441
15442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15443 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
15444 if (SWIG_arg_fail(1)) SWIG_fail;
15445 {
7449af73 15446 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
15447 if (SWIG_arg_fail(2)) SWIG_fail;
15448 }
d55e5bfc
RD
15449 {
15450 PyThreadState* __tstate = wxPyBeginAllowThreads();
15451 (arg1)->SetSelection(arg2);
15452
15453 wxPyEndAllowThreads(__tstate);
15454 if (PyErr_Occurred()) SWIG_fail;
15455 }
15456 Py_INCREF(Py_None); resultobj = Py_None;
15457 return resultobj;
15458 fail:
15459 return NULL;
15460}
15461
15462
c32bde28 15463static PyObject * SingleChoiceDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15464 PyObject *obj;
15465 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15466 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
15467 Py_INCREF(obj);
15468 return Py_BuildValue((char *)"");
15469}
c32bde28 15470static PyObject *_wrap_new_TextEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15471 PyObject *resultobj = NULL;
d55e5bfc
RD
15472 wxWindow *arg1 = (wxWindow *) 0 ;
15473 wxString *arg2 = 0 ;
15474 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
15475 wxString *arg3 = (wxString *) &arg3_defvalue ;
15476 wxString const &arg4_defvalue = wxPyEmptyString ;
15477 wxString *arg4 = (wxString *) &arg4_defvalue ;
c1cb24a4 15478 long arg5 = (long) wxTextEntryDialogStyle ;
d55e5bfc
RD
15479 wxPoint const &arg6_defvalue = wxDefaultPosition ;
15480 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
15481 wxTextEntryDialog *result;
ae8162c8
RD
15482 bool temp2 = false ;
15483 bool temp3 = false ;
15484 bool temp4 = false ;
d55e5bfc
RD
15485 wxPoint temp6 ;
15486 PyObject * obj0 = 0 ;
15487 PyObject * obj1 = 0 ;
15488 PyObject * obj2 = 0 ;
15489 PyObject * obj3 = 0 ;
15490 PyObject * obj4 = 0 ;
15491 PyObject * obj5 = 0 ;
15492 char *kwnames[] = {
15493 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
15494 };
15495
15496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
15497 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15498 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15499 {
15500 arg2 = wxString_in_helper(obj1);
15501 if (arg2 == NULL) SWIG_fail;
ae8162c8 15502 temp2 = true;
d55e5bfc
RD
15503 }
15504 if (obj2) {
15505 {
15506 arg3 = wxString_in_helper(obj2);
15507 if (arg3 == NULL) SWIG_fail;
ae8162c8 15508 temp3 = true;
d55e5bfc
RD
15509 }
15510 }
15511 if (obj3) {
15512 {
15513 arg4 = wxString_in_helper(obj3);
15514 if (arg4 == NULL) SWIG_fail;
ae8162c8 15515 temp4 = true;
d55e5bfc
RD
15516 }
15517 }
15518 if (obj4) {
093d3ff1 15519 {
7449af73 15520 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
15521 if (SWIG_arg_fail(5)) SWIG_fail;
15522 }
d55e5bfc
RD
15523 }
15524 if (obj5) {
15525 {
15526 arg6 = &temp6;
15527 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
15528 }
15529 }
15530 {
0439c23b 15531 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15532 PyThreadState* __tstate = wxPyBeginAllowThreads();
15533 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
15534
15535 wxPyEndAllowThreads(__tstate);
110da5b0 15536 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15537 }
15538 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
15539 {
15540 if (temp2)
15541 delete arg2;
15542 }
15543 {
15544 if (temp3)
15545 delete arg3;
15546 }
15547 {
15548 if (temp4)
15549 delete arg4;
15550 }
15551 return resultobj;
15552 fail:
15553 {
15554 if (temp2)
15555 delete arg2;
15556 }
15557 {
15558 if (temp3)
15559 delete arg3;
15560 }
15561 {
15562 if (temp4)
15563 delete arg4;
15564 }
15565 return NULL;
15566}
15567
15568
c32bde28 15569static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15570 PyObject *resultobj = NULL;
d55e5bfc
RD
15571 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
15572 wxString result;
15573 PyObject * obj0 = 0 ;
15574 char *kwnames[] = {
15575 (char *) "self", NULL
15576 };
15577
15578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
15579 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_EXCEPTION | 0);
15580 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15581 {
15582 PyThreadState* __tstate = wxPyBeginAllowThreads();
15583 result = (arg1)->GetValue();
15584
15585 wxPyEndAllowThreads(__tstate);
15586 if (PyErr_Occurred()) SWIG_fail;
15587 }
15588 {
15589#if wxUSE_UNICODE
15590 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15591#else
15592 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15593#endif
15594 }
15595 return resultobj;
15596 fail:
15597 return NULL;
15598}
15599
15600
c32bde28 15601static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15602 PyObject *resultobj = NULL;
d55e5bfc
RD
15603 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
15604 wxString *arg2 = 0 ;
ae8162c8 15605 bool temp2 = false ;
d55e5bfc
RD
15606 PyObject * obj0 = 0 ;
15607 PyObject * obj1 = 0 ;
15608 char *kwnames[] = {
15609 (char *) "self",(char *) "value", NULL
15610 };
15611
15612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15613 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_EXCEPTION | 0);
15614 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15615 {
15616 arg2 = wxString_in_helper(obj1);
15617 if (arg2 == NULL) SWIG_fail;
ae8162c8 15618 temp2 = true;
d55e5bfc
RD
15619 }
15620 {
15621 PyThreadState* __tstate = wxPyBeginAllowThreads();
15622 (arg1)->SetValue((wxString const &)*arg2);
15623
15624 wxPyEndAllowThreads(__tstate);
15625 if (PyErr_Occurred()) SWIG_fail;
15626 }
15627 Py_INCREF(Py_None); resultobj = Py_None;
15628 {
15629 if (temp2)
15630 delete arg2;
15631 }
15632 return resultobj;
15633 fail:
15634 {
15635 if (temp2)
15636 delete arg2;
15637 }
15638 return NULL;
15639}
15640
15641
c32bde28 15642static PyObject * TextEntryDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15643 PyObject *obj;
15644 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15645 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
15646 Py_INCREF(obj);
15647 return Py_BuildValue((char *)"");
15648}
c1cb24a4
RD
15649static int _wrap_GetPasswordFromUserPromptStr_set(PyObject *) {
15650 PyErr_SetString(PyExc_TypeError,"Variable GetPasswordFromUserPromptStr is read-only.");
15651 return 1;
15652}
15653
15654
093d3ff1 15655static PyObject *_wrap_GetPasswordFromUserPromptStr_get(void) {
7449af73 15656 PyObject *pyobj = NULL;
c1cb24a4
RD
15657
15658 {
15659#if wxUSE_UNICODE
15660 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
15661#else
15662 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
15663#endif
15664 }
15665 return pyobj;
15666}
15667
15668
15669static PyObject *_wrap_new_PasswordEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15670 PyObject *resultobj = NULL;
c1cb24a4
RD
15671 wxWindow *arg1 = (wxWindow *) 0 ;
15672 wxString *arg2 = 0 ;
15673 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
15674 wxString *arg3 = (wxString *) &arg3_defvalue ;
15675 wxString const &arg4_defvalue = wxPyEmptyString ;
15676 wxString *arg4 = (wxString *) &arg4_defvalue ;
15677 long arg5 = (long) wxTextEntryDialogStyle ;
15678 wxPoint const &arg6_defvalue = wxDefaultPosition ;
15679 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
15680 wxPasswordEntryDialog *result;
15681 bool temp2 = false ;
15682 bool temp3 = false ;
15683 bool temp4 = false ;
15684 wxPoint temp6 ;
15685 PyObject * obj0 = 0 ;
15686 PyObject * obj1 = 0 ;
15687 PyObject * obj2 = 0 ;
15688 PyObject * obj3 = 0 ;
15689 PyObject * obj4 = 0 ;
15690 PyObject * obj5 = 0 ;
15691 char *kwnames[] = {
15692 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
15693 };
15694
15695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
15696 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15697 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
15698 {
15699 arg2 = wxString_in_helper(obj1);
15700 if (arg2 == NULL) SWIG_fail;
15701 temp2 = true;
15702 }
15703 if (obj2) {
15704 {
15705 arg3 = wxString_in_helper(obj2);
15706 if (arg3 == NULL) SWIG_fail;
15707 temp3 = true;
15708 }
15709 }
15710 if (obj3) {
15711 {
15712 arg4 = wxString_in_helper(obj3);
15713 if (arg4 == NULL) SWIG_fail;
15714 temp4 = true;
15715 }
15716 }
15717 if (obj4) {
093d3ff1 15718 {
7449af73 15719 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
15720 if (SWIG_arg_fail(5)) SWIG_fail;
15721 }
c1cb24a4
RD
15722 }
15723 if (obj5) {
15724 {
15725 arg6 = &temp6;
15726 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
15727 }
15728 }
15729 {
15730 PyThreadState* __tstate = wxPyBeginAllowThreads();
15731 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
15732
15733 wxPyEndAllowThreads(__tstate);
15734 if (PyErr_Occurred()) SWIG_fail;
15735 }
15736 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPasswordEntryDialog, 1);
15737 {
15738 if (temp2)
15739 delete arg2;
15740 }
15741 {
15742 if (temp3)
15743 delete arg3;
15744 }
15745 {
15746 if (temp4)
15747 delete arg4;
15748 }
15749 return resultobj;
15750 fail:
15751 {
15752 if (temp2)
15753 delete arg2;
15754 }
15755 {
15756 if (temp3)
15757 delete arg3;
15758 }
15759 {
15760 if (temp4)
15761 delete arg4;
15762 }
15763 return NULL;
15764}
15765
15766
15767static PyObject * PasswordEntryDialog_swigregister(PyObject *, PyObject *args) {
15768 PyObject *obj;
15769 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15770 SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog, obj);
15771 Py_INCREF(obj);
15772 return Py_BuildValue((char *)"");
15773}
c32bde28 15774static PyObject *_wrap_new_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15775 PyObject *resultobj = NULL;
d55e5bfc
RD
15776 wxFontData *result;
15777 char *kwnames[] = {
15778 NULL
15779 };
15780
15781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
15782 {
15783 PyThreadState* __tstate = wxPyBeginAllowThreads();
15784 result = (wxFontData *)new wxFontData();
15785
15786 wxPyEndAllowThreads(__tstate);
15787 if (PyErr_Occurred()) SWIG_fail;
15788 }
15789 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
15790 return resultobj;
15791 fail:
15792 return NULL;
15793}
15794
15795
c32bde28 15796static PyObject *_wrap_delete_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15797 PyObject *resultobj = NULL;
d55e5bfc
RD
15798 wxFontData *arg1 = (wxFontData *) 0 ;
15799 PyObject * obj0 = 0 ;
15800 char *kwnames[] = {
15801 (char *) "self", NULL
15802 };
15803
15804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
093d3ff1
RD
15805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15806 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15807 {
15808 PyThreadState* __tstate = wxPyBeginAllowThreads();
15809 delete arg1;
15810
15811 wxPyEndAllowThreads(__tstate);
15812 if (PyErr_Occurred()) SWIG_fail;
15813 }
15814 Py_INCREF(Py_None); resultobj = Py_None;
15815 return resultobj;
15816 fail:
15817 return NULL;
15818}
15819
15820
c32bde28 15821static PyObject *_wrap_FontData_EnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15822 PyObject *resultobj = NULL;
d55e5bfc
RD
15823 wxFontData *arg1 = (wxFontData *) 0 ;
15824 bool arg2 ;
15825 PyObject * obj0 = 0 ;
15826 PyObject * obj1 = 0 ;
15827 char *kwnames[] = {
15828 (char *) "self",(char *) "enable", NULL
15829 };
15830
15831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15832 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15833 if (SWIG_arg_fail(1)) SWIG_fail;
15834 {
7449af73 15835 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
15836 if (SWIG_arg_fail(2)) SWIG_fail;
15837 }
d55e5bfc
RD
15838 {
15839 PyThreadState* __tstate = wxPyBeginAllowThreads();
15840 (arg1)->EnableEffects(arg2);
15841
15842 wxPyEndAllowThreads(__tstate);
15843 if (PyErr_Occurred()) SWIG_fail;
15844 }
15845 Py_INCREF(Py_None); resultobj = Py_None;
15846 return resultobj;
15847 fail:
15848 return NULL;
15849}
15850
15851
c32bde28 15852static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15853 PyObject *resultobj = NULL;
d55e5bfc
RD
15854 wxFontData *arg1 = (wxFontData *) 0 ;
15855 bool result;
15856 PyObject * obj0 = 0 ;
15857 char *kwnames[] = {
15858 (char *) "self", NULL
15859 };
15860
15861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
093d3ff1
RD
15862 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15863 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15864 {
15865 PyThreadState* __tstate = wxPyBeginAllowThreads();
15866 result = (bool)(arg1)->GetAllowSymbols();
15867
15868 wxPyEndAllowThreads(__tstate);
15869 if (PyErr_Occurred()) SWIG_fail;
15870 }
15871 {
15872 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15873 }
15874 return resultobj;
15875 fail:
15876 return NULL;
15877}
15878
15879
c32bde28 15880static PyObject *_wrap_FontData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15881 PyObject *resultobj = NULL;
d55e5bfc
RD
15882 wxFontData *arg1 = (wxFontData *) 0 ;
15883 wxColour result;
15884 PyObject * obj0 = 0 ;
15885 char *kwnames[] = {
15886 (char *) "self", NULL
15887 };
15888
15889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
15890 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15891 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15892 {
15893 PyThreadState* __tstate = wxPyBeginAllowThreads();
15894 result = (arg1)->GetColour();
15895
15896 wxPyEndAllowThreads(__tstate);
15897 if (PyErr_Occurred()) SWIG_fail;
15898 }
15899 {
15900 wxColour * resultptr;
7449af73 15901 resultptr = new wxColour(static_cast<wxColour & >(result));
d55e5bfc
RD
15902 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
15903 }
15904 return resultobj;
15905 fail:
15906 return NULL;
15907}
15908
15909
c32bde28 15910static PyObject *_wrap_FontData_GetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15911 PyObject *resultobj = NULL;
d55e5bfc
RD
15912 wxFontData *arg1 = (wxFontData *) 0 ;
15913 wxFont result;
15914 PyObject * obj0 = 0 ;
15915 char *kwnames[] = {
15916 (char *) "self", NULL
15917 };
15918
15919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
15920 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15921 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15922 {
15923 PyThreadState* __tstate = wxPyBeginAllowThreads();
15924 result = (arg1)->GetChosenFont();
15925
15926 wxPyEndAllowThreads(__tstate);
15927 if (PyErr_Occurred()) SWIG_fail;
15928 }
15929 {
15930 wxFont * resultptr;
7449af73 15931 resultptr = new wxFont(static_cast<wxFont & >(result));
d55e5bfc
RD
15932 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
15933 }
15934 return resultobj;
15935 fail:
15936 return NULL;
15937}
15938
15939
c32bde28 15940static PyObject *_wrap_FontData_GetEnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15941 PyObject *resultobj = NULL;
d55e5bfc
RD
15942 wxFontData *arg1 = (wxFontData *) 0 ;
15943 bool result;
15944 PyObject * obj0 = 0 ;
15945 char *kwnames[] = {
15946 (char *) "self", NULL
15947 };
15948
15949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
093d3ff1
RD
15950 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15951 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15952 {
15953 PyThreadState* __tstate = wxPyBeginAllowThreads();
15954 result = (bool)(arg1)->GetEnableEffects();
15955
15956 wxPyEndAllowThreads(__tstate);
15957 if (PyErr_Occurred()) SWIG_fail;
15958 }
15959 {
15960 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15961 }
15962 return resultobj;
15963 fail:
15964 return NULL;
15965}
15966
15967
c32bde28 15968static PyObject *_wrap_FontData_GetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15969 PyObject *resultobj = NULL;
d55e5bfc
RD
15970 wxFontData *arg1 = (wxFontData *) 0 ;
15971 wxFont result;
15972 PyObject * obj0 = 0 ;
15973 char *kwnames[] = {
15974 (char *) "self", NULL
15975 };
15976
15977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
15978 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15979 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15980 {
15981 PyThreadState* __tstate = wxPyBeginAllowThreads();
15982 result = (arg1)->GetInitialFont();
15983
15984 wxPyEndAllowThreads(__tstate);
15985 if (PyErr_Occurred()) SWIG_fail;
15986 }
15987 {
15988 wxFont * resultptr;
7449af73 15989 resultptr = new wxFont(static_cast<wxFont & >(result));
d55e5bfc
RD
15990 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
15991 }
15992 return resultobj;
15993 fail:
15994 return NULL;
15995}
15996
15997
c32bde28 15998static PyObject *_wrap_FontData_GetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15999 PyObject *resultobj = NULL;
d55e5bfc
RD
16000 wxFontData *arg1 = (wxFontData *) 0 ;
16001 bool result;
16002 PyObject * obj0 = 0 ;
16003 char *kwnames[] = {
16004 (char *) "self", NULL
16005 };
16006
16007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
093d3ff1
RD
16008 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
16009 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16010 {
16011 PyThreadState* __tstate = wxPyBeginAllowThreads();
16012 result = (bool)(arg1)->GetShowHelp();
16013
16014 wxPyEndAllowThreads(__tstate);
16015 if (PyErr_Occurred()) SWIG_fail;
16016 }
16017 {
16018 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16019 }
16020 return resultobj;
16021 fail:
16022 return NULL;
16023}
16024
16025
c32bde28 16026static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16027 PyObject *resultobj = NULL;
d55e5bfc
RD
16028 wxFontData *arg1 = (wxFontData *) 0 ;
16029 bool arg2 ;
16030 PyObject * obj0 = 0 ;
16031 PyObject * obj1 = 0 ;
16032 char *kwnames[] = {
16033 (char *) "self",(char *) "allowSymbols", NULL
16034 };
16035
16036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16037 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
16038 if (SWIG_arg_fail(1)) SWIG_fail;
16039 {
7449af73 16040 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
16041 if (SWIG_arg_fail(2)) SWIG_fail;
16042 }
d55e5bfc
RD
16043 {
16044 PyThreadState* __tstate = wxPyBeginAllowThreads();
16045 (arg1)->SetAllowSymbols(arg2);
16046
16047 wxPyEndAllowThreads(__tstate);
16048 if (PyErr_Occurred()) SWIG_fail;
16049 }
16050 Py_INCREF(Py_None); resultobj = Py_None;
16051 return resultobj;
16052 fail:
16053 return NULL;
16054}
16055
16056
c32bde28 16057static PyObject *_wrap_FontData_SetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16058 PyObject *resultobj = NULL;
d55e5bfc
RD
16059 wxFontData *arg1 = (wxFontData *) 0 ;
16060 wxFont *arg2 = 0 ;
16061 PyObject * obj0 = 0 ;
16062 PyObject * obj1 = 0 ;
16063 char *kwnames[] = {
16064 (char *) "self",(char *) "font", NULL
16065 };
16066
16067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16068 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
16069 if (SWIG_arg_fail(1)) SWIG_fail;
16070 {
16071 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
16072 if (SWIG_arg_fail(2)) SWIG_fail;
16073 if (arg2 == NULL) {
16074 SWIG_null_ref("wxFont");
16075 }
16076 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
16077 }
16078 {
16079 PyThreadState* __tstate = wxPyBeginAllowThreads();
16080 (arg1)->SetChosenFont((wxFont const &)*arg2);
16081
16082 wxPyEndAllowThreads(__tstate);
16083 if (PyErr_Occurred()) SWIG_fail;
16084 }
16085 Py_INCREF(Py_None); resultobj = Py_None;
16086 return resultobj;
16087 fail:
16088 return NULL;
16089}
16090
16091
c32bde28 16092static PyObject *_wrap_FontData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16093 PyObject *resultobj = NULL;
d55e5bfc
RD
16094 wxFontData *arg1 = (wxFontData *) 0 ;
16095 wxColour *arg2 = 0 ;
16096 wxColour temp2 ;
16097 PyObject * obj0 = 0 ;
16098 PyObject * obj1 = 0 ;
16099 char *kwnames[] = {
16100 (char *) "self",(char *) "colour", NULL
16101 };
16102
16103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16104 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
16105 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16106 {
16107 arg2 = &temp2;
16108 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16109 }
16110 {
16111 PyThreadState* __tstate = wxPyBeginAllowThreads();
16112 (arg1)->SetColour((wxColour const &)*arg2);
16113
16114 wxPyEndAllowThreads(__tstate);
16115 if (PyErr_Occurred()) SWIG_fail;
16116 }
16117 Py_INCREF(Py_None); resultobj = Py_None;
16118 return resultobj;
16119 fail:
16120 return NULL;
16121}
16122
16123
c32bde28 16124static PyObject *_wrap_FontData_SetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16125 PyObject *resultobj = NULL;
d55e5bfc
RD
16126 wxFontData *arg1 = (wxFontData *) 0 ;
16127 wxFont *arg2 = 0 ;
16128 PyObject * obj0 = 0 ;
16129 PyObject * obj1 = 0 ;
16130 char *kwnames[] = {
16131 (char *) "self",(char *) "font", NULL
16132 };
16133
16134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16135 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
16136 if (SWIG_arg_fail(1)) SWIG_fail;
16137 {
16138 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
16139 if (SWIG_arg_fail(2)) SWIG_fail;
16140 if (arg2 == NULL) {
16141 SWIG_null_ref("wxFont");
16142 }
16143 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
16144 }
16145 {
16146 PyThreadState* __tstate = wxPyBeginAllowThreads();
16147 (arg1)->SetInitialFont((wxFont const &)*arg2);
16148
16149 wxPyEndAllowThreads(__tstate);
16150 if (PyErr_Occurred()) SWIG_fail;
16151 }
16152 Py_INCREF(Py_None); resultobj = Py_None;
16153 return resultobj;
16154 fail:
16155 return NULL;
16156}
16157
16158
c32bde28 16159static PyObject *_wrap_FontData_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16160 PyObject *resultobj = NULL;
d55e5bfc
RD
16161 wxFontData *arg1 = (wxFontData *) 0 ;
16162 int arg2 ;
16163 int arg3 ;
16164 PyObject * obj0 = 0 ;
16165 PyObject * obj1 = 0 ;
16166 PyObject * obj2 = 0 ;
16167 char *kwnames[] = {
16168 (char *) "self",(char *) "min",(char *) "max", NULL
16169 };
16170
16171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
16172 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
16173 if (SWIG_arg_fail(1)) SWIG_fail;
16174 {
7449af73 16175 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
16176 if (SWIG_arg_fail(2)) SWIG_fail;
16177 }
16178 {
7449af73 16179 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
16180 if (SWIG_arg_fail(3)) SWIG_fail;
16181 }
d55e5bfc
RD
16182 {
16183 PyThreadState* __tstate = wxPyBeginAllowThreads();
16184 (arg1)->SetRange(arg2,arg3);
16185
16186 wxPyEndAllowThreads(__tstate);
16187 if (PyErr_Occurred()) SWIG_fail;
16188 }
16189 Py_INCREF(Py_None); resultobj = Py_None;
16190 return resultobj;
16191 fail:
16192 return NULL;
16193}
16194
16195
c32bde28 16196static PyObject *_wrap_FontData_SetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16197 PyObject *resultobj = NULL;
d55e5bfc
RD
16198 wxFontData *arg1 = (wxFontData *) 0 ;
16199 bool arg2 ;
16200 PyObject * obj0 = 0 ;
16201 PyObject * obj1 = 0 ;
16202 char *kwnames[] = {
16203 (char *) "self",(char *) "showHelp", NULL
16204 };
16205
16206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16207 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
16208 if (SWIG_arg_fail(1)) SWIG_fail;
16209 {
7449af73 16210 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
16211 if (SWIG_arg_fail(2)) SWIG_fail;
16212 }
d55e5bfc
RD
16213 {
16214 PyThreadState* __tstate = wxPyBeginAllowThreads();
16215 (arg1)->SetShowHelp(arg2);
16216
16217 wxPyEndAllowThreads(__tstate);
16218 if (PyErr_Occurred()) SWIG_fail;
16219 }
16220 Py_INCREF(Py_None); resultobj = Py_None;
16221 return resultobj;
16222 fail:
16223 return NULL;
16224}
16225
16226
c32bde28 16227static PyObject * FontData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16228 PyObject *obj;
16229 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16230 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
16231 Py_INCREF(obj);
16232 return Py_BuildValue((char *)"");
16233}
c32bde28 16234static PyObject *_wrap_new_FontDialog(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16235 PyObject *resultobj = NULL;
d55e5bfc
RD
16236 wxWindow *arg1 = (wxWindow *) 0 ;
16237 wxFontData *arg2 = 0 ;
16238 wxFontDialog *result;
16239 PyObject * obj0 = 0 ;
16240 PyObject * obj1 = 0 ;
16241 char *kwnames[] = {
16242 (char *) "parent",(char *) "data", NULL
16243 };
16244
16245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16246 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16247 if (SWIG_arg_fail(1)) SWIG_fail;
16248 {
16249 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
16250 if (SWIG_arg_fail(2)) SWIG_fail;
16251 if (arg2 == NULL) {
16252 SWIG_null_ref("wxFontData");
16253 }
16254 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
16255 }
16256 {
0439c23b 16257 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
16258 PyThreadState* __tstate = wxPyBeginAllowThreads();
16259 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
16260
16261 wxPyEndAllowThreads(__tstate);
110da5b0 16262 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
16263 }
16264 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
16265 return resultobj;
16266 fail:
16267 return NULL;
16268}
16269
16270
c32bde28 16271static PyObject *_wrap_FontDialog_GetFontData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16272 PyObject *resultobj = NULL;
d55e5bfc
RD
16273 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
16274 wxFontData *result;
16275 PyObject * obj0 = 0 ;
16276 char *kwnames[] = {
16277 (char *) "self", NULL
16278 };
16279
16280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
093d3ff1
RD
16281 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontDialog, SWIG_POINTER_EXCEPTION | 0);
16282 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16283 {
16284 PyThreadState* __tstate = wxPyBeginAllowThreads();
16285 {
16286 wxFontData &_result_ref = (arg1)->GetFontData();
16287 result = (wxFontData *) &_result_ref;
16288 }
16289
16290 wxPyEndAllowThreads(__tstate);
16291 if (PyErr_Occurred()) SWIG_fail;
16292 }
16293 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
16294 return resultobj;
16295 fail:
16296 return NULL;
16297}
16298
16299
c32bde28 16300static PyObject * FontDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16301 PyObject *obj;
16302 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16303 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
16304 Py_INCREF(obj);
16305 return Py_BuildValue((char *)"");
16306}
7449af73
RD
16307static PyObject *_wrap_GetFontFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
16308 PyObject *resultobj = NULL;
16309 wxWindow *arg1 = (wxWindow *) NULL ;
16310 wxFont const &arg2_defvalue = wxNullFont ;
16311 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
16312 wxString const &arg3_defvalue = wxPyEmptyString ;
16313 wxString *arg3 = (wxString *) &arg3_defvalue ;
16314 wxFont result;
16315 bool temp3 = false ;
16316 PyObject * obj0 = 0 ;
16317 PyObject * obj1 = 0 ;
16318 PyObject * obj2 = 0 ;
16319 char *kwnames[] = {
16320 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
16321 };
16322
16323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) goto fail;
16324 if (obj0) {
16325 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16326 if (SWIG_arg_fail(1)) SWIG_fail;
16327 }
16328 if (obj1) {
16329 {
16330 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
16331 if (SWIG_arg_fail(2)) SWIG_fail;
16332 if (arg2 == NULL) {
16333 SWIG_null_ref("wxFont");
16334 }
16335 if (SWIG_arg_fail(2)) SWIG_fail;
16336 }
16337 }
16338 if (obj2) {
16339 {
16340 arg3 = wxString_in_helper(obj2);
16341 if (arg3 == NULL) SWIG_fail;
16342 temp3 = true;
16343 }
16344 }
16345 {
16346 PyThreadState* __tstate = wxPyBeginAllowThreads();
16347 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
16348
16349 wxPyEndAllowThreads(__tstate);
16350 if (PyErr_Occurred()) SWIG_fail;
16351 }
16352 {
16353 wxFont * resultptr;
16354 resultptr = new wxFont(static_cast<wxFont & >(result));
16355 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
16356 }
16357 {
16358 if (temp3)
16359 delete arg3;
16360 }
16361 return resultobj;
16362 fail:
16363 {
16364 if (temp3)
16365 delete arg3;
16366 }
16367 return NULL;
16368}
16369
16370
c32bde28 16371static PyObject *_wrap_new_MessageDialog(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16372 PyObject *resultobj = NULL;
d55e5bfc
RD
16373 wxWindow *arg1 = (wxWindow *) 0 ;
16374 wxString *arg2 = 0 ;
16375 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
16376 wxString *arg3 = (wxString *) &arg3_defvalue ;
16377 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
16378 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16379 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16380 wxMessageDialog *result;
ae8162c8
RD
16381 bool temp2 = false ;
16382 bool temp3 = false ;
d55e5bfc
RD
16383 wxPoint temp5 ;
16384 PyObject * obj0 = 0 ;
16385 PyObject * obj1 = 0 ;
16386 PyObject * obj2 = 0 ;
16387 PyObject * obj3 = 0 ;
16388 PyObject * obj4 = 0 ;
16389 char *kwnames[] = {
16390 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
16391 };
16392
16393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
16394 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16395 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16396 {
16397 arg2 = wxString_in_helper(obj1);
16398 if (arg2 == NULL) SWIG_fail;
ae8162c8 16399 temp2 = true;
d55e5bfc
RD
16400 }
16401 if (obj2) {
16402 {
16403 arg3 = wxString_in_helper(obj2);
16404 if (arg3 == NULL) SWIG_fail;
ae8162c8 16405 temp3 = true;
d55e5bfc
RD
16406 }
16407 }
16408 if (obj3) {
093d3ff1 16409 {
7449af73 16410 arg4 = static_cast<long >(SWIG_As_long(obj3));
093d3ff1
RD
16411 if (SWIG_arg_fail(4)) SWIG_fail;
16412 }
d55e5bfc
RD
16413 }
16414 if (obj4) {
16415 {
16416 arg5 = &temp5;
16417 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16418 }
16419 }
16420 {
0439c23b 16421 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
16422 PyThreadState* __tstate = wxPyBeginAllowThreads();
16423 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
16424
16425 wxPyEndAllowThreads(__tstate);
110da5b0 16426 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
16427 }
16428 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
16429 {
16430 if (temp2)
16431 delete arg2;
16432 }
16433 {
16434 if (temp3)
16435 delete arg3;
16436 }
16437 return resultobj;
16438 fail:
16439 {
16440 if (temp2)
16441 delete arg2;
16442 }
16443 {
16444 if (temp3)
16445 delete arg3;
16446 }
16447 return NULL;
16448}
16449
16450
c32bde28 16451static PyObject * MessageDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16452 PyObject *obj;
16453 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16454 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
16455 Py_INCREF(obj);
16456 return Py_BuildValue((char *)"");
16457}
c32bde28 16458static PyObject *_wrap_new_ProgressDialog(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16459 PyObject *resultobj = NULL;
d55e5bfc
RD
16460 wxString *arg1 = 0 ;
16461 wxString *arg2 = 0 ;
16462 int arg3 = (int) 100 ;
16463 wxWindow *arg4 = (wxWindow *) NULL ;
16464 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
16465 wxProgressDialog *result;
ae8162c8
RD
16466 bool temp1 = false ;
16467 bool temp2 = false ;
d55e5bfc
RD
16468 PyObject * obj0 = 0 ;
16469 PyObject * obj1 = 0 ;
16470 PyObject * obj2 = 0 ;
16471 PyObject * obj3 = 0 ;
16472 PyObject * obj4 = 0 ;
16473 char *kwnames[] = {
16474 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
16475 };
16476
16477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16478 {
16479 arg1 = wxString_in_helper(obj0);
16480 if (arg1 == NULL) SWIG_fail;
ae8162c8 16481 temp1 = true;
d55e5bfc
RD
16482 }
16483 {
16484 arg2 = wxString_in_helper(obj1);
16485 if (arg2 == NULL) SWIG_fail;
ae8162c8 16486 temp2 = true;
d55e5bfc
RD
16487 }
16488 if (obj2) {
093d3ff1 16489 {
7449af73 16490 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
16491 if (SWIG_arg_fail(3)) SWIG_fail;
16492 }
d55e5bfc
RD
16493 }
16494 if (obj3) {
093d3ff1
RD
16495 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16496 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
16497 }
16498 if (obj4) {
093d3ff1 16499 {
7449af73 16500 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
16501 if (SWIG_arg_fail(5)) SWIG_fail;
16502 }
d55e5bfc
RD
16503 }
16504 {
0439c23b 16505 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
16506 PyThreadState* __tstate = wxPyBeginAllowThreads();
16507 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
16508
16509 wxPyEndAllowThreads(__tstate);
110da5b0 16510 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
16511 }
16512 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
16513 {
16514 if (temp1)
16515 delete arg1;
16516 }
16517 {
16518 if (temp2)
16519 delete arg2;
16520 }
16521 return resultobj;
16522 fail:
16523 {
16524 if (temp1)
16525 delete arg1;
16526 }
16527 {
16528 if (temp2)
16529 delete arg2;
16530 }
16531 return NULL;
16532}
16533
16534
c32bde28 16535static PyObject *_wrap_ProgressDialog_Update(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16536 PyObject *resultobj = NULL;
d55e5bfc
RD
16537 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
16538 int arg2 ;
16539 wxString const &arg3_defvalue = wxPyEmptyString ;
16540 wxString *arg3 = (wxString *) &arg3_defvalue ;
16541 bool result;
ae8162c8 16542 bool temp3 = false ;
d55e5bfc
RD
16543 PyObject * obj0 = 0 ;
16544 PyObject * obj1 = 0 ;
16545 PyObject * obj2 = 0 ;
16546 char *kwnames[] = {
16547 (char *) "self",(char *) "value",(char *) "newmsg", NULL
16548 };
16549
16550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
16551 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0);
16552 if (SWIG_arg_fail(1)) SWIG_fail;
16553 {
7449af73 16554 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
16555 if (SWIG_arg_fail(2)) SWIG_fail;
16556 }
d55e5bfc
RD
16557 if (obj2) {
16558 {
16559 arg3 = wxString_in_helper(obj2);
16560 if (arg3 == NULL) SWIG_fail;
ae8162c8 16561 temp3 = true;
d55e5bfc
RD
16562 }
16563 }
16564 {
16565 PyThreadState* __tstate = wxPyBeginAllowThreads();
16566 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
16567
16568 wxPyEndAllowThreads(__tstate);
16569 if (PyErr_Occurred()) SWIG_fail;
16570 }
16571 {
16572 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16573 }
16574 {
16575 if (temp3)
16576 delete arg3;
16577 }
16578 return resultobj;
16579 fail:
16580 {
16581 if (temp3)
16582 delete arg3;
16583 }
16584 return NULL;
16585}
16586
16587
c32bde28 16588static PyObject *_wrap_ProgressDialog_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16589 PyObject *resultobj = NULL;
d55e5bfc
RD
16590 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
16591 PyObject * obj0 = 0 ;
16592 char *kwnames[] = {
16593 (char *) "self", NULL
16594 };
16595
16596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
093d3ff1
RD
16597 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0);
16598 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16599 {
16600 PyThreadState* __tstate = wxPyBeginAllowThreads();
16601 (arg1)->Resume();
16602
16603 wxPyEndAllowThreads(__tstate);
16604 if (PyErr_Occurred()) SWIG_fail;
16605 }
16606 Py_INCREF(Py_None); resultobj = Py_None;
16607 return resultobj;
16608 fail:
16609 return NULL;
16610}
16611
16612
c32bde28 16613static PyObject * ProgressDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16614 PyObject *obj;
16615 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16616 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
16617 Py_INCREF(obj);
16618 return Py_BuildValue((char *)"");
16619}
c32bde28 16620static PyObject *_wrap_new_FindDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16621 PyObject *resultobj = NULL;
d55e5bfc
RD
16622 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16623 int arg2 = (int) 0 ;
16624 wxFindDialogEvent *result;
16625 PyObject * obj0 = 0 ;
16626 PyObject * obj1 = 0 ;
16627 char *kwnames[] = {
16628 (char *) "commandType",(char *) "id", NULL
16629 };
16630
16631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
16632 if (obj0) {
093d3ff1 16633 {
7449af73 16634 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
093d3ff1
RD
16635 if (SWIG_arg_fail(1)) SWIG_fail;
16636 }
d55e5bfc
RD
16637 }
16638 if (obj1) {
093d3ff1 16639 {
7449af73 16640 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
16641 if (SWIG_arg_fail(2)) SWIG_fail;
16642 }
d55e5bfc
RD
16643 }
16644 {
16645 PyThreadState* __tstate = wxPyBeginAllowThreads();
16646 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
16647
16648 wxPyEndAllowThreads(__tstate);
16649 if (PyErr_Occurred()) SWIG_fail;
16650 }
16651 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
16652 return resultobj;
16653 fail:
16654 return NULL;
16655}
16656
16657
c32bde28 16658static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16659 PyObject *resultobj = NULL;
d55e5bfc
RD
16660 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16661 int result;
16662 PyObject * obj0 = 0 ;
16663 char *kwnames[] = {
16664 (char *) "self", NULL
16665 };
16666
16667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
093d3ff1
RD
16668 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16669 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16670 {
16671 PyThreadState* __tstate = wxPyBeginAllowThreads();
16672 result = (int)(arg1)->GetFlags();
16673
16674 wxPyEndAllowThreads(__tstate);
16675 if (PyErr_Occurred()) SWIG_fail;
16676 }
093d3ff1 16677 {
7449af73 16678 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 16679 }
d55e5bfc
RD
16680 return resultobj;
16681 fail:
16682 return NULL;
16683}
16684
16685
c32bde28 16686static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16687 PyObject *resultobj = NULL;
d55e5bfc
RD
16688 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16689 wxString *result;
16690 PyObject * obj0 = 0 ;
16691 char *kwnames[] = {
16692 (char *) "self", NULL
16693 };
16694
16695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
093d3ff1
RD
16696 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16697 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16698 {
16699 PyThreadState* __tstate = wxPyBeginAllowThreads();
16700 {
16701 wxString const &_result_ref = (arg1)->GetFindString();
16702 result = (wxString *) &_result_ref;
16703 }
16704
16705 wxPyEndAllowThreads(__tstate);
16706 if (PyErr_Occurred()) SWIG_fail;
16707 }
16708 {
16709#if wxUSE_UNICODE
16710 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16711#else
16712 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16713#endif
16714 }
16715 return resultobj;
16716 fail:
16717 return NULL;
16718}
16719
16720
c32bde28 16721static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16722 PyObject *resultobj = NULL;
d55e5bfc
RD
16723 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16724 wxString *result;
16725 PyObject * obj0 = 0 ;
16726 char *kwnames[] = {
16727 (char *) "self", NULL
16728 };
16729
16730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
093d3ff1
RD
16731 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16732 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16733 {
16734 PyThreadState* __tstate = wxPyBeginAllowThreads();
16735 {
16736 wxString const &_result_ref = (arg1)->GetReplaceString();
16737 result = (wxString *) &_result_ref;
16738 }
16739
16740 wxPyEndAllowThreads(__tstate);
16741 if (PyErr_Occurred()) SWIG_fail;
16742 }
16743 {
16744#if wxUSE_UNICODE
16745 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16746#else
16747 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16748#endif
16749 }
16750 return resultobj;
16751 fail:
16752 return NULL;
16753}
16754
16755
c32bde28 16756static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16757 PyObject *resultobj = NULL;
d55e5bfc
RD
16758 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16759 wxFindReplaceDialog *result;
16760 PyObject * obj0 = 0 ;
16761 char *kwnames[] = {
16762 (char *) "self", NULL
16763 };
16764
16765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
093d3ff1
RD
16766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16767 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16768 {
16769 PyThreadState* __tstate = wxPyBeginAllowThreads();
16770 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
16771
16772 wxPyEndAllowThreads(__tstate);
16773 if (PyErr_Occurred()) SWIG_fail;
16774 }
16775 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
16776 return resultobj;
16777 fail:
16778 return NULL;
16779}
16780
16781
c32bde28 16782static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16783 PyObject *resultobj = NULL;
d55e5bfc
RD
16784 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16785 int arg2 ;
16786 PyObject * obj0 = 0 ;
16787 PyObject * obj1 = 0 ;
16788 char *kwnames[] = {
16789 (char *) "self",(char *) "flags", NULL
16790 };
16791
16792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16793 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16794 if (SWIG_arg_fail(1)) SWIG_fail;
16795 {
7449af73 16796 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
16797 if (SWIG_arg_fail(2)) SWIG_fail;
16798 }
d55e5bfc
RD
16799 {
16800 PyThreadState* __tstate = wxPyBeginAllowThreads();
16801 (arg1)->SetFlags(arg2);
16802
16803 wxPyEndAllowThreads(__tstate);
16804 if (PyErr_Occurred()) SWIG_fail;
16805 }
16806 Py_INCREF(Py_None); resultobj = Py_None;
16807 return resultobj;
16808 fail:
16809 return NULL;
16810}
16811
16812
c32bde28 16813static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16814 PyObject *resultobj = NULL;
d55e5bfc
RD
16815 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16816 wxString *arg2 = 0 ;
ae8162c8 16817 bool temp2 = false ;
d55e5bfc
RD
16818 PyObject * obj0 = 0 ;
16819 PyObject * obj1 = 0 ;
16820 char *kwnames[] = {
16821 (char *) "self",(char *) "str", NULL
16822 };
16823
16824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16825 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16826 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16827 {
16828 arg2 = wxString_in_helper(obj1);
16829 if (arg2 == NULL) SWIG_fail;
ae8162c8 16830 temp2 = true;
d55e5bfc
RD
16831 }
16832 {
16833 PyThreadState* __tstate = wxPyBeginAllowThreads();
16834 (arg1)->SetFindString((wxString const &)*arg2);
16835
16836 wxPyEndAllowThreads(__tstate);
16837 if (PyErr_Occurred()) SWIG_fail;
16838 }
16839 Py_INCREF(Py_None); resultobj = Py_None;
16840 {
16841 if (temp2)
16842 delete arg2;
16843 }
16844 return resultobj;
16845 fail:
16846 {
16847 if (temp2)
16848 delete arg2;
16849 }
16850 return NULL;
16851}
16852
16853
c32bde28 16854static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16855 PyObject *resultobj = NULL;
d55e5bfc
RD
16856 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16857 wxString *arg2 = 0 ;
ae8162c8 16858 bool temp2 = false ;
d55e5bfc
RD
16859 PyObject * obj0 = 0 ;
16860 PyObject * obj1 = 0 ;
16861 char *kwnames[] = {
16862 (char *) "self",(char *) "str", NULL
16863 };
16864
16865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16866 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16867 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16868 {
16869 arg2 = wxString_in_helper(obj1);
16870 if (arg2 == NULL) SWIG_fail;
ae8162c8 16871 temp2 = true;
d55e5bfc
RD
16872 }
16873 {
16874 PyThreadState* __tstate = wxPyBeginAllowThreads();
16875 (arg1)->SetReplaceString((wxString const &)*arg2);
16876
16877 wxPyEndAllowThreads(__tstate);
16878 if (PyErr_Occurred()) SWIG_fail;
16879 }
16880 Py_INCREF(Py_None); resultobj = Py_None;
16881 {
16882 if (temp2)
16883 delete arg2;
16884 }
16885 return resultobj;
16886 fail:
16887 {
16888 if (temp2)
16889 delete arg2;
16890 }
16891 return NULL;
16892}
16893
16894
c32bde28 16895static PyObject * FindDialogEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16896 PyObject *obj;
16897 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16898 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
16899 Py_INCREF(obj);
16900 return Py_BuildValue((char *)"");
16901}
c32bde28 16902static PyObject *_wrap_new_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16903 PyObject *resultobj = NULL;
d55e5bfc
RD
16904 int arg1 = (int) 0 ;
16905 wxFindReplaceData *result;
16906 PyObject * obj0 = 0 ;
16907 char *kwnames[] = {
16908 (char *) "flags", NULL
16909 };
16910
16911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
16912 if (obj0) {
093d3ff1 16913 {
7449af73 16914 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
16915 if (SWIG_arg_fail(1)) SWIG_fail;
16916 }
d55e5bfc
RD
16917 }
16918 {
16919 PyThreadState* __tstate = wxPyBeginAllowThreads();
16920 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
16921
16922 wxPyEndAllowThreads(__tstate);
16923 if (PyErr_Occurred()) SWIG_fail;
16924 }
16925 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
16926 return resultobj;
16927 fail:
16928 return NULL;
16929}
16930
16931
c32bde28 16932static PyObject *_wrap_delete_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16933 PyObject *resultobj = NULL;
d55e5bfc
RD
16934 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16935 PyObject * obj0 = 0 ;
16936 char *kwnames[] = {
16937 (char *) "self", NULL
16938 };
16939
16940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
093d3ff1
RD
16941 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16942 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16943 {
16944 PyThreadState* __tstate = wxPyBeginAllowThreads();
16945 delete arg1;
16946
16947 wxPyEndAllowThreads(__tstate);
16948 if (PyErr_Occurred()) SWIG_fail;
16949 }
16950 Py_INCREF(Py_None); resultobj = Py_None;
16951 return resultobj;
16952 fail:
16953 return NULL;
16954}
16955
16956
c32bde28 16957static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16958 PyObject *resultobj = NULL;
d55e5bfc
RD
16959 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16960 wxString *result;
16961 PyObject * obj0 = 0 ;
16962 char *kwnames[] = {
16963 (char *) "self", NULL
16964 };
16965
16966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
093d3ff1
RD
16967 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16968 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16969 {
16970 PyThreadState* __tstate = wxPyBeginAllowThreads();
16971 {
16972 wxString const &_result_ref = (arg1)->GetFindString();
16973 result = (wxString *) &_result_ref;
16974 }
16975
16976 wxPyEndAllowThreads(__tstate);
16977 if (PyErr_Occurred()) SWIG_fail;
16978 }
16979 {
16980#if wxUSE_UNICODE
16981 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16982#else
16983 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16984#endif
16985 }
16986 return resultobj;
16987 fail:
16988 return NULL;
16989}
16990
16991
c32bde28 16992static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16993 PyObject *resultobj = NULL;
d55e5bfc
RD
16994 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16995 wxString *result;
16996 PyObject * obj0 = 0 ;
16997 char *kwnames[] = {
16998 (char *) "self", NULL
16999 };
17000
17001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
093d3ff1
RD
17002 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
17003 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17004 {
17005 PyThreadState* __tstate = wxPyBeginAllowThreads();
17006 {
17007 wxString const &_result_ref = (arg1)->GetReplaceString();
17008 result = (wxString *) &_result_ref;
17009 }
17010
17011 wxPyEndAllowThreads(__tstate);
17012 if (PyErr_Occurred()) SWIG_fail;
17013 }
17014 {
17015#if wxUSE_UNICODE
17016 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17017#else
17018 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17019#endif
17020 }
17021 return resultobj;
17022 fail:
17023 return NULL;
17024}
17025
17026
c32bde28 17027static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17028 PyObject *resultobj = NULL;
d55e5bfc
RD
17029 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
17030 int result;
17031 PyObject * obj0 = 0 ;
17032 char *kwnames[] = {
17033 (char *) "self", NULL
17034 };
17035
17036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
093d3ff1
RD
17037 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
17038 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17039 {
17040 PyThreadState* __tstate = wxPyBeginAllowThreads();
17041 result = (int)(arg1)->GetFlags();
17042
17043 wxPyEndAllowThreads(__tstate);
17044 if (PyErr_Occurred()) SWIG_fail;
17045 }
093d3ff1 17046 {
7449af73 17047 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 17048 }
d55e5bfc
RD
17049 return resultobj;
17050 fail:
17051 return NULL;
17052}
17053
17054
c32bde28 17055static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17056 PyObject *resultobj = NULL;
d55e5bfc
RD
17057 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
17058 int arg2 ;
17059 PyObject * obj0 = 0 ;
17060 PyObject * obj1 = 0 ;
17061 char *kwnames[] = {
17062 (char *) "self",(char *) "flags", NULL
17063 };
17064
17065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17066 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
17067 if (SWIG_arg_fail(1)) SWIG_fail;
17068 {
7449af73 17069 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
17070 if (SWIG_arg_fail(2)) SWIG_fail;
17071 }
d55e5bfc
RD
17072 {
17073 PyThreadState* __tstate = wxPyBeginAllowThreads();
17074 (arg1)->SetFlags(arg2);
17075
17076 wxPyEndAllowThreads(__tstate);
17077 if (PyErr_Occurred()) SWIG_fail;
17078 }
17079 Py_INCREF(Py_None); resultobj = Py_None;
17080 return resultobj;
17081 fail:
17082 return NULL;
17083}
17084
17085
c32bde28 17086static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17087 PyObject *resultobj = NULL;
d55e5bfc
RD
17088 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
17089 wxString *arg2 = 0 ;
ae8162c8 17090 bool temp2 = false ;
d55e5bfc
RD
17091 PyObject * obj0 = 0 ;
17092 PyObject * obj1 = 0 ;
17093 char *kwnames[] = {
17094 (char *) "self",(char *) "str", NULL
17095 };
17096
17097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17098 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
17099 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17100 {
17101 arg2 = wxString_in_helper(obj1);
17102 if (arg2 == NULL) SWIG_fail;
ae8162c8 17103 temp2 = true;
d55e5bfc
RD
17104 }
17105 {
17106 PyThreadState* __tstate = wxPyBeginAllowThreads();
17107 (arg1)->SetFindString((wxString const &)*arg2);
17108
17109 wxPyEndAllowThreads(__tstate);
17110 if (PyErr_Occurred()) SWIG_fail;
17111 }
17112 Py_INCREF(Py_None); resultobj = Py_None;
17113 {
17114 if (temp2)
17115 delete arg2;
17116 }
17117 return resultobj;
17118 fail:
17119 {
17120 if (temp2)
17121 delete arg2;
17122 }
17123 return NULL;
17124}
17125
17126
c32bde28 17127static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17128 PyObject *resultobj = NULL;
d55e5bfc
RD
17129 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
17130 wxString *arg2 = 0 ;
ae8162c8 17131 bool temp2 = false ;
d55e5bfc
RD
17132 PyObject * obj0 = 0 ;
17133 PyObject * obj1 = 0 ;
17134 char *kwnames[] = {
17135 (char *) "self",(char *) "str", NULL
17136 };
17137
17138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17139 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
17140 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17141 {
17142 arg2 = wxString_in_helper(obj1);
17143 if (arg2 == NULL) SWIG_fail;
ae8162c8 17144 temp2 = true;
d55e5bfc
RD
17145 }
17146 {
17147 PyThreadState* __tstate = wxPyBeginAllowThreads();
17148 (arg1)->SetReplaceString((wxString const &)*arg2);
17149
17150 wxPyEndAllowThreads(__tstate);
17151 if (PyErr_Occurred()) SWIG_fail;
17152 }
17153 Py_INCREF(Py_None); resultobj = Py_None;
17154 {
17155 if (temp2)
17156 delete arg2;
17157 }
17158 return resultobj;
17159 fail:
17160 {
17161 if (temp2)
17162 delete arg2;
17163 }
17164 return NULL;
17165}
17166
17167
c32bde28 17168static PyObject * FindReplaceData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17169 PyObject *obj;
17170 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17171 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
17172 Py_INCREF(obj);
17173 return Py_BuildValue((char *)"");
17174}
c32bde28 17175static PyObject *_wrap_new_FindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17176 PyObject *resultobj = NULL;
d55e5bfc
RD
17177 wxWindow *arg1 = (wxWindow *) 0 ;
17178 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
17179 wxString *arg3 = 0 ;
17180 int arg4 = (int) 0 ;
17181 wxFindReplaceDialog *result;
ae8162c8 17182 bool temp3 = false ;
d55e5bfc
RD
17183 PyObject * obj0 = 0 ;
17184 PyObject * obj1 = 0 ;
17185 PyObject * obj2 = 0 ;
17186 PyObject * obj3 = 0 ;
17187 char *kwnames[] = {
17188 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
17189 };
17190
17191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
17192 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17193 if (SWIG_arg_fail(1)) SWIG_fail;
17194 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
17195 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
17196 {
17197 arg3 = wxString_in_helper(obj2);
17198 if (arg3 == NULL) SWIG_fail;
ae8162c8 17199 temp3 = true;
d55e5bfc
RD
17200 }
17201 if (obj3) {
093d3ff1 17202 {
7449af73 17203 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
17204 if (SWIG_arg_fail(4)) SWIG_fail;
17205 }
d55e5bfc
RD
17206 }
17207 {
0439c23b 17208 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17209 PyThreadState* __tstate = wxPyBeginAllowThreads();
17210 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
17211
17212 wxPyEndAllowThreads(__tstate);
110da5b0 17213 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
17214 }
17215 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
17216 {
17217 if (temp3)
17218 delete arg3;
17219 }
17220 return resultobj;
17221 fail:
17222 {
17223 if (temp3)
17224 delete arg3;
17225 }
17226 return NULL;
17227}
17228
17229
c32bde28 17230static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17231 PyObject *resultobj = NULL;
d55e5bfc
RD
17232 wxFindReplaceDialog *result;
17233 char *kwnames[] = {
17234 NULL
17235 };
17236
17237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
17238 {
0439c23b 17239 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17240 PyThreadState* __tstate = wxPyBeginAllowThreads();
17241 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
17242
17243 wxPyEndAllowThreads(__tstate);
110da5b0 17244 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
17245 }
17246 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
17247 return resultobj;
17248 fail:
17249 return NULL;
17250}
17251
17252
c32bde28 17253static PyObject *_wrap_FindReplaceDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17254 PyObject *resultobj = NULL;
d55e5bfc
RD
17255 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
17256 wxWindow *arg2 = (wxWindow *) 0 ;
17257 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
17258 wxString *arg4 = 0 ;
17259 int arg5 = (int) 0 ;
17260 bool result;
ae8162c8 17261 bool temp4 = false ;
d55e5bfc
RD
17262 PyObject * obj0 = 0 ;
17263 PyObject * obj1 = 0 ;
17264 PyObject * obj2 = 0 ;
17265 PyObject * obj3 = 0 ;
17266 PyObject * obj4 = 0 ;
17267 char *kwnames[] = {
17268 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
17269 };
17270
17271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
17272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
17273 if (SWIG_arg_fail(1)) SWIG_fail;
17274 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17275 if (SWIG_arg_fail(2)) SWIG_fail;
17276 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
17277 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
17278 {
17279 arg4 = wxString_in_helper(obj3);
17280 if (arg4 == NULL) SWIG_fail;
ae8162c8 17281 temp4 = true;
d55e5bfc
RD
17282 }
17283 if (obj4) {
093d3ff1 17284 {
7449af73 17285 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
17286 if (SWIG_arg_fail(5)) SWIG_fail;
17287 }
d55e5bfc
RD
17288 }
17289 {
17290 PyThreadState* __tstate = wxPyBeginAllowThreads();
17291 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
17292
17293 wxPyEndAllowThreads(__tstate);
17294 if (PyErr_Occurred()) SWIG_fail;
17295 }
17296 {
17297 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17298 }
17299 {
17300 if (temp4)
17301 delete arg4;
17302 }
17303 return resultobj;
17304 fail:
17305 {
17306 if (temp4)
17307 delete arg4;
17308 }
17309 return NULL;
17310}
17311
17312
c32bde28 17313static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17314 PyObject *resultobj = NULL;
d55e5bfc
RD
17315 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
17316 wxFindReplaceData *result;
17317 PyObject * obj0 = 0 ;
17318 char *kwnames[] = {
17319 (char *) "self", NULL
17320 };
17321
17322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
093d3ff1
RD
17323 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
17324 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17325 {
17326 PyThreadState* __tstate = wxPyBeginAllowThreads();
17327 result = (wxFindReplaceData *)(arg1)->GetData();
17328
17329 wxPyEndAllowThreads(__tstate);
17330 if (PyErr_Occurred()) SWIG_fail;
17331 }
17332 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
17333 return resultobj;
17334 fail:
17335 return NULL;
17336}
17337
17338
c32bde28 17339static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17340 PyObject *resultobj = NULL;
d55e5bfc
RD
17341 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
17342 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
17343 PyObject * obj0 = 0 ;
17344 PyObject * obj1 = 0 ;
17345 char *kwnames[] = {
17346 (char *) "self",(char *) "data", NULL
17347 };
17348
17349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17350 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
17351 if (SWIG_arg_fail(1)) SWIG_fail;
17352 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
17353 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
17354 {
17355 PyThreadState* __tstate = wxPyBeginAllowThreads();
17356 (arg1)->SetData(arg2);
17357
17358 wxPyEndAllowThreads(__tstate);
17359 if (PyErr_Occurred()) SWIG_fail;
17360 }
17361 Py_INCREF(Py_None); resultobj = Py_None;
17362 return resultobj;
17363 fail:
17364 return NULL;
17365}
17366
17367
c32bde28 17368static PyObject * FindReplaceDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17369 PyObject *obj;
17370 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17371 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
17372 Py_INCREF(obj);
17373 return Py_BuildValue((char *)"");
17374}
c32bde28 17375static PyObject *_wrap_new_MDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17376 PyObject *resultobj = NULL;
d55e5bfc 17377 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
17378 int arg2 = (int) (int)-1 ;
17379 wxString const &arg3_defvalue = wxPyEmptyString ;
17380 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
17381 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17382 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17383 wxSize const &arg5_defvalue = wxDefaultSize ;
17384 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17385 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
17386 wxString const &arg7_defvalue = wxPyFrameNameStr ;
17387 wxString *arg7 = (wxString *) &arg7_defvalue ;
17388 wxMDIParentFrame *result;
ae8162c8 17389 bool temp3 = false ;
d55e5bfc
RD
17390 wxPoint temp4 ;
17391 wxSize temp5 ;
ae8162c8 17392 bool temp7 = false ;
d55e5bfc
RD
17393 PyObject * obj0 = 0 ;
17394 PyObject * obj1 = 0 ;
17395 PyObject * obj2 = 0 ;
17396 PyObject * obj3 = 0 ;
17397 PyObject * obj4 = 0 ;
17398 PyObject * obj5 = 0 ;
17399 PyObject * obj6 = 0 ;
17400 char *kwnames[] = {
17401 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17402 };
17403
248ed943 17404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
17405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17406 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 17407 if (obj1) {
093d3ff1 17408 {
7449af73 17409 arg2 = static_cast<int const >(SWIG_As_int(obj1));
093d3ff1
RD
17410 if (SWIG_arg_fail(2)) SWIG_fail;
17411 }
248ed943
RD
17412 }
17413 if (obj2) {
17414 {
17415 arg3 = wxString_in_helper(obj2);
17416 if (arg3 == NULL) SWIG_fail;
ae8162c8 17417 temp3 = true;
248ed943 17418 }
d55e5bfc
RD
17419 }
17420 if (obj3) {
17421 {
17422 arg4 = &temp4;
17423 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17424 }
17425 }
17426 if (obj4) {
17427 {
17428 arg5 = &temp5;
17429 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17430 }
17431 }
17432 if (obj5) {
093d3ff1 17433 {
7449af73 17434 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
17435 if (SWIG_arg_fail(6)) SWIG_fail;
17436 }
d55e5bfc
RD
17437 }
17438 if (obj6) {
17439 {
17440 arg7 = wxString_in_helper(obj6);
17441 if (arg7 == NULL) SWIG_fail;
ae8162c8 17442 temp7 = true;
d55e5bfc
RD
17443 }
17444 }
17445 {
0439c23b 17446 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17447 PyThreadState* __tstate = wxPyBeginAllowThreads();
17448 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17449
17450 wxPyEndAllowThreads(__tstate);
110da5b0 17451 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
17452 }
17453 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
17454 {
17455 if (temp3)
17456 delete arg3;
17457 }
17458 {
17459 if (temp7)
17460 delete arg7;
17461 }
17462 return resultobj;
17463 fail:
17464 {
17465 if (temp3)
17466 delete arg3;
17467 }
17468 {
17469 if (temp7)
17470 delete arg7;
17471 }
17472 return NULL;
17473}
17474
17475
c32bde28 17476static PyObject *_wrap_new_PreMDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17477 PyObject *resultobj = NULL;
d55e5bfc
RD
17478 wxMDIParentFrame *result;
17479 char *kwnames[] = {
17480 NULL
17481 };
17482
17483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
17484 {
0439c23b 17485 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17486 PyThreadState* __tstate = wxPyBeginAllowThreads();
17487 result = (wxMDIParentFrame *)new wxMDIParentFrame();
17488
17489 wxPyEndAllowThreads(__tstate);
110da5b0 17490 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
17491 }
17492 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
17493 return resultobj;
17494 fail:
17495 return NULL;
17496}
17497
17498
c32bde28 17499static PyObject *_wrap_MDIParentFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17500 PyObject *resultobj = NULL;
d55e5bfc
RD
17501 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17502 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
17503 int arg3 = (int) (int)-1 ;
17504 wxString const &arg4_defvalue = wxPyEmptyString ;
17505 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
17506 wxPoint const &arg5_defvalue = wxDefaultPosition ;
17507 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
17508 wxSize const &arg6_defvalue = wxDefaultSize ;
17509 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17510 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
17511 wxString const &arg8_defvalue = wxPyFrameNameStr ;
17512 wxString *arg8 = (wxString *) &arg8_defvalue ;
17513 bool result;
ae8162c8 17514 bool temp4 = false ;
d55e5bfc
RD
17515 wxPoint temp5 ;
17516 wxSize temp6 ;
ae8162c8 17517 bool temp8 = false ;
d55e5bfc
RD
17518 PyObject * obj0 = 0 ;
17519 PyObject * obj1 = 0 ;
17520 PyObject * obj2 = 0 ;
17521 PyObject * obj3 = 0 ;
17522 PyObject * obj4 = 0 ;
17523 PyObject * obj5 = 0 ;
17524 PyObject * obj6 = 0 ;
17525 PyObject * obj7 = 0 ;
17526 char *kwnames[] = {
17527 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17528 };
17529
248ed943 17530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
17531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17532 if (SWIG_arg_fail(1)) SWIG_fail;
17533 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17534 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 17535 if (obj2) {
093d3ff1 17536 {
7449af73 17537 arg3 = static_cast<int const >(SWIG_As_int(obj2));
093d3ff1
RD
17538 if (SWIG_arg_fail(3)) SWIG_fail;
17539 }
248ed943
RD
17540 }
17541 if (obj3) {
17542 {
17543 arg4 = wxString_in_helper(obj3);
17544 if (arg4 == NULL) SWIG_fail;
ae8162c8 17545 temp4 = true;
248ed943 17546 }
d55e5bfc
RD
17547 }
17548 if (obj4) {
17549 {
17550 arg5 = &temp5;
17551 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
17552 }
17553 }
17554 if (obj5) {
17555 {
17556 arg6 = &temp6;
17557 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
17558 }
17559 }
17560 if (obj6) {
093d3ff1 17561 {
7449af73 17562 arg7 = static_cast<long >(SWIG_As_long(obj6));
093d3ff1
RD
17563 if (SWIG_arg_fail(7)) SWIG_fail;
17564 }
d55e5bfc
RD
17565 }
17566 if (obj7) {
17567 {
17568 arg8 = wxString_in_helper(obj7);
17569 if (arg8 == NULL) SWIG_fail;
ae8162c8 17570 temp8 = true;
d55e5bfc
RD
17571 }
17572 }
17573 {
17574 PyThreadState* __tstate = wxPyBeginAllowThreads();
17575 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
17576
17577 wxPyEndAllowThreads(__tstate);
17578 if (PyErr_Occurred()) SWIG_fail;
17579 }
17580 {
17581 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17582 }
17583 {
17584 if (temp4)
17585 delete arg4;
17586 }
17587 {
17588 if (temp8)
17589 delete arg8;
17590 }
17591 return resultobj;
17592 fail:
17593 {
17594 if (temp4)
17595 delete arg4;
17596 }
17597 {
17598 if (temp8)
17599 delete arg8;
17600 }
17601 return NULL;
17602}
17603
17604
c32bde28 17605static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17606 PyObject *resultobj = NULL;
d55e5bfc
RD
17607 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17608 PyObject * obj0 = 0 ;
17609 char *kwnames[] = {
17610 (char *) "self", NULL
17611 };
17612
17613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
093d3ff1
RD
17614 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17615 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17616 {
17617 PyThreadState* __tstate = wxPyBeginAllowThreads();
17618 (arg1)->ActivateNext();
17619
17620 wxPyEndAllowThreads(__tstate);
17621 if (PyErr_Occurred()) SWIG_fail;
17622 }
17623 Py_INCREF(Py_None); resultobj = Py_None;
17624 return resultobj;
17625 fail:
17626 return NULL;
17627}
17628
17629
c32bde28 17630static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17631 PyObject *resultobj = NULL;
d55e5bfc
RD
17632 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17633 PyObject * obj0 = 0 ;
17634 char *kwnames[] = {
17635 (char *) "self", NULL
17636 };
17637
17638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
093d3ff1
RD
17639 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17640 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17641 {
17642 PyThreadState* __tstate = wxPyBeginAllowThreads();
17643 (arg1)->ActivatePrevious();
17644
17645 wxPyEndAllowThreads(__tstate);
17646 if (PyErr_Occurred()) SWIG_fail;
17647 }
17648 Py_INCREF(Py_None); resultobj = Py_None;
17649 return resultobj;
17650 fail:
17651 return NULL;
17652}
17653
17654
c32bde28 17655static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17656 PyObject *resultobj = NULL;
d55e5bfc
RD
17657 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17658 PyObject * obj0 = 0 ;
17659 char *kwnames[] = {
17660 (char *) "self", NULL
17661 };
17662
17663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
093d3ff1
RD
17664 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17665 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17666 {
17667 PyThreadState* __tstate = wxPyBeginAllowThreads();
17668 (arg1)->ArrangeIcons();
17669
17670 wxPyEndAllowThreads(__tstate);
17671 if (PyErr_Occurred()) SWIG_fail;
17672 }
17673 Py_INCREF(Py_None); resultobj = Py_None;
17674 return resultobj;
17675 fail:
17676 return NULL;
17677}
17678
17679
c32bde28 17680static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17681 PyObject *resultobj = NULL;
d55e5bfc
RD
17682 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17683 PyObject * obj0 = 0 ;
17684 char *kwnames[] = {
17685 (char *) "self", NULL
17686 };
17687
17688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
093d3ff1
RD
17689 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17690 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17691 {
17692 PyThreadState* __tstate = wxPyBeginAllowThreads();
17693 (arg1)->Cascade();
17694
17695 wxPyEndAllowThreads(__tstate);
17696 if (PyErr_Occurred()) SWIG_fail;
17697 }
17698 Py_INCREF(Py_None); resultobj = Py_None;
17699 return resultobj;
17700 fail:
17701 return NULL;
17702}
17703
17704
c32bde28 17705static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17706 PyObject *resultobj = NULL;
d55e5bfc
RD
17707 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17708 wxMDIChildFrame *result;
17709 PyObject * obj0 = 0 ;
17710 char *kwnames[] = {
17711 (char *) "self", NULL
17712 };
17713
17714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
093d3ff1
RD
17715 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17716 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17717 {
17718 PyThreadState* __tstate = wxPyBeginAllowThreads();
17719 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
17720
17721 wxPyEndAllowThreads(__tstate);
17722 if (PyErr_Occurred()) SWIG_fail;
17723 }
17724 {
7e08d4ef 17725 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
17726 }
17727 return resultobj;
17728 fail:
17729 return NULL;
17730}
17731
17732
c32bde28 17733static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17734 PyObject *resultobj = NULL;
d55e5bfc
RD
17735 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17736 wxMDIClientWindow *result;
17737 PyObject * obj0 = 0 ;
17738 char *kwnames[] = {
17739 (char *) "self", NULL
17740 };
17741
17742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
17743 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17744 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17745 {
17746 PyThreadState* __tstate = wxPyBeginAllowThreads();
17747 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
17748
17749 wxPyEndAllowThreads(__tstate);
17750 if (PyErr_Occurred()) SWIG_fail;
17751 }
17752 {
7e08d4ef 17753 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
17754 }
17755 return resultobj;
17756 fail:
17757 return NULL;
17758}
17759
17760
c32bde28 17761static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17762 PyObject *resultobj = NULL;
d55e5bfc
RD
17763 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17764 wxWindow *result;
17765 PyObject * obj0 = 0 ;
17766 char *kwnames[] = {
17767 (char *) "self", NULL
17768 };
17769
17770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
17771 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17772 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17773 {
17774 PyThreadState* __tstate = wxPyBeginAllowThreads();
17775 result = (wxWindow *)(arg1)->GetToolBar();
17776
17777 wxPyEndAllowThreads(__tstate);
17778 if (PyErr_Occurred()) SWIG_fail;
17779 }
17780 {
412d302d 17781 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
17782 }
17783 return resultobj;
17784 fail:
17785 return NULL;
17786}
17787
17788
c32bde28 17789static PyObject *_wrap_MDIParentFrame_GetWindowMenu(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17790 PyObject *resultobj = NULL;
d55e5bfc
RD
17791 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17792 wxMenu *result;
17793 PyObject * obj0 = 0 ;
17794 char *kwnames[] = {
17795 (char *) "self", NULL
17796 };
17797
17798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames,&obj0)) goto fail;
093d3ff1
RD
17799 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17800 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17801 {
17802 PyThreadState* __tstate = wxPyBeginAllowThreads();
17803 result = (wxMenu *)(arg1)->GetWindowMenu();
17804
17805 wxPyEndAllowThreads(__tstate);
17806 if (PyErr_Occurred()) SWIG_fail;
17807 }
17808 {
412d302d 17809 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
17810 }
17811 return resultobj;
17812 fail:
17813 return NULL;
17814}
17815
17816
c32bde28 17817static PyObject *_wrap_MDIParentFrame_SetWindowMenu(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17818 PyObject *resultobj = NULL;
d55e5bfc
RD
17819 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17820 wxMenu *arg2 = (wxMenu *) 0 ;
17821 PyObject * obj0 = 0 ;
17822 PyObject * obj1 = 0 ;
17823 char *kwnames[] = {
17824 (char *) "self",(char *) "menu", NULL
17825 };
17826
17827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17828 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17829 if (SWIG_arg_fail(1)) SWIG_fail;
17830 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
17831 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
17832 {
17833 PyThreadState* __tstate = wxPyBeginAllowThreads();
17834 (arg1)->SetWindowMenu(arg2);
17835
17836 wxPyEndAllowThreads(__tstate);
17837 if (PyErr_Occurred()) SWIG_fail;
17838 }
17839 Py_INCREF(Py_None); resultobj = Py_None;
17840 return resultobj;
17841 fail:
17842 return NULL;
17843}
17844
17845
c32bde28 17846static PyObject *_wrap_MDIParentFrame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17847 PyObject *resultobj = NULL;
d55e5bfc
RD
17848 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17849 wxToolBar *arg2 = (wxToolBar *) 0 ;
17850 PyObject * obj0 = 0 ;
17851 PyObject * obj1 = 0 ;
17852 char *kwnames[] = {
17853 (char *) "self",(char *) "toolbar", NULL
17854 };
17855
17856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17857 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17858 if (SWIG_arg_fail(1)) SWIG_fail;
17859 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
17860 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
17861 {
17862 PyThreadState* __tstate = wxPyBeginAllowThreads();
17863 (arg1)->SetToolBar(arg2);
17864
17865 wxPyEndAllowThreads(__tstate);
17866 if (PyErr_Occurred()) SWIG_fail;
17867 }
17868 Py_INCREF(Py_None); resultobj = Py_None;
17869 return resultobj;
17870 fail:
17871 return NULL;
17872}
17873
17874
c32bde28 17875static PyObject *_wrap_MDIParentFrame_Tile(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17876 PyObject *resultobj = NULL;
d55e5bfc 17877 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
396fb509 17878 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
d55e5bfc 17879 PyObject * obj0 = 0 ;
396fb509 17880 PyObject * obj1 = 0 ;
d55e5bfc 17881 char *kwnames[] = {
396fb509 17882 (char *) "self",(char *) "orient", NULL
d55e5bfc
RD
17883 };
17884
396fb509 17885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17886 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17887 if (SWIG_arg_fail(1)) SWIG_fail;
396fb509
RD
17888 if (obj1) {
17889 {
7449af73 17890 arg2 = static_cast<wxOrientation >(SWIG_As_int(obj1));
396fb509
RD
17891 if (SWIG_arg_fail(2)) SWIG_fail;
17892 }
17893 }
d55e5bfc
RD
17894 {
17895 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 17896 (arg1)->Tile(arg2);
d55e5bfc
RD
17897
17898 wxPyEndAllowThreads(__tstate);
17899 if (PyErr_Occurred()) SWIG_fail;
17900 }
17901 Py_INCREF(Py_None); resultobj = Py_None;
17902 return resultobj;
17903 fail:
17904 return NULL;
17905}
17906
17907
c32bde28 17908static PyObject * MDIParentFrame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17909 PyObject *obj;
17910 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17911 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
17912 Py_INCREF(obj);
17913 return Py_BuildValue((char *)"");
17914}
c32bde28 17915static PyObject *_wrap_new_MDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17916 PyObject *resultobj = NULL;
d55e5bfc 17917 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
248ed943
RD
17918 int arg2 = (int) (int)-1 ;
17919 wxString const &arg3_defvalue = wxPyEmptyString ;
17920 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
17921 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17922 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17923 wxSize const &arg5_defvalue = wxDefaultSize ;
17924 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17925 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
17926 wxString const &arg7_defvalue = wxPyFrameNameStr ;
17927 wxString *arg7 = (wxString *) &arg7_defvalue ;
17928 wxMDIChildFrame *result;
ae8162c8 17929 bool temp3 = false ;
d55e5bfc
RD
17930 wxPoint temp4 ;
17931 wxSize temp5 ;
ae8162c8 17932 bool temp7 = false ;
d55e5bfc
RD
17933 PyObject * obj0 = 0 ;
17934 PyObject * obj1 = 0 ;
17935 PyObject * obj2 = 0 ;
17936 PyObject * obj3 = 0 ;
17937 PyObject * obj4 = 0 ;
17938 PyObject * obj5 = 0 ;
17939 PyObject * obj6 = 0 ;
17940 char *kwnames[] = {
17941 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17942 };
17943
248ed943 17944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
17945 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17946 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 17947 if (obj1) {
093d3ff1 17948 {
7449af73 17949 arg2 = static_cast<int const >(SWIG_As_int(obj1));
093d3ff1
RD
17950 if (SWIG_arg_fail(2)) SWIG_fail;
17951 }
248ed943
RD
17952 }
17953 if (obj2) {
17954 {
17955 arg3 = wxString_in_helper(obj2);
17956 if (arg3 == NULL) SWIG_fail;
ae8162c8 17957 temp3 = true;
248ed943 17958 }
d55e5bfc
RD
17959 }
17960 if (obj3) {
17961 {
17962 arg4 = &temp4;
17963 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17964 }
17965 }
17966 if (obj4) {
17967 {
17968 arg5 = &temp5;
17969 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17970 }
17971 }
17972 if (obj5) {
093d3ff1 17973 {
7449af73 17974 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
17975 if (SWIG_arg_fail(6)) SWIG_fail;
17976 }
d55e5bfc
RD
17977 }
17978 if (obj6) {
17979 {
17980 arg7 = wxString_in_helper(obj6);
17981 if (arg7 == NULL) SWIG_fail;
ae8162c8 17982 temp7 = true;
d55e5bfc
RD
17983 }
17984 }
17985 {
0439c23b 17986 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17987 PyThreadState* __tstate = wxPyBeginAllowThreads();
17988 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17989
17990 wxPyEndAllowThreads(__tstate);
110da5b0 17991 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 17992 }
b0f7404b 17993 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
d55e5bfc
RD
17994 {
17995 if (temp3)
17996 delete arg3;
17997 }
17998 {
17999 if (temp7)
18000 delete arg7;
18001 }
18002 return resultobj;
18003 fail:
18004 {
18005 if (temp3)
18006 delete arg3;
18007 }
18008 {
18009 if (temp7)
18010 delete arg7;
18011 }
18012 return NULL;
18013}
18014
18015
c32bde28 18016static PyObject *_wrap_new_PreMDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18017 PyObject *resultobj = NULL;
d55e5bfc
RD
18018 wxMDIChildFrame *result;
18019 char *kwnames[] = {
18020 NULL
18021 };
18022
18023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
18024 {
0439c23b 18025 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
18026 PyThreadState* __tstate = wxPyBeginAllowThreads();
18027 result = (wxMDIChildFrame *)new wxMDIChildFrame();
18028
18029 wxPyEndAllowThreads(__tstate);
110da5b0 18030 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 18031 }
b0f7404b 18032 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
d55e5bfc
RD
18033 return resultobj;
18034 fail:
18035 return NULL;
18036}
18037
18038
c32bde28 18039static PyObject *_wrap_MDIChildFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18040 PyObject *resultobj = NULL;
d55e5bfc
RD
18041 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
18042 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
248ed943
RD
18043 int arg3 = (int) (int)-1 ;
18044 wxString const &arg4_defvalue = wxPyEmptyString ;
18045 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
18046 wxPoint const &arg5_defvalue = wxDefaultPosition ;
18047 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
18048 wxSize const &arg6_defvalue = wxDefaultSize ;
18049 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
18050 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
18051 wxString const &arg8_defvalue = wxPyFrameNameStr ;
18052 wxString *arg8 = (wxString *) &arg8_defvalue ;
18053 bool result;
ae8162c8 18054 bool temp4 = false ;
d55e5bfc
RD
18055 wxPoint temp5 ;
18056 wxSize temp6 ;
ae8162c8 18057 bool temp8 = false ;
d55e5bfc
RD
18058 PyObject * obj0 = 0 ;
18059 PyObject * obj1 = 0 ;
18060 PyObject * obj2 = 0 ;
18061 PyObject * obj3 = 0 ;
18062 PyObject * obj4 = 0 ;
18063 PyObject * obj5 = 0 ;
18064 PyObject * obj6 = 0 ;
18065 PyObject * obj7 = 0 ;
18066 char *kwnames[] = {
18067 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18068 };
18069
248ed943 18070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
18071 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
18072 if (SWIG_arg_fail(1)) SWIG_fail;
18073 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
18074 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 18075 if (obj2) {
093d3ff1 18076 {
7449af73 18077 arg3 = static_cast<int const >(SWIG_As_int(obj2));
093d3ff1
RD
18078 if (SWIG_arg_fail(3)) SWIG_fail;
18079 }
248ed943
RD
18080 }
18081 if (obj3) {
18082 {
18083 arg4 = wxString_in_helper(obj3);
18084 if (arg4 == NULL) SWIG_fail;
ae8162c8 18085 temp4 = true;
248ed943 18086 }
d55e5bfc
RD
18087 }
18088 if (obj4) {
18089 {
18090 arg5 = &temp5;
18091 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
18092 }
18093 }
18094 if (obj5) {
18095 {
18096 arg6 = &temp6;
18097 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
18098 }
18099 }
18100 if (obj6) {
093d3ff1 18101 {
7449af73 18102 arg7 = static_cast<long >(SWIG_As_long(obj6));
093d3ff1
RD
18103 if (SWIG_arg_fail(7)) SWIG_fail;
18104 }
d55e5bfc
RD
18105 }
18106 if (obj7) {
18107 {
18108 arg8 = wxString_in_helper(obj7);
18109 if (arg8 == NULL) SWIG_fail;
ae8162c8 18110 temp8 = true;
d55e5bfc
RD
18111 }
18112 }
18113 {
18114 PyThreadState* __tstate = wxPyBeginAllowThreads();
18115 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
18116
18117 wxPyEndAllowThreads(__tstate);
18118 if (PyErr_Occurred()) SWIG_fail;
18119 }
18120 {
18121 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18122 }
18123 {
18124 if (temp4)
18125 delete arg4;
18126 }
18127 {
18128 if (temp8)
18129 delete arg8;
18130 }
18131 return resultobj;
18132 fail:
18133 {
18134 if (temp4)
18135 delete arg4;
18136 }
18137 {
18138 if (temp8)
18139 delete arg8;
18140 }
18141 return NULL;
18142}
18143
18144
c32bde28 18145static PyObject *_wrap_MDIChildFrame_Activate(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18146 PyObject *resultobj = NULL;
d55e5bfc
RD
18147 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
18148 PyObject * obj0 = 0 ;
18149 char *kwnames[] = {
18150 (char *) "self", NULL
18151 };
18152
18153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
093d3ff1
RD
18154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
18155 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18156 {
18157 PyThreadState* __tstate = wxPyBeginAllowThreads();
18158 (arg1)->Activate();
18159
18160 wxPyEndAllowThreads(__tstate);
18161 if (PyErr_Occurred()) SWIG_fail;
18162 }
18163 Py_INCREF(Py_None); resultobj = Py_None;
18164 return resultobj;
18165 fail:
18166 return NULL;
18167}
18168
18169
c32bde28 18170static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18171 PyObject *resultobj = NULL;
d55e5bfc 18172 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
b519803b 18173 bool arg2 = (bool) true ;
d55e5bfc
RD
18174 PyObject * obj0 = 0 ;
18175 PyObject * obj1 = 0 ;
18176 char *kwnames[] = {
18177 (char *) "self",(char *) "maximize", NULL
18178 };
18179
b519803b 18180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18181 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
18182 if (SWIG_arg_fail(1)) SWIG_fail;
b519803b 18183 if (obj1) {
093d3ff1 18184 {
7449af73 18185 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
18186 if (SWIG_arg_fail(2)) SWIG_fail;
18187 }
b519803b 18188 }
d55e5bfc
RD
18189 {
18190 PyThreadState* __tstate = wxPyBeginAllowThreads();
18191 (arg1)->Maximize(arg2);
18192
18193 wxPyEndAllowThreads(__tstate);
18194 if (PyErr_Occurred()) SWIG_fail;
18195 }
18196 Py_INCREF(Py_None); resultobj = Py_None;
18197 return resultobj;
18198 fail:
18199 return NULL;
18200}
18201
18202
c32bde28 18203static PyObject *_wrap_MDIChildFrame_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18204 PyObject *resultobj = NULL;
d55e5bfc
RD
18205 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
18206 PyObject * obj0 = 0 ;
18207 char *kwnames[] = {
18208 (char *) "self", NULL
18209 };
18210
18211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
093d3ff1
RD
18212 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
18213 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18214 {
18215 PyThreadState* __tstate = wxPyBeginAllowThreads();
18216 (arg1)->Restore();
18217
18218 wxPyEndAllowThreads(__tstate);
18219 if (PyErr_Occurred()) SWIG_fail;
18220 }
18221 Py_INCREF(Py_None); resultobj = Py_None;
18222 return resultobj;
18223 fail:
18224 return NULL;
18225}
18226
18227
c32bde28 18228static PyObject * MDIChildFrame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
18229 PyObject *obj;
18230 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18231 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
18232 Py_INCREF(obj);
18233 return Py_BuildValue((char *)"");
18234}
c32bde28 18235static PyObject *_wrap_new_MDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18236 PyObject *resultobj = NULL;
d55e5bfc
RD
18237 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
18238 long arg2 = (long) 0 ;
18239 wxMDIClientWindow *result;
18240 PyObject * obj0 = 0 ;
18241 PyObject * obj1 = 0 ;
18242 char *kwnames[] = {
18243 (char *) "parent",(char *) "style", NULL
18244 };
18245
18246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18247 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
18248 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 18249 if (obj1) {
093d3ff1 18250 {
7449af73 18251 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
18252 if (SWIG_arg_fail(2)) SWIG_fail;
18253 }
d55e5bfc
RD
18254 }
18255 {
0439c23b 18256 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
18257 PyThreadState* __tstate = wxPyBeginAllowThreads();
18258 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
18259
18260 wxPyEndAllowThreads(__tstate);
110da5b0 18261 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 18262 }
b0f7404b 18263 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
d55e5bfc
RD
18264 return resultobj;
18265 fail:
18266 return NULL;
18267}
18268
18269
c32bde28 18270static PyObject *_wrap_new_PreMDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18271 PyObject *resultobj = NULL;
d55e5bfc
RD
18272 wxMDIClientWindow *result;
18273 char *kwnames[] = {
18274 NULL
18275 };
18276
18277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
18278 {
0439c23b 18279 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
18280 PyThreadState* __tstate = wxPyBeginAllowThreads();
18281 result = (wxMDIClientWindow *)new wxMDIClientWindow();
18282
18283 wxPyEndAllowThreads(__tstate);
110da5b0 18284 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 18285 }
b0f7404b 18286 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
d55e5bfc
RD
18287 return resultobj;
18288 fail:
18289 return NULL;
18290}
18291
18292
c32bde28 18293static PyObject *_wrap_MDIClientWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18294 PyObject *resultobj = NULL;
d55e5bfc
RD
18295 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
18296 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
18297 long arg3 = (long) 0 ;
18298 bool result;
18299 PyObject * obj0 = 0 ;
18300 PyObject * obj1 = 0 ;
18301 PyObject * obj2 = 0 ;
18302 char *kwnames[] = {
18303 (char *) "self",(char *) "parent",(char *) "style", NULL
18304 };
18305
18306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
18307 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_EXCEPTION | 0);
18308 if (SWIG_arg_fail(1)) SWIG_fail;
18309 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
18310 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 18311 if (obj2) {
093d3ff1 18312 {
7449af73 18313 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
18314 if (SWIG_arg_fail(3)) SWIG_fail;
18315 }
d55e5bfc
RD
18316 }
18317 {
18318 PyThreadState* __tstate = wxPyBeginAllowThreads();
18319 result = (bool)(arg1)->Create(arg2,arg3);
18320
18321 wxPyEndAllowThreads(__tstate);
18322 if (PyErr_Occurred()) SWIG_fail;
18323 }
18324 {
18325 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18326 }
18327 return resultobj;
18328 fail:
18329 return NULL;
18330}
18331
18332
c32bde28 18333static PyObject * MDIClientWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
18334 PyObject *obj;
18335 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18336 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
18337 Py_INCREF(obj);
18338 return Py_BuildValue((char *)"");
18339}
c32bde28 18340static PyObject *_wrap_new_PyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18341 PyObject *resultobj = NULL;
d55e5bfc 18342 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 18343 int arg2 = (int) (int)-1 ;
d55e5bfc
RD
18344 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18345 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18346 wxSize const &arg4_defvalue = wxDefaultSize ;
18347 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18348 long arg5 = (long) 0 ;
18349 wxString const &arg6_defvalue = wxPyPanelNameStr ;
18350 wxString *arg6 = (wxString *) &arg6_defvalue ;
18351 wxPyWindow *result;
18352 wxPoint temp3 ;
18353 wxSize temp4 ;
ae8162c8 18354 bool temp6 = false ;
d55e5bfc
RD
18355 PyObject * obj0 = 0 ;
18356 PyObject * obj1 = 0 ;
18357 PyObject * obj2 = 0 ;
18358 PyObject * obj3 = 0 ;
18359 PyObject * obj4 = 0 ;
18360 PyObject * obj5 = 0 ;
18361 char *kwnames[] = {
18362 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18363 };
18364
248ed943 18365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
18366 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18367 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 18368 if (obj1) {
093d3ff1 18369 {
7449af73 18370 arg2 = static_cast<int const >(SWIG_As_int(obj1));
093d3ff1
RD
18371 if (SWIG_arg_fail(2)) SWIG_fail;
18372 }
248ed943 18373 }
d55e5bfc
RD
18374 if (obj2) {
18375 {
18376 arg3 = &temp3;
18377 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18378 }
18379 }
18380 if (obj3) {
18381 {
18382 arg4 = &temp4;
18383 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18384 }
18385 }
18386 if (obj4) {
093d3ff1 18387 {
7449af73 18388 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
18389 if (SWIG_arg_fail(5)) SWIG_fail;
18390 }
d55e5bfc
RD
18391 }
18392 if (obj5) {
18393 {
18394 arg6 = wxString_in_helper(obj5);
18395 if (arg6 == NULL) SWIG_fail;
ae8162c8 18396 temp6 = true;
d55e5bfc
RD
18397 }
18398 }
18399 {
0439c23b 18400 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
18401 PyThreadState* __tstate = wxPyBeginAllowThreads();
18402 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18403
18404 wxPyEndAllowThreads(__tstate);
110da5b0 18405 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
18406 }
18407 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
18408 {
18409 if (temp6)
18410 delete arg6;
18411 }
18412 return resultobj;
18413 fail:
18414 {
18415 if (temp6)
18416 delete arg6;
18417 }
18418 return NULL;
18419}
18420
18421
c32bde28 18422static PyObject *_wrap_new_PrePyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18423 PyObject *resultobj = NULL;
d55e5bfc
RD
18424 wxPyWindow *result;
18425 char *kwnames[] = {
18426 NULL
18427 };
18428
18429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
18430 {
0439c23b 18431 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
18432 PyThreadState* __tstate = wxPyBeginAllowThreads();
18433 result = (wxPyWindow *)new wxPyWindow();
18434
18435 wxPyEndAllowThreads(__tstate);
110da5b0 18436 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
18437 }
18438 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
18439 return resultobj;
18440 fail:
18441 return NULL;
18442}
18443
18444
c32bde28 18445static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18446 PyObject *resultobj = NULL;
d55e5bfc
RD
18447 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18448 PyObject *arg2 = (PyObject *) 0 ;
18449 PyObject *arg3 = (PyObject *) 0 ;
18450 PyObject * obj0 = 0 ;
18451 PyObject * obj1 = 0 ;
18452 PyObject * obj2 = 0 ;
18453 char *kwnames[] = {
18454 (char *) "self",(char *) "self",(char *) "_class", NULL
18455 };
18456
18457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) 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;
d55e5bfc
RD
18460 arg2 = obj1;
18461 arg3 = obj2;
18462 {
18463 PyThreadState* __tstate = wxPyBeginAllowThreads();
18464 (arg1)->_setCallbackInfo(arg2,arg3);
18465
18466 wxPyEndAllowThreads(__tstate);
18467 if (PyErr_Occurred()) SWIG_fail;
18468 }
18469 Py_INCREF(Py_None); resultobj = Py_None;
18470 return resultobj;
18471 fail:
18472 return NULL;
18473}
18474
18475
c32bde28 18476static PyObject *_wrap_PyWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18477 PyObject *resultobj = NULL;
caef1a4d
RD
18478 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18479 wxSize *arg2 = 0 ;
18480 wxSize temp2 ;
18481 PyObject * obj0 = 0 ;
18482 PyObject * obj1 = 0 ;
18483 char *kwnames[] = {
18484 (char *) "self",(char *) "size", NULL
18485 };
18486
18487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18488 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18489 if (SWIG_arg_fail(1)) SWIG_fail;
caef1a4d
RD
18490 {
18491 arg2 = &temp2;
18492 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18493 }
18494 {
18495 PyThreadState* __tstate = wxPyBeginAllowThreads();
18496 (arg1)->SetBestSize((wxSize const &)*arg2);
18497
18498 wxPyEndAllowThreads(__tstate);
18499 if (PyErr_Occurred()) SWIG_fail;
18500 }
18501 Py_INCREF(Py_None); resultobj = Py_None;
18502 return resultobj;
18503 fail:
18504 return NULL;
18505}
18506
18507
60d5fcc1 18508static PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18509 PyObject *resultobj = NULL;
60d5fcc1
RD
18510 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18511 wxDC *arg2 = (wxDC *) 0 ;
18512 bool result;
18513 PyObject * obj0 = 0 ;
18514 PyObject * obj1 = 0 ;
18515 char *kwnames[] = {
18516 (char *) "self",(char *) "dc", NULL
18517 };
18518
18519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail;
18520 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18521 if (SWIG_arg_fail(1)) SWIG_fail;
18522 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
18523 if (SWIG_arg_fail(2)) SWIG_fail;
18524 {
18525 PyThreadState* __tstate = wxPyBeginAllowThreads();
18526 result = (bool)(arg1)->DoEraseBackground(arg2);
18527
18528 wxPyEndAllowThreads(__tstate);
18529 if (PyErr_Occurred()) SWIG_fail;
18530 }
18531 {
18532 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18533 }
18534 return resultobj;
18535 fail:
18536 return NULL;
18537}
18538
18539
b06b3e70 18540static PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18541 PyObject *resultobj = NULL;
d55e5bfc
RD
18542 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18543 int arg2 ;
18544 int arg3 ;
18545 int arg4 ;
18546 int arg5 ;
18547 PyObject * obj0 = 0 ;
18548 PyObject * obj1 = 0 ;
18549 PyObject * obj2 = 0 ;
18550 PyObject * obj3 = 0 ;
18551 PyObject * obj4 = 0 ;
18552 char *kwnames[] = {
18553 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18554 };
18555
b06b3e70 18556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
18557 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18558 if (SWIG_arg_fail(1)) SWIG_fail;
18559 {
7449af73 18560 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
18561 if (SWIG_arg_fail(2)) SWIG_fail;
18562 }
18563 {
7449af73 18564 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
18565 if (SWIG_arg_fail(3)) SWIG_fail;
18566 }
18567 {
7449af73 18568 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
18569 if (SWIG_arg_fail(4)) SWIG_fail;
18570 }
18571 {
7449af73 18572 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
18573 if (SWIG_arg_fail(5)) SWIG_fail;
18574 }
d55e5bfc
RD
18575 {
18576 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 18577 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
d55e5bfc
RD
18578
18579 wxPyEndAllowThreads(__tstate);
18580 if (PyErr_Occurred()) SWIG_fail;
18581 }
18582 Py_INCREF(Py_None); resultobj = Py_None;
18583 return resultobj;
18584 fail:
18585 return NULL;
18586}
18587
18588
b06b3e70 18589static PyObject *_wrap_PyWindow_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18590 PyObject *resultobj = NULL;
d55e5bfc
RD
18591 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18592 int arg2 ;
18593 int arg3 ;
18594 int arg4 ;
18595 int arg5 ;
18596 int arg6 = (int) wxSIZE_AUTO ;
18597 PyObject * obj0 = 0 ;
18598 PyObject * obj1 = 0 ;
18599 PyObject * obj2 = 0 ;
18600 PyObject * obj3 = 0 ;
18601 PyObject * obj4 = 0 ;
18602 PyObject * obj5 = 0 ;
18603 char *kwnames[] = {
18604 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
18605 };
18606
b06b3e70 18607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
18608 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18609 if (SWIG_arg_fail(1)) SWIG_fail;
18610 {
7449af73 18611 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
18612 if (SWIG_arg_fail(2)) SWIG_fail;
18613 }
18614 {
7449af73 18615 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
18616 if (SWIG_arg_fail(3)) SWIG_fail;
18617 }
18618 {
7449af73 18619 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
18620 if (SWIG_arg_fail(4)) SWIG_fail;
18621 }
18622 {
7449af73 18623 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
18624 if (SWIG_arg_fail(5)) SWIG_fail;
18625 }
d55e5bfc 18626 if (obj5) {
093d3ff1 18627 {
7449af73 18628 arg6 = static_cast<int >(SWIG_As_int(obj5));
093d3ff1
RD
18629 if (SWIG_arg_fail(6)) SWIG_fail;
18630 }
d55e5bfc
RD
18631 }
18632 {
18633 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 18634 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
d55e5bfc
RD
18635
18636 wxPyEndAllowThreads(__tstate);
18637 if (PyErr_Occurred()) SWIG_fail;
18638 }
18639 Py_INCREF(Py_None); resultobj = Py_None;
18640 return resultobj;
18641 fail:
18642 return NULL;
18643}
18644
18645
b06b3e70 18646static PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18647 PyObject *resultobj = NULL;
d55e5bfc
RD
18648 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18649 int arg2 ;
18650 int arg3 ;
18651 PyObject * obj0 = 0 ;
18652 PyObject * obj1 = 0 ;
18653 PyObject * obj2 = 0 ;
18654 char *kwnames[] = {
18655 (char *) "self",(char *) "width",(char *) "height", NULL
18656 };
18657
b06b3e70 18658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
18659 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18660 if (SWIG_arg_fail(1)) SWIG_fail;
18661 {
7449af73 18662 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
18663 if (SWIG_arg_fail(2)) SWIG_fail;
18664 }
18665 {
7449af73 18666 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
18667 if (SWIG_arg_fail(3)) SWIG_fail;
18668 }
d55e5bfc
RD
18669 {
18670 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 18671 (arg1)->DoSetClientSize(arg2,arg3);
d55e5bfc
RD
18672
18673 wxPyEndAllowThreads(__tstate);
18674 if (PyErr_Occurred()) SWIG_fail;
18675 }
18676 Py_INCREF(Py_None); resultobj = Py_None;
18677 return resultobj;
18678 fail:
18679 return NULL;
18680}
18681
18682
b06b3e70 18683static PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18684 PyObject *resultobj = NULL;
d55e5bfc
RD
18685 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18686 int arg2 ;
18687 int arg3 ;
18688 PyObject * obj0 = 0 ;
18689 PyObject * obj1 = 0 ;
18690 PyObject * obj2 = 0 ;
18691 char *kwnames[] = {
18692 (char *) "self",(char *) "x",(char *) "y", NULL
18693 };
18694
b06b3e70 18695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
18696 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18697 if (SWIG_arg_fail(1)) SWIG_fail;
18698 {
7449af73 18699 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
18700 if (SWIG_arg_fail(2)) SWIG_fail;
18701 }
18702 {
7449af73 18703 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
18704 if (SWIG_arg_fail(3)) SWIG_fail;
18705 }
d55e5bfc
RD
18706 {
18707 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 18708 (arg1)->DoSetVirtualSize(arg2,arg3);
d55e5bfc
RD
18709
18710 wxPyEndAllowThreads(__tstate);
18711 if (PyErr_Occurred()) SWIG_fail;
18712 }
18713 Py_INCREF(Py_None); resultobj = Py_None;
18714 return resultobj;
18715 fail:
18716 return NULL;
18717}
18718
18719
b06b3e70 18720static PyObject *_wrap_PyWindow_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18721 PyObject *resultobj = NULL;
d55e5bfc
RD
18722 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18723 int *arg2 = (int *) 0 ;
18724 int *arg3 = (int *) 0 ;
18725 int temp2 ;
c32bde28 18726 int res2 = 0 ;
d55e5bfc 18727 int temp3 ;
c32bde28 18728 int res3 = 0 ;
d55e5bfc
RD
18729 PyObject * obj0 = 0 ;
18730 char *kwnames[] = {
18731 (char *) "self", NULL
18732 };
18733
c32bde28
RD
18734 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18735 arg3 = &temp3; res3 = SWIG_NEWOBJ;
b06b3e70 18736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_DoGetSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
18737 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18738 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18739 {
18740 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 18741 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
d55e5bfc
RD
18742
18743 wxPyEndAllowThreads(__tstate);
18744 if (PyErr_Occurred()) SWIG_fail;
18745 }
18746 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
18747 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18748 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18749 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18750 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
18751 return resultobj;
18752 fail:
18753 return NULL;
18754}
18755
18756
b06b3e70 18757static PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18758 PyObject *resultobj = NULL;
d55e5bfc
RD
18759 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18760 int *arg2 = (int *) 0 ;
18761 int *arg3 = (int *) 0 ;
18762 int temp2 ;
c32bde28 18763 int res2 = 0 ;
d55e5bfc 18764 int temp3 ;
c32bde28 18765 int res3 = 0 ;
d55e5bfc
RD
18766 PyObject * obj0 = 0 ;
18767 char *kwnames[] = {
18768 (char *) "self", NULL
18769 };
18770
c32bde28
RD
18771 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18772 arg3 = &temp3; res3 = SWIG_NEWOBJ;
b06b3e70 18773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_DoGetClientSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
18774 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18775 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18776 {
18777 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 18778 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
d55e5bfc
RD
18779
18780 wxPyEndAllowThreads(__tstate);
18781 if (PyErr_Occurred()) SWIG_fail;
18782 }
18783 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
18784 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18785 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18786 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18787 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
18788 return resultobj;
18789 fail:
18790 return NULL;
18791}
18792
18793
b06b3e70 18794static PyObject *_wrap_PyWindow_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18795 PyObject *resultobj = NULL;
d55e5bfc
RD
18796 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18797 int *arg2 = (int *) 0 ;
18798 int *arg3 = (int *) 0 ;
18799 int temp2 ;
c32bde28 18800 int res2 = 0 ;
d55e5bfc 18801 int temp3 ;
c32bde28 18802 int res3 = 0 ;
d55e5bfc
RD
18803 PyObject * obj0 = 0 ;
18804 char *kwnames[] = {
18805 (char *) "self", NULL
18806 };
18807
c32bde28
RD
18808 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18809 arg3 = &temp3; res3 = SWIG_NEWOBJ;
b06b3e70 18810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_DoGetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
18811 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18812 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18813 {
18814 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 18815 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
d55e5bfc
RD
18816
18817 wxPyEndAllowThreads(__tstate);
18818 if (PyErr_Occurred()) SWIG_fail;
18819 }
18820 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
18821 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18822 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18823 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18824 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
18825 return resultobj;
18826 fail:
18827 return NULL;
18828}
18829
18830
b06b3e70 18831static PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18832 PyObject *resultobj = NULL;
d55e5bfc
RD
18833 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18834 wxSize result;
18835 PyObject * obj0 = 0 ;
18836 char *kwnames[] = {
18837 (char *) "self", NULL
18838 };
18839
b06b3e70 18840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_DoGetVirtualSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
18841 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18842 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18843 {
18844 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 18845 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
d55e5bfc
RD
18846
18847 wxPyEndAllowThreads(__tstate);
18848 if (PyErr_Occurred()) SWIG_fail;
18849 }
18850 {
18851 wxSize * resultptr;
7449af73 18852 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
18853 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18854 }
18855 return resultobj;
18856 fail:
18857 return NULL;
18858}
18859
18860
b06b3e70 18861static PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18862 PyObject *resultobj = NULL;
d55e5bfc
RD
18863 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18864 wxSize result;
18865 PyObject * obj0 = 0 ;
18866 char *kwnames[] = {
18867 (char *) "self", NULL
18868 };
18869
b06b3e70 18870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_DoGetBestSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
18871 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18872 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18873 {
18874 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 18875 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
d55e5bfc
RD
18876
18877 wxPyEndAllowThreads(__tstate);
18878 if (PyErr_Occurred()) SWIG_fail;
18879 }
18880 {
18881 wxSize * resultptr;
7449af73 18882 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
18883 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18884 }
18885 return resultobj;
18886 fail:
18887 return NULL;
18888}
18889
18890
b06b3e70 18891static PyObject *_wrap_PyWindow_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18892 PyObject *resultobj = NULL;
d55e5bfc
RD
18893 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18894 PyObject * obj0 = 0 ;
18895 char *kwnames[] = {
18896 (char *) "self", NULL
18897 };
18898
b06b3e70 18899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_InitDialog",kwnames,&obj0)) goto fail;
093d3ff1
RD
18900 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18901 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18902 {
18903 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 18904 (arg1)->InitDialog();
d55e5bfc
RD
18905
18906 wxPyEndAllowThreads(__tstate);
18907 if (PyErr_Occurred()) SWIG_fail;
18908 }
18909 Py_INCREF(Py_None); resultobj = Py_None;
18910 return resultobj;
18911 fail:
18912 return NULL;
18913}
18914
18915
b06b3e70 18916static PyObject *_wrap_PyWindow_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18917 PyObject *resultobj = NULL;
d55e5bfc
RD
18918 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18919 bool result;
18920 PyObject * obj0 = 0 ;
18921 char *kwnames[] = {
18922 (char *) "self", NULL
18923 };
18924
b06b3e70 18925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_TransferDataToWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
18926 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18927 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18928 {
18929 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 18930 result = (bool)(arg1)->TransferDataToWindow();
d55e5bfc
RD
18931
18932 wxPyEndAllowThreads(__tstate);
18933 if (PyErr_Occurred()) SWIG_fail;
18934 }
18935 {
18936 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18937 }
18938 return resultobj;
18939 fail:
18940 return NULL;
18941}
18942
18943
b06b3e70 18944static PyObject *_wrap_PyWindow_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18945 PyObject *resultobj = NULL;
d55e5bfc
RD
18946 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18947 bool result;
18948 PyObject * obj0 = 0 ;
18949 char *kwnames[] = {
18950 (char *) "self", NULL
18951 };
18952
b06b3e70 18953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_TransferDataFromWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
18954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18955 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18956 {
18957 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 18958 result = (bool)(arg1)->TransferDataFromWindow();
d55e5bfc
RD
18959
18960 wxPyEndAllowThreads(__tstate);
18961 if (PyErr_Occurred()) SWIG_fail;
18962 }
18963 {
18964 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18965 }
18966 return resultobj;
18967 fail:
18968 return NULL;
18969}
18970
18971
b06b3e70 18972static PyObject *_wrap_PyWindow_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18973 PyObject *resultobj = NULL;
d55e5bfc
RD
18974 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18975 bool result;
18976 PyObject * obj0 = 0 ;
18977 char *kwnames[] = {
18978 (char *) "self", NULL
18979 };
18980
b06b3e70 18981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_Validate",kwnames,&obj0)) goto fail;
093d3ff1
RD
18982 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18983 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18984 {
18985 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 18986 result = (bool)(arg1)->Validate();
d55e5bfc
RD
18987
18988 wxPyEndAllowThreads(__tstate);
18989 if (PyErr_Occurred()) SWIG_fail;
18990 }
18991 {
18992 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18993 }
18994 return resultobj;
18995 fail:
18996 return NULL;
18997}
18998
18999
b06b3e70 19000static PyObject *_wrap_PyWindow_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19001 PyObject *resultobj = NULL;
d55e5bfc
RD
19002 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
19003 bool result;
19004 PyObject * obj0 = 0 ;
19005 char *kwnames[] = {
19006 (char *) "self", NULL
19007 };
19008
b06b3e70 19009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_AcceptsFocus",kwnames,&obj0)) goto fail;
093d3ff1
RD
19010 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
19011 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19012 {
19013 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 19014 result = (bool)((wxPyWindow const *)arg1)->AcceptsFocus();
d55e5bfc
RD
19015
19016 wxPyEndAllowThreads(__tstate);
19017 if (PyErr_Occurred()) SWIG_fail;
19018 }
19019 {
19020 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19021 }
19022 return resultobj;
19023 fail:
19024 return NULL;
19025}
19026
19027
b06b3e70 19028static PyObject *_wrap_PyWindow_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19029 PyObject *resultobj = NULL;
d55e5bfc
RD
19030 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
19031 bool result;
19032 PyObject * obj0 = 0 ;
19033 char *kwnames[] = {
19034 (char *) "self", NULL
19035 };
19036
b06b3e70 19037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
093d3ff1
RD
19038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
19039 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19040 {
19041 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 19042 result = (bool)((wxPyWindow const *)arg1)->AcceptsFocusFromKeyboard();
d55e5bfc
RD
19043
19044 wxPyEndAllowThreads(__tstate);
19045 if (PyErr_Occurred()) SWIG_fail;
19046 }
19047 {
19048 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19049 }
19050 return resultobj;
19051 fail:
19052 return NULL;
19053}
19054
19055
b06b3e70 19056static PyObject *_wrap_PyWindow_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19057 PyObject *resultobj = NULL;
d55e5bfc
RD
19058 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
19059 wxSize result;
19060 PyObject * obj0 = 0 ;
19061 char *kwnames[] = {
19062 (char *) "self", NULL
19063 };
19064
b06b3e70 19065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_GetMaxSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
19066 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
19067 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19068 {
19069 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 19070 result = ((wxPyWindow const *)arg1)->GetMaxSize();
d55e5bfc
RD
19071
19072 wxPyEndAllowThreads(__tstate);
19073 if (PyErr_Occurred()) SWIG_fail;
19074 }
19075 {
19076 wxSize * resultptr;
7449af73 19077 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
19078 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19079 }
19080 return resultobj;
19081 fail:
19082 return NULL;
19083}
19084
19085
b06b3e70 19086static PyObject *_wrap_PyWindow_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19087 PyObject *resultobj = NULL;
d55e5bfc
RD
19088 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
19089 wxWindow *arg2 = (wxWindow *) 0 ;
19090 PyObject * obj0 = 0 ;
19091 PyObject * obj1 = 0 ;
19092 char *kwnames[] = {
19093 (char *) "self",(char *) "child", NULL
19094 };
19095
b06b3e70 19096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_AddChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19097 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
19098 if (SWIG_arg_fail(1)) SWIG_fail;
19099 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19100 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
19101 {
19102 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 19103 (arg1)->AddChild(arg2);
d55e5bfc
RD
19104
19105 wxPyEndAllowThreads(__tstate);
19106 if (PyErr_Occurred()) SWIG_fail;
19107 }
19108 Py_INCREF(Py_None); resultobj = Py_None;
19109 return resultobj;
19110 fail:
19111 return NULL;
19112}
19113
19114
b06b3e70 19115static PyObject *_wrap_PyWindow_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19116 PyObject *resultobj = NULL;
d55e5bfc
RD
19117 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
19118 wxWindow *arg2 = (wxWindow *) 0 ;
19119 PyObject * obj0 = 0 ;
19120 PyObject * obj1 = 0 ;
19121 char *kwnames[] = {
19122 (char *) "self",(char *) "child", NULL
19123 };
19124
b06b3e70 19125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19126 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
19127 if (SWIG_arg_fail(1)) SWIG_fail;
19128 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19129 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
19130 {
19131 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 19132 (arg1)->RemoveChild(arg2);
d55e5bfc
RD
19133
19134 wxPyEndAllowThreads(__tstate);
19135 if (PyErr_Occurred()) SWIG_fail;
19136 }
19137 Py_INCREF(Py_None); resultobj = Py_None;
19138 return resultobj;
19139 fail:
19140 return NULL;
19141}
19142
19143
b06b3e70 19144static PyObject *_wrap_PyWindow_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19145 PyObject *resultobj = NULL;
d55e5bfc
RD
19146 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
19147 bool result;
19148 PyObject * obj0 = 0 ;
19149 char *kwnames[] = {
19150 (char *) "self", NULL
19151 };
19152
b06b3e70 19153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_ShouldInheritColours",kwnames,&obj0)) goto fail;
093d3ff1
RD
19154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
19155 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19156 {
19157 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 19158 result = (bool)((wxPyWindow const *)arg1)->ShouldInheritColours();
d55e5bfc
RD
19159
19160 wxPyEndAllowThreads(__tstate);
19161 if (PyErr_Occurred()) SWIG_fail;
19162 }
19163 {
19164 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19165 }
19166 return resultobj;
19167 fail:
19168 return NULL;
19169}
19170
19171
b06b3e70 19172static PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19173 PyObject *resultobj = NULL;
caef1a4d
RD
19174 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
19175 wxVisualAttributes result;
19176 PyObject * obj0 = 0 ;
19177 char *kwnames[] = {
19178 (char *) "self", NULL
19179 };
19180
b06b3e70 19181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_GetDefaultAttributes",kwnames,&obj0)) goto fail;
093d3ff1
RD
19182 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
19183 if (SWIG_arg_fail(1)) SWIG_fail;
caef1a4d
RD
19184 {
19185 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 19186 result = (arg1)->GetDefaultAttributes();
caef1a4d
RD
19187
19188 wxPyEndAllowThreads(__tstate);
19189 if (PyErr_Occurred()) SWIG_fail;
19190 }
19191 {
19192 wxVisualAttributes * resultptr;
7449af73 19193 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
caef1a4d
RD
19194 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
19195 }
19196 return resultobj;
19197 fail:
19198 return NULL;
19199}
19200
19201
b06b3e70 19202static PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19203 PyObject *resultobj = NULL;
8d38bd1d
RD
19204 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
19205 PyObject * obj0 = 0 ;
19206 char *kwnames[] = {
19207 (char *) "self", NULL
19208 };
19209
b06b3e70 19210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_OnInternalIdle",kwnames,&obj0)) goto fail;
8d38bd1d
RD
19211 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
19212 if (SWIG_arg_fail(1)) SWIG_fail;
19213 {
19214 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 19215 (arg1)->OnInternalIdle();
8d38bd1d
RD
19216
19217 wxPyEndAllowThreads(__tstate);
19218 if (PyErr_Occurred()) SWIG_fail;
19219 }
19220 Py_INCREF(Py_None); resultobj = Py_None;
19221 return resultobj;
19222 fail:
19223 return NULL;
19224}
19225
19226
c32bde28 19227static PyObject * PyWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
19228 PyObject *obj;
19229 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19230 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
19231 Py_INCREF(obj);
19232 return Py_BuildValue((char *)"");
19233}
c32bde28 19234static PyObject *_wrap_new_PyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19235 PyObject *resultobj = NULL;
d55e5bfc 19236 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 19237 int arg2 = (int) (int)-1 ;
d55e5bfc
RD
19238 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19239 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19240 wxSize const &arg4_defvalue = wxDefaultSize ;
19241 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19242 long arg5 = (long) 0 ;
19243 wxString const &arg6_defvalue = wxPyPanelNameStr ;
19244 wxString *arg6 = (wxString *) &arg6_defvalue ;
19245 wxPyPanel *result;
19246 wxPoint temp3 ;
19247 wxSize temp4 ;
ae8162c8 19248 bool temp6 = false ;
d55e5bfc
RD
19249 PyObject * obj0 = 0 ;
19250 PyObject * obj1 = 0 ;
19251 PyObject * obj2 = 0 ;
19252 PyObject * obj3 = 0 ;
19253 PyObject * obj4 = 0 ;
19254 PyObject * obj5 = 0 ;
19255 char *kwnames[] = {
19256 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19257 };
19258
248ed943 19259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
19260 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19261 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 19262 if (obj1) {
093d3ff1 19263 {
7449af73 19264 arg2 = static_cast<int const >(SWIG_As_int(obj1));
093d3ff1
RD
19265 if (SWIG_arg_fail(2)) SWIG_fail;
19266 }
248ed943 19267 }
d55e5bfc
RD
19268 if (obj2) {
19269 {
19270 arg3 = &temp3;
19271 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19272 }
19273 }
19274 if (obj3) {
19275 {
19276 arg4 = &temp4;
19277 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19278 }
19279 }
19280 if (obj4) {
093d3ff1 19281 {
7449af73 19282 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
19283 if (SWIG_arg_fail(5)) SWIG_fail;
19284 }
d55e5bfc
RD
19285 }
19286 if (obj5) {
19287 {
19288 arg6 = wxString_in_helper(obj5);
19289 if (arg6 == NULL) SWIG_fail;
ae8162c8 19290 temp6 = true;
d55e5bfc
RD
19291 }
19292 }
19293 {
0439c23b 19294 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
19295 PyThreadState* __tstate = wxPyBeginAllowThreads();
19296 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
19297
19298 wxPyEndAllowThreads(__tstate);
110da5b0 19299 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
19300 }
19301 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
19302 {
19303 if (temp6)
19304 delete arg6;
19305 }
19306 return resultobj;
19307 fail:
19308 {
19309 if (temp6)
19310 delete arg6;
19311 }
19312 return NULL;
19313}
19314
19315
c32bde28 19316static PyObject *_wrap_new_PrePyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19317 PyObject *resultobj = NULL;
d55e5bfc
RD
19318 wxPyPanel *result;
19319 char *kwnames[] = {
19320 NULL
19321 };
19322
19323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
19324 {
0439c23b 19325 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
19326 PyThreadState* __tstate = wxPyBeginAllowThreads();
19327 result = (wxPyPanel *)new wxPyPanel();
19328
19329 wxPyEndAllowThreads(__tstate);
110da5b0 19330 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
19331 }
19332 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
19333 return resultobj;
19334 fail:
19335 return NULL;
19336}
19337
19338
c32bde28 19339static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19340 PyObject *resultobj = NULL;
d55e5bfc
RD
19341 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19342 PyObject *arg2 = (PyObject *) 0 ;
19343 PyObject *arg3 = (PyObject *) 0 ;
19344 PyObject * obj0 = 0 ;
19345 PyObject * obj1 = 0 ;
19346 PyObject * obj2 = 0 ;
19347 char *kwnames[] = {
19348 (char *) "self",(char *) "self",(char *) "_class", NULL
19349 };
19350
19351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) 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;
d55e5bfc
RD
19354 arg2 = obj1;
19355 arg3 = obj2;
19356 {
19357 PyThreadState* __tstate = wxPyBeginAllowThreads();
19358 (arg1)->_setCallbackInfo(arg2,arg3);
19359
19360 wxPyEndAllowThreads(__tstate);
19361 if (PyErr_Occurred()) SWIG_fail;
19362 }
19363 Py_INCREF(Py_None); resultobj = Py_None;
19364 return resultobj;
19365 fail:
19366 return NULL;
19367}
19368
19369
c32bde28 19370static PyObject *_wrap_PyPanel_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19371 PyObject *resultobj = NULL;
caef1a4d
RD
19372 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19373 wxSize *arg2 = 0 ;
19374 wxSize temp2 ;
19375 PyObject * obj0 = 0 ;
19376 PyObject * obj1 = 0 ;
19377 char *kwnames[] = {
19378 (char *) "self",(char *) "size", NULL
19379 };
19380
19381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19382 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19383 if (SWIG_arg_fail(1)) SWIG_fail;
caef1a4d
RD
19384 {
19385 arg2 = &temp2;
19386 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19387 }
19388 {
19389 PyThreadState* __tstate = wxPyBeginAllowThreads();
19390 (arg1)->SetBestSize((wxSize const &)*arg2);
19391
19392 wxPyEndAllowThreads(__tstate);
19393 if (PyErr_Occurred()) SWIG_fail;
19394 }
19395 Py_INCREF(Py_None); resultobj = Py_None;
19396 return resultobj;
19397 fail:
19398 return NULL;
19399}
19400
19401
60d5fcc1 19402static PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19403 PyObject *resultobj = NULL;
60d5fcc1
RD
19404 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19405 wxDC *arg2 = (wxDC *) 0 ;
19406 bool result;
19407 PyObject * obj0 = 0 ;
19408 PyObject * obj1 = 0 ;
19409 char *kwnames[] = {
19410 (char *) "self",(char *) "dc", NULL
19411 };
19412
19413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail;
19414 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19415 if (SWIG_arg_fail(1)) SWIG_fail;
19416 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
19417 if (SWIG_arg_fail(2)) SWIG_fail;
19418 {
19419 PyThreadState* __tstate = wxPyBeginAllowThreads();
19420 result = (bool)(arg1)->DoEraseBackground(arg2);
19421
19422 wxPyEndAllowThreads(__tstate);
19423 if (PyErr_Occurred()) SWIG_fail;
19424 }
19425 {
19426 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19427 }
19428 return resultobj;
19429 fail:
19430 return NULL;
19431}
19432
19433
b06b3e70 19434static PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19435 PyObject *resultobj = NULL;
d55e5bfc
RD
19436 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19437 int arg2 ;
19438 int arg3 ;
19439 int arg4 ;
19440 int arg5 ;
19441 PyObject * obj0 = 0 ;
19442 PyObject * obj1 = 0 ;
19443 PyObject * obj2 = 0 ;
19444 PyObject * obj3 = 0 ;
19445 PyObject * obj4 = 0 ;
19446 char *kwnames[] = {
19447 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19448 };
19449
b06b3e70 19450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
19451 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19452 if (SWIG_arg_fail(1)) SWIG_fail;
19453 {
7449af73 19454 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
19455 if (SWIG_arg_fail(2)) SWIG_fail;
19456 }
19457 {
7449af73 19458 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
19459 if (SWIG_arg_fail(3)) SWIG_fail;
19460 }
19461 {
7449af73 19462 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
19463 if (SWIG_arg_fail(4)) SWIG_fail;
19464 }
19465 {
7449af73 19466 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
19467 if (SWIG_arg_fail(5)) SWIG_fail;
19468 }
d55e5bfc
RD
19469 {
19470 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 19471 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
d55e5bfc
RD
19472
19473 wxPyEndAllowThreads(__tstate);
19474 if (PyErr_Occurred()) SWIG_fail;
19475 }
19476 Py_INCREF(Py_None); resultobj = Py_None;
19477 return resultobj;
19478 fail:
19479 return NULL;
19480}
19481
19482
b06b3e70 19483static PyObject *_wrap_PyPanel_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19484 PyObject *resultobj = NULL;
d55e5bfc
RD
19485 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19486 int arg2 ;
19487 int arg3 ;
19488 int arg4 ;
19489 int arg5 ;
19490 int arg6 = (int) wxSIZE_AUTO ;
19491 PyObject * obj0 = 0 ;
19492 PyObject * obj1 = 0 ;
19493 PyObject * obj2 = 0 ;
19494 PyObject * obj3 = 0 ;
19495 PyObject * obj4 = 0 ;
19496 PyObject * obj5 = 0 ;
19497 char *kwnames[] = {
19498 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19499 };
19500
b06b3e70 19501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
19502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19503 if (SWIG_arg_fail(1)) SWIG_fail;
19504 {
7449af73 19505 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
19506 if (SWIG_arg_fail(2)) SWIG_fail;
19507 }
19508 {
7449af73 19509 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
19510 if (SWIG_arg_fail(3)) SWIG_fail;
19511 }
19512 {
7449af73 19513 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
19514 if (SWIG_arg_fail(4)) SWIG_fail;
19515 }
19516 {
7449af73 19517 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
19518 if (SWIG_arg_fail(5)) SWIG_fail;
19519 }
d55e5bfc 19520 if (obj5) {
093d3ff1 19521 {
7449af73 19522 arg6 = static_cast<int >(SWIG_As_int(obj5));
093d3ff1
RD
19523 if (SWIG_arg_fail(6)) SWIG_fail;
19524 }
d55e5bfc
RD
19525 }
19526 {
19527 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 19528 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
d55e5bfc
RD
19529
19530 wxPyEndAllowThreads(__tstate);
19531 if (PyErr_Occurred()) SWIG_fail;
19532 }
19533 Py_INCREF(Py_None); resultobj = Py_None;
19534 return resultobj;
19535 fail:
19536 return NULL;
19537}
19538
19539
b06b3e70 19540static PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19541 PyObject *resultobj = NULL;
d55e5bfc
RD
19542 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19543 int arg2 ;
19544 int arg3 ;
19545 PyObject * obj0 = 0 ;
19546 PyObject * obj1 = 0 ;
19547 PyObject * obj2 = 0 ;
19548 char *kwnames[] = {
19549 (char *) "self",(char *) "width",(char *) "height", NULL
19550 };
19551
b06b3e70 19552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
19553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19554 if (SWIG_arg_fail(1)) SWIG_fail;
19555 {
7449af73 19556 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
19557 if (SWIG_arg_fail(2)) SWIG_fail;
19558 }
19559 {
7449af73 19560 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
19561 if (SWIG_arg_fail(3)) SWIG_fail;
19562 }
d55e5bfc
RD
19563 {
19564 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 19565 (arg1)->DoSetClientSize(arg2,arg3);
d55e5bfc
RD
19566
19567 wxPyEndAllowThreads(__tstate);
19568 if (PyErr_Occurred()) SWIG_fail;
19569 }
19570 Py_INCREF(Py_None); resultobj = Py_None;
19571 return resultobj;
19572 fail:
19573 return NULL;
19574}
19575
19576
b06b3e70 19577static PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19578 PyObject *resultobj = NULL;
d55e5bfc
RD
19579 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19580 int arg2 ;
19581 int arg3 ;
19582 PyObject * obj0 = 0 ;
19583 PyObject * obj1 = 0 ;
19584 PyObject * obj2 = 0 ;
19585 char *kwnames[] = {
19586 (char *) "self",(char *) "x",(char *) "y", NULL
19587 };
19588
b06b3e70 19589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
19590 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19591 if (SWIG_arg_fail(1)) SWIG_fail;
19592 {
7449af73 19593 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
19594 if (SWIG_arg_fail(2)) SWIG_fail;
19595 }
19596 {
7449af73 19597 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
19598 if (SWIG_arg_fail(3)) SWIG_fail;
19599 }
d55e5bfc
RD
19600 {
19601 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 19602 (arg1)->DoSetVirtualSize(arg2,arg3);
d55e5bfc
RD
19603
19604 wxPyEndAllowThreads(__tstate);
19605 if (PyErr_Occurred()) SWIG_fail;
19606 }
19607 Py_INCREF(Py_None); resultobj = Py_None;
19608 return resultobj;
19609 fail:
19610 return NULL;
19611}
19612
19613
b06b3e70 19614static PyObject *_wrap_PyPanel_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19615 PyObject *resultobj = NULL;
d55e5bfc
RD
19616 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19617 int *arg2 = (int *) 0 ;
19618 int *arg3 = (int *) 0 ;
19619 int temp2 ;
c32bde28 19620 int res2 = 0 ;
d55e5bfc 19621 int temp3 ;
c32bde28 19622 int res3 = 0 ;
d55e5bfc
RD
19623 PyObject * obj0 = 0 ;
19624 char *kwnames[] = {
19625 (char *) "self", NULL
19626 };
19627
c32bde28
RD
19628 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19629 arg3 = &temp3; res3 = SWIG_NEWOBJ;
b06b3e70 19630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_DoGetSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
19631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19632 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19633 {
19634 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 19635 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
d55e5bfc
RD
19636
19637 wxPyEndAllowThreads(__tstate);
19638 if (PyErr_Occurred()) SWIG_fail;
19639 }
19640 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
19641 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19642 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19643 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19644 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
19645 return resultobj;
19646 fail:
19647 return NULL;
19648}
19649
19650
b06b3e70 19651static PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19652 PyObject *resultobj = NULL;
d55e5bfc
RD
19653 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19654 int *arg2 = (int *) 0 ;
19655 int *arg3 = (int *) 0 ;
19656 int temp2 ;
c32bde28 19657 int res2 = 0 ;
d55e5bfc 19658 int temp3 ;
c32bde28 19659 int res3 = 0 ;
d55e5bfc
RD
19660 PyObject * obj0 = 0 ;
19661 char *kwnames[] = {
19662 (char *) "self", NULL
19663 };
19664
c32bde28
RD
19665 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19666 arg3 = &temp3; res3 = SWIG_NEWOBJ;
b06b3e70 19667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_DoGetClientSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
19668 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19669 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19670 {
19671 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 19672 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
d55e5bfc
RD
19673
19674 wxPyEndAllowThreads(__tstate);
19675 if (PyErr_Occurred()) SWIG_fail;
19676 }
19677 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
19678 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19679 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19680 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19681 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
19682 return resultobj;
19683 fail:
19684 return NULL;
19685}
19686
19687
b06b3e70 19688static PyObject *_wrap_PyPanel_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19689 PyObject *resultobj = NULL;
d55e5bfc
RD
19690 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19691 int *arg2 = (int *) 0 ;
19692 int *arg3 = (int *) 0 ;
19693 int temp2 ;
c32bde28 19694 int res2 = 0 ;
d55e5bfc 19695 int temp3 ;
c32bde28 19696 int res3 = 0 ;
d55e5bfc
RD
19697 PyObject * obj0 = 0 ;
19698 char *kwnames[] = {
19699 (char *) "self", NULL
19700 };
19701
c32bde28
RD
19702 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19703 arg3 = &temp3; res3 = SWIG_NEWOBJ;
b06b3e70 19704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_DoGetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
19705 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19706 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19707 {
19708 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 19709 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
d55e5bfc
RD
19710
19711 wxPyEndAllowThreads(__tstate);
19712 if (PyErr_Occurred()) SWIG_fail;
19713 }
19714 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
19715 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19716 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19717 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19718 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
19719 return resultobj;
19720 fail:
19721 return NULL;
19722}
19723
19724
b06b3e70 19725static PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19726 PyObject *resultobj = NULL;
d55e5bfc
RD
19727 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19728 wxSize result;
19729 PyObject * obj0 = 0 ;
19730 char *kwnames[] = {
19731 (char *) "self", NULL
19732 };
19733
b06b3e70 19734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_DoGetVirtualSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
19735 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19736 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19737 {
19738 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 19739 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
d55e5bfc
RD
19740
19741 wxPyEndAllowThreads(__tstate);
19742 if (PyErr_Occurred()) SWIG_fail;
19743 }
19744 {
19745 wxSize * resultptr;
7449af73 19746 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
19747 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19748 }
19749 return resultobj;
19750 fail:
19751 return NULL;
19752}
19753
19754
b06b3e70 19755static PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19756 PyObject *resultobj = NULL;
d55e5bfc
RD
19757 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19758 wxSize result;
19759 PyObject * obj0 = 0 ;
19760 char *kwnames[] = {
19761 (char *) "self", NULL
19762 };
19763
b06b3e70 19764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_DoGetBestSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
19765 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19766 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19767 {
19768 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 19769 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
d55e5bfc
RD
19770
19771 wxPyEndAllowThreads(__tstate);
19772 if (PyErr_Occurred()) SWIG_fail;
19773 }
19774 {
19775 wxSize * resultptr;
7449af73 19776 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
19777 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19778 }
19779 return resultobj;
19780 fail:
19781 return NULL;
19782}
19783
19784
b06b3e70 19785static PyObject *_wrap_PyPanel_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19786 PyObject *resultobj = NULL;
d55e5bfc
RD
19787 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19788 PyObject * obj0 = 0 ;
19789 char *kwnames[] = {
19790 (char *) "self", NULL
19791 };
19792
b06b3e70 19793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_InitDialog",kwnames,&obj0)) goto fail;
093d3ff1
RD
19794 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19795 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19796 {
19797 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 19798 (arg1)->InitDialog();
d55e5bfc
RD
19799
19800 wxPyEndAllowThreads(__tstate);
19801 if (PyErr_Occurred()) SWIG_fail;
19802 }
19803 Py_INCREF(Py_None); resultobj = Py_None;
19804 return resultobj;
19805 fail:
19806 return NULL;
19807}
19808
19809
b06b3e70 19810static PyObject *_wrap_PyPanel_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19811 PyObject *resultobj = NULL;
d55e5bfc
RD
19812 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19813 bool result;
19814 PyObject * obj0 = 0 ;
19815 char *kwnames[] = {
19816 (char *) "self", NULL
19817 };
19818
b06b3e70 19819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_TransferDataToWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
19820 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19821 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19822 {
19823 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 19824 result = (bool)(arg1)->TransferDataToWindow();
d55e5bfc
RD
19825
19826 wxPyEndAllowThreads(__tstate);
19827 if (PyErr_Occurred()) SWIG_fail;
19828 }
19829 {
19830 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19831 }
19832 return resultobj;
19833 fail:
19834 return NULL;
19835}
19836
19837
b06b3e70 19838static PyObject *_wrap_PyPanel_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19839 PyObject *resultobj = NULL;
d55e5bfc
RD
19840 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19841 bool result;
19842 PyObject * obj0 = 0 ;
19843 char *kwnames[] = {
19844 (char *) "self", NULL
19845 };
19846
b06b3e70 19847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_TransferDataFromWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
19848 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19849 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19850 {
19851 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 19852 result = (bool)(arg1)->TransferDataFromWindow();
d55e5bfc
RD
19853
19854 wxPyEndAllowThreads(__tstate);
19855 if (PyErr_Occurred()) SWIG_fail;
19856 }
19857 {
19858 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19859 }
19860 return resultobj;
19861 fail:
19862 return NULL;
19863}
19864
19865
b06b3e70 19866static PyObject *_wrap_PyPanel_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19867 PyObject *resultobj = NULL;
d55e5bfc
RD
19868 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19869 bool result;
19870 PyObject * obj0 = 0 ;
19871 char *kwnames[] = {
19872 (char *) "self", NULL
19873 };
19874
b06b3e70 19875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_Validate",kwnames,&obj0)) goto fail;
093d3ff1
RD
19876 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19877 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19878 {
19879 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 19880 result = (bool)(arg1)->Validate();
d55e5bfc
RD
19881
19882 wxPyEndAllowThreads(__tstate);
19883 if (PyErr_Occurred()) SWIG_fail;
19884 }
19885 {
19886 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19887 }
19888 return resultobj;
19889 fail:
19890 return NULL;
19891}
19892
19893
b06b3e70 19894static PyObject *_wrap_PyPanel_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19895 PyObject *resultobj = NULL;
d55e5bfc
RD
19896 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19897 bool result;
19898 PyObject * obj0 = 0 ;
19899 char *kwnames[] = {
19900 (char *) "self", NULL
19901 };
19902
b06b3e70 19903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_AcceptsFocus",kwnames,&obj0)) goto fail;
093d3ff1
RD
19904 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19905 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19906 {
19907 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 19908 result = (bool)((wxPyPanel const *)arg1)->AcceptsFocus();
d55e5bfc
RD
19909
19910 wxPyEndAllowThreads(__tstate);
19911 if (PyErr_Occurred()) SWIG_fail;
19912 }
19913 {
19914 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19915 }
19916 return resultobj;
19917 fail:
19918 return NULL;
19919}
19920
19921
b06b3e70 19922static PyObject *_wrap_PyPanel_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19923 PyObject *resultobj = NULL;
d55e5bfc
RD
19924 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19925 bool result;
19926 PyObject * obj0 = 0 ;
19927 char *kwnames[] = {
19928 (char *) "self", NULL
19929 };
19930
b06b3e70 19931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
093d3ff1
RD
19932 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19933 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19934 {
19935 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 19936 result = (bool)((wxPyPanel const *)arg1)->AcceptsFocusFromKeyboard();
d55e5bfc
RD
19937
19938 wxPyEndAllowThreads(__tstate);
19939 if (PyErr_Occurred()) SWIG_fail;
19940 }
19941 {
19942 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19943 }
19944 return resultobj;
19945 fail:
19946 return NULL;
19947}
19948
19949
b06b3e70 19950static PyObject *_wrap_PyPanel_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19951 PyObject *resultobj = NULL;
d55e5bfc
RD
19952 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19953 wxSize result;
19954 PyObject * obj0 = 0 ;
19955 char *kwnames[] = {
19956 (char *) "self", NULL
19957 };
19958
b06b3e70 19959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_GetMaxSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
19960 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19961 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19962 {
19963 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 19964 result = ((wxPyPanel const *)arg1)->GetMaxSize();
d55e5bfc
RD
19965
19966 wxPyEndAllowThreads(__tstate);
19967 if (PyErr_Occurred()) SWIG_fail;
19968 }
19969 {
19970 wxSize * resultptr;
7449af73 19971 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
19972 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19973 }
19974 return resultobj;
19975 fail:
19976 return NULL;
19977}
19978
19979
b06b3e70 19980static PyObject *_wrap_PyPanel_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19981 PyObject *resultobj = NULL;
d55e5bfc
RD
19982 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19983 wxWindow *arg2 = (wxWindow *) 0 ;
19984 PyObject * obj0 = 0 ;
19985 PyObject * obj1 = 0 ;
19986 char *kwnames[] = {
19987 (char *) "self",(char *) "child", NULL
19988 };
19989
b06b3e70 19990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_AddChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19991 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19992 if (SWIG_arg_fail(1)) SWIG_fail;
19993 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19994 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
19995 {
19996 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 19997 (arg1)->AddChild(arg2);
d55e5bfc
RD
19998
19999 wxPyEndAllowThreads(__tstate);
20000 if (PyErr_Occurred()) SWIG_fail;
20001 }
20002 Py_INCREF(Py_None); resultobj = Py_None;
20003 return resultobj;
20004 fail:
20005 return NULL;
20006}
20007
20008
b06b3e70 20009static PyObject *_wrap_PyPanel_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20010 PyObject *resultobj = NULL;
d55e5bfc
RD
20011 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
20012 wxWindow *arg2 = (wxWindow *) 0 ;
20013 PyObject * obj0 = 0 ;
20014 PyObject * obj1 = 0 ;
20015 char *kwnames[] = {
20016 (char *) "self",(char *) "child", NULL
20017 };
20018
b06b3e70 20019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20020 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
20021 if (SWIG_arg_fail(1)) SWIG_fail;
20022 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
20023 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
20024 {
20025 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 20026 (arg1)->RemoveChild(arg2);
d55e5bfc
RD
20027
20028 wxPyEndAllowThreads(__tstate);
20029 if (PyErr_Occurred()) SWIG_fail;
20030 }
20031 Py_INCREF(Py_None); resultobj = Py_None;
20032 return resultobj;
20033 fail:
20034 return NULL;
20035}
20036
20037
b06b3e70 20038static PyObject *_wrap_PyPanel_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20039 PyObject *resultobj = NULL;
d55e5bfc
RD
20040 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
20041 bool result;
20042 PyObject * obj0 = 0 ;
20043 char *kwnames[] = {
20044 (char *) "self", NULL
20045 };
20046
b06b3e70 20047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_ShouldInheritColours",kwnames,&obj0)) goto fail;
093d3ff1
RD
20048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
20049 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20050 {
20051 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 20052 result = (bool)((wxPyPanel const *)arg1)->ShouldInheritColours();
d55e5bfc
RD
20053
20054 wxPyEndAllowThreads(__tstate);
20055 if (PyErr_Occurred()) SWIG_fail;
20056 }
20057 {
20058 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20059 }
20060 return resultobj;
20061 fail:
20062 return NULL;
20063}
20064
20065
b06b3e70 20066static PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20067 PyObject *resultobj = NULL;
caef1a4d
RD
20068 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
20069 wxVisualAttributes result;
20070 PyObject * obj0 = 0 ;
20071 char *kwnames[] = {
20072 (char *) "self", NULL
20073 };
20074
b06b3e70 20075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_GetDefaultAttributes",kwnames,&obj0)) goto fail;
093d3ff1
RD
20076 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
20077 if (SWIG_arg_fail(1)) SWIG_fail;
caef1a4d
RD
20078 {
20079 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 20080 result = (arg1)->GetDefaultAttributes();
caef1a4d
RD
20081
20082 wxPyEndAllowThreads(__tstate);
20083 if (PyErr_Occurred()) SWIG_fail;
20084 }
20085 {
20086 wxVisualAttributes * resultptr;
7449af73 20087 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
caef1a4d
RD
20088 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
20089 }
20090 return resultobj;
20091 fail:
20092 return NULL;
20093}
20094
20095
b06b3e70 20096static PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20097 PyObject *resultobj = NULL;
8d38bd1d
RD
20098 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
20099 PyObject * obj0 = 0 ;
20100 char *kwnames[] = {
20101 (char *) "self", NULL
20102 };
20103
b06b3e70 20104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_OnInternalIdle",kwnames,&obj0)) goto fail;
8d38bd1d
RD
20105 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
20106 if (SWIG_arg_fail(1)) SWIG_fail;
20107 {
20108 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 20109 (arg1)->OnInternalIdle();
8d38bd1d
RD
20110
20111 wxPyEndAllowThreads(__tstate);
20112 if (PyErr_Occurred()) SWIG_fail;
20113 }
20114 Py_INCREF(Py_None); resultobj = Py_None;
20115 return resultobj;
20116 fail:
20117 return NULL;
20118}
20119
20120
c32bde28 20121static PyObject * PyPanel_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
20122 PyObject *obj;
20123 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20124 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
20125 Py_INCREF(obj);
20126 return Py_BuildValue((char *)"");
20127}
c32bde28 20128static PyObject *_wrap_new_PyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20129 PyObject *resultobj = NULL;
d55e5bfc 20130 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 20131 int arg2 = (int) (int)-1 ;
d55e5bfc
RD
20132 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20133 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20134 wxSize const &arg4_defvalue = wxDefaultSize ;
20135 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20136 long arg5 = (long) 0 ;
20137 wxString const &arg6_defvalue = wxPyPanelNameStr ;
20138 wxString *arg6 = (wxString *) &arg6_defvalue ;
20139 wxPyScrolledWindow *result;
20140 wxPoint temp3 ;
20141 wxSize temp4 ;
ae8162c8 20142 bool temp6 = false ;
d55e5bfc
RD
20143 PyObject * obj0 = 0 ;
20144 PyObject * obj1 = 0 ;
20145 PyObject * obj2 = 0 ;
20146 PyObject * obj3 = 0 ;
20147 PyObject * obj4 = 0 ;
20148 PyObject * obj5 = 0 ;
20149 char *kwnames[] = {
20150 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20151 };
20152
248ed943 20153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
20154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
20155 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 20156 if (obj1) {
093d3ff1 20157 {
7449af73 20158 arg2 = static_cast<int const >(SWIG_As_int(obj1));
093d3ff1
RD
20159 if (SWIG_arg_fail(2)) SWIG_fail;
20160 }
248ed943 20161 }
d55e5bfc
RD
20162 if (obj2) {
20163 {
20164 arg3 = &temp3;
20165 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20166 }
20167 }
20168 if (obj3) {
20169 {
20170 arg4 = &temp4;
20171 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20172 }
20173 }
20174 if (obj4) {
093d3ff1 20175 {
7449af73 20176 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
20177 if (SWIG_arg_fail(5)) SWIG_fail;
20178 }
d55e5bfc
RD
20179 }
20180 if (obj5) {
20181 {
20182 arg6 = wxString_in_helper(obj5);
20183 if (arg6 == NULL) SWIG_fail;
ae8162c8 20184 temp6 = true;
d55e5bfc
RD
20185 }
20186 }
20187 {
0439c23b 20188 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
20189 PyThreadState* __tstate = wxPyBeginAllowThreads();
20190 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
20191
20192 wxPyEndAllowThreads(__tstate);
110da5b0 20193 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
20194 }
20195 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
20196 {
20197 if (temp6)
20198 delete arg6;
20199 }
20200 return resultobj;
20201 fail:
20202 {
20203 if (temp6)
20204 delete arg6;
20205 }
20206 return NULL;
20207}
20208
20209
c32bde28 20210static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20211 PyObject *resultobj = NULL;
d55e5bfc
RD
20212 wxPyScrolledWindow *result;
20213 char *kwnames[] = {
20214 NULL
20215 };
20216
20217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
20218 {
0439c23b 20219 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
20220 PyThreadState* __tstate = wxPyBeginAllowThreads();
20221 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
20222
20223 wxPyEndAllowThreads(__tstate);
110da5b0 20224 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
20225 }
20226 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
20227 return resultobj;
20228 fail:
20229 return NULL;
20230}
20231
20232
c32bde28 20233static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20234 PyObject *resultobj = NULL;
d55e5bfc
RD
20235 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20236 PyObject *arg2 = (PyObject *) 0 ;
20237 PyObject *arg3 = (PyObject *) 0 ;
20238 PyObject * obj0 = 0 ;
20239 PyObject * obj1 = 0 ;
20240 PyObject * obj2 = 0 ;
20241 char *kwnames[] = {
20242 (char *) "self",(char *) "self",(char *) "_class", NULL
20243 };
20244
20245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) 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;
d55e5bfc
RD
20248 arg2 = obj1;
20249 arg3 = obj2;
20250 {
20251 PyThreadState* __tstate = wxPyBeginAllowThreads();
20252 (arg1)->_setCallbackInfo(arg2,arg3);
20253
20254 wxPyEndAllowThreads(__tstate);
20255 if (PyErr_Occurred()) SWIG_fail;
20256 }
20257 Py_INCREF(Py_None); resultobj = Py_None;
20258 return resultobj;
20259 fail:
20260 return NULL;
20261}
20262
20263
c32bde28 20264static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20265 PyObject *resultobj = NULL;
caef1a4d
RD
20266 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20267 wxSize *arg2 = 0 ;
20268 wxSize temp2 ;
20269 PyObject * obj0 = 0 ;
20270 PyObject * obj1 = 0 ;
20271 char *kwnames[] = {
20272 (char *) "self",(char *) "size", NULL
20273 };
20274
20275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20276 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20277 if (SWIG_arg_fail(1)) SWIG_fail;
caef1a4d
RD
20278 {
20279 arg2 = &temp2;
20280 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20281 }
20282 {
20283 PyThreadState* __tstate = wxPyBeginAllowThreads();
20284 (arg1)->SetBestSize((wxSize const &)*arg2);
20285
20286 wxPyEndAllowThreads(__tstate);
20287 if (PyErr_Occurred()) SWIG_fail;
20288 }
20289 Py_INCREF(Py_None); resultobj = Py_None;
20290 return resultobj;
20291 fail:
20292 return NULL;
20293}
20294
20295
60d5fcc1 20296static PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20297 PyObject *resultobj = NULL;
60d5fcc1
RD
20298 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20299 wxDC *arg2 = (wxDC *) 0 ;
20300 bool result;
20301 PyObject * obj0 = 0 ;
20302 PyObject * obj1 = 0 ;
20303 char *kwnames[] = {
20304 (char *) "self",(char *) "dc", NULL
20305 };
20306
20307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail;
20308 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20309 if (SWIG_arg_fail(1)) SWIG_fail;
20310 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
20311 if (SWIG_arg_fail(2)) SWIG_fail;
20312 {
20313 PyThreadState* __tstate = wxPyBeginAllowThreads();
20314 result = (bool)(arg1)->DoEraseBackground(arg2);
20315
20316 wxPyEndAllowThreads(__tstate);
20317 if (PyErr_Occurred()) SWIG_fail;
20318 }
20319 {
20320 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20321 }
20322 return resultobj;
20323 fail:
20324 return NULL;
20325}
20326
20327
b06b3e70 20328static PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20329 PyObject *resultobj = NULL;
d55e5bfc
RD
20330 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20331 int arg2 ;
20332 int arg3 ;
20333 int arg4 ;
20334 int arg5 ;
20335 PyObject * obj0 = 0 ;
20336 PyObject * obj1 = 0 ;
20337 PyObject * obj2 = 0 ;
20338 PyObject * obj3 = 0 ;
20339 PyObject * obj4 = 0 ;
20340 char *kwnames[] = {
20341 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
20342 };
20343
b06b3e70 20344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
20345 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20346 if (SWIG_arg_fail(1)) SWIG_fail;
20347 {
7449af73 20348 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
20349 if (SWIG_arg_fail(2)) SWIG_fail;
20350 }
20351 {
7449af73 20352 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
20353 if (SWIG_arg_fail(3)) SWIG_fail;
20354 }
20355 {
7449af73 20356 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
20357 if (SWIG_arg_fail(4)) SWIG_fail;
20358 }
20359 {
7449af73 20360 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
20361 if (SWIG_arg_fail(5)) SWIG_fail;
20362 }
d55e5bfc
RD
20363 {
20364 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 20365 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
d55e5bfc
RD
20366
20367 wxPyEndAllowThreads(__tstate);
20368 if (PyErr_Occurred()) SWIG_fail;
20369 }
20370 Py_INCREF(Py_None); resultobj = Py_None;
20371 return resultobj;
20372 fail:
20373 return NULL;
20374}
20375
20376
b06b3e70 20377static PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20378 PyObject *resultobj = NULL;
d55e5bfc
RD
20379 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20380 int arg2 ;
20381 int arg3 ;
20382 int arg4 ;
20383 int arg5 ;
20384 int arg6 = (int) wxSIZE_AUTO ;
20385 PyObject * obj0 = 0 ;
20386 PyObject * obj1 = 0 ;
20387 PyObject * obj2 = 0 ;
20388 PyObject * obj3 = 0 ;
20389 PyObject * obj4 = 0 ;
20390 PyObject * obj5 = 0 ;
20391 char *kwnames[] = {
20392 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
20393 };
20394
b06b3e70 20395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
20396 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20397 if (SWIG_arg_fail(1)) SWIG_fail;
20398 {
7449af73 20399 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
20400 if (SWIG_arg_fail(2)) SWIG_fail;
20401 }
20402 {
7449af73 20403 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
20404 if (SWIG_arg_fail(3)) SWIG_fail;
20405 }
20406 {
7449af73 20407 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
20408 if (SWIG_arg_fail(4)) SWIG_fail;
20409 }
20410 {
7449af73 20411 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
20412 if (SWIG_arg_fail(5)) SWIG_fail;
20413 }
d55e5bfc 20414 if (obj5) {
093d3ff1 20415 {
7449af73 20416 arg6 = static_cast<int >(SWIG_As_int(obj5));
093d3ff1
RD
20417 if (SWIG_arg_fail(6)) SWIG_fail;
20418 }
d55e5bfc
RD
20419 }
20420 {
20421 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 20422 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
d55e5bfc
RD
20423
20424 wxPyEndAllowThreads(__tstate);
20425 if (PyErr_Occurred()) SWIG_fail;
20426 }
20427 Py_INCREF(Py_None); resultobj = Py_None;
20428 return resultobj;
20429 fail:
20430 return NULL;
20431}
20432
20433
b06b3e70 20434static PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20435 PyObject *resultobj = NULL;
d55e5bfc
RD
20436 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20437 int arg2 ;
20438 int arg3 ;
20439 PyObject * obj0 = 0 ;
20440 PyObject * obj1 = 0 ;
20441 PyObject * obj2 = 0 ;
20442 char *kwnames[] = {
20443 (char *) "self",(char *) "width",(char *) "height", NULL
20444 };
20445
b06b3e70 20446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20447 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20448 if (SWIG_arg_fail(1)) SWIG_fail;
20449 {
7449af73 20450 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
20451 if (SWIG_arg_fail(2)) SWIG_fail;
20452 }
20453 {
7449af73 20454 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
20455 if (SWIG_arg_fail(3)) SWIG_fail;
20456 }
d55e5bfc
RD
20457 {
20458 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 20459 (arg1)->DoSetClientSize(arg2,arg3);
d55e5bfc
RD
20460
20461 wxPyEndAllowThreads(__tstate);
20462 if (PyErr_Occurred()) SWIG_fail;
20463 }
20464 Py_INCREF(Py_None); resultobj = Py_None;
20465 return resultobj;
20466 fail:
20467 return NULL;
20468}
20469
20470
b06b3e70 20471static PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20472 PyObject *resultobj = NULL;
d55e5bfc
RD
20473 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20474 int arg2 ;
20475 int arg3 ;
20476 PyObject * obj0 = 0 ;
20477 PyObject * obj1 = 0 ;
20478 PyObject * obj2 = 0 ;
20479 char *kwnames[] = {
20480 (char *) "self",(char *) "x",(char *) "y", NULL
20481 };
20482
b06b3e70 20483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20484 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20485 if (SWIG_arg_fail(1)) SWIG_fail;
20486 {
7449af73 20487 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
20488 if (SWIG_arg_fail(2)) SWIG_fail;
20489 }
20490 {
7449af73 20491 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
20492 if (SWIG_arg_fail(3)) SWIG_fail;
20493 }
d55e5bfc
RD
20494 {
20495 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 20496 (arg1)->DoSetVirtualSize(arg2,arg3);
d55e5bfc
RD
20497
20498 wxPyEndAllowThreads(__tstate);
20499 if (PyErr_Occurred()) SWIG_fail;
20500 }
20501 Py_INCREF(Py_None); resultobj = Py_None;
20502 return resultobj;
20503 fail:
20504 return NULL;
20505}
20506
20507
b06b3e70 20508static PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20509 PyObject *resultobj = NULL;
d55e5bfc
RD
20510 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20511 int *arg2 = (int *) 0 ;
20512 int *arg3 = (int *) 0 ;
20513 int temp2 ;
c32bde28 20514 int res2 = 0 ;
d55e5bfc 20515 int temp3 ;
c32bde28 20516 int res3 = 0 ;
d55e5bfc
RD
20517 PyObject * obj0 = 0 ;
20518 char *kwnames[] = {
20519 (char *) "self", NULL
20520 };
20521
c32bde28
RD
20522 arg2 = &temp2; res2 = SWIG_NEWOBJ;
20523 arg3 = &temp3; res3 = SWIG_NEWOBJ;
b06b3e70 20524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_DoGetSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
20525 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20526 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20527 {
20528 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 20529 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
d55e5bfc
RD
20530
20531 wxPyEndAllowThreads(__tstate);
20532 if (PyErr_Occurred()) SWIG_fail;
20533 }
20534 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
20535 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
20536 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
20537 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
20538 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
20539 return resultobj;
20540 fail:
20541 return NULL;
20542}
20543
20544
b06b3e70 20545static PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20546 PyObject *resultobj = NULL;
d55e5bfc
RD
20547 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20548 int *arg2 = (int *) 0 ;
20549 int *arg3 = (int *) 0 ;
20550 int temp2 ;
c32bde28 20551 int res2 = 0 ;
d55e5bfc 20552 int temp3 ;
c32bde28 20553 int res3 = 0 ;
d55e5bfc
RD
20554 PyObject * obj0 = 0 ;
20555 char *kwnames[] = {
20556 (char *) "self", NULL
20557 };
20558
c32bde28
RD
20559 arg2 = &temp2; res2 = SWIG_NEWOBJ;
20560 arg3 = &temp3; res3 = SWIG_NEWOBJ;
b06b3e70 20561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_DoGetClientSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
20562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20563 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20564 {
20565 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 20566 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
d55e5bfc
RD
20567
20568 wxPyEndAllowThreads(__tstate);
20569 if (PyErr_Occurred()) SWIG_fail;
20570 }
20571 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
20572 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
20573 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
20574 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
20575 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
20576 return resultobj;
20577 fail:
20578 return NULL;
20579}
20580
20581
b06b3e70 20582static PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20583 PyObject *resultobj = NULL;
d55e5bfc
RD
20584 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20585 int *arg2 = (int *) 0 ;
20586 int *arg3 = (int *) 0 ;
20587 int temp2 ;
c32bde28 20588 int res2 = 0 ;
d55e5bfc 20589 int temp3 ;
c32bde28 20590 int res3 = 0 ;
d55e5bfc
RD
20591 PyObject * obj0 = 0 ;
20592 char *kwnames[] = {
20593 (char *) "self", NULL
20594 };
20595
c32bde28
RD
20596 arg2 = &temp2; res2 = SWIG_NEWOBJ;
20597 arg3 = &temp3; res3 = SWIG_NEWOBJ;
b06b3e70 20598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_DoGetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
20599 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20600 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20601 {
20602 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 20603 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
d55e5bfc
RD
20604
20605 wxPyEndAllowThreads(__tstate);
20606 if (PyErr_Occurred()) SWIG_fail;
20607 }
20608 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
20609 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
20610 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
20611 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
20612 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
20613 return resultobj;
20614 fail:
20615 return NULL;
20616}
20617
20618
b06b3e70 20619static PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20620 PyObject *resultobj = NULL;
d55e5bfc
RD
20621 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20622 wxSize result;
20623 PyObject * obj0 = 0 ;
20624 char *kwnames[] = {
20625 (char *) "self", NULL
20626 };
20627
b06b3e70 20628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_DoGetVirtualSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
20629 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20630 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20631 {
20632 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 20633 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
d55e5bfc
RD
20634
20635 wxPyEndAllowThreads(__tstate);
20636 if (PyErr_Occurred()) SWIG_fail;
20637 }
20638 {
20639 wxSize * resultptr;
7449af73 20640 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
20641 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20642 }
20643 return resultobj;
20644 fail:
20645 return NULL;
20646}
20647
20648
b06b3e70 20649static PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20650 PyObject *resultobj = NULL;
d55e5bfc
RD
20651 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20652 wxSize result;
20653 PyObject * obj0 = 0 ;
20654 char *kwnames[] = {
20655 (char *) "self", NULL
20656 };
20657
b06b3e70 20658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_DoGetBestSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
20659 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20660 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20661 {
20662 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 20663 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
d55e5bfc
RD
20664
20665 wxPyEndAllowThreads(__tstate);
20666 if (PyErr_Occurred()) SWIG_fail;
20667 }
20668 {
20669 wxSize * resultptr;
7449af73 20670 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
20671 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20672 }
20673 return resultobj;
20674 fail:
20675 return NULL;
20676}
20677
20678
b06b3e70 20679static PyObject *_wrap_PyScrolledWindow_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20680 PyObject *resultobj = NULL;
d55e5bfc
RD
20681 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20682 PyObject * obj0 = 0 ;
20683 char *kwnames[] = {
20684 (char *) "self", NULL
20685 };
20686
b06b3e70 20687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_InitDialog",kwnames,&obj0)) goto fail;
093d3ff1
RD
20688 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20689 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20690 {
20691 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 20692 (arg1)->InitDialog();
d55e5bfc
RD
20693
20694 wxPyEndAllowThreads(__tstate);
20695 if (PyErr_Occurred()) SWIG_fail;
20696 }
20697 Py_INCREF(Py_None); resultobj = Py_None;
20698 return resultobj;
20699 fail:
20700 return NULL;
20701}
20702
20703
b06b3e70 20704static PyObject *_wrap_PyScrolledWindow_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20705 PyObject *resultobj = NULL;
d55e5bfc
RD
20706 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20707 bool result;
20708 PyObject * obj0 = 0 ;
20709 char *kwnames[] = {
20710 (char *) "self", NULL
20711 };
20712
b06b3e70 20713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_TransferDataToWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
20714 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20715 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20716 {
20717 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 20718 result = (bool)(arg1)->TransferDataToWindow();
d55e5bfc
RD
20719
20720 wxPyEndAllowThreads(__tstate);
20721 if (PyErr_Occurred()) SWIG_fail;
20722 }
20723 {
20724 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20725 }
20726 return resultobj;
20727 fail:
20728 return NULL;
20729}
20730
20731
b06b3e70 20732static PyObject *_wrap_PyScrolledWindow_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20733 PyObject *resultobj = NULL;
d55e5bfc
RD
20734 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20735 bool result;
20736 PyObject * obj0 = 0 ;
20737 char *kwnames[] = {
20738 (char *) "self", NULL
20739 };
20740
b06b3e70 20741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_TransferDataFromWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
20742 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20743 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20744 {
20745 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 20746 result = (bool)(arg1)->TransferDataFromWindow();
d55e5bfc
RD
20747
20748 wxPyEndAllowThreads(__tstate);
20749 if (PyErr_Occurred()) SWIG_fail;
20750 }
20751 {
20752 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20753 }
20754 return resultobj;
20755 fail:
20756 return NULL;
20757}
20758
20759
b06b3e70 20760static PyObject *_wrap_PyScrolledWindow_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20761 PyObject *resultobj = NULL;
d55e5bfc
RD
20762 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20763 bool result;
20764 PyObject * obj0 = 0 ;
20765 char *kwnames[] = {
20766 (char *) "self", NULL
20767 };
20768
b06b3e70 20769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_Validate",kwnames,&obj0)) goto fail;
093d3ff1
RD
20770 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20771 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20772 {
20773 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 20774 result = (bool)(arg1)->Validate();
d55e5bfc
RD
20775
20776 wxPyEndAllowThreads(__tstate);
20777 if (PyErr_Occurred()) SWIG_fail;
20778 }
20779 {
20780 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20781 }
20782 return resultobj;
20783 fail:
20784 return NULL;
20785}
20786
20787
b06b3e70 20788static PyObject *_wrap_PyScrolledWindow_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20789 PyObject *resultobj = NULL;
d55e5bfc
RD
20790 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20791 bool result;
20792 PyObject * obj0 = 0 ;
20793 char *kwnames[] = {
20794 (char *) "self", NULL
20795 };
20796
b06b3e70 20797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_AcceptsFocus",kwnames,&obj0)) goto fail;
093d3ff1
RD
20798 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20799 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20800 {
20801 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 20802 result = (bool)((wxPyScrolledWindow const *)arg1)->AcceptsFocus();
d55e5bfc
RD
20803
20804 wxPyEndAllowThreads(__tstate);
20805 if (PyErr_Occurred()) SWIG_fail;
20806 }
20807 {
20808 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20809 }
20810 return resultobj;
20811 fail:
20812 return NULL;
20813}
20814
20815
b06b3e70 20816static PyObject *_wrap_PyScrolledWindow_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20817 PyObject *resultobj = NULL;
d55e5bfc
RD
20818 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20819 bool result;
20820 PyObject * obj0 = 0 ;
20821 char *kwnames[] = {
20822 (char *) "self", NULL
20823 };
20824
b06b3e70 20825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
093d3ff1
RD
20826 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20827 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20828 {
20829 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 20830 result = (bool)((wxPyScrolledWindow const *)arg1)->AcceptsFocusFromKeyboard();
d55e5bfc
RD
20831
20832 wxPyEndAllowThreads(__tstate);
20833 if (PyErr_Occurred()) SWIG_fail;
20834 }
20835 {
20836 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20837 }
20838 return resultobj;
20839 fail:
20840 return NULL;
20841}
20842
20843
b06b3e70 20844static PyObject *_wrap_PyScrolledWindow_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20845 PyObject *resultobj = NULL;
d55e5bfc
RD
20846 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20847 wxSize result;
20848 PyObject * obj0 = 0 ;
20849 char *kwnames[] = {
20850 (char *) "self", NULL
20851 };
20852
b06b3e70 20853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_GetMaxSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
20854 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20855 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20856 {
20857 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 20858 result = ((wxPyScrolledWindow const *)arg1)->GetMaxSize();
d55e5bfc
RD
20859
20860 wxPyEndAllowThreads(__tstate);
20861 if (PyErr_Occurred()) SWIG_fail;
20862 }
20863 {
20864 wxSize * resultptr;
7449af73 20865 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
20866 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20867 }
20868 return resultobj;
20869 fail:
20870 return NULL;
20871}
20872
20873
b06b3e70 20874static PyObject *_wrap_PyScrolledWindow_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20875 PyObject *resultobj = NULL;
d55e5bfc
RD
20876 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20877 wxWindow *arg2 = (wxWindow *) 0 ;
20878 PyObject * obj0 = 0 ;
20879 PyObject * obj1 = 0 ;
20880 char *kwnames[] = {
20881 (char *) "self",(char *) "child", NULL
20882 };
20883
b06b3e70 20884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_AddChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20886 if (SWIG_arg_fail(1)) SWIG_fail;
20887 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
20888 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
20889 {
20890 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 20891 (arg1)->AddChild(arg2);
d55e5bfc
RD
20892
20893 wxPyEndAllowThreads(__tstate);
20894 if (PyErr_Occurred()) SWIG_fail;
20895 }
20896 Py_INCREF(Py_None); resultobj = Py_None;
20897 return resultobj;
20898 fail:
20899 return NULL;
20900}
20901
20902
b06b3e70 20903static PyObject *_wrap_PyScrolledWindow_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20904 PyObject *resultobj = NULL;
d55e5bfc
RD
20905 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20906 wxWindow *arg2 = (wxWindow *) 0 ;
20907 PyObject * obj0 = 0 ;
20908 PyObject * obj1 = 0 ;
20909 char *kwnames[] = {
20910 (char *) "self",(char *) "child", NULL
20911 };
20912
b06b3e70 20913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20914 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20915 if (SWIG_arg_fail(1)) SWIG_fail;
20916 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
20917 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
20918 {
20919 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 20920 (arg1)->RemoveChild(arg2);
d55e5bfc
RD
20921
20922 wxPyEndAllowThreads(__tstate);
20923 if (PyErr_Occurred()) SWIG_fail;
20924 }
20925 Py_INCREF(Py_None); resultobj = Py_None;
20926 return resultobj;
20927 fail:
20928 return NULL;
20929}
20930
20931
b06b3e70 20932static PyObject *_wrap_PyScrolledWindow_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20933 PyObject *resultobj = NULL;
d55e5bfc
RD
20934 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20935 bool result;
20936 PyObject * obj0 = 0 ;
20937 char *kwnames[] = {
20938 (char *) "self", NULL
20939 };
20940
b06b3e70 20941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_ShouldInheritColours",kwnames,&obj0)) goto fail;
093d3ff1
RD
20942 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20943 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20944 {
20945 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 20946 result = (bool)((wxPyScrolledWindow const *)arg1)->ShouldInheritColours();
d55e5bfc
RD
20947
20948 wxPyEndAllowThreads(__tstate);
20949 if (PyErr_Occurred()) SWIG_fail;
20950 }
20951 {
20952 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20953 }
20954 return resultobj;
20955 fail:
20956 return NULL;
20957}
20958
20959
b06b3e70 20960static PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20961 PyObject *resultobj = NULL;
caef1a4d
RD
20962 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20963 wxVisualAttributes result;
20964 PyObject * obj0 = 0 ;
20965 char *kwnames[] = {
20966 (char *) "self", NULL
20967 };
20968
b06b3e70 20969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_GetDefaultAttributes",kwnames,&obj0)) goto fail;
093d3ff1
RD
20970 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20971 if (SWIG_arg_fail(1)) SWIG_fail;
caef1a4d
RD
20972 {
20973 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 20974 result = (arg1)->GetDefaultAttributes();
caef1a4d
RD
20975
20976 wxPyEndAllowThreads(__tstate);
20977 if (PyErr_Occurred()) SWIG_fail;
20978 }
20979 {
20980 wxVisualAttributes * resultptr;
7449af73 20981 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
caef1a4d
RD
20982 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
20983 }
20984 return resultobj;
20985 fail:
20986 return NULL;
20987}
20988
20989
b06b3e70 20990static PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20991 PyObject *resultobj = NULL;
8d38bd1d
RD
20992 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20993 PyObject * obj0 = 0 ;
20994 char *kwnames[] = {
20995 (char *) "self", NULL
20996 };
20997
b06b3e70 20998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_OnInternalIdle",kwnames,&obj0)) goto fail;
8d38bd1d
RD
20999 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
21000 if (SWIG_arg_fail(1)) SWIG_fail;
21001 {
21002 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 21003 (arg1)->OnInternalIdle();
8d38bd1d
RD
21004
21005 wxPyEndAllowThreads(__tstate);
21006 if (PyErr_Occurred()) SWIG_fail;
21007 }
21008 Py_INCREF(Py_None); resultobj = Py_None;
21009 return resultobj;
21010 fail:
21011 return NULL;
21012}
21013
21014
c32bde28 21015static PyObject * PyScrolledWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
21016 PyObject *obj;
21017 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21018 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
21019 Py_INCREF(obj);
21020 return Py_BuildValue((char *)"");
21021}
c32bde28 21022static int _wrap_PrintoutTitleStr_set(PyObject *) {
d55e5bfc
RD
21023 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
21024 return 1;
21025}
21026
21027
093d3ff1 21028static PyObject *_wrap_PrintoutTitleStr_get(void) {
7449af73 21029 PyObject *pyobj = NULL;
d55e5bfc
RD
21030
21031 {
21032#if wxUSE_UNICODE
21033 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
21034#else
21035 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
21036#endif
21037 }
21038 return pyobj;
21039}
21040
21041
c32bde28 21042static int _wrap_PreviewCanvasNameStr_set(PyObject *) {
d55e5bfc
RD
21043 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
21044 return 1;
21045}
21046
21047
093d3ff1 21048static PyObject *_wrap_PreviewCanvasNameStr_get(void) {
7449af73 21049 PyObject *pyobj = NULL;
d55e5bfc
RD
21050
21051 {
21052#if wxUSE_UNICODE
21053 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
21054#else
21055 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
21056#endif
21057 }
21058 return pyobj;
21059}
21060
21061
c32bde28 21062static PyObject *_wrap_new_PrintData__SWIG_0(PyObject *, PyObject *args) {
7449af73 21063 PyObject *resultobj = NULL;
d55e5bfc 21064 wxPrintData *result;
d55e5bfc 21065
09c21d3b 21066 if(!PyArg_ParseTuple(args,(char *)":new_PrintData")) goto fail;
d55e5bfc
RD
21067 {
21068 PyThreadState* __tstate = wxPyBeginAllowThreads();
21069 result = (wxPrintData *)new wxPrintData();
21070
21071 wxPyEndAllowThreads(__tstate);
21072 if (PyErr_Occurred()) SWIG_fail;
21073 }
21074 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
21075 return resultobj;
21076 fail:
21077 return NULL;
21078}
21079
21080
c32bde28 21081static PyObject *_wrap_new_PrintData__SWIG_1(PyObject *, PyObject *args) {
7449af73 21082 PyObject *resultobj = NULL;
09c21d3b
RD
21083 wxPrintData *arg1 = 0 ;
21084 wxPrintData *result;
21085 PyObject * obj0 = 0 ;
21086
21087 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintData",&obj0)) goto fail;
093d3ff1
RD
21088 {
21089 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21090 if (SWIG_arg_fail(1)) SWIG_fail;
21091 if (arg1 == NULL) {
21092 SWIG_null_ref("wxPrintData");
21093 }
21094 if (SWIG_arg_fail(1)) SWIG_fail;
09c21d3b
RD
21095 }
21096 {
21097 PyThreadState* __tstate = wxPyBeginAllowThreads();
21098 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
21099
21100 wxPyEndAllowThreads(__tstate);
21101 if (PyErr_Occurred()) SWIG_fail;
21102 }
21103 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
21104 return resultobj;
21105 fail:
21106 return NULL;
21107}
21108
21109
21110static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
21111 int argc;
21112 PyObject *argv[2];
21113 int ii;
21114
21115 argc = PyObject_Length(args);
21116 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
21117 argv[ii] = PyTuple_GetItem(args,ii);
21118 }
21119 if (argc == 0) {
21120 return _wrap_new_PrintData__SWIG_0(self,args);
21121 }
21122 if (argc == 1) {
21123 int _v;
21124 {
093d3ff1 21125 void *ptr = 0;
09c21d3b
RD
21126 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
21127 _v = 0;
21128 PyErr_Clear();
21129 } else {
093d3ff1 21130 _v = (ptr != 0);
09c21d3b
RD
21131 }
21132 }
21133 if (_v) {
21134 return _wrap_new_PrintData__SWIG_1(self,args);
21135 }
21136 }
21137
093d3ff1 21138 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
09c21d3b
RD
21139 return NULL;
21140}
21141
21142
c32bde28 21143static PyObject *_wrap_delete_PrintData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21144 PyObject *resultobj = NULL;
d55e5bfc
RD
21145 wxPrintData *arg1 = (wxPrintData *) 0 ;
21146 PyObject * obj0 = 0 ;
21147 char *kwnames[] = {
21148 (char *) "self", NULL
21149 };
21150
21151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
093d3ff1
RD
21152 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21153 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21154 {
21155 PyThreadState* __tstate = wxPyBeginAllowThreads();
21156 delete arg1;
21157
21158 wxPyEndAllowThreads(__tstate);
21159 if (PyErr_Occurred()) SWIG_fail;
21160 }
21161 Py_INCREF(Py_None); resultobj = Py_None;
21162 return resultobj;
21163 fail:
21164 return NULL;
21165}
21166
21167
c32bde28 21168static PyObject *_wrap_PrintData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21169 PyObject *resultobj = NULL;
d55e5bfc
RD
21170 wxPrintData *arg1 = (wxPrintData *) 0 ;
21171 int result;
21172 PyObject * obj0 = 0 ;
21173 char *kwnames[] = {
21174 (char *) "self", NULL
21175 };
21176
21177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
093d3ff1
RD
21178 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21179 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21180 {
21181 PyThreadState* __tstate = wxPyBeginAllowThreads();
21182 result = (int)(arg1)->GetNoCopies();
21183
21184 wxPyEndAllowThreads(__tstate);
21185 if (PyErr_Occurred()) SWIG_fail;
21186 }
093d3ff1 21187 {
7449af73 21188 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 21189 }
d55e5bfc
RD
21190 return resultobj;
21191 fail:
21192 return NULL;
21193}
21194
21195
c32bde28 21196static PyObject *_wrap_PrintData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21197 PyObject *resultobj = NULL;
d55e5bfc
RD
21198 wxPrintData *arg1 = (wxPrintData *) 0 ;
21199 bool result;
21200 PyObject * obj0 = 0 ;
21201 char *kwnames[] = {
21202 (char *) "self", NULL
21203 };
21204
21205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
093d3ff1
RD
21206 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21207 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21208 {
21209 PyThreadState* __tstate = wxPyBeginAllowThreads();
21210 result = (bool)(arg1)->GetCollate();
21211
21212 wxPyEndAllowThreads(__tstate);
21213 if (PyErr_Occurred()) SWIG_fail;
21214 }
21215 {
21216 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21217 }
21218 return resultobj;
21219 fail:
21220 return NULL;
21221}
21222
21223
c32bde28 21224static PyObject *_wrap_PrintData_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21225 PyObject *resultobj = NULL;
d55e5bfc
RD
21226 wxPrintData *arg1 = (wxPrintData *) 0 ;
21227 int result;
21228 PyObject * obj0 = 0 ;
21229 char *kwnames[] = {
21230 (char *) "self", NULL
21231 };
21232
21233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
093d3ff1
RD
21234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21235 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21236 {
21237 PyThreadState* __tstate = wxPyBeginAllowThreads();
21238 result = (int)(arg1)->GetOrientation();
21239
21240 wxPyEndAllowThreads(__tstate);
21241 if (PyErr_Occurred()) SWIG_fail;
21242 }
093d3ff1 21243 {
7449af73 21244 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 21245 }
d55e5bfc
RD
21246 return resultobj;
21247 fail:
21248 return NULL;
21249}
21250
21251
c32bde28 21252static PyObject *_wrap_PrintData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21253 PyObject *resultobj = NULL;
d55e5bfc
RD
21254 wxPrintData *arg1 = (wxPrintData *) 0 ;
21255 bool result;
21256 PyObject * obj0 = 0 ;
21257 char *kwnames[] = {
21258 (char *) "self", NULL
21259 };
21260
21261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
093d3ff1
RD
21262 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21263 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21264 {
21265 PyThreadState* __tstate = wxPyBeginAllowThreads();
21266 result = (bool)(arg1)->Ok();
21267
21268 wxPyEndAllowThreads(__tstate);
21269 if (PyErr_Occurred()) SWIG_fail;
21270 }
21271 {
21272 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21273 }
21274 return resultobj;
21275 fail:
21276 return NULL;
21277}
21278
21279
c32bde28 21280static PyObject *_wrap_PrintData_GetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21281 PyObject *resultobj = NULL;
d55e5bfc
RD
21282 wxPrintData *arg1 = (wxPrintData *) 0 ;
21283 wxString *result;
21284 PyObject * obj0 = 0 ;
21285 char *kwnames[] = {
21286 (char *) "self", NULL
21287 };
21288
21289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
093d3ff1
RD
21290 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21291 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21292 {
21293 PyThreadState* __tstate = wxPyBeginAllowThreads();
21294 {
21295 wxString const &_result_ref = (arg1)->GetPrinterName();
21296 result = (wxString *) &_result_ref;
21297 }
21298
21299 wxPyEndAllowThreads(__tstate);
21300 if (PyErr_Occurred()) SWIG_fail;
21301 }
21302 {
21303#if wxUSE_UNICODE
21304 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21305#else
21306 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21307#endif
21308 }
21309 return resultobj;
21310 fail:
21311 return NULL;
21312}
21313
21314
c32bde28 21315static PyObject *_wrap_PrintData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21316 PyObject *resultobj = NULL;
d55e5bfc
RD
21317 wxPrintData *arg1 = (wxPrintData *) 0 ;
21318 bool result;
21319 PyObject * obj0 = 0 ;
21320 char *kwnames[] = {
21321 (char *) "self", NULL
21322 };
21323
21324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
21325 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21326 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21327 {
21328 PyThreadState* __tstate = wxPyBeginAllowThreads();
21329 result = (bool)(arg1)->GetColour();
21330
21331 wxPyEndAllowThreads(__tstate);
21332 if (PyErr_Occurred()) SWIG_fail;
21333 }
21334 {
21335 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21336 }
21337 return resultobj;
21338 fail:
21339 return NULL;
21340}
21341
21342
c32bde28 21343static PyObject *_wrap_PrintData_GetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21344 PyObject *resultobj = NULL;
d55e5bfc 21345 wxPrintData *arg1 = (wxPrintData *) 0 ;
093d3ff1 21346 wxDuplexMode result;
d55e5bfc
RD
21347 PyObject * obj0 = 0 ;
21348 char *kwnames[] = {
21349 (char *) "self", NULL
21350 };
21351
21352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
093d3ff1
RD
21353 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21354 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21355 {
21356 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 21357 result = (wxDuplexMode)(arg1)->GetDuplex();
d55e5bfc
RD
21358
21359 wxPyEndAllowThreads(__tstate);
21360 if (PyErr_Occurred()) SWIG_fail;
21361 }
093d3ff1 21362 resultobj = SWIG_From_int((result));
d55e5bfc
RD
21363 return resultobj;
21364 fail:
21365 return NULL;
21366}
21367
21368
c32bde28 21369static PyObject *_wrap_PrintData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21370 PyObject *resultobj = NULL;
d55e5bfc 21371 wxPrintData *arg1 = (wxPrintData *) 0 ;
093d3ff1 21372 wxPaperSize result;
d55e5bfc
RD
21373 PyObject * obj0 = 0 ;
21374 char *kwnames[] = {
21375 (char *) "self", NULL
21376 };
21377
21378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
093d3ff1
RD
21379 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21380 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21381 {
21382 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 21383 result = (wxPaperSize)(arg1)->GetPaperId();
d55e5bfc
RD
21384
21385 wxPyEndAllowThreads(__tstate);
21386 if (PyErr_Occurred()) SWIG_fail;
21387 }
093d3ff1 21388 resultobj = SWIG_From_int((result));
d55e5bfc
RD
21389 return resultobj;
21390 fail:
21391 return NULL;
21392}
21393
21394
c32bde28 21395static PyObject *_wrap_PrintData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21396 PyObject *resultobj = NULL;
d55e5bfc
RD
21397 wxPrintData *arg1 = (wxPrintData *) 0 ;
21398 wxSize *result;
21399 PyObject * obj0 = 0 ;
21400 char *kwnames[] = {
21401 (char *) "self", NULL
21402 };
21403
21404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
21405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21406 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21407 {
21408 PyThreadState* __tstate = wxPyBeginAllowThreads();
21409 {
21410 wxSize const &_result_ref = (arg1)->GetPaperSize();
21411 result = (wxSize *) &_result_ref;
21412 }
21413
21414 wxPyEndAllowThreads(__tstate);
21415 if (PyErr_Occurred()) SWIG_fail;
21416 }
21417 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
21418 return resultobj;
21419 fail:
21420 return NULL;
21421}
21422
21423
c32bde28 21424static PyObject *_wrap_PrintData_GetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21425 PyObject *resultobj = NULL;
d55e5bfc
RD
21426 wxPrintData *arg1 = (wxPrintData *) 0 ;
21427 int result;
21428 PyObject * obj0 = 0 ;
21429 char *kwnames[] = {
21430 (char *) "self", NULL
21431 };
21432
21433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
093d3ff1
RD
21434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21435 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21436 {
21437 PyThreadState* __tstate = wxPyBeginAllowThreads();
21438 result = (int)(arg1)->GetQuality();
21439
21440 wxPyEndAllowThreads(__tstate);
21441 if (PyErr_Occurred()) SWIG_fail;
21442 }
093d3ff1 21443 {
7449af73 21444 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 21445 }
d55e5bfc
RD
21446 return resultobj;
21447 fail:
21448 return NULL;
21449}
21450
21451
ae8162c8 21452static PyObject *_wrap_PrintData_GetBin(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21453 PyObject *resultobj = NULL;
ae8162c8 21454 wxPrintData *arg1 = (wxPrintData *) 0 ;
093d3ff1 21455 wxPrintBin result;
ae8162c8
RD
21456 PyObject * obj0 = 0 ;
21457 char *kwnames[] = {
21458 (char *) "self", NULL
21459 };
21460
21461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetBin",kwnames,&obj0)) goto fail;
093d3ff1
RD
21462 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21463 if (SWIG_arg_fail(1)) SWIG_fail;
ae8162c8
RD
21464 {
21465 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 21466 result = (wxPrintBin)(arg1)->GetBin();
ae8162c8
RD
21467
21468 wxPyEndAllowThreads(__tstate);
21469 if (PyErr_Occurred()) SWIG_fail;
21470 }
093d3ff1 21471 resultobj = SWIG_From_int((result));
ae8162c8
RD
21472 return resultobj;
21473 fail:
21474 return NULL;
21475}
21476
21477
c1cb24a4 21478static PyObject *_wrap_PrintData_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21479 PyObject *resultobj = NULL;
c1cb24a4 21480 wxPrintData *arg1 = (wxPrintData *) 0 ;
093d3ff1 21481 wxPrintMode result;
c1cb24a4
RD
21482 PyObject * obj0 = 0 ;
21483 char *kwnames[] = {
21484 (char *) "self", NULL
21485 };
21486
21487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
093d3ff1
RD
21488 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21489 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
21490 {
21491 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 21492 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
c1cb24a4
RD
21493
21494 wxPyEndAllowThreads(__tstate);
21495 if (PyErr_Occurred()) SWIG_fail;
21496 }
093d3ff1 21497 resultobj = SWIG_From_int((result));
c1cb24a4
RD
21498 return resultobj;
21499 fail:
21500 return NULL;
21501}
21502
21503
c32bde28 21504static PyObject *_wrap_PrintData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21505 PyObject *resultobj = NULL;
d55e5bfc
RD
21506 wxPrintData *arg1 = (wxPrintData *) 0 ;
21507 int arg2 ;
21508 PyObject * obj0 = 0 ;
21509 PyObject * obj1 = 0 ;
21510 char *kwnames[] = {
21511 (char *) "self",(char *) "v", NULL
21512 };
21513
21514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21515 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21516 if (SWIG_arg_fail(1)) SWIG_fail;
21517 {
7449af73 21518 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21519 if (SWIG_arg_fail(2)) SWIG_fail;
21520 }
d55e5bfc
RD
21521 {
21522 PyThreadState* __tstate = wxPyBeginAllowThreads();
21523 (arg1)->SetNoCopies(arg2);
21524
21525 wxPyEndAllowThreads(__tstate);
21526 if (PyErr_Occurred()) SWIG_fail;
21527 }
21528 Py_INCREF(Py_None); resultobj = Py_None;
21529 return resultobj;
21530 fail:
21531 return NULL;
21532}
21533
21534
c32bde28 21535static PyObject *_wrap_PrintData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21536 PyObject *resultobj = NULL;
d55e5bfc
RD
21537 wxPrintData *arg1 = (wxPrintData *) 0 ;
21538 bool arg2 ;
21539 PyObject * obj0 = 0 ;
21540 PyObject * obj1 = 0 ;
21541 char *kwnames[] = {
21542 (char *) "self",(char *) "flag", NULL
21543 };
21544
21545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21546 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21547 if (SWIG_arg_fail(1)) SWIG_fail;
21548 {
7449af73 21549 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
21550 if (SWIG_arg_fail(2)) SWIG_fail;
21551 }
d55e5bfc
RD
21552 {
21553 PyThreadState* __tstate = wxPyBeginAllowThreads();
21554 (arg1)->SetCollate(arg2);
21555
21556 wxPyEndAllowThreads(__tstate);
21557 if (PyErr_Occurred()) SWIG_fail;
21558 }
21559 Py_INCREF(Py_None); resultobj = Py_None;
21560 return resultobj;
21561 fail:
21562 return NULL;
21563}
21564
21565
c32bde28 21566static PyObject *_wrap_PrintData_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21567 PyObject *resultobj = NULL;
d55e5bfc
RD
21568 wxPrintData *arg1 = (wxPrintData *) 0 ;
21569 int arg2 ;
21570 PyObject * obj0 = 0 ;
21571 PyObject * obj1 = 0 ;
21572 char *kwnames[] = {
21573 (char *) "self",(char *) "orient", NULL
21574 };
21575
21576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21577 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21578 if (SWIG_arg_fail(1)) SWIG_fail;
21579 {
7449af73 21580 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21581 if (SWIG_arg_fail(2)) SWIG_fail;
21582 }
d55e5bfc
RD
21583 {
21584 PyThreadState* __tstate = wxPyBeginAllowThreads();
21585 (arg1)->SetOrientation(arg2);
21586
21587 wxPyEndAllowThreads(__tstate);
21588 if (PyErr_Occurred()) SWIG_fail;
21589 }
21590 Py_INCREF(Py_None); resultobj = Py_None;
21591 return resultobj;
21592 fail:
21593 return NULL;
21594}
21595
21596
c32bde28 21597static PyObject *_wrap_PrintData_SetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21598 PyObject *resultobj = NULL;
d55e5bfc
RD
21599 wxPrintData *arg1 = (wxPrintData *) 0 ;
21600 wxString *arg2 = 0 ;
ae8162c8 21601 bool temp2 = false ;
d55e5bfc
RD
21602 PyObject * obj0 = 0 ;
21603 PyObject * obj1 = 0 ;
21604 char *kwnames[] = {
21605 (char *) "self",(char *) "name", NULL
21606 };
21607
21608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21609 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21610 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21611 {
21612 arg2 = wxString_in_helper(obj1);
21613 if (arg2 == NULL) SWIG_fail;
ae8162c8 21614 temp2 = true;
d55e5bfc
RD
21615 }
21616 {
21617 PyThreadState* __tstate = wxPyBeginAllowThreads();
21618 (arg1)->SetPrinterName((wxString const &)*arg2);
21619
21620 wxPyEndAllowThreads(__tstate);
21621 if (PyErr_Occurred()) SWIG_fail;
21622 }
21623 Py_INCREF(Py_None); resultobj = Py_None;
21624 {
21625 if (temp2)
21626 delete arg2;
21627 }
21628 return resultobj;
21629 fail:
21630 {
21631 if (temp2)
21632 delete arg2;
21633 }
21634 return NULL;
21635}
21636
21637
c32bde28 21638static PyObject *_wrap_PrintData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21639 PyObject *resultobj = NULL;
d55e5bfc
RD
21640 wxPrintData *arg1 = (wxPrintData *) 0 ;
21641 bool arg2 ;
21642 PyObject * obj0 = 0 ;
21643 PyObject * obj1 = 0 ;
21644 char *kwnames[] = {
21645 (char *) "self",(char *) "colour", NULL
21646 };
21647
21648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21649 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21650 if (SWIG_arg_fail(1)) SWIG_fail;
21651 {
7449af73 21652 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
21653 if (SWIG_arg_fail(2)) SWIG_fail;
21654 }
d55e5bfc
RD
21655 {
21656 PyThreadState* __tstate = wxPyBeginAllowThreads();
21657 (arg1)->SetColour(arg2);
21658
21659 wxPyEndAllowThreads(__tstate);
21660 if (PyErr_Occurred()) SWIG_fail;
21661 }
21662 Py_INCREF(Py_None); resultobj = Py_None;
21663 return resultobj;
21664 fail:
21665 return NULL;
21666}
21667
21668
c32bde28 21669static PyObject *_wrap_PrintData_SetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21670 PyObject *resultobj = NULL;
d55e5bfc 21671 wxPrintData *arg1 = (wxPrintData *) 0 ;
093d3ff1 21672 wxDuplexMode arg2 ;
d55e5bfc
RD
21673 PyObject * obj0 = 0 ;
21674 PyObject * obj1 = 0 ;
21675 char *kwnames[] = {
21676 (char *) "self",(char *) "duplex", NULL
21677 };
21678
21679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21680 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21681 if (SWIG_arg_fail(1)) SWIG_fail;
21682 {
7449af73 21683 arg2 = static_cast<wxDuplexMode >(SWIG_As_int(obj1));
093d3ff1
RD
21684 if (SWIG_arg_fail(2)) SWIG_fail;
21685 }
d55e5bfc
RD
21686 {
21687 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 21688 (arg1)->SetDuplex(arg2);
d55e5bfc
RD
21689
21690 wxPyEndAllowThreads(__tstate);
21691 if (PyErr_Occurred()) SWIG_fail;
21692 }
21693 Py_INCREF(Py_None); resultobj = Py_None;
21694 return resultobj;
21695 fail:
21696 return NULL;
21697}
21698
21699
c32bde28 21700static PyObject *_wrap_PrintData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21701 PyObject *resultobj = NULL;
d55e5bfc 21702 wxPrintData *arg1 = (wxPrintData *) 0 ;
093d3ff1 21703 wxPaperSize arg2 ;
d55e5bfc
RD
21704 PyObject * obj0 = 0 ;
21705 PyObject * obj1 = 0 ;
21706 char *kwnames[] = {
21707 (char *) "self",(char *) "sizeId", NULL
21708 };
21709
21710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21711 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21712 if (SWIG_arg_fail(1)) SWIG_fail;
21713 {
7449af73 21714 arg2 = static_cast<wxPaperSize >(SWIG_As_int(obj1));
093d3ff1
RD
21715 if (SWIG_arg_fail(2)) SWIG_fail;
21716 }
d55e5bfc
RD
21717 {
21718 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 21719 (arg1)->SetPaperId(arg2);
d55e5bfc
RD
21720
21721 wxPyEndAllowThreads(__tstate);
21722 if (PyErr_Occurred()) SWIG_fail;
21723 }
21724 Py_INCREF(Py_None); resultobj = Py_None;
21725 return resultobj;
21726 fail:
21727 return NULL;
21728}
21729
21730
c32bde28 21731static PyObject *_wrap_PrintData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21732 PyObject *resultobj = NULL;
d55e5bfc
RD
21733 wxPrintData *arg1 = (wxPrintData *) 0 ;
21734 wxSize *arg2 = 0 ;
21735 wxSize temp2 ;
21736 PyObject * obj0 = 0 ;
21737 PyObject * obj1 = 0 ;
21738 char *kwnames[] = {
21739 (char *) "self",(char *) "sz", NULL
21740 };
21741
21742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21743 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21744 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21745 {
21746 arg2 = &temp2;
21747 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21748 }
21749 {
21750 PyThreadState* __tstate = wxPyBeginAllowThreads();
21751 (arg1)->SetPaperSize((wxSize const &)*arg2);
21752
21753 wxPyEndAllowThreads(__tstate);
21754 if (PyErr_Occurred()) SWIG_fail;
21755 }
21756 Py_INCREF(Py_None); resultobj = Py_None;
21757 return resultobj;
21758 fail:
21759 return NULL;
21760}
21761
21762
c32bde28 21763static PyObject *_wrap_PrintData_SetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21764 PyObject *resultobj = NULL;
d55e5bfc
RD
21765 wxPrintData *arg1 = (wxPrintData *) 0 ;
21766 int arg2 ;
21767 PyObject * obj0 = 0 ;
21768 PyObject * obj1 = 0 ;
21769 char *kwnames[] = {
21770 (char *) "self",(char *) "quality", NULL
21771 };
21772
21773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21774 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21775 if (SWIG_arg_fail(1)) SWIG_fail;
21776 {
7449af73 21777 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21778 if (SWIG_arg_fail(2)) SWIG_fail;
21779 }
d55e5bfc
RD
21780 {
21781 PyThreadState* __tstate = wxPyBeginAllowThreads();
21782 (arg1)->SetQuality(arg2);
21783
21784 wxPyEndAllowThreads(__tstate);
21785 if (PyErr_Occurred()) SWIG_fail;
21786 }
21787 Py_INCREF(Py_None); resultobj = Py_None;
21788 return resultobj;
21789 fail:
21790 return NULL;
21791}
21792
21793
ae8162c8 21794static PyObject *_wrap_PrintData_SetBin(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21795 PyObject *resultobj = NULL;
ae8162c8 21796 wxPrintData *arg1 = (wxPrintData *) 0 ;
093d3ff1 21797 wxPrintBin arg2 ;
ae8162c8
RD
21798 PyObject * obj0 = 0 ;
21799 PyObject * obj1 = 0 ;
21800 char *kwnames[] = {
21801 (char *) "self",(char *) "bin", NULL
21802 };
21803
21804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21806 if (SWIG_arg_fail(1)) SWIG_fail;
21807 {
7449af73 21808 arg2 = static_cast<wxPrintBin >(SWIG_As_int(obj1));
093d3ff1
RD
21809 if (SWIG_arg_fail(2)) SWIG_fail;
21810 }
ae8162c8
RD
21811 {
21812 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 21813 (arg1)->SetBin(arg2);
ae8162c8
RD
21814
21815 wxPyEndAllowThreads(__tstate);
21816 if (PyErr_Occurred()) SWIG_fail;
21817 }
21818 Py_INCREF(Py_None); resultobj = Py_None;
21819 return resultobj;
21820 fail:
21821 return NULL;
21822}
21823
21824
c1cb24a4 21825static PyObject *_wrap_PrintData_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21826 PyObject *resultobj = NULL;
d55e5bfc 21827 wxPrintData *arg1 = (wxPrintData *) 0 ;
093d3ff1 21828 wxPrintMode arg2 ;
c1cb24a4
RD
21829 PyObject * obj0 = 0 ;
21830 PyObject * obj1 = 0 ;
21831 char *kwnames[] = {
21832 (char *) "self",(char *) "printMode", NULL
21833 };
21834
21835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21836 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21837 if (SWIG_arg_fail(1)) SWIG_fail;
21838 {
7449af73 21839 arg2 = static_cast<wxPrintMode >(SWIG_As_int(obj1));
093d3ff1
RD
21840 if (SWIG_arg_fail(2)) SWIG_fail;
21841 }
c1cb24a4
RD
21842 {
21843 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 21844 (arg1)->SetPrintMode(arg2);
c1cb24a4
RD
21845
21846 wxPyEndAllowThreads(__tstate);
21847 if (PyErr_Occurred()) SWIG_fail;
21848 }
21849 Py_INCREF(Py_None); resultobj = Py_None;
21850 return resultobj;
21851 fail:
21852 return NULL;
21853}
21854
21855
21856static PyObject *_wrap_PrintData_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21857 PyObject *resultobj = NULL;
c1cb24a4
RD
21858 wxPrintData *arg1 = (wxPrintData *) 0 ;
21859 wxString result;
d55e5bfc
RD
21860 PyObject * obj0 = 0 ;
21861 char *kwnames[] = {
21862 (char *) "self", NULL
21863 };
21864
c1cb24a4 21865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
093d3ff1
RD
21866 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21867 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21868 {
21869 PyThreadState* __tstate = wxPyBeginAllowThreads();
c1cb24a4 21870 result = ((wxPrintData const *)arg1)->GetFilename();
d55e5bfc
RD
21871
21872 wxPyEndAllowThreads(__tstate);
21873 if (PyErr_Occurred()) SWIG_fail;
21874 }
21875 {
21876#if wxUSE_UNICODE
c1cb24a4 21877 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d55e5bfc 21878#else
c1cb24a4 21879 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d55e5bfc
RD
21880#endif
21881 }
21882 return resultobj;
21883 fail:
21884 return NULL;
21885}
21886
21887
c1cb24a4 21888static PyObject *_wrap_PrintData_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21889 PyObject *resultobj = NULL;
c1cb24a4
RD
21890 wxPrintData *arg1 = (wxPrintData *) 0 ;
21891 wxString *arg2 = 0 ;
21892 bool temp2 = false ;
21893 PyObject * obj0 = 0 ;
21894 PyObject * obj1 = 0 ;
21895 char *kwnames[] = {
21896 (char *) "self",(char *) "filename", NULL
21897 };
21898
21899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21900 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21901 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
21902 {
21903 arg2 = wxString_in_helper(obj1);
21904 if (arg2 == NULL) SWIG_fail;
21905 temp2 = true;
21906 }
21907 {
21908 PyThreadState* __tstate = wxPyBeginAllowThreads();
21909 (arg1)->SetFilename((wxString const &)*arg2);
21910
21911 wxPyEndAllowThreads(__tstate);
21912 if (PyErr_Occurred()) SWIG_fail;
21913 }
21914 Py_INCREF(Py_None); resultobj = Py_None;
21915 {
21916 if (temp2)
21917 delete arg2;
21918 }
21919 return resultobj;
21920 fail:
21921 {
21922 if (temp2)
21923 delete arg2;
21924 }
21925 return NULL;
21926}
21927
21928
b9d6a5f3 21929static PyObject *_wrap_PrintData_GetPrivData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21930 PyObject *resultobj = NULL;
b9d6a5f3
RD
21931 wxPrintData *arg1 = (wxPrintData *) 0 ;
21932 PyObject *result;
21933 PyObject * obj0 = 0 ;
21934 char *kwnames[] = {
21935 (char *) "self", NULL
21936 };
21937
21938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrivData",kwnames,&obj0)) goto fail;
21939 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21940 if (SWIG_arg_fail(1)) SWIG_fail;
21941 {
21942 PyThreadState* __tstate = wxPyBeginAllowThreads();
21943 result = (PyObject *)wxPrintData_GetPrivData(arg1);
21944
21945 wxPyEndAllowThreads(__tstate);
21946 if (PyErr_Occurred()) SWIG_fail;
21947 }
21948 resultobj = result;
21949 return resultobj;
21950 fail:
21951 return NULL;
21952}
21953
21954
21955static PyObject *_wrap_PrintData_SetPrivData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21956 PyObject *resultobj = NULL;
b9d6a5f3
RD
21957 wxPrintData *arg1 = (wxPrintData *) 0 ;
21958 PyObject *arg2 = (PyObject *) 0 ;
21959 PyObject * obj0 = 0 ;
21960 PyObject * obj1 = 0 ;
21961 char *kwnames[] = {
21962 (char *) "self",(char *) "data", NULL
21963 };
21964
21965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) goto fail;
21966 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21967 if (SWIG_arg_fail(1)) SWIG_fail;
21968 arg2 = obj1;
21969 {
21970 PyThreadState* __tstate = wxPyBeginAllowThreads();
21971 wxPrintData_SetPrivData(arg1,arg2);
21972
21973 wxPyEndAllowThreads(__tstate);
21974 if (PyErr_Occurred()) SWIG_fail;
21975 }
21976 Py_INCREF(Py_None); resultobj = Py_None;
21977 return resultobj;
21978 fail:
21979 return NULL;
21980}
21981
21982
2f91e3df
KO
21983static PyObject * PrintData_swigregister(PyObject *, PyObject *args) {
21984 PyObject *obj;
21985 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21986 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
21987 Py_INCREF(obj);
21988 return Py_BuildValue((char *)"");
21989}
21990static PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *, PyObject *args) {
7449af73 21991 PyObject *resultobj = NULL;
2f91e3df 21992 wxPageSetupDialogData *result;
d55e5bfc 21993
2f91e3df 21994 if(!PyArg_ParseTuple(args,(char *)":new_PageSetupDialogData")) goto fail;
d55e5bfc
RD
21995 {
21996 PyThreadState* __tstate = wxPyBeginAllowThreads();
2f91e3df 21997 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
d55e5bfc
RD
21998
21999 wxPyEndAllowThreads(__tstate);
22000 if (PyErr_Occurred()) SWIG_fail;
22001 }
2f91e3df 22002 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
d55e5bfc
RD
22003 return resultobj;
22004 fail:
22005 return NULL;
22006}
22007
22008
2f91e3df 22009static PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *, PyObject *args) {
7449af73 22010 PyObject *resultobj = NULL;
2f91e3df
KO
22011 wxPageSetupDialogData *arg1 = 0 ;
22012 wxPageSetupDialogData *result;
d55e5bfc 22013 PyObject * obj0 = 0 ;
d55e5bfc 22014
2f91e3df 22015 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
d55e5bfc 22016 {
2f91e3df
KO
22017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22018 if (SWIG_arg_fail(1)) SWIG_fail;
22019 if (arg1 == NULL) {
22020 SWIG_null_ref("wxPageSetupDialogData");
d55e5bfc 22021 }
2f91e3df
KO
22022 if (SWIG_arg_fail(1)) SWIG_fail;
22023 }
22024 {
22025 PyThreadState* __tstate = wxPyBeginAllowThreads();
22026 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
d55e5bfc
RD
22027
22028 wxPyEndAllowThreads(__tstate);
22029 if (PyErr_Occurred()) SWIG_fail;
22030 }
2f91e3df 22031 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
d55e5bfc
RD
22032 return resultobj;
22033 fail:
22034 return NULL;
22035}
22036
22037
2f91e3df 22038static PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *, PyObject *args) {
7449af73 22039 PyObject *resultobj = NULL;
2f91e3df
KO
22040 wxPrintData *arg1 = 0 ;
22041 wxPageSetupDialogData *result;
d55e5bfc 22042 PyObject * obj0 = 0 ;
d55e5bfc 22043
2f91e3df 22044 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
d55e5bfc 22045 {
2f91e3df
KO
22046 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
22047 if (SWIG_arg_fail(1)) SWIG_fail;
22048 if (arg1 == NULL) {
22049 SWIG_null_ref("wxPrintData");
d55e5bfc 22050 }
2f91e3df
KO
22051 if (SWIG_arg_fail(1)) SWIG_fail;
22052 }
22053 {
22054 PyThreadState* __tstate = wxPyBeginAllowThreads();
22055 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
d55e5bfc
RD
22056
22057 wxPyEndAllowThreads(__tstate);
22058 if (PyErr_Occurred()) SWIG_fail;
22059 }
2f91e3df 22060 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
d55e5bfc
RD
22061 return resultobj;
22062 fail:
22063 return NULL;
22064}
22065
22066
2f91e3df
KO
22067static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
22068 int argc;
22069 PyObject *argv[2];
22070 int ii;
d55e5bfc 22071
2f91e3df
KO
22072 argc = PyObject_Length(args);
22073 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
22074 argv[ii] = PyTuple_GetItem(args,ii);
22075 }
22076 if (argc == 0) {
22077 return _wrap_new_PageSetupDialogData__SWIG_0(self,args);
22078 }
22079 if (argc == 1) {
22080 int _v;
d55e5bfc 22081 {
2f91e3df
KO
22082 void *ptr = 0;
22083 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPageSetupDialogData, 0) == -1) {
22084 _v = 0;
22085 PyErr_Clear();
22086 } else {
22087 _v = (ptr != 0);
22088 }
22089 }
22090 if (_v) {
22091 return _wrap_new_PageSetupDialogData__SWIG_1(self,args);
d55e5bfc 22092 }
d55e5bfc 22093 }
2f91e3df
KO
22094 if (argc == 1) {
22095 int _v;
22096 {
22097 void *ptr = 0;
22098 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
22099 _v = 0;
22100 PyErr_Clear();
22101 } else {
22102 _v = (ptr != 0);
22103 }
22104 }
22105 if (_v) {
22106 return _wrap_new_PageSetupDialogData__SWIG_2(self,args);
22107 }
d55e5bfc 22108 }
2f91e3df
KO
22109
22110 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
d55e5bfc
RD
22111 return NULL;
22112}
22113
22114
2f91e3df 22115static PyObject *_wrap_delete_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22116 PyObject *resultobj = NULL;
2f91e3df 22117 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
d55e5bfc
RD
22118 PyObject * obj0 = 0 ;
22119 char *kwnames[] = {
22120 (char *) "self", NULL
22121 };
22122
2f91e3df
KO
22123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
22124 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
093d3ff1 22125 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22126 {
22127 PyThreadState* __tstate = wxPyBeginAllowThreads();
2f91e3df 22128 delete arg1;
d55e5bfc
RD
22129
22130 wxPyEndAllowThreads(__tstate);
22131 if (PyErr_Occurred()) SWIG_fail;
22132 }
2f91e3df 22133 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
22134 return resultobj;
22135 fail:
22136 return NULL;
22137}
22138
22139
2f91e3df 22140static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22141 PyObject *resultobj = NULL;
2f91e3df
KO
22142 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22143 bool arg2 ;
d55e5bfc 22144 PyObject * obj0 = 0 ;
2f91e3df 22145 PyObject * obj1 = 0 ;
d55e5bfc 22146 char *kwnames[] = {
2f91e3df 22147 (char *) "self",(char *) "flag", NULL
d55e5bfc
RD
22148 };
22149
2f91e3df
KO
22150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
22151 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
093d3ff1 22152 if (SWIG_arg_fail(1)) SWIG_fail;
2f91e3df 22153 {
7449af73 22154 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
2f91e3df
KO
22155 if (SWIG_arg_fail(2)) SWIG_fail;
22156 }
d55e5bfc
RD
22157 {
22158 PyThreadState* __tstate = wxPyBeginAllowThreads();
2f91e3df 22159 (arg1)->EnableHelp(arg2);
d55e5bfc
RD
22160
22161 wxPyEndAllowThreads(__tstate);
22162 if (PyErr_Occurred()) SWIG_fail;
22163 }
2f91e3df 22164 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
22165 return resultobj;
22166 fail:
22167 return NULL;
22168}
22169
22170
2f91e3df 22171static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22172 PyObject *resultobj = NULL;
2f91e3df
KO
22173 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22174 bool arg2 ;
d55e5bfc 22175 PyObject * obj0 = 0 ;
2f91e3df 22176 PyObject * obj1 = 0 ;
d55e5bfc 22177 char *kwnames[] = {
2f91e3df 22178 (char *) "self",(char *) "flag", NULL
d55e5bfc
RD
22179 };
22180
2f91e3df
KO
22181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
22182 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
093d3ff1 22183 if (SWIG_arg_fail(1)) SWIG_fail;
2f91e3df 22184 {
7449af73 22185 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
2f91e3df
KO
22186 if (SWIG_arg_fail(2)) SWIG_fail;
22187 }
d55e5bfc
RD
22188 {
22189 PyThreadState* __tstate = wxPyBeginAllowThreads();
2f91e3df 22190 (arg1)->EnableMargins(arg2);
d55e5bfc
RD
22191
22192 wxPyEndAllowThreads(__tstate);
22193 if (PyErr_Occurred()) SWIG_fail;
22194 }
2f91e3df 22195 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
22196 return resultobj;
22197 fail:
22198 return NULL;
22199}
22200
22201
2f91e3df 22202static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22203 PyObject *resultobj = NULL;
2f91e3df
KO
22204 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22205 bool arg2 ;
d55e5bfc 22206 PyObject * obj0 = 0 ;
2f91e3df 22207 PyObject * obj1 = 0 ;
d55e5bfc 22208 char *kwnames[] = {
2f91e3df 22209 (char *) "self",(char *) "flag", NULL
d55e5bfc
RD
22210 };
22211
2f91e3df
KO
22212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
22213 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
093d3ff1 22214 if (SWIG_arg_fail(1)) SWIG_fail;
2f91e3df 22215 {
7449af73 22216 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
2f91e3df
KO
22217 if (SWIG_arg_fail(2)) SWIG_fail;
22218 }
d55e5bfc
RD
22219 {
22220 PyThreadState* __tstate = wxPyBeginAllowThreads();
2f91e3df 22221 (arg1)->EnableOrientation(arg2);
d55e5bfc
RD
22222
22223 wxPyEndAllowThreads(__tstate);
22224 if (PyErr_Occurred()) SWIG_fail;
22225 }
2f91e3df 22226 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
22227 return resultobj;
22228 fail:
22229 return NULL;
22230}
22231
22232
2f91e3df 22233static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22234 PyObject *resultobj = NULL;
2f91e3df
KO
22235 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22236 bool arg2 ;
d55e5bfc 22237 PyObject * obj0 = 0 ;
c1cb24a4 22238 PyObject * obj1 = 0 ;
d55e5bfc 22239 char *kwnames[] = {
2f91e3df 22240 (char *) "self",(char *) "flag", NULL
d55e5bfc
RD
22241 };
22242
2f91e3df
KO
22243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
22244 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
093d3ff1 22245 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4 22246 {
7449af73 22247 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
2f91e3df 22248 if (SWIG_arg_fail(2)) SWIG_fail;
c1cb24a4 22249 }
d55e5bfc
RD
22250 {
22251 PyThreadState* __tstate = wxPyBeginAllowThreads();
2f91e3df 22252 (arg1)->EnablePaper(arg2);
d55e5bfc
RD
22253
22254 wxPyEndAllowThreads(__tstate);
22255 if (PyErr_Occurred()) SWIG_fail;
22256 }
22257 Py_INCREF(Py_None); resultobj = Py_None;
22258 return resultobj;
22259 fail:
22260 return NULL;
22261}
22262
22263
c32bde28 22264static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22265 PyObject *resultobj = NULL;
d55e5bfc
RD
22266 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22267 bool arg2 ;
22268 PyObject * obj0 = 0 ;
22269 PyObject * obj1 = 0 ;
22270 char *kwnames[] = {
22271 (char *) "self",(char *) "flag", NULL
22272 };
22273
22274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) 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;
22277 {
7449af73 22278 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
22279 if (SWIG_arg_fail(2)) SWIG_fail;
22280 }
d55e5bfc
RD
22281 {
22282 PyThreadState* __tstate = wxPyBeginAllowThreads();
22283 (arg1)->EnablePrinter(arg2);
22284
22285 wxPyEndAllowThreads(__tstate);
22286 if (PyErr_Occurred()) SWIG_fail;
22287 }
22288 Py_INCREF(Py_None); resultobj = Py_None;
22289 return resultobj;
22290 fail:
22291 return NULL;
22292}
22293
22294
c32bde28 22295static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22296 PyObject *resultobj = NULL;
d55e5bfc
RD
22297 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22298 bool result;
22299 PyObject * obj0 = 0 ;
22300 char *kwnames[] = {
22301 (char *) "self", NULL
22302 };
22303
22304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",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;
d55e5bfc
RD
22307 {
22308 PyThreadState* __tstate = wxPyBeginAllowThreads();
22309 result = (bool)(arg1)->GetDefaultMinMargins();
22310
22311 wxPyEndAllowThreads(__tstate);
22312 if (PyErr_Occurred()) SWIG_fail;
22313 }
22314 {
22315 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22316 }
22317 return resultobj;
22318 fail:
22319 return NULL;
22320}
22321
22322
c32bde28 22323static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22324 PyObject *resultobj = NULL;
d55e5bfc
RD
22325 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22326 bool result;
22327 PyObject * obj0 = 0 ;
22328 char *kwnames[] = {
22329 (char *) "self", NULL
22330 };
22331
22332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
093d3ff1
RD
22333 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22334 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22335 {
22336 PyThreadState* __tstate = wxPyBeginAllowThreads();
22337 result = (bool)(arg1)->GetEnableMargins();
22338
22339 wxPyEndAllowThreads(__tstate);
22340 if (PyErr_Occurred()) SWIG_fail;
22341 }
22342 {
22343 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22344 }
22345 return resultobj;
22346 fail:
22347 return NULL;
22348}
22349
22350
c32bde28 22351static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22352 PyObject *resultobj = NULL;
d55e5bfc
RD
22353 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22354 bool result;
22355 PyObject * obj0 = 0 ;
22356 char *kwnames[] = {
22357 (char *) "self", NULL
22358 };
22359
22360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",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;
d55e5bfc
RD
22363 {
22364 PyThreadState* __tstate = wxPyBeginAllowThreads();
22365 result = (bool)(arg1)->GetEnableOrientation();
22366
22367 wxPyEndAllowThreads(__tstate);
22368 if (PyErr_Occurred()) SWIG_fail;
22369 }
22370 {
22371 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22372 }
22373 return resultobj;
22374 fail:
22375 return NULL;
22376}
22377
22378
c32bde28 22379static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22380 PyObject *resultobj = NULL;
d55e5bfc
RD
22381 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22382 bool result;
22383 PyObject * obj0 = 0 ;
22384 char *kwnames[] = {
22385 (char *) "self", NULL
22386 };
22387
22388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
093d3ff1
RD
22389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22390 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22391 {
22392 PyThreadState* __tstate = wxPyBeginAllowThreads();
22393 result = (bool)(arg1)->GetEnablePaper();
22394
22395 wxPyEndAllowThreads(__tstate);
22396 if (PyErr_Occurred()) SWIG_fail;
22397 }
22398 {
22399 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22400 }
22401 return resultobj;
22402 fail:
22403 return NULL;
22404}
22405
22406
c32bde28 22407static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22408 PyObject *resultobj = NULL;
d55e5bfc
RD
22409 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22410 bool result;
22411 PyObject * obj0 = 0 ;
22412 char *kwnames[] = {
22413 (char *) "self", NULL
22414 };
22415
22416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
093d3ff1
RD
22417 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22418 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22419 {
22420 PyThreadState* __tstate = wxPyBeginAllowThreads();
22421 result = (bool)(arg1)->GetEnablePrinter();
22422
22423 wxPyEndAllowThreads(__tstate);
22424 if (PyErr_Occurred()) SWIG_fail;
22425 }
22426 {
22427 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22428 }
22429 return resultobj;
22430 fail:
22431 return NULL;
22432}
22433
22434
c32bde28 22435static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22436 PyObject *resultobj = NULL;
d55e5bfc
RD
22437 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22438 bool result;
22439 PyObject * obj0 = 0 ;
22440 char *kwnames[] = {
22441 (char *) "self", NULL
22442 };
22443
22444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
093d3ff1
RD
22445 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22446 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22447 {
22448 PyThreadState* __tstate = wxPyBeginAllowThreads();
22449 result = (bool)(arg1)->GetEnableHelp();
22450
22451 wxPyEndAllowThreads(__tstate);
22452 if (PyErr_Occurred()) SWIG_fail;
22453 }
22454 {
22455 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22456 }
22457 return resultobj;
22458 fail:
22459 return NULL;
22460}
22461
22462
c32bde28 22463static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22464 PyObject *resultobj = NULL;
d55e5bfc
RD
22465 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22466 bool result;
22467 PyObject * obj0 = 0 ;
22468 char *kwnames[] = {
22469 (char *) "self", NULL
22470 };
22471
22472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
093d3ff1
RD
22473 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22474 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22475 {
22476 PyThreadState* __tstate = wxPyBeginAllowThreads();
22477 result = (bool)(arg1)->GetDefaultInfo();
22478
22479 wxPyEndAllowThreads(__tstate);
22480 if (PyErr_Occurred()) SWIG_fail;
22481 }
22482 {
22483 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22484 }
22485 return resultobj;
22486 fail:
22487 return NULL;
22488}
22489
22490
c32bde28 22491static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22492 PyObject *resultobj = NULL;
d55e5bfc
RD
22493 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22494 wxPoint result;
22495 PyObject * obj0 = 0 ;
22496 char *kwnames[] = {
22497 (char *) "self", NULL
22498 };
22499
22500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
093d3ff1
RD
22501 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22502 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22503 {
22504 PyThreadState* __tstate = wxPyBeginAllowThreads();
22505 result = (arg1)->GetMarginTopLeft();
22506
22507 wxPyEndAllowThreads(__tstate);
22508 if (PyErr_Occurred()) SWIG_fail;
22509 }
22510 {
22511 wxPoint * resultptr;
7449af73 22512 resultptr = new wxPoint(static_cast<wxPoint & >(result));
d55e5bfc
RD
22513 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22514 }
22515 return resultobj;
22516 fail:
22517 return NULL;
22518}
22519
22520
c32bde28 22521static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22522 PyObject *resultobj = NULL;
d55e5bfc
RD
22523 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22524 wxPoint result;
22525 PyObject * obj0 = 0 ;
22526 char *kwnames[] = {
22527 (char *) "self", NULL
22528 };
22529
22530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
093d3ff1
RD
22531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22532 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22533 {
22534 PyThreadState* __tstate = wxPyBeginAllowThreads();
22535 result = (arg1)->GetMarginBottomRight();
22536
22537 wxPyEndAllowThreads(__tstate);
22538 if (PyErr_Occurred()) SWIG_fail;
22539 }
22540 {
22541 wxPoint * resultptr;
7449af73 22542 resultptr = new wxPoint(static_cast<wxPoint & >(result));
d55e5bfc
RD
22543 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22544 }
22545 return resultobj;
22546 fail:
22547 return NULL;
22548}
22549
22550
c32bde28 22551static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22552 PyObject *resultobj = NULL;
d55e5bfc
RD
22553 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22554 wxPoint result;
22555 PyObject * obj0 = 0 ;
22556 char *kwnames[] = {
22557 (char *) "self", NULL
22558 };
22559
22560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
093d3ff1
RD
22561 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22562 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22563 {
22564 PyThreadState* __tstate = wxPyBeginAllowThreads();
22565 result = (arg1)->GetMinMarginTopLeft();
22566
22567 wxPyEndAllowThreads(__tstate);
22568 if (PyErr_Occurred()) SWIG_fail;
22569 }
22570 {
22571 wxPoint * resultptr;
7449af73 22572 resultptr = new wxPoint(static_cast<wxPoint & >(result));
d55e5bfc
RD
22573 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22574 }
22575 return resultobj;
22576 fail:
22577 return NULL;
22578}
22579
22580
c32bde28 22581static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22582 PyObject *resultobj = NULL;
d55e5bfc
RD
22583 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22584 wxPoint result;
22585 PyObject * obj0 = 0 ;
22586 char *kwnames[] = {
22587 (char *) "self", NULL
22588 };
22589
22590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
093d3ff1
RD
22591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22592 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22593 {
22594 PyThreadState* __tstate = wxPyBeginAllowThreads();
22595 result = (arg1)->GetMinMarginBottomRight();
22596
22597 wxPyEndAllowThreads(__tstate);
22598 if (PyErr_Occurred()) SWIG_fail;
22599 }
22600 {
22601 wxPoint * resultptr;
7449af73 22602 resultptr = new wxPoint(static_cast<wxPoint & >(result));
d55e5bfc
RD
22603 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22604 }
22605 return resultobj;
22606 fail:
22607 return NULL;
22608}
22609
22610
c32bde28 22611static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22612 PyObject *resultobj = NULL;
d55e5bfc 22613 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
093d3ff1 22614 wxPaperSize result;
d55e5bfc
RD
22615 PyObject * obj0 = 0 ;
22616 char *kwnames[] = {
22617 (char *) "self", NULL
22618 };
22619
22620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
093d3ff1
RD
22621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22622 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22623 {
22624 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 22625 result = (wxPaperSize)(arg1)->GetPaperId();
d55e5bfc
RD
22626
22627 wxPyEndAllowThreads(__tstate);
22628 if (PyErr_Occurred()) SWIG_fail;
22629 }
093d3ff1 22630 resultobj = SWIG_From_int((result));
d55e5bfc
RD
22631 return resultobj;
22632 fail:
22633 return NULL;
22634}
22635
22636
c32bde28 22637static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22638 PyObject *resultobj = NULL;
d55e5bfc
RD
22639 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22640 wxSize result;
22641 PyObject * obj0 = 0 ;
22642 char *kwnames[] = {
22643 (char *) "self", NULL
22644 };
22645
22646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
22647 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22648 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22649 {
22650 PyThreadState* __tstate = wxPyBeginAllowThreads();
22651 result = (arg1)->GetPaperSize();
22652
22653 wxPyEndAllowThreads(__tstate);
22654 if (PyErr_Occurred()) SWIG_fail;
22655 }
22656 {
22657 wxSize * resultptr;
7449af73 22658 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
22659 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
22660 }
22661 return resultobj;
22662 fail:
22663 return NULL;
22664}
22665
22666
c32bde28 22667static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22668 PyObject *resultobj = NULL;
d55e5bfc
RD
22669 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22670 wxPrintData *result;
22671 PyObject * obj0 = 0 ;
22672 char *kwnames[] = {
22673 (char *) "self", NULL
22674 };
22675
22676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
093d3ff1
RD
22677 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22678 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22679 {
22680 PyThreadState* __tstate = wxPyBeginAllowThreads();
22681 {
22682 wxPrintData &_result_ref = (arg1)->GetPrintData();
22683 result = (wxPrintData *) &_result_ref;
22684 }
22685
22686 wxPyEndAllowThreads(__tstate);
22687 if (PyErr_Occurred()) SWIG_fail;
22688 }
22689 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
22690 return resultobj;
22691 fail:
22692 return NULL;
22693}
22694
22695
c32bde28 22696static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22697 PyObject *resultobj = NULL;
d55e5bfc
RD
22698 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22699 bool result;
22700 PyObject * obj0 = 0 ;
22701 char *kwnames[] = {
22702 (char *) "self", NULL
22703 };
22704
22705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
093d3ff1
RD
22706 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22707 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22708 {
22709 PyThreadState* __tstate = wxPyBeginAllowThreads();
22710 result = (bool)(arg1)->Ok();
22711
22712 wxPyEndAllowThreads(__tstate);
22713 if (PyErr_Occurred()) SWIG_fail;
22714 }
22715 {
22716 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22717 }
22718 return resultobj;
22719 fail:
22720 return NULL;
22721}
22722
22723
c32bde28 22724static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22725 PyObject *resultobj = NULL;
d55e5bfc
RD
22726 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22727 bool arg2 ;
22728 PyObject * obj0 = 0 ;
22729 PyObject * obj1 = 0 ;
22730 char *kwnames[] = {
22731 (char *) "self",(char *) "flag", NULL
22732 };
22733
22734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22735 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22736 if (SWIG_arg_fail(1)) SWIG_fail;
22737 {
7449af73 22738 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
22739 if (SWIG_arg_fail(2)) SWIG_fail;
22740 }
d55e5bfc
RD
22741 {
22742 PyThreadState* __tstate = wxPyBeginAllowThreads();
22743 (arg1)->SetDefaultInfo(arg2);
22744
22745 wxPyEndAllowThreads(__tstate);
22746 if (PyErr_Occurred()) SWIG_fail;
22747 }
22748 Py_INCREF(Py_None); resultobj = Py_None;
22749 return resultobj;
22750 fail:
22751 return NULL;
22752}
22753
22754
c32bde28 22755static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22756 PyObject *resultobj = NULL;
d55e5bfc
RD
22757 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22758 bool arg2 ;
22759 PyObject * obj0 = 0 ;
22760 PyObject * obj1 = 0 ;
22761 char *kwnames[] = {
22762 (char *) "self",(char *) "flag", NULL
22763 };
22764
22765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22767 if (SWIG_arg_fail(1)) SWIG_fail;
22768 {
7449af73 22769 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
22770 if (SWIG_arg_fail(2)) SWIG_fail;
22771 }
d55e5bfc
RD
22772 {
22773 PyThreadState* __tstate = wxPyBeginAllowThreads();
22774 (arg1)->SetDefaultMinMargins(arg2);
22775
22776 wxPyEndAllowThreads(__tstate);
22777 if (PyErr_Occurred()) SWIG_fail;
22778 }
22779 Py_INCREF(Py_None); resultobj = Py_None;
22780 return resultobj;
22781 fail:
22782 return NULL;
22783}
22784
22785
c32bde28 22786static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22787 PyObject *resultobj = NULL;
d55e5bfc
RD
22788 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22789 wxPoint *arg2 = 0 ;
22790 wxPoint temp2 ;
22791 PyObject * obj0 = 0 ;
22792 PyObject * obj1 = 0 ;
22793 char *kwnames[] = {
22794 (char *) "self",(char *) "pt", NULL
22795 };
22796
22797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22798 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22799 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22800 {
22801 arg2 = &temp2;
22802 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22803 }
22804 {
22805 PyThreadState* __tstate = wxPyBeginAllowThreads();
22806 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
22807
22808 wxPyEndAllowThreads(__tstate);
22809 if (PyErr_Occurred()) SWIG_fail;
22810 }
22811 Py_INCREF(Py_None); resultobj = Py_None;
22812 return resultobj;
22813 fail:
22814 return NULL;
22815}
22816
22817
c32bde28 22818static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22819 PyObject *resultobj = NULL;
d55e5bfc
RD
22820 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22821 wxPoint *arg2 = 0 ;
22822 wxPoint temp2 ;
22823 PyObject * obj0 = 0 ;
22824 PyObject * obj1 = 0 ;
22825 char *kwnames[] = {
22826 (char *) "self",(char *) "pt", NULL
22827 };
22828
22829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22830 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22831 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22832 {
22833 arg2 = &temp2;
22834 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22835 }
22836 {
22837 PyThreadState* __tstate = wxPyBeginAllowThreads();
22838 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
22839
22840 wxPyEndAllowThreads(__tstate);
22841 if (PyErr_Occurred()) SWIG_fail;
22842 }
22843 Py_INCREF(Py_None); resultobj = Py_None;
22844 return resultobj;
22845 fail:
22846 return NULL;
22847}
22848
22849
c32bde28 22850static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22851 PyObject *resultobj = NULL;
d55e5bfc
RD
22852 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22853 wxPoint *arg2 = 0 ;
22854 wxPoint temp2 ;
22855 PyObject * obj0 = 0 ;
22856 PyObject * obj1 = 0 ;
22857 char *kwnames[] = {
22858 (char *) "self",(char *) "pt", NULL
22859 };
22860
22861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22862 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22863 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22864 {
22865 arg2 = &temp2;
22866 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22867 }
22868 {
22869 PyThreadState* __tstate = wxPyBeginAllowThreads();
22870 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
22871
22872 wxPyEndAllowThreads(__tstate);
22873 if (PyErr_Occurred()) SWIG_fail;
22874 }
22875 Py_INCREF(Py_None); resultobj = Py_None;
22876 return resultobj;
22877 fail:
22878 return NULL;
22879}
22880
22881
c32bde28 22882static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22883 PyObject *resultobj = NULL;
d55e5bfc
RD
22884 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22885 wxPoint *arg2 = 0 ;
22886 wxPoint temp2 ;
22887 PyObject * obj0 = 0 ;
22888 PyObject * obj1 = 0 ;
22889 char *kwnames[] = {
22890 (char *) "self",(char *) "pt", NULL
22891 };
22892
22893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22894 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22895 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22896 {
22897 arg2 = &temp2;
22898 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22899 }
22900 {
22901 PyThreadState* __tstate = wxPyBeginAllowThreads();
22902 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
22903
22904 wxPyEndAllowThreads(__tstate);
22905 if (PyErr_Occurred()) SWIG_fail;
22906 }
22907 Py_INCREF(Py_None); resultobj = Py_None;
22908 return resultobj;
22909 fail:
22910 return NULL;
22911}
22912
22913
c32bde28 22914static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22915 PyObject *resultobj = NULL;
d55e5bfc 22916 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
093d3ff1 22917 wxPaperSize arg2 ;
d55e5bfc
RD
22918 PyObject * obj0 = 0 ;
22919 PyObject * obj1 = 0 ;
22920 char *kwnames[] = {
22921 (char *) "self",(char *) "id", NULL
22922 };
22923
22924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22925 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22926 if (SWIG_arg_fail(1)) SWIG_fail;
22927 {
7449af73 22928 arg2 = static_cast<wxPaperSize >(SWIG_As_int(obj1));
093d3ff1
RD
22929 if (SWIG_arg_fail(2)) SWIG_fail;
22930 }
d55e5bfc
RD
22931 {
22932 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 22933 (arg1)->SetPaperId(arg2);
d55e5bfc
RD
22934
22935 wxPyEndAllowThreads(__tstate);
22936 if (PyErr_Occurred()) SWIG_fail;
22937 }
22938 Py_INCREF(Py_None); resultobj = Py_None;
22939 return resultobj;
22940 fail:
22941 return NULL;
22942}
22943
22944
c32bde28 22945static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22946 PyObject *resultobj = NULL;
d55e5bfc
RD
22947 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22948 wxSize *arg2 = 0 ;
22949 wxSize temp2 ;
22950 PyObject * obj0 = 0 ;
22951 PyObject * obj1 = 0 ;
22952 char *kwnames[] = {
22953 (char *) "self",(char *) "size", NULL
22954 };
22955
22956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22957 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22958 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22959 {
22960 arg2 = &temp2;
22961 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22962 }
22963 {
22964 PyThreadState* __tstate = wxPyBeginAllowThreads();
22965 (arg1)->SetPaperSize((wxSize const &)*arg2);
22966
22967 wxPyEndAllowThreads(__tstate);
22968 if (PyErr_Occurred()) SWIG_fail;
22969 }
22970 Py_INCREF(Py_None); resultobj = Py_None;
22971 return resultobj;
22972 fail:
22973 return NULL;
22974}
22975
22976
c32bde28 22977static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22978 PyObject *resultobj = NULL;
d55e5bfc
RD
22979 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22980 wxPrintData *arg2 = 0 ;
22981 PyObject * obj0 = 0 ;
22982 PyObject * obj1 = 0 ;
22983 char *kwnames[] = {
22984 (char *) "self",(char *) "printData", NULL
22985 };
22986
22987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22989 if (SWIG_arg_fail(1)) SWIG_fail;
22990 {
22991 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
22992 if (SWIG_arg_fail(2)) SWIG_fail;
22993 if (arg2 == NULL) {
22994 SWIG_null_ref("wxPrintData");
22995 }
22996 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22997 }
22998 {
22999 PyThreadState* __tstate = wxPyBeginAllowThreads();
23000 (arg1)->SetPrintData((wxPrintData const &)*arg2);
23001
23002 wxPyEndAllowThreads(__tstate);
23003 if (PyErr_Occurred()) SWIG_fail;
23004 }
23005 Py_INCREF(Py_None); resultobj = Py_None;
23006 return resultobj;
23007 fail:
23008 return NULL;
23009}
23010
23011
fef4c27a 23012static PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23013 PyObject *resultobj = NULL;
fef4c27a
RD
23014 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
23015 PyObject * obj0 = 0 ;
23016 char *kwnames[] = {
23017 (char *) "self", NULL
23018 };
23019
23020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_CalculateIdFromPaperSize",kwnames,&obj0)) goto fail;
23021 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
23022 if (SWIG_arg_fail(1)) SWIG_fail;
23023 {
23024 PyThreadState* __tstate = wxPyBeginAllowThreads();
23025 (arg1)->CalculateIdFromPaperSize();
23026
23027 wxPyEndAllowThreads(__tstate);
23028 if (PyErr_Occurred()) SWIG_fail;
23029 }
23030 Py_INCREF(Py_None); resultobj = Py_None;
23031 return resultobj;
23032 fail:
23033 return NULL;
23034}
23035
23036
23037static PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23038 PyObject *resultobj = NULL;
fef4c27a
RD
23039 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
23040 PyObject * obj0 = 0 ;
23041 char *kwnames[] = {
23042 (char *) "self", NULL
23043 };
23044
23045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_CalculatePaperSizeFromId",kwnames,&obj0)) goto fail;
23046 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
23047 if (SWIG_arg_fail(1)) SWIG_fail;
23048 {
23049 PyThreadState* __tstate = wxPyBeginAllowThreads();
23050 (arg1)->CalculatePaperSizeFromId();
23051
23052 wxPyEndAllowThreads(__tstate);
23053 if (PyErr_Occurred()) SWIG_fail;
23054 }
23055 Py_INCREF(Py_None); resultobj = Py_None;
23056 return resultobj;
23057 fail:
23058 return NULL;
23059}
23060
23061
c32bde28 23062static PyObject * PageSetupDialogData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
23063 PyObject *obj;
23064 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23065 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
23066 Py_INCREF(obj);
23067 return Py_BuildValue((char *)"");
23068}
c32bde28 23069static PyObject *_wrap_new_PageSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23070 PyObject *resultobj = NULL;
d55e5bfc
RD
23071 wxWindow *arg1 = (wxWindow *) 0 ;
23072 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
23073 wxPageSetupDialog *result;
23074 PyObject * obj0 = 0 ;
23075 PyObject * obj1 = 0 ;
23076 char *kwnames[] = {
23077 (char *) "parent",(char *) "data", NULL
23078 };
23079
23080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23081 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23082 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 23083 if (obj1) {
093d3ff1
RD
23084 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
23085 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23086 }
23087 {
0439c23b 23088 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
23089 PyThreadState* __tstate = wxPyBeginAllowThreads();
23090 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
23091
23092 wxPyEndAllowThreads(__tstate);
110da5b0 23093 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
23094 }
23095 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
23096 return resultobj;
23097 fail:
23098 return NULL;
23099}
23100
23101
c32bde28 23102static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23103 PyObject *resultobj = NULL;
d55e5bfc
RD
23104 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
23105 wxPageSetupDialogData *result;
23106 PyObject * obj0 = 0 ;
23107 char *kwnames[] = {
23108 (char *) "self", NULL
23109 };
23110
23111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
093d3ff1
RD
23112 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
23113 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23114 {
23115 PyThreadState* __tstate = wxPyBeginAllowThreads();
23116 {
23117 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
23118 result = (wxPageSetupDialogData *) &_result_ref;
23119 }
23120
23121 wxPyEndAllowThreads(__tstate);
23122 if (PyErr_Occurred()) SWIG_fail;
23123 }
23124 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
23125 return resultobj;
23126 fail:
23127 return NULL;
23128}
23129
23130
8ac8dba0 23131static PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23132 PyObject *resultobj = NULL;
8ac8dba0
RD
23133 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
23134 wxPageSetupDialogData *result;
23135 PyObject * obj0 = 0 ;
23136 char *kwnames[] = {
23137 (char *) "self", NULL
23138 };
23139
23140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames,&obj0)) goto fail;
093d3ff1
RD
23141 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
23142 if (SWIG_arg_fail(1)) SWIG_fail;
8ac8dba0
RD
23143 {
23144 PyThreadState* __tstate = wxPyBeginAllowThreads();
23145 {
23146 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
23147 result = (wxPageSetupDialogData *) &_result_ref;
23148 }
23149
23150 wxPyEndAllowThreads(__tstate);
23151 if (PyErr_Occurred()) SWIG_fail;
23152 }
23153 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
23154 return resultobj;
23155 fail:
23156 return NULL;
23157}
23158
23159
c32bde28 23160static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23161 PyObject *resultobj = NULL;
d55e5bfc
RD
23162 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
23163 int result;
23164 PyObject * obj0 = 0 ;
23165 char *kwnames[] = {
23166 (char *) "self", NULL
23167 };
23168
23169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
093d3ff1
RD
23170 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
23171 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23172 {
23173 PyThreadState* __tstate = wxPyBeginAllowThreads();
23174 result = (int)(arg1)->ShowModal();
23175
23176 wxPyEndAllowThreads(__tstate);
23177 if (PyErr_Occurred()) SWIG_fail;
23178 }
093d3ff1 23179 {
7449af73 23180 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 23181 }
d55e5bfc
RD
23182 return resultobj;
23183 fail:
23184 return NULL;
23185}
23186
23187
c32bde28 23188static PyObject * PageSetupDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
23189 PyObject *obj;
23190 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23191 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
23192 Py_INCREF(obj);
23193 return Py_BuildValue((char *)"");
23194}
c32bde28 23195static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *, PyObject *args) {
7449af73 23196 PyObject *resultobj = NULL;
d55e5bfc
RD
23197 wxPrintDialogData *result;
23198
23199 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
23200 {
23201 PyThreadState* __tstate = wxPyBeginAllowThreads();
23202 result = (wxPrintDialogData *)new wxPrintDialogData();
23203
23204 wxPyEndAllowThreads(__tstate);
23205 if (PyErr_Occurred()) SWIG_fail;
23206 }
23207 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
23208 return resultobj;
23209 fail:
23210 return NULL;
23211}
23212
23213
c32bde28 23214static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *, PyObject *args) {
7449af73 23215 PyObject *resultobj = NULL;
d55e5bfc
RD
23216 wxPrintData *arg1 = 0 ;
23217 wxPrintDialogData *result;
23218 PyObject * obj0 = 0 ;
23219
23220 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
093d3ff1
RD
23221 {
23222 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
23223 if (SWIG_arg_fail(1)) SWIG_fail;
23224 if (arg1 == NULL) {
23225 SWIG_null_ref("wxPrintData");
23226 }
23227 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23228 }
23229 {
23230 PyThreadState* __tstate = wxPyBeginAllowThreads();
23231 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
23232
23233 wxPyEndAllowThreads(__tstate);
23234 if (PyErr_Occurred()) SWIG_fail;
23235 }
23236 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
23237 return resultobj;
23238 fail:
23239 return NULL;
23240}
23241
23242
fef4c27a 23243static PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *, PyObject *args) {
7449af73 23244 PyObject *resultobj = NULL;
fef4c27a
RD
23245 wxPrintDialogData *arg1 = 0 ;
23246 wxPrintDialogData *result;
23247 PyObject * obj0 = 0 ;
23248
23249 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
23250 {
23251 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23252 if (SWIG_arg_fail(1)) SWIG_fail;
23253 if (arg1 == NULL) {
23254 SWIG_null_ref("wxPrintDialogData");
23255 }
23256 if (SWIG_arg_fail(1)) SWIG_fail;
23257 }
23258 {
23259 PyThreadState* __tstate = wxPyBeginAllowThreads();
23260 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
23261
23262 wxPyEndAllowThreads(__tstate);
23263 if (PyErr_Occurred()) SWIG_fail;
23264 }
23265 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
23266 return resultobj;
23267 fail:
23268 return NULL;
23269}
23270
23271
d55e5bfc
RD
23272static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
23273 int argc;
23274 PyObject *argv[2];
23275 int ii;
23276
23277 argc = PyObject_Length(args);
23278 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
23279 argv[ii] = PyTuple_GetItem(args,ii);
23280 }
23281 if (argc == 0) {
23282 return _wrap_new_PrintDialogData__SWIG_0(self,args);
23283 }
23284 if (argc == 1) {
23285 int _v;
23286 {
093d3ff1 23287 void *ptr = 0;
d55e5bfc
RD
23288 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23289 _v = 0;
23290 PyErr_Clear();
23291 } else {
093d3ff1 23292 _v = (ptr != 0);
d55e5bfc
RD
23293 }
23294 }
23295 if (_v) {
23296 return _wrap_new_PrintDialogData__SWIG_1(self,args);
23297 }
23298 }
fef4c27a
RD
23299 if (argc == 1) {
23300 int _v;
23301 {
23302 void *ptr = 0;
23303 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23304 _v = 0;
23305 PyErr_Clear();
23306 } else {
23307 _v = (ptr != 0);
23308 }
23309 }
23310 if (_v) {
23311 return _wrap_new_PrintDialogData__SWIG_2(self,args);
23312 }
23313 }
d55e5bfc 23314
093d3ff1 23315 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
d55e5bfc
RD
23316 return NULL;
23317}
23318
23319
c32bde28 23320static PyObject *_wrap_delete_PrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23321 PyObject *resultobj = NULL;
d55e5bfc
RD
23322 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23323 PyObject * obj0 = 0 ;
23324 char *kwnames[] = {
23325 (char *) "self", NULL
23326 };
23327
23328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
093d3ff1
RD
23329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23330 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23331 {
23332 PyThreadState* __tstate = wxPyBeginAllowThreads();
23333 delete arg1;
23334
23335 wxPyEndAllowThreads(__tstate);
23336 if (PyErr_Occurred()) SWIG_fail;
23337 }
23338 Py_INCREF(Py_None); resultobj = Py_None;
23339 return resultobj;
23340 fail:
23341 return NULL;
23342}
23343
23344
c32bde28 23345static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23346 PyObject *resultobj = NULL;
d55e5bfc
RD
23347 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23348 int result;
23349 PyObject * obj0 = 0 ;
23350 char *kwnames[] = {
23351 (char *) "self", NULL
23352 };
23353
23354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
23355 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23356 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23357 {
23358 PyThreadState* __tstate = wxPyBeginAllowThreads();
23359 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
23360
23361 wxPyEndAllowThreads(__tstate);
23362 if (PyErr_Occurred()) SWIG_fail;
23363 }
093d3ff1 23364 {
7449af73 23365 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 23366 }
d55e5bfc
RD
23367 return resultobj;
23368 fail:
23369 return NULL;
23370}
23371
23372
c32bde28 23373static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23374 PyObject *resultobj = NULL;
d55e5bfc
RD
23375 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23376 int result;
23377 PyObject * obj0 = 0 ;
23378 char *kwnames[] = {
23379 (char *) "self", NULL
23380 };
23381
23382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
23383 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23384 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23385 {
23386 PyThreadState* __tstate = wxPyBeginAllowThreads();
23387 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
23388
23389 wxPyEndAllowThreads(__tstate);
23390 if (PyErr_Occurred()) SWIG_fail;
23391 }
093d3ff1 23392 {
7449af73 23393 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 23394 }
d55e5bfc
RD
23395 return resultobj;
23396 fail:
23397 return NULL;
23398}
23399
23400
c32bde28 23401static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23402 PyObject *resultobj = NULL;
d55e5bfc
RD
23403 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23404 int result;
23405 PyObject * obj0 = 0 ;
23406 char *kwnames[] = {
23407 (char *) "self", NULL
23408 };
23409
23410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
23411 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23412 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23413 {
23414 PyThreadState* __tstate = wxPyBeginAllowThreads();
23415 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
23416
23417 wxPyEndAllowThreads(__tstate);
23418 if (PyErr_Occurred()) SWIG_fail;
23419 }
093d3ff1 23420 {
7449af73 23421 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 23422 }
d55e5bfc
RD
23423 return resultobj;
23424 fail:
23425 return NULL;
23426}
23427
23428
c32bde28 23429static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23430 PyObject *resultobj = NULL;
d55e5bfc
RD
23431 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23432 int result;
23433 PyObject * obj0 = 0 ;
23434 char *kwnames[] = {
23435 (char *) "self", NULL
23436 };
23437
23438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
23439 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23440 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23441 {
23442 PyThreadState* __tstate = wxPyBeginAllowThreads();
23443 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
23444
23445 wxPyEndAllowThreads(__tstate);
23446 if (PyErr_Occurred()) SWIG_fail;
23447 }
093d3ff1 23448 {
7449af73 23449 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 23450 }
d55e5bfc
RD
23451 return resultobj;
23452 fail:
23453 return NULL;
23454}
23455
23456
c32bde28 23457static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23458 PyObject *resultobj = NULL;
d55e5bfc
RD
23459 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23460 int result;
23461 PyObject * obj0 = 0 ;
23462 char *kwnames[] = {
23463 (char *) "self", NULL
23464 };
23465
23466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
093d3ff1
RD
23467 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23468 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23469 {
23470 PyThreadState* __tstate = wxPyBeginAllowThreads();
23471 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
23472
23473 wxPyEndAllowThreads(__tstate);
23474 if (PyErr_Occurred()) SWIG_fail;
23475 }
093d3ff1 23476 {
7449af73 23477 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 23478 }
d55e5bfc
RD
23479 return resultobj;
23480 fail:
23481 return NULL;
23482}
23483
23484
c32bde28 23485static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23486 PyObject *resultobj = NULL;
d55e5bfc
RD
23487 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23488 bool result;
23489 PyObject * obj0 = 0 ;
23490 char *kwnames[] = {
23491 (char *) "self", NULL
23492 };
23493
23494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
093d3ff1
RD
23495 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23496 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23497 {
23498 PyThreadState* __tstate = wxPyBeginAllowThreads();
23499 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
23500
23501 wxPyEndAllowThreads(__tstate);
23502 if (PyErr_Occurred()) SWIG_fail;
23503 }
23504 {
23505 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23506 }
23507 return resultobj;
23508 fail:
23509 return NULL;
23510}
23511
23512
c32bde28 23513static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23514 PyObject *resultobj = NULL;
d55e5bfc
RD
23515 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23516 bool result;
23517 PyObject * obj0 = 0 ;
23518 char *kwnames[] = {
23519 (char *) "self", NULL
23520 };
23521
23522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
23523 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23524 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23525 {
23526 PyThreadState* __tstate = wxPyBeginAllowThreads();
23527 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
23528
23529 wxPyEndAllowThreads(__tstate);
23530 if (PyErr_Occurred()) SWIG_fail;
23531 }
23532 {
23533 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23534 }
23535 return resultobj;
23536 fail:
23537 return NULL;
23538}
23539
23540
c32bde28 23541static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23542 PyObject *resultobj = NULL;
d55e5bfc
RD
23543 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23544 bool result;
23545 PyObject * obj0 = 0 ;
23546 char *kwnames[] = {
23547 (char *) "self", NULL
23548 };
23549
23550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
093d3ff1
RD
23551 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23552 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23553 {
23554 PyThreadState* __tstate = wxPyBeginAllowThreads();
23555 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
23556
23557 wxPyEndAllowThreads(__tstate);
23558 if (PyErr_Occurred()) SWIG_fail;
23559 }
23560 {
23561 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23562 }
23563 return resultobj;
23564 fail:
23565 return NULL;
23566}
23567
23568
c32bde28 23569static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23570 PyObject *resultobj = NULL;
d55e5bfc
RD
23571 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23572 bool result;
23573 PyObject * obj0 = 0 ;
23574 char *kwnames[] = {
23575 (char *) "self", NULL
23576 };
23577
23578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
093d3ff1
RD
23579 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23580 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23581 {
23582 PyThreadState* __tstate = wxPyBeginAllowThreads();
23583 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
23584
23585 wxPyEndAllowThreads(__tstate);
23586 if (PyErr_Occurred()) SWIG_fail;
23587 }
23588 {
23589 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23590 }
23591 return resultobj;
23592 fail:
23593 return NULL;
23594}
23595
23596
c32bde28 23597static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23598 PyObject *resultobj = NULL;
d55e5bfc
RD
23599 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23600 int arg2 ;
23601 PyObject * obj0 = 0 ;
23602 PyObject * obj1 = 0 ;
23603 char *kwnames[] = {
23604 (char *) "self",(char *) "v", NULL
23605 };
23606
23607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23608 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23609 if (SWIG_arg_fail(1)) SWIG_fail;
23610 {
7449af73 23611 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
23612 if (SWIG_arg_fail(2)) SWIG_fail;
23613 }
d55e5bfc
RD
23614 {
23615 PyThreadState* __tstate = wxPyBeginAllowThreads();
23616 (arg1)->SetFromPage(arg2);
23617
23618 wxPyEndAllowThreads(__tstate);
23619 if (PyErr_Occurred()) SWIG_fail;
23620 }
23621 Py_INCREF(Py_None); resultobj = Py_None;
23622 return resultobj;
23623 fail:
23624 return NULL;
23625}
23626
23627
c32bde28 23628static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23629 PyObject *resultobj = NULL;
d55e5bfc
RD
23630 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23631 int arg2 ;
23632 PyObject * obj0 = 0 ;
23633 PyObject * obj1 = 0 ;
23634 char *kwnames[] = {
23635 (char *) "self",(char *) "v", NULL
23636 };
23637
23638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23639 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23640 if (SWIG_arg_fail(1)) SWIG_fail;
23641 {
7449af73 23642 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
23643 if (SWIG_arg_fail(2)) SWIG_fail;
23644 }
d55e5bfc
RD
23645 {
23646 PyThreadState* __tstate = wxPyBeginAllowThreads();
23647 (arg1)->SetToPage(arg2);
23648
23649 wxPyEndAllowThreads(__tstate);
23650 if (PyErr_Occurred()) SWIG_fail;
23651 }
23652 Py_INCREF(Py_None); resultobj = Py_None;
23653 return resultobj;
23654 fail:
23655 return NULL;
23656}
23657
23658
c32bde28 23659static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23660 PyObject *resultobj = NULL;
d55e5bfc
RD
23661 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23662 int arg2 ;
23663 PyObject * obj0 = 0 ;
23664 PyObject * obj1 = 0 ;
23665 char *kwnames[] = {
23666 (char *) "self",(char *) "v", NULL
23667 };
23668
23669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23670 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23671 if (SWIG_arg_fail(1)) SWIG_fail;
23672 {
7449af73 23673 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
23674 if (SWIG_arg_fail(2)) SWIG_fail;
23675 }
d55e5bfc
RD
23676 {
23677 PyThreadState* __tstate = wxPyBeginAllowThreads();
23678 (arg1)->SetMinPage(arg2);
23679
23680 wxPyEndAllowThreads(__tstate);
23681 if (PyErr_Occurred()) SWIG_fail;
23682 }
23683 Py_INCREF(Py_None); resultobj = Py_None;
23684 return resultobj;
23685 fail:
23686 return NULL;
23687}
23688
23689
c32bde28 23690static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23691 PyObject *resultobj = NULL;
d55e5bfc
RD
23692 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23693 int arg2 ;
23694 PyObject * obj0 = 0 ;
23695 PyObject * obj1 = 0 ;
23696 char *kwnames[] = {
23697 (char *) "self",(char *) "v", NULL
23698 };
23699
23700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23701 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23702 if (SWIG_arg_fail(1)) SWIG_fail;
23703 {
7449af73 23704 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
23705 if (SWIG_arg_fail(2)) SWIG_fail;
23706 }
d55e5bfc
RD
23707 {
23708 PyThreadState* __tstate = wxPyBeginAllowThreads();
23709 (arg1)->SetMaxPage(arg2);
23710
23711 wxPyEndAllowThreads(__tstate);
23712 if (PyErr_Occurred()) SWIG_fail;
23713 }
23714 Py_INCREF(Py_None); resultobj = Py_None;
23715 return resultobj;
23716 fail:
23717 return NULL;
23718}
23719
23720
c32bde28 23721static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23722 PyObject *resultobj = NULL;
d55e5bfc
RD
23723 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23724 int arg2 ;
23725 PyObject * obj0 = 0 ;
23726 PyObject * obj1 = 0 ;
23727 char *kwnames[] = {
23728 (char *) "self",(char *) "v", NULL
23729 };
23730
23731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23732 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23733 if (SWIG_arg_fail(1)) SWIG_fail;
23734 {
7449af73 23735 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
23736 if (SWIG_arg_fail(2)) SWIG_fail;
23737 }
d55e5bfc
RD
23738 {
23739 PyThreadState* __tstate = wxPyBeginAllowThreads();
23740 (arg1)->SetNoCopies(arg2);
23741
23742 wxPyEndAllowThreads(__tstate);
23743 if (PyErr_Occurred()) SWIG_fail;
23744 }
23745 Py_INCREF(Py_None); resultobj = Py_None;
23746 return resultobj;
23747 fail:
23748 return NULL;
23749}
23750
23751
c32bde28 23752static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23753 PyObject *resultobj = NULL;
d55e5bfc
RD
23754 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23755 bool arg2 ;
23756 PyObject * obj0 = 0 ;
23757 PyObject * obj1 = 0 ;
23758 char *kwnames[] = {
23759 (char *) "self",(char *) "flag", NULL
23760 };
23761
23762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23763 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23764 if (SWIG_arg_fail(1)) SWIG_fail;
23765 {
7449af73 23766 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
23767 if (SWIG_arg_fail(2)) SWIG_fail;
23768 }
d55e5bfc
RD
23769 {
23770 PyThreadState* __tstate = wxPyBeginAllowThreads();
23771 (arg1)->SetAllPages(arg2);
23772
23773 wxPyEndAllowThreads(__tstate);
23774 if (PyErr_Occurred()) SWIG_fail;
23775 }
23776 Py_INCREF(Py_None); resultobj = Py_None;
23777 return resultobj;
23778 fail:
23779 return NULL;
23780}
23781
23782
c32bde28 23783static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23784 PyObject *resultobj = NULL;
d55e5bfc
RD
23785 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23786 bool arg2 ;
23787 PyObject * obj0 = 0 ;
23788 PyObject * obj1 = 0 ;
23789 char *kwnames[] = {
23790 (char *) "self",(char *) "flag", NULL
23791 };
23792
23793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23794 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23795 if (SWIG_arg_fail(1)) SWIG_fail;
23796 {
7449af73 23797 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
23798 if (SWIG_arg_fail(2)) SWIG_fail;
23799 }
d55e5bfc
RD
23800 {
23801 PyThreadState* __tstate = wxPyBeginAllowThreads();
23802 (arg1)->SetSelection(arg2);
23803
23804 wxPyEndAllowThreads(__tstate);
23805 if (PyErr_Occurred()) SWIG_fail;
23806 }
23807 Py_INCREF(Py_None); resultobj = Py_None;
23808 return resultobj;
23809 fail:
23810 return NULL;
23811}
23812
23813
c32bde28 23814static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23815 PyObject *resultobj = NULL;
d55e5bfc
RD
23816 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23817 bool arg2 ;
23818 PyObject * obj0 = 0 ;
23819 PyObject * obj1 = 0 ;
23820 char *kwnames[] = {
23821 (char *) "self",(char *) "flag", NULL
23822 };
23823
23824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23825 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23826 if (SWIG_arg_fail(1)) SWIG_fail;
23827 {
7449af73 23828 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
23829 if (SWIG_arg_fail(2)) SWIG_fail;
23830 }
d55e5bfc
RD
23831 {
23832 PyThreadState* __tstate = wxPyBeginAllowThreads();
23833 (arg1)->SetCollate(arg2);
23834
23835 wxPyEndAllowThreads(__tstate);
23836 if (PyErr_Occurred()) SWIG_fail;
23837 }
23838 Py_INCREF(Py_None); resultobj = Py_None;
23839 return resultobj;
23840 fail:
23841 return NULL;
23842}
23843
23844
c32bde28 23845static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23846 PyObject *resultobj = NULL;
d55e5bfc
RD
23847 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23848 bool arg2 ;
23849 PyObject * obj0 = 0 ;
23850 PyObject * obj1 = 0 ;
23851 char *kwnames[] = {
23852 (char *) "self",(char *) "flag", NULL
23853 };
23854
23855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23856 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23857 if (SWIG_arg_fail(1)) SWIG_fail;
23858 {
7449af73 23859 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
23860 if (SWIG_arg_fail(2)) SWIG_fail;
23861 }
d55e5bfc
RD
23862 {
23863 PyThreadState* __tstate = wxPyBeginAllowThreads();
23864 (arg1)->SetPrintToFile(arg2);
23865
23866 wxPyEndAllowThreads(__tstate);
23867 if (PyErr_Occurred()) SWIG_fail;
23868 }
23869 Py_INCREF(Py_None); resultobj = Py_None;
23870 return resultobj;
23871 fail:
23872 return NULL;
23873}
23874
23875
c32bde28 23876static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23877 PyObject *resultobj = NULL;
d55e5bfc
RD
23878 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23879 bool arg2 ;
23880 PyObject * obj0 = 0 ;
23881 PyObject * obj1 = 0 ;
23882 char *kwnames[] = {
23883 (char *) "self",(char *) "flag", NULL
23884 };
23885
23886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23887 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23888 if (SWIG_arg_fail(1)) SWIG_fail;
23889 {
7449af73 23890 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
23891 if (SWIG_arg_fail(2)) SWIG_fail;
23892 }
d55e5bfc
RD
23893 {
23894 PyThreadState* __tstate = wxPyBeginAllowThreads();
23895 (arg1)->EnablePrintToFile(arg2);
23896
23897 wxPyEndAllowThreads(__tstate);
23898 if (PyErr_Occurred()) SWIG_fail;
23899 }
23900 Py_INCREF(Py_None); resultobj = Py_None;
23901 return resultobj;
23902 fail:
23903 return NULL;
23904}
23905
23906
c32bde28 23907static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23908 PyObject *resultobj = NULL;
d55e5bfc
RD
23909 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23910 bool arg2 ;
23911 PyObject * obj0 = 0 ;
23912 PyObject * obj1 = 0 ;
23913 char *kwnames[] = {
23914 (char *) "self",(char *) "flag", NULL
23915 };
23916
23917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23918 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23919 if (SWIG_arg_fail(1)) SWIG_fail;
23920 {
7449af73 23921 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
23922 if (SWIG_arg_fail(2)) SWIG_fail;
23923 }
d55e5bfc
RD
23924 {
23925 PyThreadState* __tstate = wxPyBeginAllowThreads();
23926 (arg1)->EnableSelection(arg2);
23927
23928 wxPyEndAllowThreads(__tstate);
23929 if (PyErr_Occurred()) SWIG_fail;
23930 }
23931 Py_INCREF(Py_None); resultobj = Py_None;
23932 return resultobj;
23933 fail:
23934 return NULL;
23935}
23936
23937
c32bde28 23938static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23939 PyObject *resultobj = NULL;
d55e5bfc
RD
23940 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23941 bool arg2 ;
23942 PyObject * obj0 = 0 ;
23943 PyObject * obj1 = 0 ;
23944 char *kwnames[] = {
23945 (char *) "self",(char *) "flag", NULL
23946 };
23947
23948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23949 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23950 if (SWIG_arg_fail(1)) SWIG_fail;
23951 {
7449af73 23952 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
23953 if (SWIG_arg_fail(2)) SWIG_fail;
23954 }
d55e5bfc
RD
23955 {
23956 PyThreadState* __tstate = wxPyBeginAllowThreads();
23957 (arg1)->EnablePageNumbers(arg2);
23958
23959 wxPyEndAllowThreads(__tstate);
23960 if (PyErr_Occurred()) SWIG_fail;
23961 }
23962 Py_INCREF(Py_None); resultobj = Py_None;
23963 return resultobj;
23964 fail:
23965 return NULL;
23966}
23967
23968
c32bde28 23969static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23970 PyObject *resultobj = NULL;
d55e5bfc
RD
23971 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23972 bool arg2 ;
23973 PyObject * obj0 = 0 ;
23974 PyObject * obj1 = 0 ;
23975 char *kwnames[] = {
23976 (char *) "self",(char *) "flag", NULL
23977 };
23978
23979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23980 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23981 if (SWIG_arg_fail(1)) SWIG_fail;
23982 {
7449af73 23983 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
23984 if (SWIG_arg_fail(2)) SWIG_fail;
23985 }
d55e5bfc
RD
23986 {
23987 PyThreadState* __tstate = wxPyBeginAllowThreads();
23988 (arg1)->EnableHelp(arg2);
23989
23990 wxPyEndAllowThreads(__tstate);
23991 if (PyErr_Occurred()) SWIG_fail;
23992 }
23993 Py_INCREF(Py_None); resultobj = Py_None;
23994 return resultobj;
23995 fail:
23996 return NULL;
23997}
23998
23999
c32bde28 24000static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24001 PyObject *resultobj = NULL;
d55e5bfc
RD
24002 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
24003 bool result;
24004 PyObject * obj0 = 0 ;
24005 char *kwnames[] = {
24006 (char *) "self", NULL
24007 };
24008
24009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
093d3ff1
RD
24010 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24011 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24012 {
24013 PyThreadState* __tstate = wxPyBeginAllowThreads();
24014 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
24015
24016 wxPyEndAllowThreads(__tstate);
24017 if (PyErr_Occurred()) SWIG_fail;
24018 }
24019 {
24020 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24021 }
24022 return resultobj;
24023 fail:
24024 return NULL;
24025}
24026
24027
c32bde28 24028static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24029 PyObject *resultobj = NULL;
d55e5bfc
RD
24030 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
24031 bool result;
24032 PyObject * obj0 = 0 ;
24033 char *kwnames[] = {
24034 (char *) "self", NULL
24035 };
24036
24037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
24038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24039 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24040 {
24041 PyThreadState* __tstate = wxPyBeginAllowThreads();
24042 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
24043
24044 wxPyEndAllowThreads(__tstate);
24045 if (PyErr_Occurred()) SWIG_fail;
24046 }
24047 {
24048 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24049 }
24050 return resultobj;
24051 fail:
24052 return NULL;
24053}
24054
24055
c32bde28 24056static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24057 PyObject *resultobj = NULL;
d55e5bfc
RD
24058 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
24059 bool result;
24060 PyObject * obj0 = 0 ;
24061 char *kwnames[] = {
24062 (char *) "self", NULL
24063 };
24064
24065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
093d3ff1
RD
24066 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24067 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24068 {
24069 PyThreadState* __tstate = wxPyBeginAllowThreads();
24070 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
24071
24072 wxPyEndAllowThreads(__tstate);
24073 if (PyErr_Occurred()) SWIG_fail;
24074 }
24075 {
24076 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24077 }
24078 return resultobj;
24079 fail:
24080 return NULL;
24081}
24082
24083
c32bde28 24084static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24085 PyObject *resultobj = NULL;
d55e5bfc
RD
24086 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
24087 bool result;
24088 PyObject * obj0 = 0 ;
24089 char *kwnames[] = {
24090 (char *) "self", NULL
24091 };
24092
24093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
093d3ff1
RD
24094 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24095 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24096 {
24097 PyThreadState* __tstate = wxPyBeginAllowThreads();
24098 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
24099
24100 wxPyEndAllowThreads(__tstate);
24101 if (PyErr_Occurred()) SWIG_fail;
24102 }
24103 {
24104 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24105 }
24106 return resultobj;
24107 fail:
24108 return NULL;
24109}
24110
24111
c32bde28 24112static PyObject *_wrap_PrintDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24113 PyObject *resultobj = NULL;
d55e5bfc
RD
24114 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
24115 bool result;
24116 PyObject * obj0 = 0 ;
24117 char *kwnames[] = {
24118 (char *) "self", NULL
24119 };
24120
24121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
093d3ff1
RD
24122 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24123 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24124 {
24125 PyThreadState* __tstate = wxPyBeginAllowThreads();
24126 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
24127
24128 wxPyEndAllowThreads(__tstate);
24129 if (PyErr_Occurred()) SWIG_fail;
24130 }
24131 {
24132 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24133 }
24134 return resultobj;
24135 fail:
24136 return NULL;
24137}
24138
24139
c32bde28 24140static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24141 PyObject *resultobj = NULL;
d55e5bfc
RD
24142 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
24143 wxPrintData *result;
24144 PyObject * obj0 = 0 ;
24145 char *kwnames[] = {
24146 (char *) "self", NULL
24147 };
24148
24149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
093d3ff1
RD
24150 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24151 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24152 {
24153 PyThreadState* __tstate = wxPyBeginAllowThreads();
24154 {
24155 wxPrintData &_result_ref = (arg1)->GetPrintData();
24156 result = (wxPrintData *) &_result_ref;
24157 }
24158
24159 wxPyEndAllowThreads(__tstate);
24160 if (PyErr_Occurred()) SWIG_fail;
24161 }
24162 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
24163 return resultobj;
24164 fail:
24165 return NULL;
24166}
24167
24168
c32bde28 24169static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24170 PyObject *resultobj = NULL;
d55e5bfc
RD
24171 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
24172 wxPrintData *arg2 = 0 ;
24173 PyObject * obj0 = 0 ;
24174 PyObject * obj1 = 0 ;
24175 char *kwnames[] = {
24176 (char *) "self",(char *) "printData", NULL
24177 };
24178
24179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24180 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24181 if (SWIG_arg_fail(1)) SWIG_fail;
24182 {
24183 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
24184 if (SWIG_arg_fail(2)) SWIG_fail;
24185 if (arg2 == NULL) {
24186 SWIG_null_ref("wxPrintData");
24187 }
24188 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24189 }
24190 {
24191 PyThreadState* __tstate = wxPyBeginAllowThreads();
24192 (arg1)->SetPrintData((wxPrintData const &)*arg2);
24193
24194 wxPyEndAllowThreads(__tstate);
24195 if (PyErr_Occurred()) SWIG_fail;
24196 }
24197 Py_INCREF(Py_None); resultobj = Py_None;
24198 return resultobj;
24199 fail:
24200 return NULL;
24201}
24202
24203
c32bde28 24204static PyObject * PrintDialogData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
24205 PyObject *obj;
24206 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24207 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
24208 Py_INCREF(obj);
24209 return Py_BuildValue((char *)"");
24210}
c32bde28 24211static PyObject *_wrap_new_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24212 PyObject *resultobj = NULL;
d55e5bfc
RD
24213 wxWindow *arg1 = (wxWindow *) 0 ;
24214 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
24215 wxPrintDialog *result;
24216 PyObject * obj0 = 0 ;
24217 PyObject * obj1 = 0 ;
24218 char *kwnames[] = {
24219 (char *) "parent",(char *) "data", NULL
24220 };
24221
24222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24223 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24224 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 24225 if (obj1) {
093d3ff1
RD
24226 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24227 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24228 }
24229 {
0439c23b 24230 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
24231 PyThreadState* __tstate = wxPyBeginAllowThreads();
24232 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
24233
24234 wxPyEndAllowThreads(__tstate);
110da5b0 24235 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
24236 }
24237 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
24238 return resultobj;
24239 fail:
24240 return NULL;
24241}
24242
24243
c1cb24a4 24244static PyObject *_wrap_PrintDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24245 PyObject *resultobj = NULL;
c1cb24a4
RD
24246 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
24247 int result;
24248 PyObject * obj0 = 0 ;
24249 char *kwnames[] = {
24250 (char *) "self", NULL
24251 };
24252
24253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
093d3ff1
RD
24254 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24255 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
24256 {
24257 PyThreadState* __tstate = wxPyBeginAllowThreads();
24258 result = (int)(arg1)->ShowModal();
24259
24260 wxPyEndAllowThreads(__tstate);
24261 if (PyErr_Occurred()) SWIG_fail;
24262 }
093d3ff1 24263 {
7449af73 24264 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 24265 }
c1cb24a4
RD
24266 return resultobj;
24267 fail:
24268 return NULL;
24269}
24270
24271
c32bde28 24272static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24273 PyObject *resultobj = NULL;
d55e5bfc
RD
24274 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
24275 wxPrintDialogData *result;
24276 PyObject * obj0 = 0 ;
24277 char *kwnames[] = {
24278 (char *) "self", NULL
24279 };
24280
24281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
093d3ff1
RD
24282 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24283 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24284 {
24285 PyThreadState* __tstate = wxPyBeginAllowThreads();
24286 {
24287 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
24288 result = (wxPrintDialogData *) &_result_ref;
24289 }
24290
24291 wxPyEndAllowThreads(__tstate);
24292 if (PyErr_Occurred()) SWIG_fail;
24293 }
24294 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
24295 return resultobj;
24296 fail:
24297 return NULL;
24298}
24299
24300
c1cb24a4 24301static PyObject *_wrap_PrintDialog_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24302 PyObject *resultobj = NULL;
d55e5bfc 24303 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
c1cb24a4 24304 wxPrintData *result;
d55e5bfc
RD
24305 PyObject * obj0 = 0 ;
24306 char *kwnames[] = {
24307 (char *) "self", NULL
24308 };
24309
c1cb24a4 24310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintData",kwnames,&obj0)) goto fail;
093d3ff1
RD
24311 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24312 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24313 {
24314 PyThreadState* __tstate = wxPyBeginAllowThreads();
c1cb24a4
RD
24315 {
24316 wxPrintData &_result_ref = (arg1)->GetPrintData();
24317 result = (wxPrintData *) &_result_ref;
24318 }
d55e5bfc
RD
24319
24320 wxPyEndAllowThreads(__tstate);
24321 if (PyErr_Occurred()) SWIG_fail;
24322 }
c1cb24a4 24323 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
d55e5bfc
RD
24324 return resultobj;
24325 fail:
24326 return NULL;
24327}
24328
24329
c1cb24a4 24330static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24331 PyObject *resultobj = NULL;
d55e5bfc 24332 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
c1cb24a4 24333 wxDC *result;
d55e5bfc
RD
24334 PyObject * obj0 = 0 ;
24335 char *kwnames[] = {
24336 (char *) "self", NULL
24337 };
24338
c1cb24a4 24339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
093d3ff1
RD
24340 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24341 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24342 {
24343 PyThreadState* __tstate = wxPyBeginAllowThreads();
c1cb24a4 24344 result = (wxDC *)(arg1)->GetPrintDC();
d55e5bfc
RD
24345
24346 wxPyEndAllowThreads(__tstate);
24347 if (PyErr_Occurred()) SWIG_fail;
24348 }
c1cb24a4 24349 {
7e08d4ef 24350 resultobj = wxPyMake_wxObject(result, (bool)1);
c1cb24a4 24351 }
d55e5bfc
RD
24352 return resultobj;
24353 fail:
24354 return NULL;
24355}
24356
24357
c32bde28 24358static PyObject * PrintDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
24359 PyObject *obj;
24360 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24361 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
24362 Py_INCREF(obj);
24363 return Py_BuildValue((char *)"");
24364}
c32bde28 24365static PyObject *_wrap_new_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24366 PyObject *resultobj = NULL;
d55e5bfc
RD
24367 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
24368 wxPrinter *result;
24369 PyObject * obj0 = 0 ;
24370 char *kwnames[] = {
24371 (char *) "data", NULL
24372 };
24373
24374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
24375 if (obj0) {
093d3ff1
RD
24376 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24377 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24378 }
24379 {
0439c23b 24380 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
24381 PyThreadState* __tstate = wxPyBeginAllowThreads();
24382 result = (wxPrinter *)new wxPrinter(arg1);
24383
24384 wxPyEndAllowThreads(__tstate);
110da5b0 24385 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
24386 }
24387 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
24388 return resultobj;
24389 fail:
24390 return NULL;
24391}
24392
24393
c32bde28 24394static PyObject *_wrap_delete_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24395 PyObject *resultobj = NULL;
d55e5bfc
RD
24396 wxPrinter *arg1 = (wxPrinter *) 0 ;
24397 PyObject * obj0 = 0 ;
24398 char *kwnames[] = {
24399 (char *) "self", NULL
24400 };
24401
24402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
093d3ff1
RD
24403 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24404 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24405 {
24406 PyThreadState* __tstate = wxPyBeginAllowThreads();
24407 delete arg1;
24408
24409 wxPyEndAllowThreads(__tstate);
24410 if (PyErr_Occurred()) SWIG_fail;
24411 }
24412 Py_INCREF(Py_None); resultobj = Py_None;
24413 return resultobj;
24414 fail:
24415 return NULL;
24416}
24417
24418
c32bde28 24419static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24420 PyObject *resultobj = NULL;
d55e5bfc
RD
24421 wxPrinter *arg1 = (wxPrinter *) 0 ;
24422 wxWindow *arg2 = (wxWindow *) 0 ;
24423 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
c1cb24a4 24424 wxWindow *result;
d55e5bfc
RD
24425 PyObject * obj0 = 0 ;
24426 PyObject * obj1 = 0 ;
24427 PyObject * obj2 = 0 ;
24428 char *kwnames[] = {
24429 (char *) "self",(char *) "parent",(char *) "printout", NULL
24430 };
24431
24432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24433 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24434 if (SWIG_arg_fail(1)) SWIG_fail;
24435 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24436 if (SWIG_arg_fail(2)) SWIG_fail;
24437 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24438 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
24439 {
24440 PyThreadState* __tstate = wxPyBeginAllowThreads();
c1cb24a4 24441 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
d55e5bfc
RD
24442
24443 wxPyEndAllowThreads(__tstate);
24444 if (PyErr_Occurred()) SWIG_fail;
24445 }
d55e5bfc 24446 {
c1cb24a4 24447 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc 24448 }
d55e5bfc
RD
24449 return resultobj;
24450 fail:
24451 return NULL;
24452}
24453
24454
c1cb24a4 24455static PyObject *_wrap_Printer_ReportError(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24456 PyObject *resultobj = NULL;
d55e5bfc
RD
24457 wxPrinter *arg1 = (wxPrinter *) 0 ;
24458 wxWindow *arg2 = (wxWindow *) 0 ;
24459 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
c1cb24a4
RD
24460 wxString *arg4 = 0 ;
24461 bool temp4 = false ;
d55e5bfc
RD
24462 PyObject * obj0 = 0 ;
24463 PyObject * obj1 = 0 ;
24464 PyObject * obj2 = 0 ;
24465 PyObject * obj3 = 0 ;
24466 char *kwnames[] = {
c1cb24a4 24467 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
d55e5bfc
RD
24468 };
24469
c1cb24a4 24470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
24471 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24472 if (SWIG_arg_fail(1)) SWIG_fail;
24473 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24474 if (SWIG_arg_fail(2)) SWIG_fail;
24475 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24476 if (SWIG_arg_fail(3)) SWIG_fail;
c1cb24a4
RD
24477 {
24478 arg4 = wxString_in_helper(obj3);
24479 if (arg4 == NULL) SWIG_fail;
24480 temp4 = true;
d55e5bfc
RD
24481 }
24482 {
24483 PyThreadState* __tstate = wxPyBeginAllowThreads();
c1cb24a4 24484 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
d55e5bfc
RD
24485
24486 wxPyEndAllowThreads(__tstate);
24487 if (PyErr_Occurred()) SWIG_fail;
24488 }
c1cb24a4 24489 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc 24490 {
c1cb24a4
RD
24491 if (temp4)
24492 delete arg4;
d55e5bfc
RD
24493 }
24494 return resultobj;
24495 fail:
c1cb24a4
RD
24496 {
24497 if (temp4)
24498 delete arg4;
24499 }
d55e5bfc
RD
24500 return NULL;
24501}
24502
24503
c1cb24a4 24504static PyObject *_wrap_Printer_Setup(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24505 PyObject *resultobj = NULL;
d55e5bfc
RD
24506 wxPrinter *arg1 = (wxPrinter *) 0 ;
24507 wxWindow *arg2 = (wxWindow *) 0 ;
c1cb24a4 24508 bool result;
d55e5bfc
RD
24509 PyObject * obj0 = 0 ;
24510 PyObject * obj1 = 0 ;
24511 char *kwnames[] = {
24512 (char *) "self",(char *) "parent", NULL
24513 };
24514
c1cb24a4 24515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24516 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24517 if (SWIG_arg_fail(1)) SWIG_fail;
24518 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24519 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24520 {
24521 PyThreadState* __tstate = wxPyBeginAllowThreads();
c1cb24a4 24522 result = (bool)(arg1)->Setup(arg2);
d55e5bfc
RD
24523
24524 wxPyEndAllowThreads(__tstate);
24525 if (PyErr_Occurred()) SWIG_fail;
24526 }
24527 {
c1cb24a4 24528 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d55e5bfc
RD
24529 }
24530 return resultobj;
24531 fail:
24532 return NULL;
24533}
24534
24535
c1cb24a4 24536static PyObject *_wrap_Printer_Print(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24537 PyObject *resultobj = NULL;
d55e5bfc
RD
24538 wxPrinter *arg1 = (wxPrinter *) 0 ;
24539 wxWindow *arg2 = (wxWindow *) 0 ;
24540 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
c1cb24a4
RD
24541 bool arg4 = (bool) true ;
24542 bool result;
d55e5bfc
RD
24543 PyObject * obj0 = 0 ;
24544 PyObject * obj1 = 0 ;
24545 PyObject * obj2 = 0 ;
24546 PyObject * obj3 = 0 ;
24547 char *kwnames[] = {
c1cb24a4 24548 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
d55e5bfc
RD
24549 };
24550
c1cb24a4 24551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
24552 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24553 if (SWIG_arg_fail(1)) SWIG_fail;
24554 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24555 if (SWIG_arg_fail(2)) SWIG_fail;
24556 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24557 if (SWIG_arg_fail(3)) SWIG_fail;
c1cb24a4 24558 if (obj3) {
093d3ff1 24559 {
7449af73 24560 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
093d3ff1
RD
24561 if (SWIG_arg_fail(4)) SWIG_fail;
24562 }
d55e5bfc
RD
24563 }
24564 {
24565 PyThreadState* __tstate = wxPyBeginAllowThreads();
c1cb24a4 24566 result = (bool)(arg1)->Print(arg2,arg3,arg4);
d55e5bfc
RD
24567
24568 wxPyEndAllowThreads(__tstate);
24569 if (PyErr_Occurred()) SWIG_fail;
24570 }
d55e5bfc 24571 {
c1cb24a4 24572 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d55e5bfc
RD
24573 }
24574 return resultobj;
24575 fail:
d55e5bfc
RD
24576 return NULL;
24577}
24578
24579
c1cb24a4 24580static PyObject *_wrap_Printer_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24581 PyObject *resultobj = NULL;
d55e5bfc
RD
24582 wxPrinter *arg1 = (wxPrinter *) 0 ;
24583 wxWindow *arg2 = (wxWindow *) 0 ;
c1cb24a4 24584 wxDC *result;
d55e5bfc
RD
24585 PyObject * obj0 = 0 ;
24586 PyObject * obj1 = 0 ;
24587 char *kwnames[] = {
24588 (char *) "self",(char *) "parent", NULL
24589 };
24590
c1cb24a4 24591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24592 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24593 if (SWIG_arg_fail(1)) SWIG_fail;
24594 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24595 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24596 {
24597 PyThreadState* __tstate = wxPyBeginAllowThreads();
c1cb24a4 24598 result = (wxDC *)(arg1)->PrintDialog(arg2);
d55e5bfc
RD
24599
24600 wxPyEndAllowThreads(__tstate);
24601 if (PyErr_Occurred()) SWIG_fail;
24602 }
24603 {
7e08d4ef 24604 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
24605 }
24606 return resultobj;
24607 fail:
24608 return NULL;
24609}
24610
24611
c1cb24a4 24612static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24613 PyObject *resultobj = NULL;
c1cb24a4
RD
24614 wxPrinter *arg1 = (wxPrinter *) 0 ;
24615 wxPrintDialogData *result;
24616 PyObject * obj0 = 0 ;
24617 char *kwnames[] = {
24618 (char *) "self", NULL
24619 };
24620
24621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
093d3ff1
RD
24622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24623 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
24624 {
24625 PyThreadState* __tstate = wxPyBeginAllowThreads();
24626 {
24627 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
24628 result = (wxPrintDialogData *) &_result_ref;
24629 }
24630
24631 wxPyEndAllowThreads(__tstate);
24632 if (PyErr_Occurred()) SWIG_fail;
24633 }
24634 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
24635 return resultobj;
24636 fail:
24637 return NULL;
24638}
24639
24640
c32bde28 24641static PyObject *_wrap_Printer_GetAbort(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24642 PyObject *resultobj = NULL;
d55e5bfc
RD
24643 wxPrinter *arg1 = (wxPrinter *) 0 ;
24644 bool result;
24645 PyObject * obj0 = 0 ;
24646 char *kwnames[] = {
24647 (char *) "self", NULL
24648 };
24649
24650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
093d3ff1
RD
24651 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24652 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24653 {
24654 PyThreadState* __tstate = wxPyBeginAllowThreads();
24655 result = (bool)(arg1)->GetAbort();
24656
24657 wxPyEndAllowThreads(__tstate);
24658 if (PyErr_Occurred()) SWIG_fail;
24659 }
24660 {
24661 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24662 }
24663 return resultobj;
24664 fail:
24665 return NULL;
24666}
24667
24668
c32bde28 24669static PyObject *_wrap_Printer_GetLastError(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24670 PyObject *resultobj = NULL;
093d3ff1 24671 wxPrinterError result;
d55e5bfc
RD
24672 char *kwnames[] = {
24673 NULL
24674 };
24675
24676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
24677 {
24678 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 24679 result = (wxPrinterError)wxPrinter::GetLastError();
d55e5bfc
RD
24680
24681 wxPyEndAllowThreads(__tstate);
24682 if (PyErr_Occurred()) SWIG_fail;
24683 }
093d3ff1 24684 resultobj = SWIG_From_int((result));
d55e5bfc
RD
24685 return resultobj;
24686 fail:
24687 return NULL;
24688}
24689
24690
c32bde28 24691static PyObject * Printer_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
24692 PyObject *obj;
24693 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24694 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
24695 Py_INCREF(obj);
24696 return Py_BuildValue((char *)"");
24697}
c32bde28 24698static PyObject *_wrap_new_Printout(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24699 PyObject *resultobj = NULL;
d55e5bfc
RD
24700 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
24701 wxString *arg1 = (wxString *) &arg1_defvalue ;
24702 wxPyPrintout *result;
ae8162c8 24703 bool temp1 = false ;
d55e5bfc
RD
24704 PyObject * obj0 = 0 ;
24705 char *kwnames[] = {
24706 (char *) "title", NULL
24707 };
24708
24709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
24710 if (obj0) {
24711 {
24712 arg1 = wxString_in_helper(obj0);
24713 if (arg1 == NULL) SWIG_fail;
ae8162c8 24714 temp1 = true;
d55e5bfc
RD
24715 }
24716 }
24717 {
0439c23b 24718 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
24719 PyThreadState* __tstate = wxPyBeginAllowThreads();
24720 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
24721
24722 wxPyEndAllowThreads(__tstate);
110da5b0 24723 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
24724 }
24725 {
7e08d4ef 24726 resultobj = wxPyMake_wxObject(result, (bool)1);
d55e5bfc
RD
24727 }
24728 {
24729 if (temp1)
24730 delete arg1;
24731 }
24732 return resultobj;
24733 fail:
24734 {
24735 if (temp1)
24736 delete arg1;
24737 }
24738 return NULL;
24739}
24740
24741
c32bde28 24742static PyObject *_wrap_Printout__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24743 PyObject *resultobj = NULL;
d55e5bfc
RD
24744 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24745 PyObject *arg2 = (PyObject *) 0 ;
24746 PyObject *arg3 = (PyObject *) 0 ;
24747 PyObject * obj0 = 0 ;
24748 PyObject * obj1 = 0 ;
24749 PyObject * obj2 = 0 ;
24750 char *kwnames[] = {
24751 (char *) "self",(char *) "self",(char *) "_class", NULL
24752 };
24753
24754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24756 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24757 arg2 = obj1;
24758 arg3 = obj2;
24759 {
24760 PyThreadState* __tstate = wxPyBeginAllowThreads();
24761 (arg1)->_setCallbackInfo(arg2,arg3);
24762
24763 wxPyEndAllowThreads(__tstate);
24764 if (PyErr_Occurred()) SWIG_fail;
24765 }
24766 Py_INCREF(Py_None); resultobj = Py_None;
24767 return resultobj;
24768 fail:
24769 return NULL;
24770}
24771
24772
c32bde28 24773static PyObject *_wrap_Printout_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24774 PyObject *resultobj = NULL;
d55e5bfc
RD
24775 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24776 wxString result;
24777 PyObject * obj0 = 0 ;
24778 char *kwnames[] = {
24779 (char *) "self", NULL
24780 };
24781
24782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
093d3ff1
RD
24783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24784 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24785 {
24786 PyThreadState* __tstate = wxPyBeginAllowThreads();
24787 result = ((wxPyPrintout const *)arg1)->GetTitle();
24788
24789 wxPyEndAllowThreads(__tstate);
24790 if (PyErr_Occurred()) SWIG_fail;
24791 }
24792 {
24793#if wxUSE_UNICODE
24794 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24795#else
24796 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24797#endif
24798 }
24799 return resultobj;
24800 fail:
24801 return NULL;
24802}
24803
24804
c32bde28 24805static PyObject *_wrap_Printout_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24806 PyObject *resultobj = NULL;
d55e5bfc
RD
24807 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24808 wxDC *result;
24809 PyObject * obj0 = 0 ;
24810 char *kwnames[] = {
24811 (char *) "self", NULL
24812 };
24813
24814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
093d3ff1
RD
24815 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24816 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24817 {
24818 PyThreadState* __tstate = wxPyBeginAllowThreads();
24819 result = (wxDC *)(arg1)->GetDC();
24820
24821 wxPyEndAllowThreads(__tstate);
24822 if (PyErr_Occurred()) SWIG_fail;
24823 }
24824 {
7e08d4ef 24825 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
24826 }
24827 return resultobj;
24828 fail:
24829 return NULL;
24830}
24831
24832
c32bde28 24833static PyObject *_wrap_Printout_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24834 PyObject *resultobj = NULL;
d55e5bfc
RD
24835 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24836 wxDC *arg2 = (wxDC *) 0 ;
24837 PyObject * obj0 = 0 ;
24838 PyObject * obj1 = 0 ;
24839 char *kwnames[] = {
24840 (char *) "self",(char *) "dc", NULL
24841 };
24842
24843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24844 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24845 if (SWIG_arg_fail(1)) SWIG_fail;
24846 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
24847 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24848 {
24849 PyThreadState* __tstate = wxPyBeginAllowThreads();
24850 (arg1)->SetDC(arg2);
24851
24852 wxPyEndAllowThreads(__tstate);
24853 if (PyErr_Occurred()) SWIG_fail;
24854 }
24855 Py_INCREF(Py_None); resultobj = Py_None;
24856 return resultobj;
24857 fail:
24858 return NULL;
24859}
24860
24861
c32bde28 24862static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24863 PyObject *resultobj = NULL;
d55e5bfc
RD
24864 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24865 int arg2 ;
24866 int arg3 ;
24867 PyObject * obj0 = 0 ;
24868 PyObject * obj1 = 0 ;
24869 PyObject * obj2 = 0 ;
24870 char *kwnames[] = {
24871 (char *) "self",(char *) "w",(char *) "h", NULL
24872 };
24873
24874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24875 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24876 if (SWIG_arg_fail(1)) SWIG_fail;
24877 {
7449af73 24878 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
24879 if (SWIG_arg_fail(2)) SWIG_fail;
24880 }
24881 {
7449af73 24882 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
24883 if (SWIG_arg_fail(3)) SWIG_fail;
24884 }
d55e5bfc
RD
24885 {
24886 PyThreadState* __tstate = wxPyBeginAllowThreads();
24887 (arg1)->SetPageSizePixels(arg2,arg3);
24888
24889 wxPyEndAllowThreads(__tstate);
24890 if (PyErr_Occurred()) SWIG_fail;
24891 }
24892 Py_INCREF(Py_None); resultobj = Py_None;
24893 return resultobj;
24894 fail:
24895 return NULL;
24896}
24897
24898
c32bde28 24899static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24900 PyObject *resultobj = NULL;
d55e5bfc
RD
24901 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24902 int *arg2 = (int *) 0 ;
24903 int *arg3 = (int *) 0 ;
24904 int temp2 ;
c32bde28 24905 int res2 = 0 ;
d55e5bfc 24906 int temp3 ;
c32bde28 24907 int res3 = 0 ;
d55e5bfc
RD
24908 PyObject * obj0 = 0 ;
24909 char *kwnames[] = {
24910 (char *) "self", NULL
24911 };
24912
c32bde28
RD
24913 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24914 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 24915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
093d3ff1
RD
24916 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24917 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24918 {
24919 PyThreadState* __tstate = wxPyBeginAllowThreads();
24920 (arg1)->GetPageSizePixels(arg2,arg3);
24921
24922 wxPyEndAllowThreads(__tstate);
24923 if (PyErr_Occurred()) SWIG_fail;
24924 }
24925 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
24926 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24927 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24928 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24929 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
24930 return resultobj;
24931 fail:
24932 return NULL;
24933}
24934
24935
c32bde28 24936static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24937 PyObject *resultobj = NULL;
d55e5bfc
RD
24938 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24939 int arg2 ;
24940 int arg3 ;
24941 PyObject * obj0 = 0 ;
24942 PyObject * obj1 = 0 ;
24943 PyObject * obj2 = 0 ;
24944 char *kwnames[] = {
24945 (char *) "self",(char *) "w",(char *) "h", NULL
24946 };
24947
24948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24949 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24950 if (SWIG_arg_fail(1)) SWIG_fail;
24951 {
7449af73 24952 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
24953 if (SWIG_arg_fail(2)) SWIG_fail;
24954 }
24955 {
7449af73 24956 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
24957 if (SWIG_arg_fail(3)) SWIG_fail;
24958 }
d55e5bfc
RD
24959 {
24960 PyThreadState* __tstate = wxPyBeginAllowThreads();
24961 (arg1)->SetPageSizeMM(arg2,arg3);
24962
24963 wxPyEndAllowThreads(__tstate);
24964 if (PyErr_Occurred()) SWIG_fail;
24965 }
24966 Py_INCREF(Py_None); resultobj = Py_None;
24967 return resultobj;
24968 fail:
24969 return NULL;
24970}
24971
24972
c32bde28 24973static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24974 PyObject *resultobj = NULL;
d55e5bfc
RD
24975 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24976 int *arg2 = (int *) 0 ;
24977 int *arg3 = (int *) 0 ;
24978 int temp2 ;
c32bde28 24979 int res2 = 0 ;
d55e5bfc 24980 int temp3 ;
c32bde28 24981 int res3 = 0 ;
d55e5bfc
RD
24982 PyObject * obj0 = 0 ;
24983 char *kwnames[] = {
24984 (char *) "self", NULL
24985 };
24986
c32bde28
RD
24987 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24988 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 24989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
093d3ff1
RD
24990 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24991 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24992 {
24993 PyThreadState* __tstate = wxPyBeginAllowThreads();
24994 (arg1)->GetPageSizeMM(arg2,arg3);
24995
24996 wxPyEndAllowThreads(__tstate);
24997 if (PyErr_Occurred()) SWIG_fail;
24998 }
24999 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
25000 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
25001 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
25002 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25003 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
25004 return resultobj;
25005 fail:
25006 return NULL;
25007}
25008
25009
c32bde28 25010static PyObject *_wrap_Printout_SetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25011 PyObject *resultobj = NULL;
d55e5bfc
RD
25012 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25013 int arg2 ;
25014 int arg3 ;
25015 PyObject * obj0 = 0 ;
25016 PyObject * obj1 = 0 ;
25017 PyObject * obj2 = 0 ;
25018 char *kwnames[] = {
25019 (char *) "self",(char *) "x",(char *) "y", NULL
25020 };
25021
25022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25023 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25024 if (SWIG_arg_fail(1)) SWIG_fail;
25025 {
7449af73 25026 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
25027 if (SWIG_arg_fail(2)) SWIG_fail;
25028 }
25029 {
7449af73 25030 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
25031 if (SWIG_arg_fail(3)) SWIG_fail;
25032 }
d55e5bfc
RD
25033 {
25034 PyThreadState* __tstate = wxPyBeginAllowThreads();
25035 (arg1)->SetPPIScreen(arg2,arg3);
25036
25037 wxPyEndAllowThreads(__tstate);
25038 if (PyErr_Occurred()) SWIG_fail;
25039 }
25040 Py_INCREF(Py_None); resultobj = Py_None;
25041 return resultobj;
25042 fail:
25043 return NULL;
25044}
25045
25046
c32bde28 25047static PyObject *_wrap_Printout_GetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25048 PyObject *resultobj = NULL;
d55e5bfc
RD
25049 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25050 int *arg2 = (int *) 0 ;
25051 int *arg3 = (int *) 0 ;
25052 int temp2 ;
c32bde28 25053 int res2 = 0 ;
d55e5bfc 25054 int temp3 ;
c32bde28 25055 int res3 = 0 ;
d55e5bfc
RD
25056 PyObject * obj0 = 0 ;
25057 char *kwnames[] = {
25058 (char *) "self", NULL
25059 };
25060
c32bde28
RD
25061 arg2 = &temp2; res2 = SWIG_NEWOBJ;
25062 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 25063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
093d3ff1
RD
25064 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25065 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25066 {
25067 PyThreadState* __tstate = wxPyBeginAllowThreads();
25068 (arg1)->GetPPIScreen(arg2,arg3);
25069
25070 wxPyEndAllowThreads(__tstate);
25071 if (PyErr_Occurred()) SWIG_fail;
25072 }
25073 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
25074 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
25075 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
25076 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25077 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
25078 return resultobj;
25079 fail:
25080 return NULL;
25081}
25082
25083
c32bde28 25084static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25085 PyObject *resultobj = NULL;
d55e5bfc
RD
25086 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25087 int arg2 ;
25088 int arg3 ;
25089 PyObject * obj0 = 0 ;
25090 PyObject * obj1 = 0 ;
25091 PyObject * obj2 = 0 ;
25092 char *kwnames[] = {
25093 (char *) "self",(char *) "x",(char *) "y", NULL
25094 };
25095
25096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25097 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25098 if (SWIG_arg_fail(1)) SWIG_fail;
25099 {
7449af73 25100 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
25101 if (SWIG_arg_fail(2)) SWIG_fail;
25102 }
25103 {
7449af73 25104 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
25105 if (SWIG_arg_fail(3)) SWIG_fail;
25106 }
d55e5bfc
RD
25107 {
25108 PyThreadState* __tstate = wxPyBeginAllowThreads();
25109 (arg1)->SetPPIPrinter(arg2,arg3);
25110
25111 wxPyEndAllowThreads(__tstate);
25112 if (PyErr_Occurred()) SWIG_fail;
25113 }
25114 Py_INCREF(Py_None); resultobj = Py_None;
25115 return resultobj;
25116 fail:
25117 return NULL;
25118}
25119
25120
c32bde28 25121static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25122 PyObject *resultobj = NULL;
d55e5bfc
RD
25123 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25124 int *arg2 = (int *) 0 ;
25125 int *arg3 = (int *) 0 ;
25126 int temp2 ;
c32bde28 25127 int res2 = 0 ;
d55e5bfc 25128 int temp3 ;
c32bde28 25129 int res3 = 0 ;
d55e5bfc
RD
25130 PyObject * obj0 = 0 ;
25131 char *kwnames[] = {
25132 (char *) "self", NULL
25133 };
25134
c32bde28
RD
25135 arg2 = &temp2; res2 = SWIG_NEWOBJ;
25136 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 25137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
093d3ff1
RD
25138 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25139 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25140 {
25141 PyThreadState* __tstate = wxPyBeginAllowThreads();
25142 (arg1)->GetPPIPrinter(arg2,arg3);
25143
25144 wxPyEndAllowThreads(__tstate);
25145 if (PyErr_Occurred()) SWIG_fail;
25146 }
25147 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
25148 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
25149 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
25150 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25151 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
25152 return resultobj;
25153 fail:
25154 return NULL;
25155}
25156
25157
c32bde28 25158static PyObject *_wrap_Printout_IsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25159 PyObject *resultobj = NULL;
d55e5bfc
RD
25160 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25161 bool result;
25162 PyObject * obj0 = 0 ;
25163 char *kwnames[] = {
25164 (char *) "self", NULL
25165 };
25166
25167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
093d3ff1
RD
25168 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25169 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25170 {
25171 PyThreadState* __tstate = wxPyBeginAllowThreads();
25172 result = (bool)(arg1)->IsPreview();
25173
25174 wxPyEndAllowThreads(__tstate);
25175 if (PyErr_Occurred()) SWIG_fail;
25176 }
25177 {
25178 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25179 }
25180 return resultobj;
25181 fail:
25182 return NULL;
25183}
25184
25185
c32bde28 25186static PyObject *_wrap_Printout_SetIsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25187 PyObject *resultobj = NULL;
d55e5bfc
RD
25188 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25189 bool arg2 ;
25190 PyObject * obj0 = 0 ;
25191 PyObject * obj1 = 0 ;
25192 char *kwnames[] = {
25193 (char *) "self",(char *) "p", NULL
25194 };
25195
25196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25197 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25198 if (SWIG_arg_fail(1)) SWIG_fail;
25199 {
7449af73 25200 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
25201 if (SWIG_arg_fail(2)) SWIG_fail;
25202 }
d55e5bfc
RD
25203 {
25204 PyThreadState* __tstate = wxPyBeginAllowThreads();
25205 (arg1)->SetIsPreview(arg2);
25206
25207 wxPyEndAllowThreads(__tstate);
25208 if (PyErr_Occurred()) SWIG_fail;
25209 }
25210 Py_INCREF(Py_None); resultobj = Py_None;
25211 return resultobj;
25212 fail:
25213 return NULL;
25214}
25215
25216
b06b3e70 25217static PyObject *_wrap_Printout_OnBeginDocument(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25218 PyObject *resultobj = NULL;
d55e5bfc
RD
25219 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25220 int arg2 ;
25221 int arg3 ;
25222 bool result;
25223 PyObject * obj0 = 0 ;
25224 PyObject * obj1 = 0 ;
25225 PyObject * obj2 = 0 ;
25226 char *kwnames[] = {
25227 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
25228 };
25229
b06b3e70 25230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25231 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25232 if (SWIG_arg_fail(1)) SWIG_fail;
25233 {
7449af73 25234 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
25235 if (SWIG_arg_fail(2)) SWIG_fail;
25236 }
25237 {
7449af73 25238 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
25239 if (SWIG_arg_fail(3)) SWIG_fail;
25240 }
d55e5bfc
RD
25241 {
25242 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 25243 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
d55e5bfc
RD
25244
25245 wxPyEndAllowThreads(__tstate);
25246 if (PyErr_Occurred()) SWIG_fail;
25247 }
25248 {
25249 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25250 }
25251 return resultobj;
25252 fail:
25253 return NULL;
25254}
25255
25256
b06b3e70 25257static PyObject *_wrap_Printout_OnEndDocument(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25258 PyObject *resultobj = NULL;
d55e5bfc
RD
25259 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25260 PyObject * obj0 = 0 ;
25261 char *kwnames[] = {
25262 (char *) "self", NULL
25263 };
25264
b06b3e70 25265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_OnEndDocument",kwnames,&obj0)) goto fail;
093d3ff1
RD
25266 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25267 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25268 {
25269 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 25270 (arg1)->OnEndDocument();
d55e5bfc
RD
25271
25272 wxPyEndAllowThreads(__tstate);
25273 if (PyErr_Occurred()) SWIG_fail;
25274 }
25275 Py_INCREF(Py_None); resultobj = Py_None;
25276 return resultobj;
25277 fail:
25278 return NULL;
25279}
25280
25281
b06b3e70 25282static PyObject *_wrap_Printout_OnBeginPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25283 PyObject *resultobj = NULL;
d55e5bfc
RD
25284 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25285 PyObject * obj0 = 0 ;
25286 char *kwnames[] = {
25287 (char *) "self", NULL
25288 };
25289
b06b3e70 25290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_OnBeginPrinting",kwnames,&obj0)) goto fail;
093d3ff1
RD
25291 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25292 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25293 {
25294 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 25295 (arg1)->OnBeginPrinting();
d55e5bfc
RD
25296
25297 wxPyEndAllowThreads(__tstate);
25298 if (PyErr_Occurred()) SWIG_fail;
25299 }
25300 Py_INCREF(Py_None); resultobj = Py_None;
25301 return resultobj;
25302 fail:
25303 return NULL;
25304}
25305
25306
b06b3e70 25307static PyObject *_wrap_Printout_OnEndPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25308 PyObject *resultobj = NULL;
d55e5bfc
RD
25309 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25310 PyObject * obj0 = 0 ;
25311 char *kwnames[] = {
25312 (char *) "self", NULL
25313 };
25314
b06b3e70 25315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_OnEndPrinting",kwnames,&obj0)) goto fail;
093d3ff1
RD
25316 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25317 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25318 {
25319 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 25320 (arg1)->OnEndPrinting();
d55e5bfc
RD
25321
25322 wxPyEndAllowThreads(__tstate);
25323 if (PyErr_Occurred()) SWIG_fail;
25324 }
25325 Py_INCREF(Py_None); resultobj = Py_None;
25326 return resultobj;
25327 fail:
25328 return NULL;
25329}
25330
25331
b06b3e70 25332static PyObject *_wrap_Printout_OnPreparePrinting(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25333 PyObject *resultobj = NULL;
d55e5bfc
RD
25334 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25335 PyObject * obj0 = 0 ;
25336 char *kwnames[] = {
25337 (char *) "self", NULL
25338 };
25339
b06b3e70 25340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_OnPreparePrinting",kwnames,&obj0)) goto fail;
093d3ff1
RD
25341 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25342 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25343 {
25344 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 25345 (arg1)->OnPreparePrinting();
d55e5bfc
RD
25346
25347 wxPyEndAllowThreads(__tstate);
25348 if (PyErr_Occurred()) SWIG_fail;
25349 }
25350 Py_INCREF(Py_None); resultobj = Py_None;
25351 return resultobj;
25352 fail:
25353 return NULL;
25354}
25355
25356
b06b3e70 25357static PyObject *_wrap_Printout_HasPage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25358 PyObject *resultobj = NULL;
d55e5bfc
RD
25359 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25360 int arg2 ;
25361 bool result;
25362 PyObject * obj0 = 0 ;
25363 PyObject * obj1 = 0 ;
25364 char *kwnames[] = {
25365 (char *) "self",(char *) "page", NULL
25366 };
25367
b06b3e70 25368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25369 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25370 if (SWIG_arg_fail(1)) SWIG_fail;
25371 {
7449af73 25372 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
25373 if (SWIG_arg_fail(2)) SWIG_fail;
25374 }
d55e5bfc
RD
25375 {
25376 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 25377 result = (bool)(arg1)->HasPage(arg2);
d55e5bfc
RD
25378
25379 wxPyEndAllowThreads(__tstate);
25380 if (PyErr_Occurred()) SWIG_fail;
25381 }
25382 {
25383 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25384 }
25385 return resultobj;
25386 fail:
25387 return NULL;
25388}
25389
25390
b06b3e70 25391static PyObject *_wrap_Printout_GetPageInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25392 PyObject *resultobj = NULL;
d55e5bfc
RD
25393 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25394 int *arg2 = (int *) 0 ;
25395 int *arg3 = (int *) 0 ;
25396 int *arg4 = (int *) 0 ;
25397 int *arg5 = (int *) 0 ;
25398 int temp2 ;
c32bde28 25399 int res2 = 0 ;
d55e5bfc 25400 int temp3 ;
c32bde28 25401 int res3 = 0 ;
d55e5bfc 25402 int temp4 ;
c32bde28 25403 int res4 = 0 ;
d55e5bfc 25404 int temp5 ;
c32bde28 25405 int res5 = 0 ;
d55e5bfc
RD
25406 PyObject * obj0 = 0 ;
25407 char *kwnames[] = {
25408 (char *) "self", NULL
25409 };
25410
c32bde28
RD
25411 arg2 = &temp2; res2 = SWIG_NEWOBJ;
25412 arg3 = &temp3; res3 = SWIG_NEWOBJ;
25413 arg4 = &temp4; res4 = SWIG_NEWOBJ;
25414 arg5 = &temp5; res5 = SWIG_NEWOBJ;
b06b3e70 25415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageInfo",kwnames,&obj0)) goto fail;
093d3ff1
RD
25416 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25417 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25418 {
25419 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 25420 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
d55e5bfc
RD
25421
25422 wxPyEndAllowThreads(__tstate);
25423 if (PyErr_Occurred()) SWIG_fail;
25424 }
25425 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
25426 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
25427 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
25428 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25429 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
25430 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
25431 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
25432 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
25433 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
25434 return resultobj;
25435 fail:
25436 return NULL;
25437}
25438
25439
c32bde28 25440static PyObject * Printout_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
25441 PyObject *obj;
25442 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25443 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
25444 Py_INCREF(obj);
25445 return Py_BuildValue((char *)"");
25446}
c32bde28 25447static PyObject *_wrap_new_PreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25448 PyObject *resultobj = NULL;
d55e5bfc
RD
25449 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25450 wxWindow *arg2 = (wxWindow *) 0 ;
25451 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25452 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25453 wxSize const &arg4_defvalue = wxDefaultSize ;
25454 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25455 long arg5 = (long) 0 ;
25456 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
25457 wxString *arg6 = (wxString *) &arg6_defvalue ;
25458 wxPreviewCanvas *result;
25459 wxPoint temp3 ;
25460 wxSize temp4 ;
ae8162c8 25461 bool temp6 = false ;
d55e5bfc
RD
25462 PyObject * obj0 = 0 ;
25463 PyObject * obj1 = 0 ;
25464 PyObject * obj2 = 0 ;
25465 PyObject * obj3 = 0 ;
25466 PyObject * obj4 = 0 ;
25467 PyObject * obj5 = 0 ;
25468 char *kwnames[] = {
25469 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25470 };
25471
25472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
25473 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25474 if (SWIG_arg_fail(1)) SWIG_fail;
25475 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25476 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25477 if (obj2) {
25478 {
25479 arg3 = &temp3;
25480 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25481 }
25482 }
25483 if (obj3) {
25484 {
25485 arg4 = &temp4;
25486 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25487 }
25488 }
25489 if (obj4) {
093d3ff1 25490 {
7449af73 25491 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
25492 if (SWIG_arg_fail(5)) SWIG_fail;
25493 }
d55e5bfc
RD
25494 }
25495 if (obj5) {
25496 {
25497 arg6 = wxString_in_helper(obj5);
25498 if (arg6 == NULL) SWIG_fail;
ae8162c8 25499 temp6 = true;
d55e5bfc
RD
25500 }
25501 }
25502 {
0439c23b 25503 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
25504 PyThreadState* __tstate = wxPyBeginAllowThreads();
25505 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
25506
25507 wxPyEndAllowThreads(__tstate);
110da5b0 25508 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
25509 }
25510 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
25511 {
25512 if (temp6)
25513 delete arg6;
25514 }
25515 return resultobj;
25516 fail:
25517 {
25518 if (temp6)
25519 delete arg6;
25520 }
25521 return NULL;
25522}
25523
25524
c32bde28 25525static PyObject * PreviewCanvas_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
25526 PyObject *obj;
25527 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25528 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
25529 Py_INCREF(obj);
25530 return Py_BuildValue((char *)"");
25531}
c32bde28 25532static PyObject *_wrap_new_PreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25533 PyObject *resultobj = NULL;
d55e5bfc
RD
25534 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25535 wxFrame *arg2 = (wxFrame *) 0 ;
25536 wxString *arg3 = 0 ;
25537 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25538 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25539 wxSize const &arg5_defvalue = wxDefaultSize ;
25540 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25541 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
25542 wxString const &arg7_defvalue = wxPyFrameNameStr ;
25543 wxString *arg7 = (wxString *) &arg7_defvalue ;
25544 wxPreviewFrame *result;
ae8162c8 25545 bool temp3 = false ;
d55e5bfc
RD
25546 wxPoint temp4 ;
25547 wxSize temp5 ;
ae8162c8 25548 bool temp7 = false ;
d55e5bfc
RD
25549 PyObject * obj0 = 0 ;
25550 PyObject * obj1 = 0 ;
25551 PyObject * obj2 = 0 ;
25552 PyObject * obj3 = 0 ;
25553 PyObject * obj4 = 0 ;
25554 PyObject * obj5 = 0 ;
25555 PyObject * obj6 = 0 ;
25556 char *kwnames[] = {
25557 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25558 };
25559
25560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
25561 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25562 if (SWIG_arg_fail(1)) SWIG_fail;
25563 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
25564 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25565 {
25566 arg3 = wxString_in_helper(obj2);
25567 if (arg3 == NULL) SWIG_fail;
ae8162c8 25568 temp3 = true;
d55e5bfc
RD
25569 }
25570 if (obj3) {
25571 {
25572 arg4 = &temp4;
25573 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25574 }
25575 }
25576 if (obj4) {
25577 {
25578 arg5 = &temp5;
25579 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25580 }
25581 }
25582 if (obj5) {
093d3ff1 25583 {
7449af73 25584 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
25585 if (SWIG_arg_fail(6)) SWIG_fail;
25586 }
d55e5bfc
RD
25587 }
25588 if (obj6) {
25589 {
25590 arg7 = wxString_in_helper(obj6);
25591 if (arg7 == NULL) SWIG_fail;
ae8162c8 25592 temp7 = true;
d55e5bfc
RD
25593 }
25594 }
25595 {
0439c23b 25596 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
25597 PyThreadState* __tstate = wxPyBeginAllowThreads();
25598 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25599
25600 wxPyEndAllowThreads(__tstate);
110da5b0 25601 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
25602 }
25603 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
25604 {
25605 if (temp3)
25606 delete arg3;
25607 }
25608 {
25609 if (temp7)
25610 delete arg7;
25611 }
25612 return resultobj;
25613 fail:
25614 {
25615 if (temp3)
25616 delete arg3;
25617 }
25618 {
25619 if (temp7)
25620 delete arg7;
25621 }
25622 return NULL;
25623}
25624
25625
c32bde28 25626static PyObject *_wrap_PreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25627 PyObject *resultobj = NULL;
d55e5bfc
RD
25628 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25629 PyObject * obj0 = 0 ;
25630 char *kwnames[] = {
25631 (char *) "self", NULL
25632 };
25633
25634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
093d3ff1
RD
25635 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25636 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25637 {
25638 PyThreadState* __tstate = wxPyBeginAllowThreads();
25639 (arg1)->Initialize();
25640
25641 wxPyEndAllowThreads(__tstate);
25642 if (PyErr_Occurred()) SWIG_fail;
25643 }
25644 Py_INCREF(Py_None); resultobj = Py_None;
25645 return resultobj;
25646 fail:
25647 return NULL;
25648}
25649
25650
c32bde28 25651static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25652 PyObject *resultobj = NULL;
d55e5bfc
RD
25653 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25654 PyObject * obj0 = 0 ;
25655 char *kwnames[] = {
25656 (char *) "self", NULL
25657 };
25658
25659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
25660 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25661 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25662 {
25663 PyThreadState* __tstate = wxPyBeginAllowThreads();
25664 (arg1)->CreateControlBar();
25665
25666 wxPyEndAllowThreads(__tstate);
25667 if (PyErr_Occurred()) SWIG_fail;
25668 }
25669 Py_INCREF(Py_None); resultobj = Py_None;
25670 return resultobj;
25671 fail:
25672 return NULL;
25673}
25674
25675
c32bde28 25676static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25677 PyObject *resultobj = NULL;
d55e5bfc
RD
25678 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25679 PyObject * obj0 = 0 ;
25680 char *kwnames[] = {
25681 (char *) "self", NULL
25682 };
25683
25684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
093d3ff1
RD
25685 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25686 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25687 {
25688 PyThreadState* __tstate = wxPyBeginAllowThreads();
25689 (arg1)->CreateCanvas();
25690
25691 wxPyEndAllowThreads(__tstate);
25692 if (PyErr_Occurred()) SWIG_fail;
25693 }
25694 Py_INCREF(Py_None); resultobj = Py_None;
25695 return resultobj;
25696 fail:
25697 return NULL;
25698}
25699
25700
c32bde28 25701static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25702 PyObject *resultobj = NULL;
d55e5bfc
RD
25703 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25704 wxPreviewControlBar *result;
25705 PyObject * obj0 = 0 ;
25706 char *kwnames[] = {
25707 (char *) "self", NULL
25708 };
25709
25710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
25711 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25712 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25713 {
25714 PyThreadState* __tstate = wxPyBeginAllowThreads();
25715 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
25716
25717 wxPyEndAllowThreads(__tstate);
25718 if (PyErr_Occurred()) SWIG_fail;
25719 }
25720 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
25721 return resultobj;
25722 fail:
25723 return NULL;
25724}
25725
25726
c32bde28 25727static PyObject * PreviewFrame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
25728 PyObject *obj;
25729 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25730 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
25731 Py_INCREF(obj);
25732 return Py_BuildValue((char *)"");
25733}
c32bde28 25734static PyObject *_wrap_new_PreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25735 PyObject *resultobj = NULL;
d55e5bfc
RD
25736 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25737 long arg2 ;
25738 wxWindow *arg3 = (wxWindow *) 0 ;
25739 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25740 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25741 wxSize const &arg5_defvalue = wxDefaultSize ;
25742 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25743 long arg6 = (long) wxTAB_TRAVERSAL ;
25744 wxString const &arg7_defvalue = wxPyPanelNameStr ;
25745 wxString *arg7 = (wxString *) &arg7_defvalue ;
25746 wxPreviewControlBar *result;
25747 wxPoint temp4 ;
25748 wxSize temp5 ;
ae8162c8 25749 bool temp7 = false ;
d55e5bfc
RD
25750 PyObject * obj0 = 0 ;
25751 PyObject * obj1 = 0 ;
25752 PyObject * obj2 = 0 ;
25753 PyObject * obj3 = 0 ;
25754 PyObject * obj4 = 0 ;
25755 PyObject * obj5 = 0 ;
25756 PyObject * obj6 = 0 ;
25757 char *kwnames[] = {
25758 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25759 };
25760
25761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
25762 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25763 if (SWIG_arg_fail(1)) SWIG_fail;
25764 {
7449af73 25765 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
25766 if (SWIG_arg_fail(2)) SWIG_fail;
25767 }
25768 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25769 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
25770 if (obj3) {
25771 {
25772 arg4 = &temp4;
25773 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25774 }
25775 }
25776 if (obj4) {
25777 {
25778 arg5 = &temp5;
25779 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25780 }
25781 }
25782 if (obj5) {
093d3ff1 25783 {
7449af73 25784 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
25785 if (SWIG_arg_fail(6)) SWIG_fail;
25786 }
d55e5bfc
RD
25787 }
25788 if (obj6) {
25789 {
25790 arg7 = wxString_in_helper(obj6);
25791 if (arg7 == NULL) SWIG_fail;
ae8162c8 25792 temp7 = true;
d55e5bfc
RD
25793 }
25794 }
25795 {
0439c23b 25796 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
25797 PyThreadState* __tstate = wxPyBeginAllowThreads();
25798 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25799
25800 wxPyEndAllowThreads(__tstate);
110da5b0 25801 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
25802 }
25803 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
25804 {
25805 if (temp7)
25806 delete arg7;
25807 }
25808 return resultobj;
25809 fail:
25810 {
25811 if (temp7)
25812 delete arg7;
25813 }
25814 return NULL;
25815}
25816
25817
c32bde28 25818static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25819 PyObject *resultobj = NULL;
d55e5bfc
RD
25820 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25821 int result;
25822 PyObject * obj0 = 0 ;
25823 char *kwnames[] = {
25824 (char *) "self", NULL
25825 };
25826
25827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
093d3ff1
RD
25828 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25829 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25830 {
25831 PyThreadState* __tstate = wxPyBeginAllowThreads();
25832 result = (int)(arg1)->GetZoomControl();
25833
25834 wxPyEndAllowThreads(__tstate);
25835 if (PyErr_Occurred()) SWIG_fail;
25836 }
093d3ff1 25837 {
7449af73 25838 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 25839 }
d55e5bfc
RD
25840 return resultobj;
25841 fail:
25842 return NULL;
25843}
25844
25845
c32bde28 25846static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25847 PyObject *resultobj = NULL;
d55e5bfc
RD
25848 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25849 int arg2 ;
25850 PyObject * obj0 = 0 ;
25851 PyObject * obj1 = 0 ;
25852 char *kwnames[] = {
25853 (char *) "self",(char *) "zoom", NULL
25854 };
25855
25856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25857 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25858 if (SWIG_arg_fail(1)) SWIG_fail;
25859 {
7449af73 25860 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
25861 if (SWIG_arg_fail(2)) SWIG_fail;
25862 }
d55e5bfc
RD
25863 {
25864 PyThreadState* __tstate = wxPyBeginAllowThreads();
25865 (arg1)->SetZoomControl(arg2);
25866
25867 wxPyEndAllowThreads(__tstate);
25868 if (PyErr_Occurred()) SWIG_fail;
25869 }
25870 Py_INCREF(Py_None); resultobj = Py_None;
25871 return resultobj;
25872 fail:
25873 return NULL;
25874}
25875
25876
c32bde28 25877static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25878 PyObject *resultobj = NULL;
d55e5bfc
RD
25879 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25880 wxPrintPreview *result;
25881 PyObject * obj0 = 0 ;
25882 char *kwnames[] = {
25883 (char *) "self", NULL
25884 };
25885
25886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
093d3ff1
RD
25887 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25888 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25889 {
25890 PyThreadState* __tstate = wxPyBeginAllowThreads();
25891 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
25892
25893 wxPyEndAllowThreads(__tstate);
25894 if (PyErr_Occurred()) SWIG_fail;
25895 }
25896 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
25897 return resultobj;
25898 fail:
25899 return NULL;
25900}
25901
25902
c32bde28 25903static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25904 PyObject *resultobj = NULL;
d55e5bfc
RD
25905 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25906 PyObject * obj0 = 0 ;
25907 char *kwnames[] = {
25908 (char *) "self", NULL
25909 };
25910
25911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
093d3ff1
RD
25912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25913 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25914 {
25915 PyThreadState* __tstate = wxPyBeginAllowThreads();
25916 (arg1)->OnNext();
25917
25918 wxPyEndAllowThreads(__tstate);
25919 if (PyErr_Occurred()) SWIG_fail;
25920 }
25921 Py_INCREF(Py_None); resultobj = Py_None;
25922 return resultobj;
25923 fail:
25924 return NULL;
25925}
25926
25927
c32bde28 25928static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25929 PyObject *resultobj = NULL;
d55e5bfc
RD
25930 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25931 PyObject * obj0 = 0 ;
25932 char *kwnames[] = {
25933 (char *) "self", NULL
25934 };
25935
25936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
093d3ff1
RD
25937 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25938 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25939 {
25940 PyThreadState* __tstate = wxPyBeginAllowThreads();
25941 (arg1)->OnPrevious();
25942
25943 wxPyEndAllowThreads(__tstate);
25944 if (PyErr_Occurred()) SWIG_fail;
25945 }
25946 Py_INCREF(Py_None); resultobj = Py_None;
25947 return resultobj;
25948 fail:
25949 return NULL;
25950}
25951
25952
c32bde28 25953static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25954 PyObject *resultobj = NULL;
d55e5bfc
RD
25955 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25956 PyObject * obj0 = 0 ;
25957 char *kwnames[] = {
25958 (char *) "self", NULL
25959 };
25960
25961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
093d3ff1
RD
25962 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25963 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25964 {
25965 PyThreadState* __tstate = wxPyBeginAllowThreads();
25966 (arg1)->OnFirst();
25967
25968 wxPyEndAllowThreads(__tstate);
25969 if (PyErr_Occurred()) SWIG_fail;
25970 }
25971 Py_INCREF(Py_None); resultobj = Py_None;
25972 return resultobj;
25973 fail:
25974 return NULL;
25975}
25976
25977
c32bde28 25978static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25979 PyObject *resultobj = NULL;
d55e5bfc
RD
25980 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25981 PyObject * obj0 = 0 ;
25982 char *kwnames[] = {
25983 (char *) "self", NULL
25984 };
25985
25986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
093d3ff1
RD
25987 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25988 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25989 {
25990 PyThreadState* __tstate = wxPyBeginAllowThreads();
25991 (arg1)->OnLast();
25992
25993 wxPyEndAllowThreads(__tstate);
25994 if (PyErr_Occurred()) SWIG_fail;
25995 }
25996 Py_INCREF(Py_None); resultobj = Py_None;
25997 return resultobj;
25998 fail:
25999 return NULL;
26000}
26001
26002
c32bde28 26003static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26004 PyObject *resultobj = NULL;
d55e5bfc
RD
26005 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
26006 PyObject * obj0 = 0 ;
26007 char *kwnames[] = {
26008 (char *) "self", NULL
26009 };
26010
26011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
093d3ff1
RD
26012 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
26013 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26014 {
26015 PyThreadState* __tstate = wxPyBeginAllowThreads();
26016 (arg1)->OnGoto();
26017
26018 wxPyEndAllowThreads(__tstate);
26019 if (PyErr_Occurred()) SWIG_fail;
26020 }
26021 Py_INCREF(Py_None); resultobj = Py_None;
26022 return resultobj;
26023 fail:
26024 return NULL;
26025}
26026
26027
c32bde28 26028static PyObject * PreviewControlBar_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
26029 PyObject *obj;
26030 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26031 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
26032 Py_INCREF(obj);
26033 return Py_BuildValue((char *)"");
26034}
c32bde28 26035static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *, PyObject *args) {
7449af73 26036 PyObject *resultobj = NULL;
d55e5bfc
RD
26037 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26038 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26039 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
26040 wxPrintPreview *result;
26041 PyObject * obj0 = 0 ;
26042 PyObject * obj1 = 0 ;
26043 PyObject * obj2 = 0 ;
26044
26045 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26046 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26047 if (SWIG_arg_fail(1)) SWIG_fail;
26048 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26049 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 26050 if (obj2) {
093d3ff1
RD
26051 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
26052 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
26053 }
26054 {
0439c23b 26055 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
26056 PyThreadState* __tstate = wxPyBeginAllowThreads();
26057 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
26058
26059 wxPyEndAllowThreads(__tstate);
110da5b0 26060 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
26061 }
26062 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
26063 return resultobj;
26064 fail:
26065 return NULL;
26066}
26067
26068
c32bde28 26069static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *, PyObject *args) {
7449af73 26070 PyObject *resultobj = NULL;
d55e5bfc
RD
26071 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26072 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26073 wxPrintData *arg3 = (wxPrintData *) 0 ;
26074 wxPrintPreview *result;
26075 PyObject * obj0 = 0 ;
26076 PyObject * obj1 = 0 ;
26077 PyObject * obj2 = 0 ;
26078
26079 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26080 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26081 if (SWIG_arg_fail(1)) SWIG_fail;
26082 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26083 if (SWIG_arg_fail(2)) SWIG_fail;
26084 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
26085 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc 26086 {
0439c23b 26087 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
26088 PyThreadState* __tstate = wxPyBeginAllowThreads();
26089 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
26090
26091 wxPyEndAllowThreads(__tstate);
110da5b0 26092 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
26093 }
26094 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
26095 return resultobj;
26096 fail:
26097 return NULL;
26098}
26099
26100
26101static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
26102 int argc;
26103 PyObject *argv[4];
26104 int ii;
26105
26106 argc = PyObject_Length(args);
26107 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
26108 argv[ii] = PyTuple_GetItem(args,ii);
26109 }
26110 if ((argc >= 2) && (argc <= 3)) {
26111 int _v;
26112 {
26113 void *ptr;
26114 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26115 _v = 0;
26116 PyErr_Clear();
26117 } else {
26118 _v = 1;
26119 }
26120 }
26121 if (_v) {
26122 {
26123 void *ptr;
26124 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26125 _v = 0;
26126 PyErr_Clear();
26127 } else {
26128 _v = 1;
26129 }
26130 }
26131 if (_v) {
26132 if (argc <= 2) {
26133 return _wrap_new_PrintPreview__SWIG_0(self,args);
26134 }
26135 {
26136 void *ptr;
26137 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
26138 _v = 0;
26139 PyErr_Clear();
26140 } else {
26141 _v = 1;
26142 }
26143 }
26144 if (_v) {
26145 return _wrap_new_PrintPreview__SWIG_0(self,args);
26146 }
26147 }
26148 }
26149 }
26150 if (argc == 3) {
26151 int _v;
26152 {
26153 void *ptr;
26154 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26155 _v = 0;
26156 PyErr_Clear();
26157 } else {
26158 _v = 1;
26159 }
26160 }
26161 if (_v) {
26162 {
26163 void *ptr;
26164 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26165 _v = 0;
26166 PyErr_Clear();
26167 } else {
26168 _v = 1;
26169 }
26170 }
26171 if (_v) {
26172 {
26173 void *ptr;
26174 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
26175 _v = 0;
26176 PyErr_Clear();
26177 } else {
26178 _v = 1;
26179 }
26180 }
26181 if (_v) {
26182 return _wrap_new_PrintPreview__SWIG_1(self,args);
26183 }
26184 }
26185 }
26186 }
26187
093d3ff1 26188 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
d55e5bfc
RD
26189 return NULL;
26190}
26191
26192
c32bde28 26193static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26194 PyObject *resultobj = NULL;
d55e5bfc
RD
26195 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26196 int arg2 ;
26197 bool result;
26198 PyObject * obj0 = 0 ;
26199 PyObject * obj1 = 0 ;
26200 char *kwnames[] = {
26201 (char *) "self",(char *) "pageNum", NULL
26202 };
26203
26204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26205 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26206 if (SWIG_arg_fail(1)) SWIG_fail;
26207 {
7449af73 26208 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
26209 if (SWIG_arg_fail(2)) SWIG_fail;
26210 }
d55e5bfc
RD
26211 {
26212 PyThreadState* __tstate = wxPyBeginAllowThreads();
26213 result = (bool)(arg1)->SetCurrentPage(arg2);
26214
26215 wxPyEndAllowThreads(__tstate);
26216 if (PyErr_Occurred()) SWIG_fail;
26217 }
26218 {
26219 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26220 }
26221 return resultobj;
26222 fail:
26223 return NULL;
26224}
26225
26226
c32bde28 26227static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26228 PyObject *resultobj = NULL;
d55e5bfc
RD
26229 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26230 int result;
26231 PyObject * obj0 = 0 ;
26232 char *kwnames[] = {
26233 (char *) "self", NULL
26234 };
26235
26236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
26237 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26238 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26239 {
26240 PyThreadState* __tstate = wxPyBeginAllowThreads();
26241 result = (int)(arg1)->GetCurrentPage();
26242
26243 wxPyEndAllowThreads(__tstate);
26244 if (PyErr_Occurred()) SWIG_fail;
26245 }
093d3ff1 26246 {
7449af73 26247 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 26248 }
d55e5bfc
RD
26249 return resultobj;
26250 fail:
26251 return NULL;
26252}
26253
26254
c32bde28 26255static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26256 PyObject *resultobj = NULL;
d55e5bfc
RD
26257 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26258 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26259 PyObject * obj0 = 0 ;
26260 PyObject * obj1 = 0 ;
26261 char *kwnames[] = {
26262 (char *) "self",(char *) "printout", NULL
26263 };
26264
26265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26266 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26267 if (SWIG_arg_fail(1)) SWIG_fail;
26268 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26269 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26270 {
26271 PyThreadState* __tstate = wxPyBeginAllowThreads();
26272 (arg1)->SetPrintout(arg2);
26273
26274 wxPyEndAllowThreads(__tstate);
26275 if (PyErr_Occurred()) SWIG_fail;
26276 }
26277 Py_INCREF(Py_None); resultobj = Py_None;
26278 return resultobj;
26279 fail:
26280 return NULL;
26281}
26282
26283
c32bde28 26284static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26285 PyObject *resultobj = NULL;
d55e5bfc
RD
26286 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26287 wxPyPrintout *result;
26288 PyObject * obj0 = 0 ;
26289 char *kwnames[] = {
26290 (char *) "self", NULL
26291 };
26292
26293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
093d3ff1
RD
26294 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26295 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26296 {
26297 PyThreadState* __tstate = wxPyBeginAllowThreads();
26298 result = (wxPyPrintout *)(arg1)->GetPrintout();
26299
26300 wxPyEndAllowThreads(__tstate);
26301 if (PyErr_Occurred()) SWIG_fail;
26302 }
26303 {
7e08d4ef 26304 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
26305 }
26306 return resultobj;
26307 fail:
26308 return NULL;
26309}
26310
26311
c32bde28 26312static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26313 PyObject *resultobj = NULL;
d55e5bfc
RD
26314 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26315 wxPyPrintout *result;
26316 PyObject * obj0 = 0 ;
26317 char *kwnames[] = {
26318 (char *) "self", NULL
26319 };
26320
26321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
093d3ff1
RD
26322 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26323 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26324 {
26325 PyThreadState* __tstate = wxPyBeginAllowThreads();
26326 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
26327
26328 wxPyEndAllowThreads(__tstate);
26329 if (PyErr_Occurred()) SWIG_fail;
26330 }
26331 {
7e08d4ef 26332 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
26333 }
26334 return resultobj;
26335 fail:
26336 return NULL;
26337}
26338
26339
c32bde28 26340static PyObject *_wrap_PrintPreview_SetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26341 PyObject *resultobj = NULL;
d55e5bfc
RD
26342 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26343 wxFrame *arg2 = (wxFrame *) 0 ;
26344 PyObject * obj0 = 0 ;
26345 PyObject * obj1 = 0 ;
26346 char *kwnames[] = {
26347 (char *) "self",(char *) "frame", NULL
26348 };
26349
26350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26351 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26352 if (SWIG_arg_fail(1)) SWIG_fail;
26353 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
26354 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26355 {
26356 PyThreadState* __tstate = wxPyBeginAllowThreads();
26357 (arg1)->SetFrame(arg2);
26358
26359 wxPyEndAllowThreads(__tstate);
26360 if (PyErr_Occurred()) SWIG_fail;
26361 }
26362 Py_INCREF(Py_None); resultobj = Py_None;
26363 return resultobj;
26364 fail:
26365 return NULL;
26366}
26367
26368
c32bde28 26369static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26370 PyObject *resultobj = NULL;
d55e5bfc
RD
26371 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26372 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26373 PyObject * obj0 = 0 ;
26374 PyObject * obj1 = 0 ;
26375 char *kwnames[] = {
26376 (char *) "self",(char *) "canvas", NULL
26377 };
26378
26379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26380 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26381 if (SWIG_arg_fail(1)) SWIG_fail;
26382 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26383 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26384 {
26385 PyThreadState* __tstate = wxPyBeginAllowThreads();
26386 (arg1)->SetCanvas(arg2);
26387
26388 wxPyEndAllowThreads(__tstate);
26389 if (PyErr_Occurred()) SWIG_fail;
26390 }
26391 Py_INCREF(Py_None); resultobj = Py_None;
26392 return resultobj;
26393 fail:
26394 return NULL;
26395}
26396
26397
c32bde28 26398static PyObject *_wrap_PrintPreview_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26399 PyObject *resultobj = NULL;
d55e5bfc
RD
26400 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26401 wxFrame *result;
26402 PyObject * obj0 = 0 ;
26403 char *kwnames[] = {
26404 (char *) "self", NULL
26405 };
26406
26407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
093d3ff1
RD
26408 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26409 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26410 {
26411 PyThreadState* __tstate = wxPyBeginAllowThreads();
26412 result = (wxFrame *)(arg1)->GetFrame();
26413
26414 wxPyEndAllowThreads(__tstate);
26415 if (PyErr_Occurred()) SWIG_fail;
26416 }
26417 {
412d302d 26418 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
26419 }
26420 return resultobj;
26421 fail:
26422 return NULL;
26423}
26424
26425
c32bde28 26426static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26427 PyObject *resultobj = NULL;
d55e5bfc
RD
26428 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26429 wxPreviewCanvas *result;
26430 PyObject * obj0 = 0 ;
26431 char *kwnames[] = {
26432 (char *) "self", NULL
26433 };
26434
26435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
093d3ff1
RD
26436 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26437 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26438 {
26439 PyThreadState* __tstate = wxPyBeginAllowThreads();
26440 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
26441
26442 wxPyEndAllowThreads(__tstate);
26443 if (PyErr_Occurred()) SWIG_fail;
26444 }
26445 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
26446 return resultobj;
26447 fail:
26448 return NULL;
26449}
26450
26451
c32bde28 26452static PyObject *_wrap_PrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26453 PyObject *resultobj = NULL;
d55e5bfc
RD
26454 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26455 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26456 wxDC *arg3 = 0 ;
26457 bool result;
26458 PyObject * obj0 = 0 ;
26459 PyObject * obj1 = 0 ;
26460 PyObject * obj2 = 0 ;
26461 char *kwnames[] = {
26462 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26463 };
26464
26465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26466 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26467 if (SWIG_arg_fail(1)) SWIG_fail;
26468 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26469 if (SWIG_arg_fail(2)) SWIG_fail;
26470 {
26471 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26472 if (SWIG_arg_fail(3)) SWIG_fail;
26473 if (arg3 == NULL) {
26474 SWIG_null_ref("wxDC");
26475 }
26476 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
26477 }
26478 {
26479 PyThreadState* __tstate = wxPyBeginAllowThreads();
26480 result = (bool)(arg1)->PaintPage(arg2,*arg3);
26481
26482 wxPyEndAllowThreads(__tstate);
26483 if (PyErr_Occurred()) SWIG_fail;
26484 }
26485 {
26486 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26487 }
26488 return resultobj;
26489 fail:
26490 return NULL;
26491}
26492
26493
c32bde28 26494static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26495 PyObject *resultobj = NULL;
d55e5bfc
RD
26496 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26497 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26498 wxDC *arg3 = 0 ;
26499 bool result;
26500 PyObject * obj0 = 0 ;
26501 PyObject * obj1 = 0 ;
26502 PyObject * obj2 = 0 ;
26503 char *kwnames[] = {
26504 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26505 };
26506
26507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26509 if (SWIG_arg_fail(1)) SWIG_fail;
26510 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26511 if (SWIG_arg_fail(2)) SWIG_fail;
26512 {
26513 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26514 if (SWIG_arg_fail(3)) SWIG_fail;
26515 if (arg3 == NULL) {
26516 SWIG_null_ref("wxDC");
26517 }
26518 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
26519 }
26520 {
26521 PyThreadState* __tstate = wxPyBeginAllowThreads();
26522 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
26523
26524 wxPyEndAllowThreads(__tstate);
26525 if (PyErr_Occurred()) SWIG_fail;
26526 }
26527 {
26528 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26529 }
26530 return resultobj;
26531 fail:
26532 return NULL;
26533}
26534
26535
c32bde28 26536static PyObject *_wrap_PrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26537 PyObject *resultobj = NULL;
d55e5bfc
RD
26538 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26539 int arg2 ;
26540 bool result;
26541 PyObject * obj0 = 0 ;
26542 PyObject * obj1 = 0 ;
26543 char *kwnames[] = {
26544 (char *) "self",(char *) "pageNum", NULL
26545 };
26546
26547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26548 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26549 if (SWIG_arg_fail(1)) SWIG_fail;
26550 {
7449af73 26551 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
26552 if (SWIG_arg_fail(2)) SWIG_fail;
26553 }
d55e5bfc
RD
26554 {
26555 PyThreadState* __tstate = wxPyBeginAllowThreads();
26556 result = (bool)(arg1)->RenderPage(arg2);
26557
26558 wxPyEndAllowThreads(__tstate);
26559 if (PyErr_Occurred()) SWIG_fail;
26560 }
26561 {
26562 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26563 }
26564 return resultobj;
26565 fail:
26566 return NULL;
26567}
26568
26569
c32bde28 26570static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26571 PyObject *resultobj = NULL;
d55e5bfc
RD
26572 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26573 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26574 PyObject * obj0 = 0 ;
26575 PyObject * obj1 = 0 ;
26576 char *kwnames[] = {
26577 (char *) "self",(char *) "canvas", NULL
26578 };
26579
26580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26581 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26582 if (SWIG_arg_fail(1)) SWIG_fail;
26583 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26584 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26585 {
26586 PyThreadState* __tstate = wxPyBeginAllowThreads();
26587 (arg1)->AdjustScrollbars(arg2);
26588
26589 wxPyEndAllowThreads(__tstate);
26590 if (PyErr_Occurred()) SWIG_fail;
26591 }
26592 Py_INCREF(Py_None); resultobj = Py_None;
26593 return resultobj;
26594 fail:
26595 return NULL;
26596}
26597
26598
c32bde28 26599static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26600 PyObject *resultobj = NULL;
d55e5bfc
RD
26601 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26602 wxPrintDialogData *result;
26603 PyObject * obj0 = 0 ;
26604 char *kwnames[] = {
26605 (char *) "self", NULL
26606 };
26607
26608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
093d3ff1
RD
26609 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26610 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26611 {
26612 PyThreadState* __tstate = wxPyBeginAllowThreads();
26613 {
26614 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
26615 result = (wxPrintDialogData *) &_result_ref;
26616 }
26617
26618 wxPyEndAllowThreads(__tstate);
26619 if (PyErr_Occurred()) SWIG_fail;
26620 }
26621 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
26622 return resultobj;
26623 fail:
26624 return NULL;
26625}
26626
26627
c32bde28 26628static PyObject *_wrap_PrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26629 PyObject *resultobj = NULL;
d55e5bfc
RD
26630 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26631 int arg2 ;
26632 PyObject * obj0 = 0 ;
26633 PyObject * obj1 = 0 ;
26634 char *kwnames[] = {
26635 (char *) "self",(char *) "percent", NULL
26636 };
26637
26638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26639 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26640 if (SWIG_arg_fail(1)) SWIG_fail;
26641 {
7449af73 26642 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
26643 if (SWIG_arg_fail(2)) SWIG_fail;
26644 }
d55e5bfc
RD
26645 {
26646 PyThreadState* __tstate = wxPyBeginAllowThreads();
26647 (arg1)->SetZoom(arg2);
26648
26649 wxPyEndAllowThreads(__tstate);
26650 if (PyErr_Occurred()) SWIG_fail;
26651 }
26652 Py_INCREF(Py_None); resultobj = Py_None;
26653 return resultobj;
26654 fail:
26655 return NULL;
26656}
26657
26658
c32bde28 26659static PyObject *_wrap_PrintPreview_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26660 PyObject *resultobj = NULL;
d55e5bfc
RD
26661 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26662 int result;
26663 PyObject * obj0 = 0 ;
26664 char *kwnames[] = {
26665 (char *) "self", NULL
26666 };
26667
26668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
093d3ff1
RD
26669 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26670 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26671 {
26672 PyThreadState* __tstate = wxPyBeginAllowThreads();
26673 result = (int)(arg1)->GetZoom();
26674
26675 wxPyEndAllowThreads(__tstate);
26676 if (PyErr_Occurred()) SWIG_fail;
26677 }
093d3ff1 26678 {
7449af73 26679 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 26680 }
d55e5bfc
RD
26681 return resultobj;
26682 fail:
26683 return NULL;
26684}
26685
26686
c32bde28 26687static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26688 PyObject *resultobj = NULL;
d55e5bfc
RD
26689 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26690 int result;
26691 PyObject * obj0 = 0 ;
26692 char *kwnames[] = {
26693 (char *) "self", NULL
26694 };
26695
26696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
26697 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26698 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26699 {
26700 PyThreadState* __tstate = wxPyBeginAllowThreads();
26701 result = (int)(arg1)->GetMaxPage();
26702
26703 wxPyEndAllowThreads(__tstate);
26704 if (PyErr_Occurred()) SWIG_fail;
26705 }
093d3ff1 26706 {
7449af73 26707 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 26708 }
d55e5bfc
RD
26709 return resultobj;
26710 fail:
26711 return NULL;
26712}
26713
26714
c32bde28 26715static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26716 PyObject *resultobj = NULL;
d55e5bfc
RD
26717 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26718 int result;
26719 PyObject * obj0 = 0 ;
26720 char *kwnames[] = {
26721 (char *) "self", NULL
26722 };
26723
26724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
26725 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26726 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26727 {
26728 PyThreadState* __tstate = wxPyBeginAllowThreads();
26729 result = (int)(arg1)->GetMinPage();
26730
26731 wxPyEndAllowThreads(__tstate);
26732 if (PyErr_Occurred()) SWIG_fail;
26733 }
093d3ff1 26734 {
7449af73 26735 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 26736 }
d55e5bfc
RD
26737 return resultobj;
26738 fail:
26739 return NULL;
26740}
26741
26742
c32bde28 26743static PyObject *_wrap_PrintPreview_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26744 PyObject *resultobj = NULL;
d55e5bfc
RD
26745 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26746 bool result;
26747 PyObject * obj0 = 0 ;
26748 char *kwnames[] = {
26749 (char *) "self", NULL
26750 };
26751
26752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
093d3ff1
RD
26753 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26754 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26755 {
26756 PyThreadState* __tstate = wxPyBeginAllowThreads();
26757 result = (bool)(arg1)->Ok();
26758
26759 wxPyEndAllowThreads(__tstate);
26760 if (PyErr_Occurred()) SWIG_fail;
26761 }
26762 {
26763 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26764 }
26765 return resultobj;
26766 fail:
26767 return NULL;
26768}
26769
26770
c32bde28 26771static PyObject *_wrap_PrintPreview_SetOk(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26772 PyObject *resultobj = NULL;
d55e5bfc
RD
26773 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26774 bool arg2 ;
26775 PyObject * obj0 = 0 ;
26776 PyObject * obj1 = 0 ;
26777 char *kwnames[] = {
26778 (char *) "self",(char *) "ok", NULL
26779 };
26780
26781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26782 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26783 if (SWIG_arg_fail(1)) SWIG_fail;
26784 {
7449af73 26785 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
26786 if (SWIG_arg_fail(2)) SWIG_fail;
26787 }
d55e5bfc
RD
26788 {
26789 PyThreadState* __tstate = wxPyBeginAllowThreads();
26790 (arg1)->SetOk(arg2);
26791
26792 wxPyEndAllowThreads(__tstate);
26793 if (PyErr_Occurred()) SWIG_fail;
26794 }
26795 Py_INCREF(Py_None); resultobj = Py_None;
26796 return resultobj;
26797 fail:
26798 return NULL;
26799}
26800
26801
c32bde28 26802static PyObject *_wrap_PrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26803 PyObject *resultobj = NULL;
d55e5bfc
RD
26804 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26805 bool arg2 ;
26806 bool result;
26807 PyObject * obj0 = 0 ;
26808 PyObject * obj1 = 0 ;
26809 char *kwnames[] = {
26810 (char *) "self",(char *) "interactive", NULL
26811 };
26812
26813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26814 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26815 if (SWIG_arg_fail(1)) SWIG_fail;
26816 {
7449af73 26817 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
26818 if (SWIG_arg_fail(2)) SWIG_fail;
26819 }
d55e5bfc
RD
26820 {
26821 PyThreadState* __tstate = wxPyBeginAllowThreads();
26822 result = (bool)(arg1)->Print(arg2);
26823
26824 wxPyEndAllowThreads(__tstate);
26825 if (PyErr_Occurred()) SWIG_fail;
26826 }
26827 {
26828 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26829 }
26830 return resultobj;
26831 fail:
26832 return NULL;
26833}
26834
26835
c32bde28 26836static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26837 PyObject *resultobj = NULL;
d55e5bfc
RD
26838 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26839 PyObject * obj0 = 0 ;
26840 char *kwnames[] = {
26841 (char *) "self", NULL
26842 };
26843
26844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
093d3ff1
RD
26845 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26846 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26847 {
26848 PyThreadState* __tstate = wxPyBeginAllowThreads();
26849 (arg1)->DetermineScaling();
26850
26851 wxPyEndAllowThreads(__tstate);
26852 if (PyErr_Occurred()) SWIG_fail;
26853 }
26854 Py_INCREF(Py_None); resultobj = Py_None;
26855 return resultobj;
26856 fail:
26857 return NULL;
26858}
26859
26860
c32bde28 26861static PyObject * PrintPreview_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
26862 PyObject *obj;
26863 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26864 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
26865 Py_INCREF(obj);
26866 return Py_BuildValue((char *)"");
26867}
c32bde28 26868static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *, PyObject *args) {
7449af73 26869 PyObject *resultobj = NULL;
d55e5bfc
RD
26870 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26871 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26872 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
26873 wxPyPrintPreview *result;
26874 PyObject * obj0 = 0 ;
26875 PyObject * obj1 = 0 ;
26876 PyObject * obj2 = 0 ;
26877
26878 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26879 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26880 if (SWIG_arg_fail(1)) SWIG_fail;
26881 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26882 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 26883 if (obj2) {
093d3ff1
RD
26884 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
26885 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
26886 }
26887 {
0439c23b 26888 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
26889 PyThreadState* __tstate = wxPyBeginAllowThreads();
26890 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
26891
26892 wxPyEndAllowThreads(__tstate);
110da5b0 26893 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
26894 }
26895 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
26896 return resultobj;
26897 fail:
26898 return NULL;
26899}
26900
26901
c32bde28 26902static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *, PyObject *args) {
7449af73 26903 PyObject *resultobj = NULL;
d55e5bfc
RD
26904 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26905 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26906 wxPrintData *arg3 = (wxPrintData *) 0 ;
26907 wxPyPrintPreview *result;
26908 PyObject * obj0 = 0 ;
26909 PyObject * obj1 = 0 ;
26910 PyObject * obj2 = 0 ;
26911
26912 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26913 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26914 if (SWIG_arg_fail(1)) SWIG_fail;
26915 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26916 if (SWIG_arg_fail(2)) SWIG_fail;
26917 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
26918 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc 26919 {
0439c23b 26920 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
26921 PyThreadState* __tstate = wxPyBeginAllowThreads();
26922 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
26923
26924 wxPyEndAllowThreads(__tstate);
110da5b0 26925 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
26926 }
26927 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
26928 return resultobj;
26929 fail:
26930 return NULL;
26931}
26932
26933
26934static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
26935 int argc;
26936 PyObject *argv[4];
26937 int ii;
26938
26939 argc = PyObject_Length(args);
26940 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
26941 argv[ii] = PyTuple_GetItem(args,ii);
26942 }
26943 if ((argc >= 2) && (argc <= 3)) {
26944 int _v;
26945 {
26946 void *ptr;
26947 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26948 _v = 0;
26949 PyErr_Clear();
26950 } else {
26951 _v = 1;
26952 }
26953 }
26954 if (_v) {
26955 {
26956 void *ptr;
26957 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26958 _v = 0;
26959 PyErr_Clear();
26960 } else {
26961 _v = 1;
26962 }
26963 }
26964 if (_v) {
26965 if (argc <= 2) {
26966 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
26967 }
26968 {
26969 void *ptr;
26970 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
26971 _v = 0;
26972 PyErr_Clear();
26973 } else {
26974 _v = 1;
26975 }
26976 }
26977 if (_v) {
26978 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
26979 }
26980 }
26981 }
26982 }
26983 if (argc == 3) {
26984 int _v;
26985 {
26986 void *ptr;
26987 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26988 _v = 0;
26989 PyErr_Clear();
26990 } else {
26991 _v = 1;
26992 }
26993 }
26994 if (_v) {
26995 {
26996 void *ptr;
26997 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26998 _v = 0;
26999 PyErr_Clear();
27000 } else {
27001 _v = 1;
27002 }
27003 }
27004 if (_v) {
27005 {
27006 void *ptr;
27007 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
27008 _v = 0;
27009 PyErr_Clear();
27010 } else {
27011 _v = 1;
27012 }
27013 }
27014 if (_v) {
27015 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
27016 }
27017 }
27018 }
27019 }
27020
093d3ff1 27021 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
d55e5bfc
RD
27022 return NULL;
27023}
27024
27025
c32bde28 27026static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27027 PyObject *resultobj = NULL;
d55e5bfc
RD
27028 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27029 PyObject *arg2 = (PyObject *) 0 ;
27030 PyObject *arg3 = (PyObject *) 0 ;
27031 PyObject * obj0 = 0 ;
27032 PyObject * obj1 = 0 ;
27033 PyObject * obj2 = 0 ;
27034 char *kwnames[] = {
27035 (char *) "self",(char *) "self",(char *) "_class", NULL
27036 };
27037
27038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27039 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27040 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27041 arg2 = obj1;
27042 arg3 = obj2;
27043 {
27044 PyThreadState* __tstate = wxPyBeginAllowThreads();
27045 (arg1)->_setCallbackInfo(arg2,arg3);
27046
27047 wxPyEndAllowThreads(__tstate);
27048 if (PyErr_Occurred()) SWIG_fail;
27049 }
27050 Py_INCREF(Py_None); resultobj = Py_None;
27051 return resultobj;
27052 fail:
27053 return NULL;
27054}
27055
27056
b06b3e70 27057static PyObject *_wrap_PyPrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27058 PyObject *resultobj = NULL;
d55e5bfc
RD
27059 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27060 int arg2 ;
27061 bool result;
27062 PyObject * obj0 = 0 ;
27063 PyObject * obj1 = 0 ;
27064 char *kwnames[] = {
27065 (char *) "self",(char *) "pageNum", NULL
27066 };
27067
b06b3e70 27068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27069 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27070 if (SWIG_arg_fail(1)) SWIG_fail;
27071 {
7449af73 27072 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
27073 if (SWIG_arg_fail(2)) SWIG_fail;
27074 }
d55e5bfc
RD
27075 {
27076 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 27077 result = (bool)(arg1)->SetCurrentPage(arg2);
d55e5bfc
RD
27078
27079 wxPyEndAllowThreads(__tstate);
27080 if (PyErr_Occurred()) SWIG_fail;
27081 }
27082 {
27083 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27084 }
27085 return resultobj;
27086 fail:
27087 return NULL;
27088}
27089
27090
b06b3e70 27091static PyObject *_wrap_PyPrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27092 PyObject *resultobj = NULL;
d55e5bfc
RD
27093 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27094 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
27095 wxDC *arg3 = 0 ;
27096 bool result;
27097 PyObject * obj0 = 0 ;
27098 PyObject * obj1 = 0 ;
27099 PyObject * obj2 = 0 ;
27100 char *kwnames[] = {
27101 (char *) "self",(char *) "canvas",(char *) "dc", NULL
27102 };
27103
b06b3e70 27104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27105 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27106 if (SWIG_arg_fail(1)) SWIG_fail;
27107 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
27108 if (SWIG_arg_fail(2)) SWIG_fail;
27109 {
27110 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
27111 if (SWIG_arg_fail(3)) SWIG_fail;
27112 if (arg3 == NULL) {
27113 SWIG_null_ref("wxDC");
27114 }
27115 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
27116 }
27117 {
27118 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 27119 result = (bool)(arg1)->PaintPage(arg2,*arg3);
d55e5bfc
RD
27120
27121 wxPyEndAllowThreads(__tstate);
27122 if (PyErr_Occurred()) SWIG_fail;
27123 }
27124 {
27125 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27126 }
27127 return resultobj;
27128 fail:
27129 return NULL;
27130}
27131
27132
b06b3e70 27133static PyObject *_wrap_PyPrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27134 PyObject *resultobj = NULL;
d55e5bfc
RD
27135 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27136 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
27137 wxDC *arg3 = 0 ;
27138 bool result;
27139 PyObject * obj0 = 0 ;
27140 PyObject * obj1 = 0 ;
27141 PyObject * obj2 = 0 ;
27142 char *kwnames[] = {
27143 (char *) "self",(char *) "canvas",(char *) "dc", NULL
27144 };
27145
b06b3e70 27146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27147 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27148 if (SWIG_arg_fail(1)) SWIG_fail;
27149 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
27150 if (SWIG_arg_fail(2)) SWIG_fail;
27151 {
27152 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
27153 if (SWIG_arg_fail(3)) SWIG_fail;
27154 if (arg3 == NULL) {
27155 SWIG_null_ref("wxDC");
27156 }
27157 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
27158 }
27159 {
27160 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 27161 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
d55e5bfc
RD
27162
27163 wxPyEndAllowThreads(__tstate);
27164 if (PyErr_Occurred()) SWIG_fail;
27165 }
27166 {
27167 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27168 }
27169 return resultobj;
27170 fail:
27171 return NULL;
27172}
27173
27174
b06b3e70 27175static PyObject *_wrap_PyPrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27176 PyObject *resultobj = NULL;
d55e5bfc
RD
27177 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27178 int arg2 ;
27179 bool result;
27180 PyObject * obj0 = 0 ;
27181 PyObject * obj1 = 0 ;
27182 char *kwnames[] = {
27183 (char *) "self",(char *) "pageNum", NULL
27184 };
27185
b06b3e70 27186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27187 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27188 if (SWIG_arg_fail(1)) SWIG_fail;
27189 {
7449af73 27190 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
27191 if (SWIG_arg_fail(2)) SWIG_fail;
27192 }
d55e5bfc
RD
27193 {
27194 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 27195 result = (bool)(arg1)->RenderPage(arg2);
d55e5bfc
RD
27196
27197 wxPyEndAllowThreads(__tstate);
27198 if (PyErr_Occurred()) SWIG_fail;
27199 }
27200 {
27201 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27202 }
27203 return resultobj;
27204 fail:
27205 return NULL;
27206}
27207
27208
b06b3e70 27209static PyObject *_wrap_PyPrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27210 PyObject *resultobj = NULL;
d55e5bfc
RD
27211 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27212 int arg2 ;
27213 PyObject * obj0 = 0 ;
27214 PyObject * obj1 = 0 ;
27215 char *kwnames[] = {
27216 (char *) "self",(char *) "percent", NULL
27217 };
27218
b06b3e70 27219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27220 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27221 if (SWIG_arg_fail(1)) SWIG_fail;
27222 {
7449af73 27223 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
27224 if (SWIG_arg_fail(2)) SWIG_fail;
27225 }
d55e5bfc
RD
27226 {
27227 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 27228 (arg1)->SetZoom(arg2);
d55e5bfc
RD
27229
27230 wxPyEndAllowThreads(__tstate);
27231 if (PyErr_Occurred()) SWIG_fail;
27232 }
27233 Py_INCREF(Py_None); resultobj = Py_None;
27234 return resultobj;
27235 fail:
27236 return NULL;
27237}
27238
27239
b06b3e70 27240static PyObject *_wrap_PyPrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27241 PyObject *resultobj = NULL;
d55e5bfc
RD
27242 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27243 bool arg2 ;
27244 bool result;
27245 PyObject * obj0 = 0 ;
27246 PyObject * obj1 = 0 ;
27247 char *kwnames[] = {
27248 (char *) "self",(char *) "interactive", NULL
27249 };
27250
b06b3e70 27251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27253 if (SWIG_arg_fail(1)) SWIG_fail;
27254 {
7449af73 27255 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
27256 if (SWIG_arg_fail(2)) SWIG_fail;
27257 }
d55e5bfc
RD
27258 {
27259 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 27260 result = (bool)(arg1)->Print(arg2);
d55e5bfc
RD
27261
27262 wxPyEndAllowThreads(__tstate);
27263 if (PyErr_Occurred()) SWIG_fail;
27264 }
27265 {
27266 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27267 }
27268 return resultobj;
27269 fail:
27270 return NULL;
27271}
27272
27273
b06b3e70 27274static PyObject *_wrap_PyPrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27275 PyObject *resultobj = NULL;
d55e5bfc
RD
27276 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27277 PyObject * obj0 = 0 ;
27278 char *kwnames[] = {
27279 (char *) "self", NULL
27280 };
27281
b06b3e70 27282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
093d3ff1
RD
27283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27284 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27285 {
27286 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 27287 (arg1)->DetermineScaling();
d55e5bfc
RD
27288
27289 wxPyEndAllowThreads(__tstate);
27290 if (PyErr_Occurred()) SWIG_fail;
27291 }
27292 Py_INCREF(Py_None); resultobj = Py_None;
27293 return resultobj;
27294 fail:
27295 return NULL;
27296}
27297
27298
c32bde28 27299static PyObject * PyPrintPreview_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27300 PyObject *obj;
27301 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27302 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
27303 Py_INCREF(obj);
27304 return Py_BuildValue((char *)"");
27305}
c32bde28 27306static PyObject *_wrap_new_PyPreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27307 PyObject *resultobj = NULL;
d55e5bfc
RD
27308 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
27309 wxFrame *arg2 = (wxFrame *) 0 ;
27310 wxString *arg3 = 0 ;
27311 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27312 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27313 wxSize const &arg5_defvalue = wxDefaultSize ;
27314 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27315 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
27316 wxString const &arg7_defvalue = wxPyFrameNameStr ;
27317 wxString *arg7 = (wxString *) &arg7_defvalue ;
27318 wxPyPreviewFrame *result;
ae8162c8 27319 bool temp3 = false ;
d55e5bfc
RD
27320 wxPoint temp4 ;
27321 wxSize temp5 ;
ae8162c8 27322 bool temp7 = false ;
d55e5bfc
RD
27323 PyObject * obj0 = 0 ;
27324 PyObject * obj1 = 0 ;
27325 PyObject * obj2 = 0 ;
27326 PyObject * obj3 = 0 ;
27327 PyObject * obj4 = 0 ;
27328 PyObject * obj5 = 0 ;
27329 PyObject * obj6 = 0 ;
27330 char *kwnames[] = {
27331 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27332 };
27333
27334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
27335 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27336 if (SWIG_arg_fail(1)) SWIG_fail;
27337 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
27338 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27339 {
27340 arg3 = wxString_in_helper(obj2);
27341 if (arg3 == NULL) SWIG_fail;
ae8162c8 27342 temp3 = true;
d55e5bfc
RD
27343 }
27344 if (obj3) {
27345 {
27346 arg4 = &temp4;
27347 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27348 }
27349 }
27350 if (obj4) {
27351 {
27352 arg5 = &temp5;
27353 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27354 }
27355 }
27356 if (obj5) {
093d3ff1 27357 {
7449af73 27358 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
27359 if (SWIG_arg_fail(6)) SWIG_fail;
27360 }
d55e5bfc
RD
27361 }
27362 if (obj6) {
27363 {
27364 arg7 = wxString_in_helper(obj6);
27365 if (arg7 == NULL) SWIG_fail;
ae8162c8 27366 temp7 = true;
d55e5bfc
RD
27367 }
27368 }
27369 {
0439c23b 27370 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
27371 PyThreadState* __tstate = wxPyBeginAllowThreads();
27372 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
27373
27374 wxPyEndAllowThreads(__tstate);
110da5b0 27375 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
27376 }
27377 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
27378 {
27379 if (temp3)
27380 delete arg3;
27381 }
27382 {
27383 if (temp7)
27384 delete arg7;
27385 }
27386 return resultobj;
27387 fail:
27388 {
27389 if (temp3)
27390 delete arg3;
27391 }
27392 {
27393 if (temp7)
27394 delete arg7;
27395 }
27396 return NULL;
27397}
27398
27399
c32bde28 27400static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27401 PyObject *resultobj = NULL;
d55e5bfc
RD
27402 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27403 PyObject *arg2 = (PyObject *) 0 ;
27404 PyObject *arg3 = (PyObject *) 0 ;
27405 PyObject * obj0 = 0 ;
27406 PyObject * obj1 = 0 ;
27407 PyObject * obj2 = 0 ;
27408 char *kwnames[] = {
27409 (char *) "self",(char *) "self",(char *) "_class", NULL
27410 };
27411
27412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27413 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27414 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27415 arg2 = obj1;
27416 arg3 = obj2;
27417 {
27418 PyThreadState* __tstate = wxPyBeginAllowThreads();
27419 (arg1)->_setCallbackInfo(arg2,arg3);
27420
27421 wxPyEndAllowThreads(__tstate);
27422 if (PyErr_Occurred()) SWIG_fail;
27423 }
27424 Py_INCREF(Py_None); resultobj = Py_None;
27425 return resultobj;
27426 fail:
27427 return NULL;
27428}
27429
27430
c32bde28 27431static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27432 PyObject *resultobj = NULL;
d55e5bfc
RD
27433 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27434 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
27435 PyObject * obj0 = 0 ;
27436 PyObject * obj1 = 0 ;
27437 char *kwnames[] = {
27438 (char *) "self",(char *) "canvas", NULL
27439 };
27440
27441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27442 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27443 if (SWIG_arg_fail(1)) SWIG_fail;
27444 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
27445 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27446 {
27447 PyThreadState* __tstate = wxPyBeginAllowThreads();
27448 (arg1)->SetPreviewCanvas(arg2);
27449
27450 wxPyEndAllowThreads(__tstate);
27451 if (PyErr_Occurred()) SWIG_fail;
27452 }
27453 Py_INCREF(Py_None); resultobj = Py_None;
27454 return resultobj;
27455 fail:
27456 return NULL;
27457}
27458
27459
c32bde28 27460static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27461 PyObject *resultobj = NULL;
d55e5bfc
RD
27462 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27463 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
27464 PyObject * obj0 = 0 ;
27465 PyObject * obj1 = 0 ;
27466 char *kwnames[] = {
27467 (char *) "self",(char *) "bar", NULL
27468 };
27469
27470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27471 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27472 if (SWIG_arg_fail(1)) SWIG_fail;
27473 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27474 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27475 {
27476 PyThreadState* __tstate = wxPyBeginAllowThreads();
27477 (arg1)->SetControlBar(arg2);
27478
27479 wxPyEndAllowThreads(__tstate);
27480 if (PyErr_Occurred()) SWIG_fail;
27481 }
27482 Py_INCREF(Py_None); resultobj = Py_None;
27483 return resultobj;
27484 fail:
27485 return NULL;
27486}
27487
27488
b06b3e70 27489static PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27490 PyObject *resultobj = NULL;
d55e5bfc
RD
27491 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27492 PyObject * obj0 = 0 ;
27493 char *kwnames[] = {
27494 (char *) "self", NULL
27495 };
27496
b06b3e70 27497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_Initialize",kwnames,&obj0)) goto fail;
093d3ff1
RD
27498 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27499 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27500 {
27501 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 27502 (arg1)->Initialize();
d55e5bfc
RD
27503
27504 wxPyEndAllowThreads(__tstate);
27505 if (PyErr_Occurred()) SWIG_fail;
27506 }
27507 Py_INCREF(Py_None); resultobj = Py_None;
27508 return resultobj;
27509 fail:
27510 return NULL;
27511}
27512
27513
b06b3e70 27514static PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27515 PyObject *resultobj = NULL;
d55e5bfc
RD
27516 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27517 PyObject * obj0 = 0 ;
27518 char *kwnames[] = {
27519 (char *) "self", NULL
27520 };
27521
b06b3e70 27522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
093d3ff1
RD
27523 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27524 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27525 {
27526 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 27527 (arg1)->CreateCanvas();
d55e5bfc
RD
27528
27529 wxPyEndAllowThreads(__tstate);
27530 if (PyErr_Occurred()) SWIG_fail;
27531 }
27532 Py_INCREF(Py_None); resultobj = Py_None;
27533 return resultobj;
27534 fail:
27535 return NULL;
27536}
27537
27538
b06b3e70 27539static PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27540 PyObject *resultobj = NULL;
d55e5bfc
RD
27541 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27542 PyObject * obj0 = 0 ;
27543 char *kwnames[] = {
27544 (char *) "self", NULL
27545 };
27546
b06b3e70 27547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
27548 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27549 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27550 {
27551 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 27552 (arg1)->CreateControlBar();
d55e5bfc
RD
27553
27554 wxPyEndAllowThreads(__tstate);
27555 if (PyErr_Occurred()) SWIG_fail;
27556 }
27557 Py_INCREF(Py_None); resultobj = Py_None;
27558 return resultobj;
27559 fail:
27560 return NULL;
27561}
27562
27563
c32bde28 27564static PyObject * PyPreviewFrame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27565 PyObject *obj;
27566 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27567 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
27568 Py_INCREF(obj);
27569 return Py_BuildValue((char *)"");
27570}
c32bde28 27571static PyObject *_wrap_new_PyPreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27572 PyObject *resultobj = NULL;
d55e5bfc
RD
27573 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
27574 long arg2 ;
27575 wxWindow *arg3 = (wxWindow *) 0 ;
27576 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27577 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27578 wxSize const &arg5_defvalue = wxDefaultSize ;
27579 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27580 long arg6 = (long) 0 ;
27581 wxString const &arg7_defvalue = wxPyPanelNameStr ;
27582 wxString *arg7 = (wxString *) &arg7_defvalue ;
27583 wxPyPreviewControlBar *result;
27584 wxPoint temp4 ;
27585 wxSize temp5 ;
ae8162c8 27586 bool temp7 = false ;
d55e5bfc
RD
27587 PyObject * obj0 = 0 ;
27588 PyObject * obj1 = 0 ;
27589 PyObject * obj2 = 0 ;
27590 PyObject * obj3 = 0 ;
27591 PyObject * obj4 = 0 ;
27592 PyObject * obj5 = 0 ;
27593 PyObject * obj6 = 0 ;
27594 char *kwnames[] = {
27595 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27596 };
27597
27598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
27599 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27600 if (SWIG_arg_fail(1)) SWIG_fail;
27601 {
7449af73 27602 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
27603 if (SWIG_arg_fail(2)) SWIG_fail;
27604 }
27605 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27606 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
27607 if (obj3) {
27608 {
27609 arg4 = &temp4;
27610 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27611 }
27612 }
27613 if (obj4) {
27614 {
27615 arg5 = &temp5;
27616 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27617 }
27618 }
27619 if (obj5) {
093d3ff1 27620 {
7449af73 27621 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
27622 if (SWIG_arg_fail(6)) SWIG_fail;
27623 }
d55e5bfc
RD
27624 }
27625 if (obj6) {
27626 {
27627 arg7 = wxString_in_helper(obj6);
27628 if (arg7 == NULL) SWIG_fail;
ae8162c8 27629 temp7 = true;
d55e5bfc
RD
27630 }
27631 }
27632 {
0439c23b 27633 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
27634 PyThreadState* __tstate = wxPyBeginAllowThreads();
27635 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
27636
27637 wxPyEndAllowThreads(__tstate);
110da5b0 27638 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
27639 }
27640 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
27641 {
27642 if (temp7)
27643 delete arg7;
27644 }
27645 return resultobj;
27646 fail:
27647 {
27648 if (temp7)
27649 delete arg7;
27650 }
27651 return NULL;
27652}
27653
27654
c32bde28 27655static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27656 PyObject *resultobj = NULL;
d55e5bfc
RD
27657 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27658 PyObject *arg2 = (PyObject *) 0 ;
27659 PyObject *arg3 = (PyObject *) 0 ;
27660 PyObject * obj0 = 0 ;
27661 PyObject * obj1 = 0 ;
27662 PyObject * obj2 = 0 ;
27663 char *kwnames[] = {
27664 (char *) "self",(char *) "self",(char *) "_class", NULL
27665 };
27666
27667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27668 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27669 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27670 arg2 = obj1;
27671 arg3 = obj2;
27672 {
27673 PyThreadState* __tstate = wxPyBeginAllowThreads();
27674 (arg1)->_setCallbackInfo(arg2,arg3);
27675
27676 wxPyEndAllowThreads(__tstate);
27677 if (PyErr_Occurred()) SWIG_fail;
27678 }
27679 Py_INCREF(Py_None); resultobj = Py_None;
27680 return resultobj;
27681 fail:
27682 return NULL;
27683}
27684
27685
c32bde28 27686static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27687 PyObject *resultobj = NULL;
d55e5bfc
RD
27688 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27689 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
27690 PyObject * obj0 = 0 ;
27691 PyObject * obj1 = 0 ;
27692 char *kwnames[] = {
27693 (char *) "self",(char *) "preview", NULL
27694 };
27695
27696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27697 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27698 if (SWIG_arg_fail(1)) SWIG_fail;
27699 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27700 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27701 {
27702 PyThreadState* __tstate = wxPyBeginAllowThreads();
27703 (arg1)->SetPrintPreview(arg2);
27704
27705 wxPyEndAllowThreads(__tstate);
27706 if (PyErr_Occurred()) SWIG_fail;
27707 }
27708 Py_INCREF(Py_None); resultobj = Py_None;
27709 return resultobj;
27710 fail:
27711 return NULL;
27712}
27713
27714
b06b3e70 27715static PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27716 PyObject *resultobj = NULL;
d55e5bfc
RD
27717 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27718 PyObject * obj0 = 0 ;
27719 char *kwnames[] = {
27720 (char *) "self", NULL
27721 };
27722
b06b3e70 27723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_CreateButtons",kwnames,&obj0)) goto fail;
093d3ff1
RD
27724 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27725 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27726 {
27727 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 27728 (arg1)->CreateButtons();
d55e5bfc
RD
27729
27730 wxPyEndAllowThreads(__tstate);
27731 if (PyErr_Occurred()) SWIG_fail;
27732 }
27733 Py_INCREF(Py_None); resultobj = Py_None;
27734 return resultobj;
27735 fail:
27736 return NULL;
27737}
27738
27739
b06b3e70 27740static PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27741 PyObject *resultobj = NULL;
d55e5bfc
RD
27742 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27743 int arg2 ;
27744 PyObject * obj0 = 0 ;
27745 PyObject * obj1 = 0 ;
27746 char *kwnames[] = {
27747 (char *) "self",(char *) "zoom", NULL
27748 };
27749
b06b3e70 27750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27751 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27752 if (SWIG_arg_fail(1)) SWIG_fail;
27753 {
7449af73 27754 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
27755 if (SWIG_arg_fail(2)) SWIG_fail;
27756 }
d55e5bfc
RD
27757 {
27758 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 27759 (arg1)->SetZoomControl(arg2);
d55e5bfc
RD
27760
27761 wxPyEndAllowThreads(__tstate);
27762 if (PyErr_Occurred()) SWIG_fail;
27763 }
27764 Py_INCREF(Py_None); resultobj = Py_None;
27765 return resultobj;
27766 fail:
27767 return NULL;
27768}
27769
27770
c32bde28 27771static PyObject * PyPreviewControlBar_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27772 PyObject *obj;
27773 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27774 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
27775 Py_INCREF(obj);
27776 return Py_BuildValue((char *)"");
27777}
27778static PyMethodDef SwigMethods[] = {
093d3ff1
RD
27779 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
27780 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS, NULL},
27781 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27782 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27783 { (char *)"Panel_SetFocus", (PyCFunction) _wrap_Panel_SetFocus, METH_VARARGS | METH_KEYWORDS, NULL},
27784 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction) _wrap_Panel_SetFocusIgnoringChildren, METH_VARARGS | METH_KEYWORDS, NULL},
27785 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27786 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
27787 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27788 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27789 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27790 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
27791 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
27792 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
27793 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
27794 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
27795 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS, NULL},
27796 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
27797 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS, NULL},
27798 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
27799 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS, NULL},
27800 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS, NULL},
27801 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
27802 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
27803 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
27804 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
27805 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27806 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27807 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27808 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27809 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
27810 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27811 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
27812 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
27813 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS, NULL},
27814 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
27815 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS, NULL},
27816 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS, NULL},
27817 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27818 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27819 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
27820 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27821 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27822 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
27823 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
27824 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
27825 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
27826 { (char *)"TopLevelWindow_IsActive", (PyCFunction) _wrap_TopLevelWindow_IsActive, METH_VARARGS | METH_KEYWORDS, NULL},
27827 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
27828 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacGetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
b1fcee84 27829 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
27830 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
27831 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
27832 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27833 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27834 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
27835 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27836 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
27837 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
27838 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
27839 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27840 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27841 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27842 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27843 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
27844 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27845 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27846 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
27847 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
27848 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27849 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27850 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27851 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27852 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
27853 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27854 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
27855 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
27856 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27857 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27858 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
27859 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
b1fcee84
RD
27860 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
27861 { (char *)"Dialog_GetAffirmativeId", (PyCFunction) _wrap_Dialog_GetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
27862 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
27863 { (char *)"Dialog_GetEscapeId", (PyCFunction) _wrap_Dialog_GetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
27864 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
27865 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
62d32a5f 27866 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
27867 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS, NULL},
27868 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
27869 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
27870 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27871 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
27872 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27873 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27874 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27875 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
27876 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27877 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
27878 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
27879 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
27880 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27881 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27882 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27883 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS, NULL},
27884 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
27885 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27886 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27887 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27888 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
27889 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
27890 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27891 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27892 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27893 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27894 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
27895 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
27896 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
27897 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
27898 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS, NULL},
27899 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS, NULL},
27900 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27901 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
27902 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27903 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27904 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27905 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS, NULL},
27906 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS, NULL},
27907 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
27908 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
27909 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
27910 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
27911 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
27912 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
27913 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27914 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS, NULL},
27915 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS, NULL},
27916 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
27917 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27918 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
27919 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27920 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27921 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27922 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
27923 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction) _wrap_SplitterWindow_GetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
27924 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
27925 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
27926 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27927 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL},
27928 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
27929 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
27930 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27931 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
27932 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27933 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27934 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27935 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS, NULL},
27936 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL},
27937 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL},
27938 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
27939 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27940 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27941 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27942 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
27943 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
27944 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
27945 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
27946 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
27947 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27948 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27949 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27950 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27951 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27952 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27953 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27954 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27955 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27956 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27957 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27958 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27959 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27960 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL},
27961 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
27962 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27963 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
27964 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
27965 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
27966 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
27967 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
27968 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
27969 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
27970 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27971 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
27972 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
27973 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27974 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27975 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27976 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27977 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27978 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27979 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27980 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27981 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
27982 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27983 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27984 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27985 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27986 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27987 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
27988 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27989 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27990 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27991 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27992 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27993 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27994 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
27995 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27996 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
27997 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL},
27998 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL},
27999 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28000 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28001 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28002 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
28003 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28004 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28005 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28006 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL},
28007 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
28008 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28009 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28010 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28011 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL},
28012 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS, NULL},
28013 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
28014 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28015 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
28016 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS, NULL},
28017 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
28018 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28019 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28020 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28021 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28022 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
28023 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
28024 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL},
28025 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL},
28026 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
28027 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
28028 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
28029 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
28030 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL},
28031 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
70b7a5fe
RD
28032 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction) _wrap_VScrolledWindow_GetVisibleBegin, METH_VARARGS | METH_KEYWORDS, NULL},
28033 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction) _wrap_VScrolledWindow_GetVisibleEnd, METH_VARARGS | METH_KEYWORDS, NULL},
28034 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
28035 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
28036 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
28037 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
28038 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
28039 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS, NULL},
28040 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28041 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28042 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
28043 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28044 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28045 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
28046 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
28047 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS, NULL},
28048 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL},
28049 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
28050 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28051 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
28052 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
28053 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
28054 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28055 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
28056 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
28057 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
28058 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
28059 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
28060 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28061 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
28062 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
28063 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
28064 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
28065 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
28066 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28067 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28068 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL},
28069 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
28070 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS, NULL},
28071 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
28072 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL},
7e08d4ef 28073 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
28074 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28075 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
28076 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
28077 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS, NULL},
28078 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
28079 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS, NULL},
28080 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
28081 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
28082 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
28083 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
28084 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS, NULL},
28085 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS, NULL},
28086 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
28087 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
28088 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
28089 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
28090 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
28091 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
28092 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
28093 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28094 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS, NULL},
28095 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
7449af73 28096 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
28097 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28098 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
28099 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
28100 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
28101 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
28102 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
28103 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
28104 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28105 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
28106 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
28107 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
28108 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
28109 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
28110 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
28111 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
28112 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
28113 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
28114 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
28115 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
28116 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
28117 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
28118 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
28119 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL},
28120 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS, NULL},
28121 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
28122 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28123 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
28124 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
28125 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
28126 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28127 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28128 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28129 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28130 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
28131 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28132 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
28133 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
28134 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
28135 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28136 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
28137 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS, NULL},
28138 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS, NULL},
28139 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
28140 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
28141 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
28142 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
28143 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
28144 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
28145 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28146 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
28147 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
28148 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
28149 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
28150 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
28151 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28152 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
28153 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28154 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS, NULL},
28155 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
7449af73 28156 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
28157 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28158 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
28159 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28160 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
28161 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS, NULL},
28162 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
28163 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
28164 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
28165 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
28166 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
28167 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28168 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
28169 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
28170 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
28171 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
28172 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
28173 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
28174 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
28175 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
28176 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
28177 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
28178 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
28179 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
28180 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
28181 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28182 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28183 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28184 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
28185 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
28186 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
28187 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28188 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28189 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28190 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS, NULL},
28191 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS, NULL},
28192 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS, NULL},
28193 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS, NULL},
28194 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS, NULL},
28195 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28196 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
28197 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_GetWindowMenu, METH_VARARGS | METH_KEYWORDS, NULL},
28198 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS, NULL},
28199 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction) _wrap_MDIParentFrame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
28200 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
28201 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
28202 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28203 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28204 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28205 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS, NULL},
28206 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
28207 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS, NULL},
28208 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
28209 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28210 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28211 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28212 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
28213 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28214 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28215 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28216 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
60d5fcc1 28217 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
b06b3e70
RD
28218 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28219 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28220 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28221 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28222 { (char *)"PyWindow_DoGetSize", (PyCFunction) _wrap_PyWindow_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28223 { (char *)"PyWindow_DoGetClientSize", (PyCFunction) _wrap_PyWindow_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28224 { (char *)"PyWindow_DoGetPosition", (PyCFunction) _wrap_PyWindow_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
28225 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28226 { (char *)"PyWindow_DoGetBestSize", (PyCFunction) _wrap_PyWindow_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28227 { (char *)"PyWindow_InitDialog", (PyCFunction) _wrap_PyWindow_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28228 { (char *)"PyWindow_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28229 { (char *)"PyWindow_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28230 { (char *)"PyWindow_Validate", (PyCFunction) _wrap_PyWindow_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
28231 { (char *)"PyWindow_AcceptsFocus", (PyCFunction) _wrap_PyWindow_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
28232 { (char *)"PyWindow_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
28233 { (char *)"PyWindow_GetMaxSize", (PyCFunction) _wrap_PyWindow_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
28234 { (char *)"PyWindow_AddChild", (PyCFunction) _wrap_PyWindow_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
28235 { (char *)"PyWindow_RemoveChild", (PyCFunction) _wrap_PyWindow_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
28236 { (char *)"PyWindow_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
28237 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
28238 { (char *)"PyWindow_OnInternalIdle", (PyCFunction) _wrap_PyWindow_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
28239 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
28240 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
28241 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
28242 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28243 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
60d5fcc1 28244 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
b06b3e70
RD
28245 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28246 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28247 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28248 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28249 { (char *)"PyPanel_DoGetSize", (PyCFunction) _wrap_PyPanel_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28250 { (char *)"PyPanel_DoGetClientSize", (PyCFunction) _wrap_PyPanel_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28251 { (char *)"PyPanel_DoGetPosition", (PyCFunction) _wrap_PyPanel_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
28252 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28253 { (char *)"PyPanel_DoGetBestSize", (PyCFunction) _wrap_PyPanel_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28254 { (char *)"PyPanel_InitDialog", (PyCFunction) _wrap_PyPanel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28255 { (char *)"PyPanel_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28256 { (char *)"PyPanel_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28257 { (char *)"PyPanel_Validate", (PyCFunction) _wrap_PyPanel_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
28258 { (char *)"PyPanel_AcceptsFocus", (PyCFunction) _wrap_PyPanel_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
28259 { (char *)"PyPanel_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
28260 { (char *)"PyPanel_GetMaxSize", (PyCFunction) _wrap_PyPanel_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
28261 { (char *)"PyPanel_AddChild", (PyCFunction) _wrap_PyPanel_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
28262 { (char *)"PyPanel_RemoveChild", (PyCFunction) _wrap_PyPanel_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
28263 { (char *)"PyPanel_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
28264 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
28265 { (char *)"PyPanel_OnInternalIdle", (PyCFunction) _wrap_PyPanel_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
28266 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
28267 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28268 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28269 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28270 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
60d5fcc1 28271 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
b06b3e70
RD
28272 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28273 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28274 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28275 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28276 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28277 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28278 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
28279 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28280 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28281 { (char *)"PyScrolledWindow_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28282 { (char *)"PyScrolledWindow_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28283 { (char *)"PyScrolledWindow_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28284 { (char *)"PyScrolledWindow_Validate", (PyCFunction) _wrap_PyScrolledWindow_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
28285 { (char *)"PyScrolledWindow_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
28286 { (char *)"PyScrolledWindow_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
28287 { (char *)"PyScrolledWindow_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
28288 { (char *)"PyScrolledWindow_AddChild", (PyCFunction) _wrap_PyScrolledWindow_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
28289 { (char *)"PyScrolledWindow_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
28290 { (char *)"PyScrolledWindow_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
28291 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
28292 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction) _wrap_PyScrolledWindow_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
28293 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
28294 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
28295 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28296 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28297 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28298 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28299 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28300 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
28301 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
28302 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
28303 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28304 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28305 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
28306 { (char *)"PrintData_GetBin", (PyCFunction) _wrap_PrintData_GetBin, METH_VARARGS | METH_KEYWORDS, NULL},
28307 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
28308 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28309 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28310 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28311 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
28312 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
28313 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
28314 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28315 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28316 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
28317 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
28318 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
28319 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
28320 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
b9d6a5f3
RD
28321 { (char *)"PrintData_GetPrivData", (PyCFunction) _wrap_PrintData_GetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
28322 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
28323 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
28324 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
28325 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28326 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28327 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28328 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28329 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
28330 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28331 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28332 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28333 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28334 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
28335 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28336 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28337 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28338 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28339 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28340 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28341 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28342 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28343 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28344 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28345 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28346 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28347 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28348 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28349 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28350 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28351 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28352 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28353 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28354 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
fef4c27a
RD
28355 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction) _wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28356 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction) _wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
28357 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
28358 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28359 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL},
28360 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28361 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
28362 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
28363 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
28364 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28365 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
28366 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
28367 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28368 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28369 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28370 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
28371 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28372 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28373 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
28374 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
28375 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
28376 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28377 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28378 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28379 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
28380 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28381 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28382 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28383 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28384 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28385 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
28386 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28387 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28388 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28389 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
28390 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28391 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28392 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28393 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28394 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
28395 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28396 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
28397 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28398 { (char *)"PrintDialog_GetPrintData", (PyCFunction) _wrap_PrintDialog_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28399 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS, NULL},
28400 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
28401 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
28402 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
28403 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28404 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
28405 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
28406 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28407 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28408 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28409 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS, NULL},
28410 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS, NULL},
28411 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
28412 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
28413 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28414 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
28415 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS, NULL},
28416 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
28417 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
28418 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
28419 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
28420 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
28421 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
28422 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
28423 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28424 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28425 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28426 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
b06b3e70
RD
28427 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
28428 { (char *)"Printout_OnEndDocument", (PyCFunction) _wrap_Printout_OnEndDocument, METH_VARARGS | METH_KEYWORDS, NULL},
28429 { (char *)"Printout_OnBeginPrinting", (PyCFunction) _wrap_Printout_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28430 { (char *)"Printout_OnEndPrinting", (PyCFunction) _wrap_Printout_OnEndPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28431 { (char *)"Printout_OnPreparePrinting", (PyCFunction) _wrap_Printout_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28432 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
28433 { (char *)"Printout_GetPageInfo", (PyCFunction) _wrap_Printout_GetPageInfo, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
28434 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
28435 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28436 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
28437 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28438 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
28439 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28440 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28441 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28442 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
28443 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28444 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28445 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28446 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28447 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS, NULL},
28448 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS, NULL},
28449 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS, NULL},
28450 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS, NULL},
28451 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS, NULL},
28452 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
28453 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
28454 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28455 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28456 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
28457 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
28458 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28459 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28460 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28461 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28462 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28463 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
28464 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
28465 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
28466 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
28467 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28468 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28469 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28470 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28471 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28472 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28473 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
28474 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28475 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL},
28476 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
28477 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
28478 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
b06b3e70
RD
28479 { (char *)"PyPrintPreview_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28480 { (char *)"PyPrintPreview_PaintPage", (PyCFunction) _wrap_PyPrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
28481 { (char *)"PyPrintPreview_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
28482 { (char *)"PyPrintPreview_RenderPage", (PyCFunction) _wrap_PyPrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
28483 { (char *)"PyPrintPreview_SetZoom", (PyCFunction) _wrap_PyPrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28484 { (char *)"PyPrintPreview_Print", (PyCFunction) _wrap_PyPrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28485 { (char *)"PyPrintPreview_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
28486 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
28487 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28488 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28489 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28490 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
b06b3e70
RD
28491 { (char *)"PyPreviewFrame_Initialize", (PyCFunction) _wrap_PyPreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
28492 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28493 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
28494 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
28495 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28496 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28497 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
b06b3e70
RD
28498 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_CreateButtons, METH_VARARGS | METH_KEYWORDS, NULL},
28499 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 28500 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
c32bde28 28501 { NULL, NULL, 0, NULL }
d55e5bfc
RD
28502};
28503
28504
28505/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28506
28507static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
28508 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28509}
28510static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
28511 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
28512}
28513static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
28514 return (void *)((wxEvent *) ((wxMenuEvent *) x));
28515}
28516static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
28517 return (void *)((wxEvent *) ((wxCloseEvent *) x));
28518}
28519static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
28520 return (void *)((wxEvent *) ((wxMouseEvent *) x));
28521}
28522static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
28523 return (void *)((wxEvent *) ((wxEraseEvent *) x));
28524}
28525static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
28526 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
28527}
28528static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
28529 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
28530}
28531static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
28532 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
28533}
28534static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
28535 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
28536}
28537static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
28538 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
28539}
28540static void *_p_wxPyEventTo_p_wxEvent(void *x) {
28541 return (void *)((wxEvent *) ((wxPyEvent *) x));
28542}
28543static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
28544 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
28545}
28546static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
28547 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
28548}
28549static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
28550 return (void *)((wxEvent *) ((wxIdleEvent *) x));
28551}
28552static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
28553 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
28554}
28555static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
28556 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
28557}
28558static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
28559 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
28560}
28561static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
28562 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
28563}
28564static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
28565 return (void *)((wxEvent *) ((wxActivateEvent *) x));
28566}
28567static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
28568 return (void *)((wxEvent *) ((wxSizeEvent *) x));
28569}
28570static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
28571 return (void *)((wxEvent *) ((wxMoveEvent *) x));
28572}
53aa7709
RD
28573static void *_p_wxDateEventTo_p_wxEvent(void *x) {
28574 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
28575}
d55e5bfc
RD
28576static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
28577 return (void *)((wxEvent *) ((wxPaintEvent *) x));
28578}
28579static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
28580 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
28581}
28582static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
28583 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
28584}
28585static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
28586 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
28587}
28588static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
28589 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
28590}
28591static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
28592 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
28593}
28594static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
28595 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
28596}
28597static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
28598 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
28599}
28600static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
28601 return (void *)((wxEvent *) ((wxFocusEvent *) x));
28602}
28603static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
28604 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
28605}
28606static void *_p_wxSashEventTo_p_wxEvent(void *x) {
28607 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
28608}
28609static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
28610 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
28611}
28612static void *_p_wxShowEventTo_p_wxEvent(void *x) {
28613 return (void *)((wxEvent *) ((wxShowEvent *) x));
28614}
28615static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
28616 return (void *)((wxEvent *) ((wxCommandEvent *) x));
28617}
28618static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
28619 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
28620}
28621static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
28622 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28623}
28624static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
28625 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
28626}
28627static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
28628 return (void *)((wxEvent *) ((wxKeyEvent *) x));
28629}
28630static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
28631 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
28632}
28633static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
28634 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
28635}
28636static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
28637 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
28638}
c1cb24a4
RD
28639static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
28640 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28641}
d55e5bfc
RD
28642static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
28643 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
28644}
28645static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
28646 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
28647}
28648static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
28649 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
28650}
28651static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
28652 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
28653}
28654static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
28655 return (void *)((wxEvtHandler *) ((wxValidator *) x));
28656}
28657static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
28658 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
28659}
28660static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
28661 return (void *)((wxEvtHandler *) ((wxMenu *) x));
28662}
c1cb24a4
RD
28663static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
28664 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28665}
d55e5bfc
RD
28666static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
28667 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
28668}
28669static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
28670 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
28671}
28672static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
28673 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
28674}
28675static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
28676 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
28677}
28678static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
28679 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
28680}
28681static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
28682 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
28683}
28684static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
28685 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
28686}
28687static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
28688 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
28689}
28690static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
28691 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
28692}
28693static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
28694 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
28695}
28696static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
28697 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
28698}
28699static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
28700 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28701}
28702static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
28703 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
28704}
28705static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
28706 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
28707}
28708static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
28709 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
28710}
28711static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
28712 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
28713}
28714static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
28715 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
28716}
28717static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
28718 return (void *)((wxEvtHandler *) ((wxWindow *) x));
28719}
28720static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
28721 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
28722}
28723static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
28724 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
28725}
28726static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
28727 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
28728}
28729static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
28730 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
28731}
28732static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
28733 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
28734}
28735static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
28736 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
28737}
28738static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
28739 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28740}
28741static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
28742 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
28743}
28744static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
28745 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
28746}
28747static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
28748 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
28749}
28750static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
28751 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
28752}
28753static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
28754 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
28755}
28756static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
28757 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
28758}
28759static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
28760 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28761}
28762static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
28763 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
28764}
28765static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
28766 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
28767}
5e483524
RD
28768static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
28769 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d55e5bfc
RD
28770}
28771static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
28772 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
28773}
d55e5bfc
RD
28774static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
28775 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
28776}
28777static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
28778 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
28779}
28780static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
28781 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
28782}
c1cb24a4
RD
28783static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
28784 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
28785}
d55e5bfc
RD
28786static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
28787 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
28788}
28789static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
28790 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
28791}
28792static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
28793 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
28794}
28795static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
28796 return (void *)((wxFrame *) ((wxProgressDialog *) x));
28797}
28798static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
28799 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
28800}
28801static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
28802 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28803}
28804static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
28805 return (void *)((wxFrame *) ((wxMiniFrame *) x));
28806}
28807static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
28808 return (void *)((wxFrame *) ((wxSplashScreen *) x));
28809}
28810static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
28811 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
28812}
28813static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
28814 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
28815}
28816static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
28817 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
28818}
28819static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
28820 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
28821}
28822static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
28823 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28824}
28825static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
28826 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
28827}
28828static void *_p_wxSizerItemTo_p_wxObject(void *x) {
28829 return (void *)((wxObject *) ((wxSizerItem *) x));
28830}
28831static void *_p_wxScrollEventTo_p_wxObject(void *x) {
28832 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
28833}
28834static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
28835 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
28836}
28837static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
28838 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
28839}
28840static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
28841 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
28842}
28843static void *_p_wxSizerTo_p_wxObject(void *x) {
28844 return (void *)((wxObject *) ((wxSizer *) x));
28845}
28846static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
28847 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
28848}
28849static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
28850 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
28851}
28852static void *_p_wxPyPanelTo_p_wxObject(void *x) {
28853 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
28854}
28855static void *_p_wxEventTo_p_wxObject(void *x) {
28856 return (void *)((wxObject *) ((wxEvent *) x));
28857}
28858static void *_p_wxFontDataTo_p_wxObject(void *x) {
28859 return (void *)((wxObject *) ((wxFontData *) x));
28860}
28861static void *_p_wxPrintDataTo_p_wxObject(void *x) {
28862 return (void *)((wxObject *) ((wxPrintData *) x));
28863}
28864static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
28865 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
28866}
28867static void *_p_wxGridSizerTo_p_wxObject(void *x) {
28868 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
28869}
28870static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
28871 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
28872}
28873static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
28874 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
28875}
5e483524
RD
28876static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
28877 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d55e5bfc
RD
28878}
28879static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
28880 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
28881}
28882static void *_p_wxPaintEventTo_p_wxObject(void *x) {
28883 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
28884}
28885static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
28886 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
28887}
28888static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
28889 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
28890}
28891static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
28892 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
28893}
28894static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
28895 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
28896}
28897static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
28898 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
28899}
28900static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
28901 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
28902}
28903static void *_p_wxControlTo_p_wxObject(void *x) {
28904 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
28905}
28906static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
28907 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
28908}
28909static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
28910 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
28911}
28912static void *_p_wxFSFileTo_p_wxObject(void *x) {
28913 return (void *)((wxObject *) ((wxFSFile *) x));
28914}
28915static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
28916 return (void *)((wxObject *) ((wxFindReplaceData *) x));
28917}
28918static void *_p_wxPySizerTo_p_wxObject(void *x) {
28919 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
28920}
28921static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
28922 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
28923}
28924static void *_p_wxColourDataTo_p_wxObject(void *x) {
28925 return (void *)((wxObject *) ((wxColourData *) x));
28926}
28927static void *_p_wxPyEventTo_p_wxObject(void *x) {
28928 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
28929}
28930static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
28931 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
28932}
28933static void *_p_wxPyWindowTo_p_wxObject(void *x) {
28934 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
28935}
28936static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
28937 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
28938}
28939static void *_p_wxFileDialogTo_p_wxObject(void *x) {
28940 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
28941}
28942static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
28943 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
28944}
28945static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
28946 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
28947}
28948static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
28949 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
28950}
c1cb24a4
RD
28951static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
28952 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28953}
d55e5bfc
RD
28954static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
28955 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
28956}
28957static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
28958 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
28959}
28960static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
28961 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
28962}
28963static void *_p_wxShowEventTo_p_wxObject(void *x) {
28964 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
28965}
28966static void *_p_wxPrinterTo_p_wxObject(void *x) {
28967 return (void *)((wxObject *) ((wxPrinter *) x));
28968}
28969static void *_p_wxMenuItemTo_p_wxObject(void *x) {
28970 return (void *)((wxObject *) ((wxMenuItem *) x));
28971}
53aa7709
RD
28972static void *_p_wxDateEventTo_p_wxObject(void *x) {
28973 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
28974}
d55e5bfc
RD
28975static void *_p_wxIdleEventTo_p_wxObject(void *x) {
28976 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
28977}
28978static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
28979 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
28980}
28981static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
28982 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
28983}
28984static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
28985 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
28986}
28987static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
28988 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
28989}
28990static void *_p_wxSizeEventTo_p_wxObject(void *x) {
28991 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
28992}
28993static void *_p_wxMoveEventTo_p_wxObject(void *x) {
28994 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
28995}
28996static void *_p_wxActivateEventTo_p_wxObject(void *x) {
28997 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
28998}
d55e5bfc
RD
28999static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
29000 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
29001}
29002static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
29003 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
29004}
29005static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
29006 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
29007}
29008static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
29009 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
29010}
29011static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
29012 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
29013}
29014static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
29015 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
29016}
29017static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
29018 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
29019}
29020static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
29021 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
29022}
29023static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
29024 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
29025}
9d7dfdff
RD
29026static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
29027 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
29028}
d55e5bfc
RD
29029static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
29030 return (void *)((wxObject *) ((wxImageHandler *) x));
29031}
9d7dfdff
RD
29032static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
29033 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
29034}
d55e5bfc
RD
29035static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
29036 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
29037}
29038static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
29039 return (void *)((wxObject *) ((wxEvtHandler *) x));
29040}
29041static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
29042 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
29043}
29044static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
29045 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29046}
29047static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
29048 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
29049}
62d32a5f
RD
29050static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
29051 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
29052}
d55e5bfc
RD
29053static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
29054 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
29055}
29056static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
29057 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
29058}
29059static void *_p_wxImageTo_p_wxObject(void *x) {
29060 return (void *)((wxObject *) ((wxImage *) x));
29061}
29062static void *_p_wxFrameTo_p_wxObject(void *x) {
29063 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
29064}
29065static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
29066 return (void *)((wxObject *) ((wxPyPrintout *) x));
29067}
29068static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
29069 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
29070}
29071static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
29072 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
29073}
29074static void *_p_wxStatusBarTo_p_wxObject(void *x) {
29075 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
29076}
29077static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
29078 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
29079}
29080static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
29081 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
29082}
29083static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
29084 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
29085}
29086static void *_p_wxKeyEventTo_p_wxObject(void *x) {
29087 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
29088}
29089static void *_p_wxWindowTo_p_wxObject(void *x) {
29090 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
29091}
29092static void *_p_wxMenuTo_p_wxObject(void *x) {
29093 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
29094}
29095static void *_p_wxMenuBarTo_p_wxObject(void *x) {
29096 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
29097}
29098static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
29099 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
29100}
29101static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
29102 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
29103}
29104static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
29105 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
29106}
29107static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
29108 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
29109}
29110static void *_p_wxSashWindowTo_p_wxObject(void *x) {
29111 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
29112}
29113static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
29114 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
29115}
29116static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
29117 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
29118}
29119static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
29120 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
29121}
29122static void *_p_wxTipWindowTo_p_wxObject(void *x) {
29123 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
29124}
29125static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
29126 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
29127}
29128static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
29129 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
29130}
29131static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
29132 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29133}
29134static void *_p_wxSashEventTo_p_wxObject(void *x) {
29135 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
29136}
29137static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
29138 return (void *)((wxObject *) ((wxPrintPreview *) x));
29139}
29140static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
29141 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
29142}
29143static void *_p_wxPanelTo_p_wxObject(void *x) {
29144 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
29145}
29146static void *_p_wxDialogTo_p_wxObject(void *x) {
29147 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
29148}
29149static void *_p_wxColourDialogTo_p_wxObject(void *x) {
29150 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
29151}
29152static void *_p_wxDirDialogTo_p_wxObject(void *x) {
29153 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
29154}
29155static void *_p_wxFontDialogTo_p_wxObject(void *x) {
29156 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
29157}
29158static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
8ac8dba0 29159 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
d55e5bfc
RD
29160}
29161static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
c1cb24a4 29162 return (void *)((wxObject *) ((wxPrintDialog *) x));
d55e5bfc
RD
29163}
29164static void *_p_wxFileSystemTo_p_wxObject(void *x) {
29165 return (void *)((wxObject *) ((wxFileSystem *) x));
29166}
29167static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
29168 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
29169}
29170static void *_p_wxMenuEventTo_p_wxObject(void *x) {
29171 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
29172}
29173static void *_p_wxPyAppTo_p_wxObject(void *x) {
29174 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
29175}
29176static void *_p_wxCloseEventTo_p_wxObject(void *x) {
29177 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
29178}
29179static void *_p_wxMouseEventTo_p_wxObject(void *x) {
29180 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
29181}
29182static void *_p_wxEraseEventTo_p_wxObject(void *x) {
29183 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
29184}
29185static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
29186 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
29187}
29188static void *_p_wxCommandEventTo_p_wxObject(void *x) {
29189 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
29190}
29191static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
29192 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
29193}
29194static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
29195 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29196}
29197static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
29198 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
29199}
29200static void *_p_wxFocusEventTo_p_wxObject(void *x) {
29201 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
29202}
29203static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
29204 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
29205}
29206static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
29207 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
29208}
29209static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
29210 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
29211}
29212static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
29213 return (void *)((wxObject *) ((wxPrintDialogData *) x));
29214}
29215static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
29216 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
29217}
29218static void *_p_wxValidatorTo_p_wxObject(void *x) {
29219 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
29220}
29221static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
29222 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29223}
29224static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
29225 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
29226}
29227static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
29228 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
29229}
29230static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
29231 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
29232}
29233static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
29234 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
29235}
29236static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
29237 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
29238}
29239static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
29240 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
29241}
29242static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
29243 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
29244}
29245static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
29246 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
29247}
29248static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
29249 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
29250}
29251static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
29252 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
29253}
29254static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
29255 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
29256}
d55e5bfc
RD
29257static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
29258 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
29259}
29260static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
29261 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
29262}
29263static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
29264 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
29265}
d55e5bfc
RD
29266static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
29267 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
29268}
29269static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
29270 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
29271}
c1cb24a4
RD
29272static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
29273 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
29274}
d55e5bfc
RD
29275static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
29276 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
29277}
29278static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
29279 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
29280}
29281static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
29282 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
29283}
29284static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
29285 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
29286}
c1cb24a4
RD
29287static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
29288 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
29289}
d55e5bfc
RD
29290static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
29291 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
29292}
29293static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
29294 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
29295}
29296static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
29297 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
29298}
29299static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
29300 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
29301}
29302static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
29303 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
29304}
29305static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
29306 return (void *)((wxWindow *) ((wxMenuBar *) x));
29307}
29308static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
29309 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
29310}
29311static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
29312 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
29313}
29314static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
29315 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
29316}
c1cb24a4
RD
29317static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
29318 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
29319}
d55e5bfc
RD
29320static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
29321 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
29322}
29323static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
29324 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
29325}
29326static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
29327 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
29328}
29329static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
29330 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
29331}
29332static void *_p_wxPanelTo_p_wxWindow(void *x) {
29333 return (void *)((wxWindow *) ((wxPanel *) x));
29334}
29335static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
29336 return (void *)((wxWindow *) ((wxStatusBar *) x));
29337}
d55e5bfc
RD
29338static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
29339 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
29340}
29341static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
29342 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
29343}
29344static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
29345 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
29346}
29347static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
29348 return (void *)((wxWindow *) ((wxPopupWindow *) x));
29349}
29350static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
29351 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
29352}
29353static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
29354 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
29355}
29356static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
29357 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
29358}
29359static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
29360 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
29361}
29362static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
29363 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
29364}
29365static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
29366 return (void *)((wxWindow *) ((wxSashWindow *) x));
29367}
c1cb24a4
RD
29368static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
29369 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
29370}
d55e5bfc
RD
29371static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
29372 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29373}
29374static void *_p_wxControlTo_p_wxWindow(void *x) {
29375 return (void *)((wxWindow *) ((wxControl *) x));
29376}
29377static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
29378 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
29379}
29380static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
29381 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
29382}
29383static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
29384 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
29385}
29386static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
29387 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
29388}
29389static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
29390 return (void *)((wxWindow *) ((wxPyWindow *) x));
29391}
29392static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
29393 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
29394}
29395static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
29396 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
29397}
29398static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
29399 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29400}
29401static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
29402 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
29403}
29404static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
29405 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29406}
29407static void *_p_wxFrameTo_p_wxWindow(void *x) {
29408 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
29409}
29410static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
29411 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
29412}
29413static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
29414 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
29415}
29416static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
29417 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
29418}
29419static void *_p_wxDialogTo_p_wxWindow(void *x) {
29420 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
29421}
d55e5bfc
RD
29422static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
29423 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
29424}
29425static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
29426 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29427}
29428static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
29429 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
29430}
29431static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
29432 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
29433}
29434static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
29435 return (void *)((wxDialog *) ((wxColourDialog *) x));
29436}
29437static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
29438 return (void *)((wxDialog *) ((wxDirDialog *) x));
29439}
29440static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
29441 return (void *)((wxDialog *) ((wxFontDialog *) x));
29442}
d55e5bfc
RD
29443static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
29444 return (void *)((wxDialog *) ((wxFileDialog *) x));
29445}
29446static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
29447 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
29448}
29449static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
29450 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
29451}
29452static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
29453 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
29454}
c1cb24a4
RD
29455static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
29456 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
29457}
d55e5bfc
RD
29458static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
29459 return (void *)((wxDialog *) ((wxMessageDialog *) x));
29460}
29461static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
29462 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
29463}
29464static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
29465 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
29466}
29467static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
29468 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
29469}
29470static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
29471 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29472}
29473static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
29474 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29475}
29476static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
29477 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
29478}
29479static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
29480 return (void *)((wxPanel *) ((wxPyPanel *) x));
29481}
29482static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
29483 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
29484}
29485static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
29486 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
29487}
29488static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
29489 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29490}
29491static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
29492 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
29493}
29494static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
29495 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
29496}
29497static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
29498 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
29499}
53aa7709
RD
29500static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
29501 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
29502}
d55e5bfc
RD
29503static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
29504 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
29505}
29506static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
29507 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
29508}
29509static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
29510 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
29511}
29512static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
29513 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
29514}
29515static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
29516 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
29517}
29518static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
29519 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
29520}
29521static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
29522 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
29523}
29524static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
29525 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
29526}
29527static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
29528 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29529}
7449af73
RD
29530static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, 0};
29531static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
29532static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, 0};
29533static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
29534static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
29535static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0};
29536static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, 0};
29537static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
29538static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, 0};
29539static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0};
29540static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, 0};
29541static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, 0};
29542static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0};
29543static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0};
29544static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0};
29545static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
29546static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0};
29547static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
29548static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
29549static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0};
29550static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0};
29551static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, 0};
29552static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, 0};
29553static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, 0};
29554static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
29555static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, 0};
29556static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0};
29557static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0};
29558static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0};
29559static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0};
29560static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0};
29561static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0};
29562static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0};
29563static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0};
29564static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
29565static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0};
29566static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0};
29567static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0};
29568static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0};
29569static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0};
29570static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0};
29571static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0};
29572static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
29573static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
29574static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
29575static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
29576static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0};
29577static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0};
29578static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0};
29579static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
29580static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0};
29581static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
29582static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0};
29583static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0};
29584static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0};
29585static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0};
29586static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0};
29587static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, 0};
29588static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, 0};
29589static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, 0};
29590static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, 0};
29591static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, 0};
29592static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, 0};
29593static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, 0};
29594static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, 0};
29595static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, 0};
29596static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, 0};
29597static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, 0};
29598static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, 0};
29599static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, 0};
29600static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, 0};
29601static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, 0};
29602static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, 0};
29603static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, 0};
29604static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, 0};
29605static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, 0};
29606static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, 0};
29607static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, 0};
29608static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, 0};
29609static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0};
29610static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0};
29611static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0};
29612static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
29613static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
29614static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0};
29615static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0};
29616static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0};
29617static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0};
29618static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0};
29619static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0};
29620static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0};
29621static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0};
29622static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0};
29623static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0};
29624static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0};
29625static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0};
29626static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0};
29627static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0};
29628static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0};
29629static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0};
29630static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0};
29631static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0};
29632static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0};
29633static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0};
29634static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0};
29635static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0};
29636static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0};
29637static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, 0};
29638static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, 0};
29639static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, 0};
29640static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
29641static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, 0};
29642static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, 0};
29643static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, 0};
29644static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, 0};
29645static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, 0};
29646static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, 0};
29647static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, 0};
29648static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, 0};
29649static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, 0};
29650static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, 0};
29651static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, 0};
29652static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, 0};
29653static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, 0};
29654static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, 0};
29655static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, 0};
29656static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, 0};
29657static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, 0};
29658static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, 0};
29659static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, 0};
29660static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, 0};
29661static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, 0};
29662static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, 0};
29663static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, 0};
29664static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, 0};
29665static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, 0};
29666static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, 0};
29667static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, 0};
29668static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, 0};
29669static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, 0};
29670static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, 0};
29671static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, 0};
29672static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, 0};
29673static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, 0};
29674static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, 0};
29675static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, 0};
29676static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, 0};
29677static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, 0};
29678static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, 0};
29679static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, 0};
29680static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, 0};
29681static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, 0};
29682static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, 0};
29683static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, 0};
29684static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, 0};
29685static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, 0};
29686static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, 0};
29687static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, 0};
29688static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, 0};
29689static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, 0};
29690static swig_type_info _swigt__ptrdiff_t = {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
29691static swig_type_info _swigt__std__ptrdiff_t = {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
29692static swig_type_info _swigt__unsigned_int = {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
29693
29694static swig_type_info *swig_type_initial[] = {
29695 &_swigt__p_char,
29696 &_swigt__p_form_ops_t,
29697 &_swigt__p_int,
29698 &_swigt__p_unsigned_char,
29699 &_swigt__p_unsigned_int,
29700 &_swigt__p_unsigned_long,
29701 &_swigt__p_wxANIHandler,
29702 &_swigt__p_wxAcceleratorTable,
29703 &_swigt__p_wxActivateEvent,
29704 &_swigt__p_wxArrayInt,
29705 &_swigt__p_wxBMPHandler,
29706 &_swigt__p_wxBitmap,
29707 &_swigt__p_wxBoxSizer,
29708 &_swigt__p_wxCURHandler,
29709 &_swigt__p_wxCalculateLayoutEvent,
29710 &_swigt__p_wxChildFocusEvent,
29711 &_swigt__p_wxCloseEvent,
29712 &_swigt__p_wxColour,
29713 &_swigt__p_wxColourData,
29714 &_swigt__p_wxColourDialog,
29715 &_swigt__p_wxCommandEvent,
29716 &_swigt__p_wxContextMenuEvent,
29717 &_swigt__p_wxControl,
29718 &_swigt__p_wxControlWithItems,
29719 &_swigt__p_wxDC,
29720 &_swigt__p_wxDateEvent,
29721 &_swigt__p_wxDialog,
29722 &_swigt__p_wxDirDialog,
29723 &_swigt__p_wxDisplayChangedEvent,
29724 &_swigt__p_wxDropFilesEvent,
29725 &_swigt__p_wxDuplexMode,
29726 &_swigt__p_wxEraseEvent,
29727 &_swigt__p_wxEvent,
29728 &_swigt__p_wxEvtHandler,
29729 &_swigt__p_wxFSFile,
29730 &_swigt__p_wxFileDialog,
29731 &_swigt__p_wxFileSystem,
29732 &_swigt__p_wxFindDialogEvent,
29733 &_swigt__p_wxFindReplaceData,
29734 &_swigt__p_wxFindReplaceDialog,
29735 &_swigt__p_wxFlexGridSizer,
29736 &_swigt__p_wxFocusEvent,
29737 &_swigt__p_wxFont,
29738 &_swigt__p_wxFontData,
29739 &_swigt__p_wxFontDialog,
29740 &_swigt__p_wxFrame,
29741 &_swigt__p_wxGBSizerItem,
29742 &_swigt__p_wxGIFHandler,
29743 &_swigt__p_wxGridBagSizer,
29744 &_swigt__p_wxGridSizer,
29745 &_swigt__p_wxICOHandler,
29746 &_swigt__p_wxIcon,
29747 &_swigt__p_wxIconBundle,
29748 &_swigt__p_wxIconizeEvent,
29749 &_swigt__p_wxIdleEvent,
29750 &_swigt__p_wxImage,
29751 &_swigt__p_wxImageHandler,
29752 &_swigt__p_wxIndividualLayoutConstraint,
29753 &_swigt__p_wxInitDialogEvent,
29754 &_swigt__p_wxJPEGHandler,
29755 &_swigt__p_wxKeyEvent,
29756 &_swigt__p_wxLayoutAlgorithm,
29757 &_swigt__p_wxLayoutConstraints,
29758 &_swigt__p_wxMDIChildFrame,
29759 &_swigt__p_wxMDIClientWindow,
29760 &_swigt__p_wxMDIParentFrame,
29761 &_swigt__p_wxMaximizeEvent,
29762 &_swigt__p_wxMenu,
29763 &_swigt__p_wxMenuBar,
29764 &_swigt__p_wxMenuEvent,
29765 &_swigt__p_wxMenuItem,
29766 &_swigt__p_wxMessageDialog,
29767 &_swigt__p_wxMiniFrame,
29768 &_swigt__p_wxMouseCaptureChangedEvent,
29769 &_swigt__p_wxMouseEvent,
29770 &_swigt__p_wxMoveEvent,
29771 &_swigt__p_wxMultiChoiceDialog,
29772 &_swigt__p_wxNavigationKeyEvent,
29773 &_swigt__p_wxNcPaintEvent,
29774 &_swigt__p_wxNotifyEvent,
29775 &_swigt__p_wxObject,
29776 &_swigt__p_wxPCXHandler,
29777 &_swigt__p_wxPNGHandler,
29778 &_swigt__p_wxPNMHandler,
29779 &_swigt__p_wxPageSetupDialog,
29780 &_swigt__p_wxPageSetupDialogData,
29781 &_swigt__p_wxPaintEvent,
29782 &_swigt__p_wxPaletteChangedEvent,
29783 &_swigt__p_wxPanel,
29784 &_swigt__p_wxPaperSize,
29785 &_swigt__p_wxPasswordEntryDialog,
29786 &_swigt__p_wxPoint,
29787 &_swigt__p_wxPopupWindow,
29788 &_swigt__p_wxPreviewCanvas,
29789 &_swigt__p_wxPreviewControlBar,
29790 &_swigt__p_wxPreviewFrame,
29791 &_swigt__p_wxPrintData,
29792 &_swigt__p_wxPrintDialog,
29793 &_swigt__p_wxPrintDialogData,
29794 &_swigt__p_wxPrintPreview,
29795 &_swigt__p_wxPrinter,
29796 &_swigt__p_wxProgressDialog,
29797 &_swigt__p_wxPyApp,
29798 &_swigt__p_wxPyCommandEvent,
29799 &_swigt__p_wxPyEvent,
29800 &_swigt__p_wxPyHtmlListBox,
29801 &_swigt__p_wxPyImageHandler,
29802 &_swigt__p_wxPyPanel,
29803 &_swigt__p_wxPyPopupTransientWindow,
29804 &_swigt__p_wxPyPreviewControlBar,
29805 &_swigt__p_wxPyPreviewFrame,
29806 &_swigt__p_wxPyPrintPreview,
29807 &_swigt__p_wxPyPrintout,
29808 &_swigt__p_wxPyScrolledWindow,
29809 &_swigt__p_wxPySizer,
29810 &_swigt__p_wxPyTaskBarIcon,
29811 &_swigt__p_wxPyVListBox,
29812 &_swigt__p_wxPyVScrolledWindow,
29813 &_swigt__p_wxPyValidator,
29814 &_swigt__p_wxPyWindow,
29815 &_swigt__p_wxQueryLayoutInfoEvent,
29816 &_swigt__p_wxQueryNewPaletteEvent,
29817 &_swigt__p_wxRect,
29818 &_swigt__p_wxRegion,
29819 &_swigt__p_wxSashEvent,
29820 &_swigt__p_wxSashLayoutWindow,
29821 &_swigt__p_wxSashWindow,
29822 &_swigt__p_wxScrollEvent,
29823 &_swigt__p_wxScrollWinEvent,
29824 &_swigt__p_wxScrolledWindow,
29825 &_swigt__p_wxSetCursorEvent,
29826 &_swigt__p_wxShowEvent,
29827 &_swigt__p_wxSingleChoiceDialog,
29828 &_swigt__p_wxSize,
29829 &_swigt__p_wxSizeEvent,
29830 &_swigt__p_wxSizer,
29831 &_swigt__p_wxSizerItem,
29832 &_swigt__p_wxSplashScreen,
29833 &_swigt__p_wxSplashScreenWindow,
29834 &_swigt__p_wxSplitterEvent,
29835 &_swigt__p_wxSplitterWindow,
29836 &_swigt__p_wxStaticBoxSizer,
29837 &_swigt__p_wxStatusBar,
29838 &_swigt__p_wxStdDialogButtonSizer,
29839 &_swigt__p_wxString,
29840 &_swigt__p_wxSysColourChangedEvent,
29841 &_swigt__p_wxTIFFHandler,
29842 &_swigt__p_wxTaskBarIcon,
29843 &_swigt__p_wxTaskBarIconEvent,
29844 &_swigt__p_wxTextEntryDialog,
29845 &_swigt__p_wxTipWindow,
29846 &_swigt__p_wxToolBar,
29847 &_swigt__p_wxTopLevelWindow,
29848 &_swigt__p_wxUpdateUIEvent,
29849 &_swigt__p_wxValidator,
29850 &_swigt__p_wxVisualAttributes,
29851 &_swigt__p_wxWindow,
29852 &_swigt__p_wxWindowCreateEvent,
29853 &_swigt__p_wxWindowDestroyEvent,
29854 &_swigt__p_wxXPMHandler,
29855 &_swigt__ptrdiff_t,
29856 &_swigt__std__ptrdiff_t,
29857 &_swigt__unsigned_int,
29858};
29859
29860static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
29861static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
29862static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
29863static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
29864static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
29865static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
29866static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
29867static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
29868static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
29869static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
29870static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
29871static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
29872static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
29873static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
29874static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
29875static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
29876static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
29877static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
29878static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
29879static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
29880static 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}};
29881static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
29882static 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}};
29883static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
29884static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
29885static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
29886static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
29887static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
29888static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
29889static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
29890static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
29891static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
29892static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
29893static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
29894static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
29895static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
29896static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
29897static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
29898static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
29899static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
29900static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
29901static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
29902static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
29903static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
29904static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
29905static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
29906static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
29907static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
29908static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
29909static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
29910static 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}};
29911static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
29912static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
29913static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
29914static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
29915static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
29916static 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}};
29917static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
29918static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
29919static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
29920static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
29921static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
29922static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
29923static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
29924static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
29925static 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}};
29926static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
29927static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
29928static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
29929static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
29930static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
29931static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
29932static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
29933static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
29934static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
29935static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
29936static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
29937static 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}};
29938static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
29939static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
29940static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
29941static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
29942static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
29943static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
29944static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
29945static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
29946static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
29947static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
29948static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
29949static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
29950static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
29951static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
29952static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
29953static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
29954static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
29955static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
29956static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
29957static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
29958static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
29959static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
29960static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
29961static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
29962static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
29963static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
29964static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
29965static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
29966static 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}};
29967static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
29968static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
29969static 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}};
29970static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
29971static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
29972static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
29973static 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}};
29974static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
29975static 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}};
29976static 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}};
29977static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
29978static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
29979static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
29980static 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}};
29981static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
29982static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
29983static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
29984static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
29985static 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}};
29986static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
29987static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
29988static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
29989static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
29990static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
29991static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
29992static 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}};
29993static 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}};
29994static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
29995static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
29996static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
29997static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
29998static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
29999static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
30000static 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}};
30001static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
30002static 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}};
30003static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
30004static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
30005static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
30006static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
30007static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
30008static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
30009static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
30010static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
30011static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
30012static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
30013static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
30014static 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}};
30015static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
30016static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
30017static 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}};
30018static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
30019static 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}};
30020static swig_cast_info _swigc__ptrdiff_t[] = { {&_swigt__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
30021static swig_cast_info _swigc__std__ptrdiff_t[] = { {&_swigt__std__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
30022static swig_cast_info _swigc__unsigned_int[] = { {&_swigt__unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
30023
30024static swig_cast_info *swig_cast_initial[] = {
30025 _swigc__p_char,
30026 _swigc__p_form_ops_t,
30027 _swigc__p_int,
30028 _swigc__p_unsigned_char,
30029 _swigc__p_unsigned_int,
30030 _swigc__p_unsigned_long,
30031 _swigc__p_wxANIHandler,
30032 _swigc__p_wxAcceleratorTable,
30033 _swigc__p_wxActivateEvent,
30034 _swigc__p_wxArrayInt,
30035 _swigc__p_wxBMPHandler,
30036 _swigc__p_wxBitmap,
30037 _swigc__p_wxBoxSizer,
30038 _swigc__p_wxCURHandler,
30039 _swigc__p_wxCalculateLayoutEvent,
30040 _swigc__p_wxChildFocusEvent,
30041 _swigc__p_wxCloseEvent,
30042 _swigc__p_wxColour,
30043 _swigc__p_wxColourData,
30044 _swigc__p_wxColourDialog,
30045 _swigc__p_wxCommandEvent,
30046 _swigc__p_wxContextMenuEvent,
30047 _swigc__p_wxControl,
30048 _swigc__p_wxControlWithItems,
30049 _swigc__p_wxDC,
30050 _swigc__p_wxDateEvent,
30051 _swigc__p_wxDialog,
30052 _swigc__p_wxDirDialog,
30053 _swigc__p_wxDisplayChangedEvent,
30054 _swigc__p_wxDropFilesEvent,
30055 _swigc__p_wxDuplexMode,
30056 _swigc__p_wxEraseEvent,
30057 _swigc__p_wxEvent,
30058 _swigc__p_wxEvtHandler,
30059 _swigc__p_wxFSFile,
30060 _swigc__p_wxFileDialog,
30061 _swigc__p_wxFileSystem,
30062 _swigc__p_wxFindDialogEvent,
30063 _swigc__p_wxFindReplaceData,
30064 _swigc__p_wxFindReplaceDialog,
30065 _swigc__p_wxFlexGridSizer,
30066 _swigc__p_wxFocusEvent,
30067 _swigc__p_wxFont,
30068 _swigc__p_wxFontData,
30069 _swigc__p_wxFontDialog,
30070 _swigc__p_wxFrame,
30071 _swigc__p_wxGBSizerItem,
30072 _swigc__p_wxGIFHandler,
30073 _swigc__p_wxGridBagSizer,
30074 _swigc__p_wxGridSizer,
30075 _swigc__p_wxICOHandler,
30076 _swigc__p_wxIcon,
30077 _swigc__p_wxIconBundle,
30078 _swigc__p_wxIconizeEvent,
30079 _swigc__p_wxIdleEvent,
30080 _swigc__p_wxImage,
30081 _swigc__p_wxImageHandler,
30082 _swigc__p_wxIndividualLayoutConstraint,
30083 _swigc__p_wxInitDialogEvent,
30084 _swigc__p_wxJPEGHandler,
30085 _swigc__p_wxKeyEvent,
30086 _swigc__p_wxLayoutAlgorithm,
30087 _swigc__p_wxLayoutConstraints,
30088 _swigc__p_wxMDIChildFrame,
30089 _swigc__p_wxMDIClientWindow,
30090 _swigc__p_wxMDIParentFrame,
30091 _swigc__p_wxMaximizeEvent,
30092 _swigc__p_wxMenu,
30093 _swigc__p_wxMenuBar,
30094 _swigc__p_wxMenuEvent,
30095 _swigc__p_wxMenuItem,
30096 _swigc__p_wxMessageDialog,
30097 _swigc__p_wxMiniFrame,
30098 _swigc__p_wxMouseCaptureChangedEvent,
30099 _swigc__p_wxMouseEvent,
30100 _swigc__p_wxMoveEvent,
30101 _swigc__p_wxMultiChoiceDialog,
30102 _swigc__p_wxNavigationKeyEvent,
30103 _swigc__p_wxNcPaintEvent,
30104 _swigc__p_wxNotifyEvent,
30105 _swigc__p_wxObject,
30106 _swigc__p_wxPCXHandler,
30107 _swigc__p_wxPNGHandler,
30108 _swigc__p_wxPNMHandler,
30109 _swigc__p_wxPageSetupDialog,
30110 _swigc__p_wxPageSetupDialogData,
30111 _swigc__p_wxPaintEvent,
30112 _swigc__p_wxPaletteChangedEvent,
30113 _swigc__p_wxPanel,
30114 _swigc__p_wxPaperSize,
30115 _swigc__p_wxPasswordEntryDialog,
30116 _swigc__p_wxPoint,
30117 _swigc__p_wxPopupWindow,
30118 _swigc__p_wxPreviewCanvas,
30119 _swigc__p_wxPreviewControlBar,
30120 _swigc__p_wxPreviewFrame,
30121 _swigc__p_wxPrintData,
30122 _swigc__p_wxPrintDialog,
30123 _swigc__p_wxPrintDialogData,
30124 _swigc__p_wxPrintPreview,
30125 _swigc__p_wxPrinter,
30126 _swigc__p_wxProgressDialog,
30127 _swigc__p_wxPyApp,
30128 _swigc__p_wxPyCommandEvent,
30129 _swigc__p_wxPyEvent,
30130 _swigc__p_wxPyHtmlListBox,
30131 _swigc__p_wxPyImageHandler,
30132 _swigc__p_wxPyPanel,
30133 _swigc__p_wxPyPopupTransientWindow,
30134 _swigc__p_wxPyPreviewControlBar,
30135 _swigc__p_wxPyPreviewFrame,
30136 _swigc__p_wxPyPrintPreview,
30137 _swigc__p_wxPyPrintout,
30138 _swigc__p_wxPyScrolledWindow,
30139 _swigc__p_wxPySizer,
30140 _swigc__p_wxPyTaskBarIcon,
30141 _swigc__p_wxPyVListBox,
30142 _swigc__p_wxPyVScrolledWindow,
30143 _swigc__p_wxPyValidator,
30144 _swigc__p_wxPyWindow,
30145 _swigc__p_wxQueryLayoutInfoEvent,
30146 _swigc__p_wxQueryNewPaletteEvent,
30147 _swigc__p_wxRect,
30148 _swigc__p_wxRegion,
30149 _swigc__p_wxSashEvent,
30150 _swigc__p_wxSashLayoutWindow,
30151 _swigc__p_wxSashWindow,
30152 _swigc__p_wxScrollEvent,
30153 _swigc__p_wxScrollWinEvent,
30154 _swigc__p_wxScrolledWindow,
30155 _swigc__p_wxSetCursorEvent,
30156 _swigc__p_wxShowEvent,
30157 _swigc__p_wxSingleChoiceDialog,
30158 _swigc__p_wxSize,
30159 _swigc__p_wxSizeEvent,
30160 _swigc__p_wxSizer,
30161 _swigc__p_wxSizerItem,
30162 _swigc__p_wxSplashScreen,
30163 _swigc__p_wxSplashScreenWindow,
30164 _swigc__p_wxSplitterEvent,
30165 _swigc__p_wxSplitterWindow,
30166 _swigc__p_wxStaticBoxSizer,
30167 _swigc__p_wxStatusBar,
30168 _swigc__p_wxStdDialogButtonSizer,
30169 _swigc__p_wxString,
30170 _swigc__p_wxSysColourChangedEvent,
30171 _swigc__p_wxTIFFHandler,
30172 _swigc__p_wxTaskBarIcon,
30173 _swigc__p_wxTaskBarIconEvent,
30174 _swigc__p_wxTextEntryDialog,
30175 _swigc__p_wxTipWindow,
30176 _swigc__p_wxToolBar,
30177 _swigc__p_wxTopLevelWindow,
30178 _swigc__p_wxUpdateUIEvent,
30179 _swigc__p_wxValidator,
30180 _swigc__p_wxVisualAttributes,
30181 _swigc__p_wxWindow,
30182 _swigc__p_wxWindowCreateEvent,
30183 _swigc__p_wxWindowDestroyEvent,
30184 _swigc__p_wxXPMHandler,
30185 _swigc__ptrdiff_t,
30186 _swigc__std__ptrdiff_t,
30187 _swigc__unsigned_int,
d55e5bfc
RD
30188};
30189
30190
30191/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
30192
30193static swig_const_info swig_const_table[] = {
c32bde28 30194{0, 0, 0, 0.0, 0, 0}};
d55e5bfc
RD
30195
30196#ifdef __cplusplus
30197}
30198#endif
7449af73
RD
30199/*************************************************************************
30200 * Type initialization:
30201 * This problem is tough by the requirement that no dynamic
30202 * memory is used. Also, since swig_type_info structures store pointers to
30203 * swig_cast_info structures and swig_cast_info structures store pointers back
30204 * to swig_type_info structures, we need some lookup code at initialization.
30205 * The idea is that swig generates all the structures that are needed.
30206 * The runtime then collects these partially filled structures.
30207 * The SWIG_InitializeModule function takes these initial arrays out of
30208 * swig_module, and does all the lookup, filling in the swig_module.types
30209 * array with the correct data and linking the correct swig_cast_info
30210 * structures together.
30211
30212 * The generated swig_type_info structures are assigned staticly to an initial
30213 * array. We just loop though that array, and handle each type individually.
30214 * First we lookup if this type has been already loaded, and if so, use the
30215 * loaded structure instead of the generated one. Then we have to fill in the
30216 * cast linked list. The cast data is initially stored in something like a
30217 * two-dimensional array. Each row corresponds to a type (there are the same
30218 * number of rows as there are in the swig_type_initial array). Each entry in
30219 * a column is one of the swig_cast_info structures for that type.
30220 * The cast_initial array is actually an array of arrays, because each row has
30221 * a variable number of columns. So to actually build the cast linked list,
30222 * we find the array of casts associated with the type, and loop through it
30223 * adding the casts to the list. The one last trick we need to do is making
30224 * sure the type pointer in the swig_cast_info struct is correct.
30225
30226 * First off, we lookup the cast->type name to see if it is already loaded.
30227 * There are three cases to handle:
30228 * 1) If the cast->type has already been loaded AND the type we are adding
30229 * casting info to has not been loaded (it is in this module), THEN we
30230 * replace the cast->type pointer with the type pointer that has already
30231 * been loaded.
30232 * 2) If BOTH types (the one we are adding casting info to, and the
30233 * cast->type) are loaded, THEN the cast info has already been loaded by
30234 * the previous module so we just ignore it.
30235 * 3) Finally, if cast->type has not already been loaded, then we add that
30236 * swig_cast_info to the linked list (because the cast->type) pointer will
30237 * be correct.
30238**/
30239
30240#ifdef __cplusplus
30241extern "C" {
30242#if 0
30243} /* c-mode */
30244#endif
30245#endif
30246
30247#if 0
30248#define SWIGRUNTIME_DEBUG
30249#endif
30250
30251SWIGRUNTIME void
30252SWIG_InitializeModule(void *clientdata) {
30253 size_t i;
30254 swig_module_info *module_head;
30255 static int init_run = 0;
30256
30257 clientdata = clientdata;
30258
30259 if (init_run) return;
30260 init_run = 1;
30261
30262 /* Initialize the swig_module */
30263 swig_module.type_initial = swig_type_initial;
30264 swig_module.cast_initial = swig_cast_initial;
30265
30266 /* Try and load any already created modules */
30267 module_head = SWIG_GetModule(clientdata);
30268 if (module_head) {
30269 swig_module.next = module_head->next;
30270 module_head->next = &swig_module;
30271 } else {
30272 /* This is the first module loaded */
30273 swig_module.next = &swig_module;
30274 SWIG_SetModule(clientdata, &swig_module);
30275 }
30276
30277 /* Now work on filling in swig_module.types */
30278#ifdef SWIGRUNTIME_DEBUG
30279 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
30280#endif
30281 for (i = 0; i < swig_module.size; ++i) {
30282 swig_type_info *type = 0;
30283 swig_type_info *ret;
30284 swig_cast_info *cast;
30285
30286#ifdef SWIGRUNTIME_DEBUG
30287 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
30288#endif
30289
30290 /* if there is another module already loaded */
30291 if (swig_module.next != &swig_module) {
30292 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
30293 }
30294 if (type) {
30295 /* Overwrite clientdata field */
30296#ifdef SWIGRUNTIME_DEBUG
30297 printf("SWIG_InitializeModule: found type %s\n", type->name);
30298#endif
30299 if (swig_module.type_initial[i]->clientdata) {
30300 type->clientdata = swig_module.type_initial[i]->clientdata;
30301#ifdef SWIGRUNTIME_DEBUG
30302 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
30303#endif
30304 }
30305 } else {
30306 type = swig_module.type_initial[i];
30307 }
30308
30309 /* Insert casting types */
30310 cast = swig_module.cast_initial[i];
30311 while (cast->type) {
30312 /* Don't need to add information already in the list */
30313 ret = 0;
30314#ifdef SWIGRUNTIME_DEBUG
30315 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
30316#endif
30317 if (swig_module.next != &swig_module) {
30318 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
30319#ifdef SWIGRUNTIME_DEBUG
30320 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
30321#endif
30322 }
30323 if (ret) {
30324 if (type == swig_module.type_initial[i]) {
30325#ifdef SWIGRUNTIME_DEBUG
30326 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
30327#endif
30328 cast->type = ret;
30329 ret = 0;
30330 } else {
30331 /* Check for casting already in the list */
30332 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
30333#ifdef SWIGRUNTIME_DEBUG
30334 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
30335#endif
30336 if (!ocast) ret = 0;
30337 }
30338 }
30339
30340 if (!ret) {
30341#ifdef SWIGRUNTIME_DEBUG
30342 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
30343#endif
30344 if (type->cast) {
30345 type->cast->prev = cast;
30346 cast->next = type->cast;
30347 }
30348 type->cast = cast;
30349 }
30350 cast++;
30351 }
30352 /* Set entry in modules->types array equal to the type */
30353 swig_module.types[i] = type;
30354 }
30355 swig_module.types[i] = 0;
30356
30357#ifdef SWIGRUNTIME_DEBUG
30358 printf("**** SWIG_InitializeModule: Cast List ******\n");
30359 for (i = 0; i < swig_module.size; ++i) {
30360 int j = 0;
30361 swig_cast_info *cast = swig_module.cast_initial[i];
30362 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
30363 while (cast->type) {
30364 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
30365 cast++;
30366 ++j;
30367 }
30368 printf("---- Total casts: %d\n",j);
30369 }
30370 printf("**** SWIG_InitializeModule: Cast List ******\n");
30371#endif
30372}
30373
30374/* This function will propagate the clientdata field of type to
30375* any new swig_type_info structures that have been added into the list
30376* of equivalent types. It is like calling
30377* SWIG_TypeClientData(type, clientdata) a second time.
30378*/
30379SWIGRUNTIME void
30380SWIG_PropagateClientData(void) {
30381 size_t i;
30382 swig_cast_info *equiv;
30383 static int init_run = 0;
30384
30385 if (init_run) return;
30386 init_run = 1;
30387
30388 for (i = 0; i < swig_module.size; i++) {
30389 if (swig_module.types[i]->clientdata) {
30390 equiv = swig_module.types[i]->cast;
30391 while (equiv) {
30392 if (!equiv->converter) {
30393 if (equiv->type && !equiv->type->clientdata)
30394 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
30395 }
30396 equiv = equiv->next;
30397 }
30398 }
30399 }
30400}
30401
30402#ifdef __cplusplus
30403#if 0
30404{
30405 /* c-mode */
30406#endif
30407}
30408#endif
30409
d55e5bfc 30410
093d3ff1
RD
30411
30412#ifdef __cplusplus
30413extern "C" {
30414#endif
30415
30416 /* Python-specific SWIG API */
30417#define SWIG_newvarlink() SWIG_Python_newvarlink()
30418#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
30419#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
30420
30421 /* -----------------------------------------------------------------------------
30422 * global variable support code.
30423 * ----------------------------------------------------------------------------- */
30424
30425 typedef struct swig_globalvar {
30426 char *name; /* Name of global variable */
7449af73 30427 PyObject *(*get_attr)(void); /* Return the current value */
093d3ff1
RD
30428 int (*set_attr)(PyObject *); /* Set the value */
30429 struct swig_globalvar *next;
30430 } swig_globalvar;
30431
30432 typedef struct swig_varlinkobject {
30433 PyObject_HEAD
30434 swig_globalvar *vars;
30435 } swig_varlinkobject;
30436
7449af73 30437 SWIGINTERN PyObject *
093d3ff1
RD
30438 swig_varlink_repr(swig_varlinkobject *v) {
30439 v = v;
30440 return PyString_FromString("<Swig global variables>");
30441 }
30442
7449af73 30443 SWIGINTERN int
093d3ff1
RD
30444 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
30445 swig_globalvar *var;
30446 flags = flags;
30447 fprintf(fp,"Swig global variables { ");
30448 for (var = v->vars; var; var=var->next) {
30449 fprintf(fp,"%s", var->name);
30450 if (var->next) fprintf(fp,", ");
30451 }
30452 fprintf(fp," }\n");
30453 return 0;
30454 }
30455
7449af73 30456 SWIGINTERN PyObject *
093d3ff1
RD
30457 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
30458 swig_globalvar *var = v->vars;
30459 while (var) {
30460 if (strcmp(var->name,n) == 0) {
30461 return (*var->get_attr)();
30462 }
30463 var = var->next;
30464 }
30465 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
30466 return NULL;
30467 }
30468
7449af73 30469 SWIGINTERN int
093d3ff1
RD
30470 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
30471 swig_globalvar *var = v->vars;
30472 while (var) {
30473 if (strcmp(var->name,n) == 0) {
30474 return (*var->set_attr)(p);
30475 }
30476 var = var->next;
30477 }
30478 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
30479 return 1;
30480 }
30481
7449af73
RD
30482 SWIGINTERN PyTypeObject*
30483 swig_varlink_type(void) {
30484 static char varlink__doc__[] = "Swig var link object";
30485 static PyTypeObject varlink_type
30486#if !defined(__cplusplus)
30487 ;
30488 static int type_init = 0;
30489 if (!type_init) {
30490 PyTypeObject tmp
30491#endif
30492 = {
30493 PyObject_HEAD_INIT(&PyType_Type)
30494 0, /* Number of items in variable part (ob_size) */
30495 (char *)"swigvarlink", /* Type name (tp_name) */
30496 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
30497 0, /* Itemsize (tp_itemsize) */
30498 0, /* Deallocator (tp_dealloc) */
30499 (printfunc) swig_varlink_print, /* Print (tp_print) */
30500 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
30501 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
30502 0, /* tp_compare */
30503 (reprfunc) swig_varlink_repr, /* tp_repr */
30504 0, /* tp_as_number */
30505 0, /* tp_as_sequence */
30506 0, /* tp_as_mapping */
30507 0, /* tp_hash */
30508 0, /* tp_call */
30509 0, /* tp_str */
30510 0, /* tp_getattro */
30511 0, /* tp_setattro */
30512 0, /* tp_as_buffer */
30513 0, /* tp_flags */
30514 varlink__doc__, /* tp_doc */
093d3ff1 30515#if PY_VERSION_HEX >= 0x02000000
7449af73
RD
30516 0, /* tp_traverse */
30517 0, /* tp_clear */
093d3ff1
RD
30518#endif
30519#if PY_VERSION_HEX >= 0x02010000
7449af73
RD
30520 0, /* tp_richcompare */
30521 0, /* tp_weaklistoffset */
093d3ff1
RD
30522#endif
30523#if PY_VERSION_HEX >= 0x02020000
7449af73 30524 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
30525#endif
30526#if PY_VERSION_HEX >= 0x02030000
7449af73 30527 0, /* tp_del */
093d3ff1
RD
30528#endif
30529#ifdef COUNT_ALLOCS
7449af73 30530 0,0,0,0 /* tp_alloc -> tp_next */
093d3ff1 30531#endif
7449af73
RD
30532 };
30533#if !defined(__cplusplus)
30534 varlink_type = tmp;
30535 type_init = 1;
30536 }
30537#endif
30538 return &varlink_type;
30539 }
093d3ff1
RD
30540
30541 /* Create a variable linking object for use later */
7449af73 30542 SWIGINTERN PyObject *
093d3ff1 30543 SWIG_Python_newvarlink(void) {
7449af73
RD
30544 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
30545 if (result) {
30546 result->vars = 0;
30547 }
093d3ff1
RD
30548 return ((PyObject*) result);
30549 }
30550
7449af73 30551 SWIGINTERN void
093d3ff1 30552 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
7449af73
RD
30553 swig_varlinkobject *v = (swig_varlinkobject *) p;
30554 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
30555 if (gv) {
30556 size_t size = strlen(name)+1;
30557 gv->name = (char *)malloc(size);
30558 if (gv->name) {
30559 strncpy(gv->name,name,size);
30560 gv->get_attr = get_attr;
30561 gv->set_attr = set_attr;
30562 gv->next = v->vars;
30563 }
30564 }
093d3ff1
RD
30565 v->vars = gv;
30566 }
30567
30568 /* -----------------------------------------------------------------------------
30569 * constants/methods manipulation
30570 * ----------------------------------------------------------------------------- */
30571
30572 /* Install Constants */
7449af73 30573 SWIGINTERN void
093d3ff1
RD
30574 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
30575 PyObject *obj = 0;
30576 size_t i;
7449af73 30577 for (i = 0; constants[i].type; ++i) {
093d3ff1
RD
30578 switch(constants[i].type) {
30579 case SWIG_PY_INT:
30580 obj = PyInt_FromLong(constants[i].lvalue);
30581 break;
30582 case SWIG_PY_FLOAT:
30583 obj = PyFloat_FromDouble(constants[i].dvalue);
30584 break;
30585 case SWIG_PY_STRING:
30586 if (constants[i].pvalue) {
30587 obj = PyString_FromString((char *) constants[i].pvalue);
30588 } else {
30589 Py_INCREF(Py_None);
30590 obj = Py_None;
30591 }
30592 break;
30593 case SWIG_PY_POINTER:
30594 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
30595 break;
30596 case SWIG_PY_BINARY:
30597 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
30598 break;
30599 default:
30600 obj = 0;
30601 break;
30602 }
30603 if (obj) {
30604 PyDict_SetItemString(d,constants[i].name,obj);
30605 Py_DECREF(obj);
30606 }
30607 }
30608 }
30609
30610 /* -----------------------------------------------------------------------------*/
30611 /* Fix SwigMethods to carry the callback ptrs when needed */
30612 /* -----------------------------------------------------------------------------*/
30613
7449af73 30614 SWIGINTERN void
093d3ff1
RD
30615 SWIG_Python_FixMethods(PyMethodDef *methods,
30616 swig_const_info *const_table,
30617 swig_type_info **types,
30618 swig_type_info **types_initial) {
30619 size_t i;
30620 for (i = 0; methods[i].ml_name; ++i) {
30621 char *c = methods[i].ml_doc;
30622 if (c && (c = strstr(c, "swig_ptr: "))) {
30623 int j;
30624 swig_const_info *ci = 0;
30625 char *name = c + 10;
7449af73 30626 for (j = 0; const_table[j].type; ++j) {
093d3ff1
RD
30627 if (strncmp(const_table[j].name, name,
30628 strlen(const_table[j].name)) == 0) {
30629 ci = &(const_table[j]);
30630 break;
30631 }
30632 }
30633 if (ci) {
30634 size_t shift = (ci->ptype) - types;
30635 swig_type_info *ty = types_initial[shift];
30636 size_t ldoc = (c - methods[i].ml_doc);
30637 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
30638 char *ndoc = (char*)malloc(ldoc + lptr + 10);
7449af73
RD
30639 if (ndoc) {
30640 char *buff = ndoc;
30641 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
30642 if (ptr) {
30643 strncpy(buff, methods[i].ml_doc, ldoc);
30644 buff += ldoc;
30645 strncpy(buff, "swig_ptr: ", 10);
30646 buff += 10;
30647 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
30648 methods[i].ml_doc = ndoc;
30649 }
30650 }
093d3ff1
RD
30651 }
30652 }
30653 }
30654 }
30655
30656 /* -----------------------------------------------------------------------------*
30657 * Initialize type list
30658 * -----------------------------------------------------------------------------*/
30659
093d3ff1
RD
30660#ifdef __cplusplus
30661}
30662#endif
30663
30664/* -----------------------------------------------------------------------------*
30665 * Partial Init method
30666 * -----------------------------------------------------------------------------*/
30667
093d3ff1
RD
30668#ifdef __cplusplus
30669extern "C"
30670#endif
7449af73 30671SWIGEXPORT void SWIG_init(void) {
d55e5bfc 30672 static PyObject *SWIG_globals = 0;
d55e5bfc 30673 PyObject *m, *d;
d55e5bfc 30674 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
093d3ff1
RD
30675
30676 /* Fix SwigMethods to carry the callback ptrs when needed */
7449af73 30677 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
093d3ff1 30678
d55e5bfc
RD
30679 m = Py_InitModule((char *) SWIG_name, SwigMethods);
30680 d = PyModule_GetDict(m);
30681
7449af73 30682 SWIG_InitializeModule(0);
093d3ff1
RD
30683 SWIG_InstallConstants(d,swig_const_table);
30684
30685 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
30686 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
30687 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
30688 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
30689 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
30690 {
7449af73
RD
30691 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_From_int(static_cast<int >(wxSTAY_ON_TOP)));
30692 }
30693 {
30694 PyDict_SetItemString(d,"ICONIZE", SWIG_From_int(static_cast<int >(wxICONIZE)));
093d3ff1
RD
30695 }
30696 {
7449af73 30697 PyDict_SetItemString(d,"MINIMIZE", SWIG_From_int(static_cast<int >(wxMINIMIZE)));
093d3ff1
RD
30698 }
30699 {
7449af73 30700 PyDict_SetItemString(d,"MAXIMIZE", SWIG_From_int(static_cast<int >(wxMAXIMIZE)));
093d3ff1
RD
30701 }
30702 {
7449af73 30703 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_From_int(static_cast<int >(wxCLOSE_BOX)));
093d3ff1
RD
30704 }
30705 {
7449af73 30706 PyDict_SetItemString(d,"THICK_FRAME", SWIG_From_int(static_cast<int >(wxTHICK_FRAME)));
093d3ff1
RD
30707 }
30708 {
7449af73 30709 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_From_int(static_cast<int >(wxSYSTEM_MENU)));
093d3ff1
RD
30710 }
30711 {
7449af73 30712 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_From_int(static_cast<int >(wxMINIMIZE_BOX)));
093d3ff1
RD
30713 }
30714 {
7449af73 30715 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_From_int(static_cast<int >(wxMAXIMIZE_BOX)));
093d3ff1
RD
30716 }
30717 {
7449af73 30718 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_From_int(static_cast<int >(wxTINY_CAPTION_HORIZ)));
093d3ff1
RD
30719 }
30720 {
7449af73 30721 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_From_int(static_cast<int >(wxTINY_CAPTION_VERT)));
093d3ff1
RD
30722 }
30723 {
7449af73 30724 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_From_int(static_cast<int >(wxRESIZE_BOX)));
093d3ff1
RD
30725 }
30726 {
7449af73 30727 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_From_int(static_cast<int >(wxRESIZE_BORDER)));
093d3ff1
RD
30728 }
30729 {
7449af73 30730 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_From_int(static_cast<int >(wxDIALOG_NO_PARENT)));
093d3ff1
RD
30731 }
30732 {
7449af73 30733 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_From_int(static_cast<int >(wxDEFAULT_FRAME_STYLE)));
093d3ff1
RD
30734 }
30735 {
7449af73 30736 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_From_int(static_cast<int >(wxDEFAULT_DIALOG_STYLE)));
093d3ff1
RD
30737 }
30738 {
7449af73 30739 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_From_int(static_cast<int >(wxFRAME_TOOL_WINDOW)));
093d3ff1
RD
30740 }
30741 {
7449af73 30742 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_From_int(static_cast<int >(wxFRAME_FLOAT_ON_PARENT)));
093d3ff1
RD
30743 }
30744 {
7449af73 30745 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_From_int(static_cast<int >(wxFRAME_NO_WINDOW_MENU)));
093d3ff1
RD
30746 }
30747 {
7449af73 30748 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_From_int(static_cast<int >(wxFRAME_NO_TASKBAR)));
093d3ff1
RD
30749 }
30750 {
7449af73 30751 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_From_int(static_cast<int >(wxFRAME_SHAPED)));
093d3ff1
RD
30752 }
30753 {
7449af73 30754 PyDict_SetItemString(d,"FRAME_DRAWER", SWIG_From_int(static_cast<int >(wxFRAME_DRAWER)));
093d3ff1
RD
30755 }
30756 {
7449af73 30757 PyDict_SetItemString(d,"FRAME_EX_METAL", SWIG_From_int(static_cast<int >(wxFRAME_EX_METAL)));
093d3ff1 30758 }
6932ae68 30759 {
7449af73 30760 PyDict_SetItemString(d,"DIALOG_EX_METAL", SWIG_From_int(static_cast<int >(wxDIALOG_EX_METAL)));
6932ae68
RD
30761 }
30762 {
7449af73 30763 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_From_int(static_cast<int >(wxDIALOG_MODAL)));
6932ae68 30764 }
093d3ff1 30765 {
7449af73 30766 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_From_int(static_cast<int >(wxDIALOG_MODELESS)));
093d3ff1
RD
30767 }
30768 {
7449af73 30769 PyDict_SetItemString(d,"USER_COLOURS", SWIG_From_int(static_cast<int >(wxUSER_COLOURS)));
093d3ff1
RD
30770 }
30771 {
7449af73 30772 PyDict_SetItemString(d,"NO_3D", SWIG_From_int(static_cast<int >(wxNO_3D)));
093d3ff1
RD
30773 }
30774 {
7449af73 30775 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOMENUBAR)));
093d3ff1
RD
30776 }
30777 {
7449af73 30778 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOTOOLBAR)));
093d3ff1
RD
30779 }
30780 {
7449af73 30781 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOSTATUSBAR)));
093d3ff1
RD
30782 }
30783 {
7449af73 30784 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOBORDER)));
093d3ff1
RD
30785 }
30786 {
7449af73 30787 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOCAPTION)));
093d3ff1
RD
30788 }
30789 {
7449af73 30790 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_From_int(static_cast<int >(wxFULLSCREEN_ALL)));
093d3ff1
RD
30791 }
30792 {
7449af73 30793 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_From_int(static_cast<int >(wxTOPLEVEL_EX_DIALOG)));
093d3ff1
RD
30794 }
30795 {
7449af73 30796 PyDict_SetItemString(d,"USER_ATTENTION_INFO", SWIG_From_int(static_cast<int >(wxUSER_ATTENTION_INFO)));
093d3ff1
RD
30797 }
30798 {
7449af73 30799 PyDict_SetItemString(d,"USER_ATTENTION_ERROR", SWIG_From_int(static_cast<int >(wxUSER_ATTENTION_ERROR)));
093d3ff1
RD
30800 }
30801 {
7449af73 30802 PyDict_SetItemString(d,"Dialog_ButtonSizerFlags", SWIG_From_int(static_cast<int >(wxDialog::ButtonSizerFlags)));
093d3ff1
RD
30803 }
30804 {
7449af73 30805 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int(static_cast<int >(wxSPLASH_CENTRE_ON_PARENT)));
093d3ff1
RD
30806 }
30807 {
7449af73 30808 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int(static_cast<int >(wxSPLASH_CENTRE_ON_SCREEN)));
093d3ff1
RD
30809 }
30810 {
7449af73 30811 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_From_int(static_cast<int >(wxSPLASH_NO_CENTRE)));
093d3ff1
RD
30812 }
30813 {
7449af73 30814 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_From_int(static_cast<int >(wxSPLASH_TIMEOUT)));
093d3ff1
RD
30815 }
30816 {
7449af73 30817 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_From_int(static_cast<int >(wxSPLASH_NO_TIMEOUT)));
093d3ff1
RD
30818 }
30819 {
7449af73 30820 PyDict_SetItemString(d,"SB_NORMAL", SWIG_From_int(static_cast<int >(wxSB_NORMAL)));
093d3ff1
RD
30821 }
30822 {
7449af73 30823 PyDict_SetItemString(d,"SB_FLAT", SWIG_From_int(static_cast<int >(wxSB_FLAT)));
093d3ff1
RD
30824 }
30825 {
7449af73 30826 PyDict_SetItemString(d,"SB_RAISED", SWIG_From_int(static_cast<int >(wxSB_RAISED)));
093d3ff1 30827 }
d55e5bfc 30828 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
093d3ff1 30829 {
7449af73 30830 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_From_int(static_cast<int >(wxSP_NOBORDER)));
093d3ff1
RD
30831 }
30832 {
7449af73 30833 PyDict_SetItemString(d,"SP_NOSASH", SWIG_From_int(static_cast<int >(wxSP_NOSASH)));
093d3ff1
RD
30834 }
30835 {
7449af73 30836 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_From_int(static_cast<int >(wxSP_PERMIT_UNSPLIT)));
093d3ff1
RD
30837 }
30838 {
7449af73 30839 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_From_int(static_cast<int >(wxSP_LIVE_UPDATE)));
093d3ff1
RD
30840 }
30841 {
7449af73 30842 PyDict_SetItemString(d,"SP_3DSASH", SWIG_From_int(static_cast<int >(wxSP_3DSASH)));
093d3ff1
RD
30843 }
30844 {
7449af73 30845 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_From_int(static_cast<int >(wxSP_3DBORDER)));
093d3ff1
RD
30846 }
30847 {
7449af73 30848 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_From_int(static_cast<int >(wxSP_NO_XP_THEME)));
093d3ff1
RD
30849 }
30850 {
7449af73 30851 PyDict_SetItemString(d,"SP_BORDER", SWIG_From_int(static_cast<int >(wxSP_BORDER)));
093d3ff1
RD
30852 }
30853 {
7449af73 30854 PyDict_SetItemString(d,"SP_3D", SWIG_From_int(static_cast<int >(wxSP_3D)));
093d3ff1
RD
30855 }
30856 {
7449af73 30857 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_From_int(static_cast<int >(wxSPLIT_HORIZONTAL)));
093d3ff1
RD
30858 }
30859 {
7449af73 30860 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_From_int(static_cast<int >(wxSPLIT_VERTICAL)));
093d3ff1
RD
30861 }
30862 {
7449af73 30863 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_From_int(static_cast<int >(wxSPLIT_DRAG_NONE)));
093d3ff1
RD
30864 }
30865 {
7449af73 30866 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_From_int(static_cast<int >(wxSPLIT_DRAG_DRAGGING)));
093d3ff1
RD
30867 }
30868 {
7449af73 30869 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int(static_cast<int >(wxSPLIT_DRAG_LEFT_DOWN)));
093d3ff1 30870 }
d55e5bfc
RD
30871 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
30872 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
30873 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
30874 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
30875 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
30876 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
093d3ff1 30877 {
7449af73 30878 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_From_int(static_cast<int >(wxSASH_DRAG_NONE)));
093d3ff1
RD
30879 }
30880 {
7449af73 30881 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_From_int(static_cast<int >(wxSASH_DRAG_DRAGGING)));
093d3ff1
RD
30882 }
30883 {
7449af73 30884 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_From_int(static_cast<int >(wxSASH_DRAG_LEFT_DOWN)));
093d3ff1
RD
30885 }
30886 {
7449af73 30887 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_From_int(static_cast<int >(wxSW_NOBORDER)));
093d3ff1
RD
30888 }
30889 {
7449af73 30890 PyDict_SetItemString(d,"SW_BORDER", SWIG_From_int(static_cast<int >(wxSW_BORDER)));
093d3ff1
RD
30891 }
30892 {
7449af73 30893 PyDict_SetItemString(d,"SW_3DSASH", SWIG_From_int(static_cast<int >(wxSW_3DSASH)));
093d3ff1
RD
30894 }
30895 {
7449af73 30896 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_From_int(static_cast<int >(wxSW_3DBORDER)));
093d3ff1
RD
30897 }
30898 {
7449af73 30899 PyDict_SetItemString(d,"SW_3D", SWIG_From_int(static_cast<int >(wxSW_3D)));
093d3ff1
RD
30900 }
30901 {
7449af73 30902 PyDict_SetItemString(d,"SASH_TOP", SWIG_From_int(static_cast<int >(wxSASH_TOP)));
093d3ff1
RD
30903 }
30904 {
7449af73 30905 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_From_int(static_cast<int >(wxSASH_RIGHT)));
093d3ff1
RD
30906 }
30907 {
7449af73 30908 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_From_int(static_cast<int >(wxSASH_BOTTOM)));
093d3ff1
RD
30909 }
30910 {
7449af73 30911 PyDict_SetItemString(d,"SASH_LEFT", SWIG_From_int(static_cast<int >(wxSASH_LEFT)));
093d3ff1
RD
30912 }
30913 {
7449af73 30914 PyDict_SetItemString(d,"SASH_NONE", SWIG_From_int(static_cast<int >(wxSASH_NONE)));
093d3ff1
RD
30915 }
30916 {
7449af73 30917 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_From_int(static_cast<int >(wxSASH_STATUS_OK)));
093d3ff1
RD
30918 }
30919 {
7449af73 30920 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int(static_cast<int >(wxSASH_STATUS_OUT_OF_RANGE)));
093d3ff1 30921 }
d55e5bfc 30922 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
093d3ff1 30923 {
7449af73 30924 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_From_int(static_cast<int >(wxLAYOUT_HORIZONTAL)));
093d3ff1
RD
30925 }
30926 {
7449af73 30927 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_From_int(static_cast<int >(wxLAYOUT_VERTICAL)));
093d3ff1
RD
30928 }
30929 {
7449af73 30930 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_From_int(static_cast<int >(wxLAYOUT_NONE)));
093d3ff1
RD
30931 }
30932 {
7449af73 30933 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_From_int(static_cast<int >(wxLAYOUT_TOP)));
093d3ff1
RD
30934 }
30935 {
7449af73 30936 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_From_int(static_cast<int >(wxLAYOUT_LEFT)));
093d3ff1
RD
30937 }
30938 {
7449af73 30939 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_From_int(static_cast<int >(wxLAYOUT_RIGHT)));
093d3ff1
RD
30940 }
30941 {
7449af73 30942 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_From_int(static_cast<int >(wxLAYOUT_BOTTOM)));
093d3ff1
RD
30943 }
30944 {
7449af73 30945 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_From_int(static_cast<int >(wxLAYOUT_LENGTH_Y)));
093d3ff1
RD
30946 }
30947 {
7449af73 30948 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_From_int(static_cast<int >(wxLAYOUT_LENGTH_X)));
093d3ff1
RD
30949 }
30950 {
7449af73 30951 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_From_int(static_cast<int >(wxLAYOUT_MRU_LENGTH)));
093d3ff1
RD
30952 }
30953 {
7449af73 30954 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_From_int(static_cast<int >(wxLAYOUT_QUERY)));
093d3ff1 30955 }
d55e5bfc
RD
30956 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
30957 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
30958 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
30959
30960 // Map renamed classes back to their common name for OOR
30961 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
30962 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
30963 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
30964
30965 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
30966 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
30967 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
30968 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
30969 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
30970 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
30971 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
30972 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
30973 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
30974 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
30975 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
30976 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
30977 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
093d3ff1 30978 {
7449af73 30979 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_From_int(static_cast<int >(wxCHOICEDLG_STYLE)));
093d3ff1
RD
30980 }
30981 {
7449af73 30982 PyDict_SetItemString(d,"TextEntryDialogStyle", SWIG_From_int(static_cast<int >(wxTextEntryDialogStyle)));
093d3ff1 30983 }
c1cb24a4 30984 SWIG_addvarlink(SWIG_globals,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get, _wrap_GetPasswordFromUserPromptStr_set);
093d3ff1 30985 {
7449af73 30986 PyDict_SetItemString(d,"FR_DOWN", SWIG_From_int(static_cast<int >(wxFR_DOWN)));
093d3ff1
RD
30987 }
30988 {
7449af73 30989 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_From_int(static_cast<int >(wxFR_WHOLEWORD)));
093d3ff1
RD
30990 }
30991 {
7449af73 30992 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_From_int(static_cast<int >(wxFR_MATCHCASE)));
093d3ff1
RD
30993 }
30994 {
7449af73 30995 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_From_int(static_cast<int >(wxFR_REPLACEDIALOG)));
093d3ff1
RD
30996 }
30997 {
7449af73 30998 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_From_int(static_cast<int >(wxFR_NOUPDOWN)));
093d3ff1
RD
30999 }
31000 {
7449af73 31001 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_From_int(static_cast<int >(wxFR_NOMATCHCASE)));
093d3ff1
RD
31002 }
31003 {
7449af73 31004 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_From_int(static_cast<int >(wxFR_NOWHOLEWORD)));
093d3ff1 31005 }
d55e5bfc
RD
31006 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
31007 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
31008 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
31009 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
31010 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
093d3ff1 31011 {
7449af73 31012 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_From_int(static_cast<int >(4001)));
093d3ff1
RD
31013 }
31014 {
7449af73 31015 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_From_int(static_cast<int >(4001)));
093d3ff1
RD
31016 }
31017 {
7449af73 31018 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_From_int(static_cast<int >(4002)));
093d3ff1
RD
31019 }
31020 {
7449af73 31021 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_From_int(static_cast<int >(4003)));
093d3ff1
RD
31022 }
31023 {
7449af73 31024 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_From_int(static_cast<int >(4004)));
093d3ff1
RD
31025 }
31026 {
7449af73 31027 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_From_int(static_cast<int >(4005)));
093d3ff1 31028 }
24d7cbea 31029 {
7449af73 31030 PyDict_SetItemString(d,"IDM_WINDOWPREV", SWIG_From_int(static_cast<int >(4006)));
24d7cbea 31031 }
093d3ff1 31032 {
7449af73 31033 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_From_int(static_cast<int >(4100)));
093d3ff1
RD
31034 }
31035 {
7449af73 31036 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_From_int(static_cast<int >(4600)));
093d3ff1 31037 }
d55e5bfc
RD
31038 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
31039 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
093d3ff1 31040 {
7449af73 31041 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_From_int(static_cast<int >(wxPRINT_MODE_NONE)));
093d3ff1
RD
31042 }
31043 {
7449af73 31044 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_From_int(static_cast<int >(wxPRINT_MODE_PREVIEW)));
093d3ff1
RD
31045 }
31046 {
7449af73 31047 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_From_int(static_cast<int >(wxPRINT_MODE_FILE)));
093d3ff1
RD
31048 }
31049 {
7449af73 31050 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_From_int(static_cast<int >(wxPRINT_MODE_PRINTER)));
093d3ff1
RD
31051 }
31052 {
7449af73 31053 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_From_int(static_cast<int >(wxPRINT_MODE_STREAM)));
093d3ff1
RD
31054 }
31055 {
7449af73 31056 PyDict_SetItemString(d,"PRINTBIN_DEFAULT", SWIG_From_int(static_cast<int >(wxPRINTBIN_DEFAULT)));
093d3ff1
RD
31057 }
31058 {
7449af73 31059 PyDict_SetItemString(d,"PRINTBIN_ONLYONE", SWIG_From_int(static_cast<int >(wxPRINTBIN_ONLYONE)));
093d3ff1
RD
31060 }
31061 {
7449af73 31062 PyDict_SetItemString(d,"PRINTBIN_LOWER", SWIG_From_int(static_cast<int >(wxPRINTBIN_LOWER)));
093d3ff1
RD
31063 }
31064 {
7449af73 31065 PyDict_SetItemString(d,"PRINTBIN_MIDDLE", SWIG_From_int(static_cast<int >(wxPRINTBIN_MIDDLE)));
093d3ff1
RD
31066 }
31067 {
7449af73 31068 PyDict_SetItemString(d,"PRINTBIN_MANUAL", SWIG_From_int(static_cast<int >(wxPRINTBIN_MANUAL)));
093d3ff1
RD
31069 }
31070 {
7449af73 31071 PyDict_SetItemString(d,"PRINTBIN_ENVELOPE", SWIG_From_int(static_cast<int >(wxPRINTBIN_ENVELOPE)));
093d3ff1
RD
31072 }
31073 {
7449af73 31074 PyDict_SetItemString(d,"PRINTBIN_ENVMANUAL", SWIG_From_int(static_cast<int >(wxPRINTBIN_ENVMANUAL)));
093d3ff1
RD
31075 }
31076 {
7449af73 31077 PyDict_SetItemString(d,"PRINTBIN_AUTO", SWIG_From_int(static_cast<int >(wxPRINTBIN_AUTO)));
093d3ff1
RD
31078 }
31079 {
7449af73 31080 PyDict_SetItemString(d,"PRINTBIN_TRACTOR", SWIG_From_int(static_cast<int >(wxPRINTBIN_TRACTOR)));
093d3ff1
RD
31081 }
31082 {
7449af73 31083 PyDict_SetItemString(d,"PRINTBIN_SMALLFMT", SWIG_From_int(static_cast<int >(wxPRINTBIN_SMALLFMT)));
093d3ff1
RD
31084 }
31085 {
7449af73 31086 PyDict_SetItemString(d,"PRINTBIN_LARGEFMT", SWIG_From_int(static_cast<int >(wxPRINTBIN_LARGEFMT)));
093d3ff1
RD
31087 }
31088 {
7449af73 31089 PyDict_SetItemString(d,"PRINTBIN_LARGECAPACITY", SWIG_From_int(static_cast<int >(wxPRINTBIN_LARGECAPACITY)));
093d3ff1
RD
31090 }
31091 {
7449af73 31092 PyDict_SetItemString(d,"PRINTBIN_CASSETTE", SWIG_From_int(static_cast<int >(wxPRINTBIN_CASSETTE)));
093d3ff1
RD
31093 }
31094 {
7449af73 31095 PyDict_SetItemString(d,"PRINTBIN_FORMSOURCE", SWIG_From_int(static_cast<int >(wxPRINTBIN_FORMSOURCE)));
093d3ff1
RD
31096 }
31097 {
7449af73 31098 PyDict_SetItemString(d,"PRINTBIN_USER", SWIG_From_int(static_cast<int >(wxPRINTBIN_USER)));
093d3ff1
RD
31099 }
31100 {
7449af73 31101 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_From_int(static_cast<int >(wxPRINTER_NO_ERROR)));
093d3ff1
RD
31102 }
31103 {
7449af73 31104 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_From_int(static_cast<int >(wxPRINTER_CANCELLED)));
093d3ff1
RD
31105 }
31106 {
7449af73 31107 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_From_int(static_cast<int >(wxPRINTER_ERROR)));
093d3ff1
RD
31108 }
31109 {
7449af73 31110 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_From_int(static_cast<int >(wxPREVIEW_PRINT)));
093d3ff1
RD
31111 }
31112 {
7449af73 31113 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_From_int(static_cast<int >(wxPREVIEW_PREVIOUS)));
093d3ff1
RD
31114 }
31115 {
7449af73 31116 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_From_int(static_cast<int >(wxPREVIEW_NEXT)));
093d3ff1
RD
31117 }
31118 {
7449af73 31119 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_From_int(static_cast<int >(wxPREVIEW_ZOOM)));
093d3ff1
RD
31120 }
31121 {
7449af73 31122 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_From_int(static_cast<int >(wxPREVIEW_FIRST)));
093d3ff1
RD
31123 }
31124 {
7449af73 31125 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_From_int(static_cast<int >(wxPREVIEW_LAST)));
093d3ff1
RD
31126 }
31127 {
7449af73 31128 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_From_int(static_cast<int >(wxPREVIEW_GOTO)));
093d3ff1
RD
31129 }
31130 {
7449af73 31131 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_From_int(static_cast<int >(wxPREVIEW_DEFAULT)));
093d3ff1
RD
31132 }
31133 {
7449af73 31134 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_From_int(static_cast<int >(wxID_PREVIEW_CLOSE)));
093d3ff1
RD
31135 }
31136 {
7449af73 31137 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_From_int(static_cast<int >(wxID_PREVIEW_NEXT)));
093d3ff1
RD
31138 }
31139 {
7449af73 31140 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_From_int(static_cast<int >(wxID_PREVIEW_PREVIOUS)));
093d3ff1
RD
31141 }
31142 {
7449af73 31143 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_From_int(static_cast<int >(wxID_PREVIEW_PRINT)));
093d3ff1
RD
31144 }
31145 {
7449af73 31146 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_From_int(static_cast<int >(wxID_PREVIEW_ZOOM)));
093d3ff1
RD
31147 }
31148 {
7449af73 31149 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_From_int(static_cast<int >(wxID_PREVIEW_FIRST)));
093d3ff1
RD
31150 }
31151 {
7449af73 31152 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_From_int(static_cast<int >(wxID_PREVIEW_LAST)));
093d3ff1
RD
31153 }
31154 {
7449af73 31155 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_From_int(static_cast<int >(wxID_PREVIEW_GOTO)));
093d3ff1 31156 }
d55e5bfc
RD
31157
31158 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
31159
31160}
31161