]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/mac/_windows_wrap.cpp
reSWIGged with new SWIG runtime
[wxWidgets.git] / wxPython / src / mac / _windows_wrap.cpp
CommitLineData
d55e5bfc
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
32fe5131 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);
36ed4f51 26};
d55e5bfc
RD
27#endif
28
32fe5131
RD
29/***********************************************************************
30 *
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 *
34 ************************************************************************/
d55e5bfc 35
32fe5131
RD
36/* template workaround for compilers that cannot correctly implement the C++ standard */
37#ifndef SWIGTEMPLATEDISAMBIGUATOR
38# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
39# define SWIGTEMPLATEDISAMBIGUATOR template
36ed4f51 40# else
32fe5131 41# define SWIGTEMPLATEDISAMBIGUATOR
36ed4f51
RD
42# endif
43#endif
d55e5bfc 44
32fe5131
RD
45/* inline attribute */
46#ifndef SWIGINLINE
47# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
48# define SWIGINLINE inline
49# else
50# define SWIGINLINE
51# endif
52#endif
53
54/* attribute recognised by some compilers to avoid 'unused' warnings */
55#ifndef SWIGUNUSED
56# if defined(__GNUC__) || defined(__ICC)
57# define SWIGUNUSED __attribute__ ((unused))
58# else
59# define SWIGUNUSED
60# endif
61#endif
62
63/* internal SWIG method */
64#ifndef SWIGINTERN
65# define SWIGINTERN static SWIGUNUSED
66#endif
67
68/* internal inline SWIG method */
69#ifndef SWIGINTERNINLINE
70# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
71#endif
72
73/* exporting methods for Windows DLLs */
74#ifndef SWIGEXPORT
75# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
76# if defined(STATIC_LINKED)
77# define SWIGEXPORT
78# else
79# define SWIGEXPORT __declspec(dllexport)
80# endif
81# else
82# define SWIGEXPORT
83# endif
84#endif
85
86/* calling conventions for Windows */
87#ifndef SWIGSTDCALL
88# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
89# define SWIGSTDCALL __stdcall
90# else
91# define SWIGSTDCALL
92# endif
93#endif
94
95
d55e5bfc 96
36ed4f51 97#include <Python.h>
d55e5bfc
RD
98
99/***********************************************************************
36ed4f51 100 * swigrun.swg
d55e5bfc 101 *
36ed4f51
RD
102 * This file contains generic CAPI SWIG runtime support for pointer
103 * type checking.
d55e5bfc
RD
104 *
105 ************************************************************************/
106
36ed4f51
RD
107/* This should only be incremented when either the layout of swig_type_info changes,
108 or for whatever reason, the runtime changes incompatibly */
32fe5131 109#define SWIG_RUNTIME_VERSION "2"
d55e5bfc 110
36ed4f51
RD
111/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
112#ifdef SWIG_TYPE_TABLE
32fe5131
RD
113# define SWIG_QUOTE_STRING(x) #x
114# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
115# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
d55e5bfc 116#else
32fe5131 117# define SWIG_TYPE_TABLE_NAME
36ed4f51
RD
118#endif
119
120/*
121 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
122 creating a static or dynamic library from the swig runtime code.
123 In 99.9% of the cases, swig just needs to declare them as 'static'.
124
125 But only do this if is strictly necessary, ie, if you have problems
126 with your compiler or so.
127*/
32fe5131 128
36ed4f51 129#ifndef SWIGRUNTIME
32fe5131 130# define SWIGRUNTIME SWIGINTERN
36ed4f51 131#endif
32fe5131 132
36ed4f51 133#ifndef SWIGRUNTIMEINLINE
32fe5131 134# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
d55e5bfc
RD
135#endif
136
32fe5131
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
32fe5131 146/* Structure to store inforomation on one type */
d55e5bfc 147typedef struct swig_type_info {
32fe5131
RD
148 const char *name; /* mangled name of this type */
149 const char *str; /* human readable name of this type */
150 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
151 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
152 void *clientdata; /* language specific type data */
d55e5bfc
RD
153} swig_type_info;
154
32fe5131
RD
155/* Structure to store a type and conversion function used for casting */
156typedef struct swig_cast_info {
157 swig_type_info *type; /* pointer to type that is equivalent to this type */
158 swig_converter_func converter; /* function to cast the void pointers */
159 struct swig_cast_info *next; /* pointer to next cast in linked list */
160 struct swig_cast_info *prev; /* pointer to the previous cast */
161} swig_cast_info;
162
163/* Structure used to store module information
164 * Each module generates one structure like this, and the runtime collects
165 * all of these structures and stores them in a circularly linked list.*/
166typedef struct swig_module_info {
167 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
168 size_t size; /* Number of types in this module */
169 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
170 swig_type_info **type_initial; /* Array of initially generated type structures */
171 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
172 void *clientdata; /* Language specific module data */
173} swig_module_info;
174
175
36ed4f51
RD
176/*
177 Compare two type names skipping the space characters, therefore
178 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
179
180 Return 0 when the two name types are equivalent, as in
181 strncmp, but skipping ' '.
182*/
183SWIGRUNTIME int
184SWIG_TypeNameComp(const char *f1, const char *l1,
185 const char *f2, const char *l2) {
186 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
187 while ((*f1 == ' ') && (f1 != l1)) ++f1;
188 while ((*f2 == ' ') && (f2 != l2)) ++f2;
32fe5131 189 if (*f1 != *f2) return (int)(*f1 - *f2);
36ed4f51
RD
190 }
191 return (l1 - f1) - (l2 - f2);
192}
193
194/*
195 Check type equivalence in a name list like <name1>|<name2>|...
32fe5131 196 Return 0 if not equal, 1 if equal
36ed4f51
RD
197*/
198SWIGRUNTIME int
199SWIG_TypeEquiv(const char *nb, const char *tb) {
200 int equiv = 0;
201 const char* te = tb + strlen(tb);
202 const char* ne = nb;
203 while (!equiv && *ne) {
204 for (nb = ne; *ne; ++ne) {
205 if (*ne == '|') break;
206 }
32fe5131 207 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
36ed4f51
RD
208 if (*ne) ++ne;
209 }
210 return equiv;
211}
212
213/*
32fe5131
RD
214 Check type equivalence in a name list like <name1>|<name2>|...
215 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
36ed4f51 216*/
32fe5131
RD
217SWIGRUNTIME int
218SWIG_TypeCompare(const char *nb, const char *tb) {
219 int equiv = 0;
220 const char* te = tb + strlen(tb);
221 const char* ne = nb;
222 while (!equiv && *ne) {
223 for (nb = ne; *ne; ++ne) {
224 if (*ne == '|') break;
36ed4f51 225 }
32fe5131
RD
226 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
227 if (*ne) ++ne;
36ed4f51 228 }
32fe5131 229 return equiv;
36ed4f51
RD
230}
231
32fe5131
RD
232
233/* think of this as a c++ template<> or a scheme macro */
234#define SWIG_TypeCheck_Template(comparison, ty) \
235 if (ty) { \
236 swig_cast_info *iter = ty->cast; \
237 while (iter) { \
238 if (comparison) { \
239 if (iter == ty->cast) return iter; \
240 /* Move iter to the top of the linked list */ \
241 iter->prev->next = iter->next; \
242 if (iter->next) \
243 iter->next->prev = iter->prev; \
244 iter->next = ty->cast; \
245 iter->prev = 0; \
246 if (ty->cast) ty->cast->prev = iter; \
247 ty->cast = iter; \
248 return iter; \
249 } \
250 iter = iter->next; \
251 } \
252 } \
253 return 0
254
36ed4f51
RD
255/*
256 Check the typename
257*/
32fe5131 258SWIGRUNTIME swig_cast_info *
36ed4f51 259SWIG_TypeCheck(const char *c, swig_type_info *ty) {
32fe5131
RD
260 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
261}
262
263/* Same as previous function, except strcmp is replaced with a pointer comparison */
264SWIGRUNTIME swig_cast_info *
265SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
266 SWIG_TypeCheck_Template(iter->type == from, into);
36ed4f51
RD
267}
268
269/*
270 Cast a pointer up an inheritance hierarchy
271*/
272SWIGRUNTIMEINLINE void *
32fe5131 273SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
36ed4f51
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
36ed4f51
RD
320/*
321 Set the clientdata field for a type
322*/
323SWIGRUNTIME void
32fe5131
RD
324SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
325 swig_cast_info *cast = ti->cast;
36ed4f51
RD
326 /* if (ti->clientdata == clientdata) return; */
327 ti->clientdata = clientdata;
32fe5131
RD
328
329 while (cast) {
330 if (!cast->converter) {
331 swig_type_info *tc = cast->type;
332 if (!tc->clientdata) {
333 SWIG_TypeClientData(tc, clientdata);
36ed4f51 334 }
32fe5131
RD
335 }
336 cast = cast->next;
337 }
338}
339
340/*
341 Search for a swig_type_info structure only by mangled name
342 Search is a O(log #types)
343
344 We start searching at module start, and finish searching when start == end.
345 Note: if start == end at the beginning of the function, we go all the way around
346 the circular list.
347*/
348SWIGRUNTIME swig_type_info *
349SWIG_MangledTypeQueryModule(swig_module_info *start,
350 swig_module_info *end,
351 const char *name) {
352 swig_module_info *iter = start;
353 do {
354 if (iter->size) {
355 register size_t l = 0;
356 register size_t r = iter->size - 1;
357 do {
358 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
359 register size_t i = (l + r) >> 1;
360 const char *iname = iter->types[i]->name;
361 if (iname) {
362 register int compare = strcmp(name, iname);
363 if (compare == 0) {
364 return iter->types[i];
365 } else if (compare < 0) {
366 if (i) {
367 r = i - 1;
368 } else {
369 break;
370 }
371 } else if (compare > 0) {
372 l = i + 1;
373 }
374 } else {
375 break; /* should never happen */
376 }
377 } while (l <= r);
36ed4f51 378 }
32fe5131
RD
379 iter = iter->next;
380 } while (iter != end);
381 return 0;
382}
383
384/*
385 Search for a swig_type_info structure for either a mangled name or a human readable name.
386 It first searches the mangled names of the types, which is a O(log #types)
387 If a type is not found it then searches the human readable names, which is O(#types).
388
389 We start searching at module start, and finish searching when start == end.
390 Note: if start == end at the beginning of the function, we go all the way around
391 the circular list.
392*/
393SWIGRUNTIME swig_type_info *
394SWIG_TypeQueryModule(swig_module_info *start,
395 swig_module_info *end,
396 const char *name) {
397 /* STEP 1: Search the name field using binary search */
398 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
399 if (ret) {
400 return ret;
401 } else {
402 /* STEP 2: If the type hasn't been found, do a complete search
403 of the str field (the human readable name) */
404 swig_module_info *iter = start;
405 do {
406 register size_t i = 0;
407 for (; i < iter->size; ++i) {
408 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
409 return iter->types[i];
410 }
411 iter = iter->next;
412 } while (iter != end);
36ed4f51 413 }
32fe5131
RD
414
415 /* neither found a match */
416 return 0;
36ed4f51
RD
417}
418
32fe5131 419
36ed4f51
RD
420/*
421 Pack binary data into a string
422*/
423SWIGRUNTIME char *
424SWIG_PackData(char *c, void *ptr, size_t sz) {
32fe5131
RD
425 static const char hex[17] = "0123456789abcdef";
426 register const unsigned char *u = (unsigned char *) ptr;
427 register const unsigned char *eu = u + sz;
36ed4f51 428 for (; u != eu; ++u) {
32fe5131 429 register unsigned char uu = *u;
36ed4f51
RD
430 *(c++) = hex[(uu & 0xf0) >> 4];
431 *(c++) = hex[uu & 0xf];
432 }
433 return c;
434}
435
436/*
437 Unpack binary data from a string
438*/
439SWIGRUNTIME const char *
440SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
441 register unsigned char *u = (unsigned char *) ptr;
32fe5131 442 register const unsigned char *eu = u + sz;
36ed4f51 443 for (; u != eu; ++u) {
32fe5131 444 register char d = *(c++);
36ed4f51
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
36ed4f51
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
36ed4f51
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
36ed4f51
RD
523/* -----------------------------------------------------------------------------
524 * SWIG API. Portion that goes into the runtime
525 * ----------------------------------------------------------------------------- */
d55e5bfc 526
36ed4f51
RD
527#ifdef __cplusplus
528extern "C" {
529#endif
c370783e 530
36ed4f51
RD
531/* -----------------------------------------------------------------------------
532 * for internal method declarations
533 * ----------------------------------------------------------------------------- */
d55e5bfc 534
36ed4f51 535#ifndef SWIGINTERN
32fe5131 536# define SWIGINTERN static SWIGUNUSED
36ed4f51 537#endif
d55e5bfc 538
32fe5131
RD
539#ifndef SWIGINTERNINLINE
540# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
36ed4f51 541#endif
d55e5bfc 542
36ed4f51
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
36ed4f51
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
c370783e 580
36ed4f51
RD
581/* -----------------------------------------------------------------------------
582 * Alloc. memory flags
583 * ----------------------------------------------------------------------------- */
c370783e
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
36ed4f51
RD
589}
590#endif
d55e5bfc 591
d55e5bfc 592
36ed4f51
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
36ed4f51
RD
603/* Common SWIG API */
604#define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
605#define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
606#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
607
d55e5bfc 608
36ed4f51
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
32fe5131
RD
613/* Runtime API */
614#define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
615#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
d55e5bfc 616
36ed4f51
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
36ed4f51
RD
629/* Flags for pointer conversion */
630#define SWIG_POINTER_EXCEPTION 0x1
631#define SWIG_POINTER_DISOWN 0x2
d55e5bfc 632
d55e5bfc 633
32fe5131
RD
634/* Add PyOS_snprintf for old Pythons */
635#if PY_VERSION_HEX < 0x02020000
636#define PyOS_snprintf snprintf
637#endif
638
36ed4f51
RD
639#ifdef __cplusplus
640extern "C" {
641#endif
d55e5bfc 642
36ed4f51
RD
643/* -----------------------------------------------------------------------------
644 * Create a new pointer string
645 * ----------------------------------------------------------------------------- */
36ed4f51
RD
646#ifndef SWIG_BUFFER_SIZE
647#define SWIG_BUFFER_SIZE 1024
648#endif
d55e5bfc 649
32fe5131
RD
650/* A crude PyString_FromFormat implementation for old Pythons */
651#if PY_VERSION_HEX < 0x02020000
652static PyObject *
653PyString_FromFormat(const char *fmt, ...) {
654 va_list ap;
655 char buf[SWIG_BUFFER_SIZE * 2];
656 int res;
657 va_start(ap, fmt);
658 res = vsnprintf(buf, sizeof(buf), fmt, ap);
659 va_end(ap);
660 return (res < 0 || res >= sizeof(buf)) ? 0 : PyString_FromString(buf);
661}
662#endif
663
664#if PY_VERSION_HEX < 0x01060000
665#define PyObject_Del(op) PyMem_DEL((op))
666#endif
667
36ed4f51
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
36ed4f51
RD
674typedef struct {
675 PyObject_HEAD
676 void *ptr;
677 const char *desc;
678} PySwigObject;
d55e5bfc 679
36ed4f51 680/* Declarations for objects of type PySwigObject */
d55e5bfc 681
36ed4f51
RD
682SWIGRUNTIME int
683PySwigObject_print(PySwigObject *v, FILE *fp, int flags)
d55e5bfc 684{
36ed4f51 685 char result[SWIG_BUFFER_SIZE];
32fe5131 686 flags = flags;
36ed4f51
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;
c370783e 690 } else {
36ed4f51 691 return 1;
c370783e 692 }
d55e5bfc 693}
36ed4f51
RD
694
695SWIGRUNTIME PyObject *
696PySwigObject_repr(PySwigObject *v)
c370783e 697{
36ed4f51
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;
c370783e 701}
d55e5bfc 702
36ed4f51
RD
703SWIGRUNTIME PyObject *
704PySwigObject_str(PySwigObject *v)
d55e5bfc 705{
36ed4f51
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
36ed4f51
RD
711SWIGRUNTIME PyObject *
712PySwigObject_long(PySwigObject *v)
d55e5bfc 713{
32fe5131
RD
714 return PyLong_FromVoidPtr(v->ptr);
715}
716
717SWIGRUNTIME PyObject *
718PySwigObject_format(const char* fmt, PySwigObject *v)
719{
720 PyObject *res = NULL;
721 PyObject *args = PyTuple_New(1);
722 if (args && (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0)) {
723 PyObject *ofmt = PyString_FromString(fmt);
724 if (ofmt) {
725 res = PyString_Format(ofmt,args);
726 Py_DECREF(ofmt);
727 }
728 Py_DECREF(args);
729 }
730 return res;
d55e5bfc
RD
731}
732
36ed4f51
RD
733SWIGRUNTIME PyObject *
734PySwigObject_oct(PySwigObject *v)
c370783e 735{
32fe5131 736 return PySwigObject_format("%o",v);
c370783e 737}
d55e5bfc 738
36ed4f51
RD
739SWIGRUNTIME PyObject *
740PySwigObject_hex(PySwigObject *v)
d55e5bfc 741{
32fe5131 742 return PySwigObject_format("%x",v);
d55e5bfc
RD
743}
744
36ed4f51
RD
745SWIGRUNTIME int
746PySwigObject_compare(PySwigObject *v, PySwigObject *w)
d55e5bfc 747{
36ed4f51
RD
748 int c = strcmp(v->desc, w->desc);
749 if (c) {
32fe5131 750 return (c > 0) ? 1 : -1;
36ed4f51
RD
751 } else {
752 void *i = v->ptr;
753 void *j = w->ptr;
32fe5131 754 return (i < j) ? -1 : ((i > j) ? 1 : 0);
c370783e 755 }
c370783e
RD
756}
757
36ed4f51
RD
758SWIGRUNTIME void
759PySwigObject_dealloc(PySwigObject *self)
c370783e 760{
32fe5131 761 PyObject_Del(self);
d55e5bfc
RD
762}
763
36ed4f51 764SWIGRUNTIME PyTypeObject*
32fe5131
RD
765PySwigObject_type(void) {
766 static char pyswigobject_type__doc__[] =
36ed4f51 767 "Swig object carries a C/C++ instance pointer";
c370783e 768
36ed4f51
RD
769 static PyNumberMethods PySwigObject_as_number = {
770 (binaryfunc)0, /*nb_add*/
771 (binaryfunc)0, /*nb_subtract*/
772 (binaryfunc)0, /*nb_multiply*/
773 (binaryfunc)0, /*nb_divide*/
774 (binaryfunc)0, /*nb_remainder*/
775 (binaryfunc)0, /*nb_divmod*/
776 (ternaryfunc)0,/*nb_power*/
777 (unaryfunc)0, /*nb_negative*/
778 (unaryfunc)0, /*nb_positive*/
779 (unaryfunc)0, /*nb_absolute*/
780 (inquiry)0, /*nb_nonzero*/
781 0, /*nb_invert*/
782 0, /*nb_lshift*/
783 0, /*nb_rshift*/
784 0, /*nb_and*/
785 0, /*nb_xor*/
786 0, /*nb_or*/
787 (coercion)0, /*nb_coerce*/
788 (unaryfunc)PySwigObject_long, /*nb_int*/
789 (unaryfunc)PySwigObject_long, /*nb_long*/
790 (unaryfunc)0, /*nb_float*/
791 (unaryfunc)PySwigObject_oct, /*nb_oct*/
792 (unaryfunc)PySwigObject_hex, /*nb_hex*/
32fe5131 793#if PY_VERSION_HEX >= 0x02020000
36ed4f51 794 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
32fe5131
RD
795#elif PY_VERSION_HEX >= 0x02000000
796 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
36ed4f51
RD
797#endif
798 };
799
32fe5131
RD
800 static PyTypeObject pyswigobject_type
801#if !defined(__cplusplus)
802 ;
803 static int type_init = 0;
36ed4f51 804 if (!type_init) {
32fe5131
RD
805 PyTypeObject tmp
806#endif
807 = {
36ed4f51
RD
808 PyObject_HEAD_INIT(&PyType_Type)
809 0, /*ob_size*/
32fe5131 810 (char *)"PySwigObject", /*tp_name*/
36ed4f51
RD
811 sizeof(PySwigObject), /*tp_basicsize*/
812 0, /*tp_itemsize*/
813 /* methods */
814 (destructor)PySwigObject_dealloc, /*tp_dealloc*/
815 (printfunc)PySwigObject_print, /*tp_print*/
816 (getattrfunc)0, /*tp_getattr*/
817 (setattrfunc)0, /*tp_setattr*/
818 (cmpfunc)PySwigObject_compare, /*tp_compare*/
819 (reprfunc)PySwigObject_repr, /*tp_repr*/
820 &PySwigObject_as_number, /*tp_as_number*/
821 0, /*tp_as_sequence*/
822 0, /*tp_as_mapping*/
823 (hashfunc)0, /*tp_hash*/
824 (ternaryfunc)0, /*tp_call*/
825 (reprfunc)PySwigObject_str, /*tp_str*/
826 /* Space for future expansion */
32fe5131
RD
827 0,0,0,0,
828 pyswigobject_type__doc__, /* Documentation string */
36ed4f51
RD
829#if PY_VERSION_HEX >= 0x02000000
830 0, /* tp_traverse */
831 0, /* tp_clear */
832#endif
833#if PY_VERSION_HEX >= 0x02010000
834 0, /* tp_richcompare */
835 0, /* tp_weaklistoffset */
836#endif
837#if PY_VERSION_HEX >= 0x02020000
838 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
839#endif
840#if PY_VERSION_HEX >= 0x02030000
841 0, /* tp_del */
842#endif
843#ifdef COUNT_ALLOCS
844 0,0,0,0 /* tp_alloc -> tp_next */
845#endif
846 };
32fe5131
RD
847#if !defined(__cplusplus)
848 pyswigobject_type = tmp;
36ed4f51
RD
849 type_init = 1;
850 }
32fe5131
RD
851#endif
852 return &pyswigobject_type;
36ed4f51
RD
853}
854
855SWIGRUNTIME PyObject *
856PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc)
c370783e 857{
32fe5131
RD
858 PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_type());
859 if (self) {
860 self->ptr = ptr;
861 self->desc = desc;
862 }
36ed4f51 863 return (PyObject *)self;
c370783e 864}
d55e5bfc 865
36ed4f51
RD
866SWIGRUNTIMEINLINE void *
867PySwigObject_AsVoidPtr(PyObject *self)
868{
869 return ((PySwigObject *)self)->ptr;
870}
c370783e 871
36ed4f51
RD
872SWIGRUNTIMEINLINE const char *
873PySwigObject_GetDesc(PyObject *self)
874{
875 return ((PySwigObject *)self)->desc;
876}
d55e5bfc 877
36ed4f51
RD
878SWIGRUNTIMEINLINE int
879PySwigObject_Check(PyObject *op) {
32fe5131 880 return ((op)->ob_type == PySwigObject_type())
36ed4f51
RD
881 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
882}
d55e5bfc 883
36ed4f51
RD
884/* -----------------------------------------------------------------------------
885 * Implements a simple Swig Packed type, and use it instead of string
886 * ----------------------------------------------------------------------------- */
d55e5bfc 887
36ed4f51
RD
888typedef struct {
889 PyObject_HEAD
890 void *pack;
891 const char *desc;
892 size_t size;
893} PySwigPacked;
c370783e 894
36ed4f51
RD
895SWIGRUNTIME int
896PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags)
d55e5bfc 897{
36ed4f51 898 char result[SWIG_BUFFER_SIZE];
32fe5131 899 flags = flags;
36ed4f51
RD
900 fputs("<Swig Packed ", fp);
901 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
902 fputs("at ", fp);
903 fputs(result, fp);
904 }
905 fputs(v->desc,fp);
906 fputs(">", fp);
907 return 0;
908}
909
910SWIGRUNTIME PyObject *
911PySwigPacked_repr(PySwigPacked *v)
912{
913 char result[SWIG_BUFFER_SIZE];
914 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
915 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->desc);
916 } else {
917 return PyString_FromFormat("<Swig Packed %s>", v->desc);
918 }
d55e5bfc
RD
919}
920
36ed4f51
RD
921SWIGRUNTIME PyObject *
922PySwigPacked_str(PySwigPacked *v)
923{
924 char result[SWIG_BUFFER_SIZE];
925 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
926 return PyString_FromFormat("%s%s", result, v->desc);
927 } else {
32fe5131 928 return PyString_FromString(v->desc);
36ed4f51
RD
929 }
930}
d55e5bfc 931
36ed4f51
RD
932SWIGRUNTIME int
933PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
d55e5bfc 934{
36ed4f51
RD
935 int c = strcmp(v->desc, w->desc);
936 if (c) {
32fe5131 937 return (c > 0) ? 1 : -1;
36ed4f51
RD
938 } else {
939 size_t i = v->size;
940 size_t j = w->size;
32fe5131 941 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
36ed4f51 942 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
d55e5bfc 943 }
c370783e
RD
944}
945
36ed4f51
RD
946SWIGRUNTIME void
947PySwigPacked_dealloc(PySwigPacked *self)
c370783e 948{
36ed4f51 949 free(self->pack);
32fe5131 950 PyObject_Del(self);
d55e5bfc
RD
951}
952
36ed4f51 953SWIGRUNTIME PyTypeObject*
32fe5131
RD
954PySwigPacked_type(void) {
955 static char pyswigpacked_type__doc__[] =
36ed4f51 956 "Swig object carries a C/C++ instance pointer";
32fe5131
RD
957 static PyTypeObject pyswigpacked_type
958#if !defined(__cplusplus)
959 ;
960 static int type_init = 0;
36ed4f51 961 if (!type_init) {
32fe5131
RD
962 PyTypeObject tmp
963#endif
964 = {
36ed4f51
RD
965 PyObject_HEAD_INIT(&PyType_Type)
966 0, /*ob_size*/
32fe5131 967 (char *)"PySwigPacked", /*tp_name*/
36ed4f51
RD
968 sizeof(PySwigPacked), /*tp_basicsize*/
969 0, /*tp_itemsize*/
970 /* methods */
971 (destructor)PySwigPacked_dealloc, /*tp_dealloc*/
972 (printfunc)PySwigPacked_print, /*tp_print*/
973 (getattrfunc)0, /*tp_getattr*/
974 (setattrfunc)0, /*tp_setattr*/
975 (cmpfunc)PySwigPacked_compare, /*tp_compare*/
976 (reprfunc)PySwigPacked_repr, /*tp_repr*/
977 0, /*tp_as_number*/
978 0, /*tp_as_sequence*/
979 0, /*tp_as_mapping*/
980 (hashfunc)0, /*tp_hash*/
981 (ternaryfunc)0, /*tp_call*/
982 (reprfunc)PySwigPacked_str, /*tp_str*/
983 /* Space for future expansion */
32fe5131
RD
984 0,0,0,0,
985 pyswigpacked_type__doc__, /* Documentation string */
36ed4f51
RD
986#if PY_VERSION_HEX >= 0x02000000
987 0, /* tp_traverse */
988 0, /* tp_clear */
989#endif
990#if PY_VERSION_HEX >= 0x02010000
991 0, /* tp_richcompare */
992 0, /* tp_weaklistoffset */
993#endif
994#if PY_VERSION_HEX >= 0x02020000
995 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
996#endif
997#if PY_VERSION_HEX >= 0x02030000
998 0, /* tp_del */
999#endif
1000#ifdef COUNT_ALLOCS
1001 0,0,0,0 /* tp_alloc -> tp_next */
1002#endif
1003 };
32fe5131
RD
1004#if !defined(__cplusplus)
1005 pyswigpacked_type = tmp;
36ed4f51
RD
1006 type_init = 1;
1007 }
32fe5131
RD
1008#endif
1009 return &pyswigpacked_type;
36ed4f51 1010}
d55e5bfc 1011
36ed4f51
RD
1012SWIGRUNTIME PyObject *
1013PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc)
1014{
32fe5131 1015 PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_type());
36ed4f51
RD
1016 if (self == NULL) {
1017 return NULL;
1018 } else {
1019 void *pack = malloc(size);
32fe5131
RD
1020 if (pack) {
1021 memcpy(pack, ptr, size);
1022 self->pack = pack;
1023 self->desc = desc;
1024 self->size = size;
1025 return (PyObject *) self;
1026 }
1027 return NULL;
36ed4f51
RD
1028 }
1029}
d55e5bfc 1030
36ed4f51
RD
1031SWIGRUNTIMEINLINE const char *
1032PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1033{
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
36ed4f51
RD
1040SWIGRUNTIMEINLINE const char *
1041PySwigPacked_GetDesc(PyObject *self)
d55e5bfc 1042{
36ed4f51
RD
1043 return ((PySwigPacked *)self)->desc;
1044}
d55e5bfc 1045
36ed4f51
RD
1046SWIGRUNTIMEINLINE int
1047PySwigPacked_Check(PyObject *op) {
32fe5131 1048 return ((op)->ob_type == PySwigPacked_type())
36ed4f51
RD
1049 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1050}
d55e5bfc 1051
36ed4f51
RD
1052#else
1053/* -----------------------------------------------------------------------------
1054 * Use the old Python PyCObject instead of PySwigObject
1055 * ----------------------------------------------------------------------------- */
d55e5bfc 1056
36ed4f51
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
36ed4f51 1062#endif
d55e5bfc 1063
36ed4f51 1064#endif
d55e5bfc 1065
36ed4f51
RD
1066/* -----------------------------------------------------------------------------
1067 * errors manipulation
1068 * ----------------------------------------------------------------------------- */
d55e5bfc 1069
36ed4f51
RD
1070SWIGRUNTIME void
1071SWIG_Python_TypeError(const char *type, PyObject *obj)
1072{
1073 if (type) {
1074#if defined(SWIG_COBJECT_TYPES)
32fe5131 1075 if (obj && PySwigObject_Check(obj)) {
36ed4f51
RD
1076 const char *otype = (const char *) PySwigObject_GetDesc(obj);
1077 if (otype) {
1078 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
1079 type, otype);
1080 return;
1081 }
1082 } else
1083#endif
1084 {
1085 const char *otype = (obj ? obj->ob_type->tp_name : 0);
1086 if (otype) {
1087 PyObject *str = PyObject_Str(obj);
1088 const char *cstr = str ? PyString_AsString(str) : 0;
1089 if (cstr) {
1090 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
1091 type, otype, cstr);
1092 } else {
1093 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
1094 type, otype);
1095 }
32fe5131 1096 Py_XDECREF(str);
36ed4f51
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
36ed4f51
RD
1106SWIGRUNTIMEINLINE void
1107SWIG_Python_NullRef(const char *type)
d55e5bfc 1108{
36ed4f51
RD
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
36ed4f51
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
36ed4f51
RD
1141SWIGRUNTIME int
1142SWIG_Python_ArgFail(int argnum)
1143{
1144 if (PyErr_Occurred()) {
1145 /* add information about failing argument */
1146 char mesg[256];
32fe5131 1147 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
36ed4f51
RD
1148 return SWIG_Python_AddErrMesg(mesg, 1);
1149 } else {
1150 return 0;
1151 }
1152}
d55e5bfc 1153
d55e5bfc 1154
36ed4f51
RD
1155/* -----------------------------------------------------------------------------
1156 * pointers/data manipulation
1157 * ----------------------------------------------------------------------------- */
d55e5bfc 1158
36ed4f51
RD
1159/* Convert a pointer value */
1160SWIGRUNTIME int
1161SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
32fe5131 1162 swig_cast_info *tc;
36ed4f51
RD
1163 const char *c = 0;
1164 static PyObject *SWIG_this = 0;
1165 int newref = 0;
1166 PyObject *pyobj = 0;
1167 void *vptr;
1168
1169 if (!obj) return 0;
1170 if (obj == Py_None) {
1171 *ptr = 0;
1172 return 0;
1173 }
d55e5bfc 1174
36ed4f51
RD
1175#ifdef SWIG_COBJECT_TYPES
1176 if (!(PySwigObject_Check(obj))) {
1177 if (!SWIG_this)
1178 SWIG_this = PyString_FromString("this");
1179 pyobj = obj;
1180 obj = PyObject_GetAttr(obj,SWIG_this);
1181 newref = 1;
1182 if (!obj) goto type_error;
1183 if (!PySwigObject_Check(obj)) {
1184 Py_DECREF(obj);
1185 goto type_error;
1186 }
1187 }
1188 vptr = PySwigObject_AsVoidPtr(obj);
1189 c = (const char *) PySwigObject_GetDesc(obj);
1190 if (newref) { Py_DECREF(obj); }
1191 goto type_check;
1192#else
1193 if (!(PyString_Check(obj))) {
1194 if (!SWIG_this)
1195 SWIG_this = PyString_FromString("this");
1196 pyobj = obj;
1197 obj = PyObject_GetAttr(obj,SWIG_this);
1198 newref = 1;
1199 if (!obj) goto type_error;
1200 if (!PyString_Check(obj)) {
1201 Py_DECREF(obj);
1202 goto type_error;
1203 }
1204 }
32fe5131 1205 c = PyString_AsString(obj);
36ed4f51
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
36ed4f51 1212type_check:
36ed4f51
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 }
36ed4f51
RD
1220 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1221 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1222 }
1223 return 0;
d55e5bfc 1224
36ed4f51
RD
1225type_error:
1226 PyErr_Clear();
1227 if (pyobj && !obj) {
1228 obj = pyobj;
1229 if (PyCFunction_Check(obj)) {
1230 /* here we get the method pointer for callbacks */
1231 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1232 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1233 if (c) {
32fe5131 1234 c = ty ? SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name) : 0;
36ed4f51
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
36ed4f51
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
36ed4f51
RD
1264/* Convert a packed value value */
1265SWIGRUNTIME int
1266SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
32fe5131 1267 swig_cast_info *tc;
36ed4f51 1268 const char *c = 0;
d55e5bfc 1269
36ed4f51
RD
1270#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1271 c = PySwigPacked_UnpackData(obj, ptr, sz);
1272#else
1273 if ((!obj) || (!PyString_Check(obj))) goto type_error;
32fe5131 1274 c = PyString_AsString(obj);
36ed4f51
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
36ed4f51
RD
1285type_error:
1286 PyErr_Clear();
1287 if (flags & SWIG_POINTER_EXCEPTION) {
1288 if (ty) {
1289 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1290 } else {
1291 SWIG_Python_TypeError("C/C++ packed data", obj);
1292 }
1293 }
1294 return -1;
1295}
1296
1297/* Create a new array object */
1298SWIGRUNTIME PyObject *
1299SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1300 PyObject *robj = 0;
32fe5131
RD
1301 if (!type) {
1302 if (!PyErr_Occurred()) {
1303 PyErr_Format(PyExc_TypeError, "Swig: null type passed to NewPointerObj");
1304 }
1305 return robj;
1306 }
36ed4f51
RD
1307 if (!ptr) {
1308 Py_INCREF(Py_None);
1309 return Py_None;
1310 }
1311#ifdef SWIG_COBJECT_TYPES
1312 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1313#else
1314 {
1315 char result[SWIG_BUFFER_SIZE];
1316 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1317 PyString_FromString(result) : 0;
1318 }
1319#endif
1320 if (!robj || (robj == Py_None)) return robj;
1321 if (type->clientdata) {
1322 PyObject *inst;
1323 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1324 Py_DECREF(robj);
1325 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1326 Py_DECREF(args);
1327 if (inst) {
1328 if (own) {
1329 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1330 }
1331 robj = inst;
1332 }
1333 }
1334 return robj;
1335}
1336
1337SWIGRUNTIME PyObject *
1338SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1339 PyObject *robj = 0;
1340 if (!ptr) {
1341 Py_INCREF(Py_None);
1342 return Py_None;
1343 }
1344#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1345 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1346#else
1347 {
1348 char result[SWIG_BUFFER_SIZE];
1349 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1350 PyString_FromString(result) : 0;
1351 }
1352#endif
1353 return robj;
1354}
1355
1356/* -----------------------------------------------------------------------------*
1357 * Get type list
1358 * -----------------------------------------------------------------------------*/
1359
1360#ifdef SWIG_LINK_RUNTIME
1361void *SWIG_ReturnGlobalTypeList(void *);
1362#endif
1363
32fe5131
RD
1364SWIGRUNTIME swig_module_info *
1365SWIG_Python_GetModule(void) {
36ed4f51
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 }
36ed4f51 1378#endif
32fe5131
RD
1379 }
1380 return (swig_module_info *) type_pointer;
36ed4f51
RD
1381}
1382
32fe5131
RD
1383#if PY_MAJOR_VERSION < 2
1384/* PyModule_AddObject function was introduced in Python 2.0. The following function
1385is copied out of Python/modsupport.c in python version 2.3.4 */
1386SWIGINTERN int
1387PyModule_AddObject(PyObject *m, char *name, PyObject *o)
1388{
1389 PyObject *dict;
1390 if (!PyModule_Check(m)) {
1391 PyErr_SetString(PyExc_TypeError,
1392 "PyModule_AddObject() needs module as first arg");
1393 return -1;
1394 }
1395 if (!o) {
1396 PyErr_SetString(PyExc_TypeError,
1397 "PyModule_AddObject() needs non-NULL value");
1398 return -1;
1399 }
1400
1401 dict = PyModule_GetDict(m);
1402 if (dict == NULL) {
1403 /* Internal error -- modules must have a dict! */
1404 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
1405 PyModule_GetName(m));
1406 return -1;
1407 }
1408 if (PyDict_SetItemString(dict, name, o))
1409 return -1;
1410 Py_DECREF(o);
1411 return 0;
36ed4f51 1412}
32fe5131 1413#endif
36ed4f51 1414
32fe5131
RD
1415SWIGRUNTIME void
1416SWIG_Python_SetModule(swig_module_info *swig_module) {
1417 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
1418
1419 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1420 swig_empty_runtime_method_table);
1421 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, NULL);
1422 if (pointer && module) {
1423 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
1424 }
1425}
36ed4f51
RD
1426
1427#ifdef __cplusplus
1428}
1429#endif
1430
1431
1432/* -------- TYPES TABLE (BEGIN) -------- */
1433
32fe5131
RD
1434#define SWIGTYPE_p_char swig_types[0]
1435#define SWIGTYPE_p_form_ops_t swig_types[1]
1436#define SWIGTYPE_p_int swig_types[2]
1437#define SWIGTYPE_p_unsigned_char swig_types[3]
1438#define SWIGTYPE_p_unsigned_int swig_types[4]
1439#define SWIGTYPE_p_unsigned_long swig_types[5]
1440#define SWIGTYPE_p_wxANIHandler swig_types[6]
1441#define SWIGTYPE_p_wxAcceleratorTable swig_types[7]
1442#define SWIGTYPE_p_wxActivateEvent swig_types[8]
1443#define SWIGTYPE_p_wxArrayInt swig_types[9]
1444#define SWIGTYPE_p_wxBMPHandler swig_types[10]
1445#define SWIGTYPE_p_wxBitmap swig_types[11]
1446#define SWIGTYPE_p_wxBoxSizer swig_types[12]
1447#define SWIGTYPE_p_wxCURHandler swig_types[13]
1448#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[14]
1449#define SWIGTYPE_p_wxChildFocusEvent swig_types[15]
1450#define SWIGTYPE_p_wxCloseEvent swig_types[16]
1451#define SWIGTYPE_p_wxColour swig_types[17]
1452#define SWIGTYPE_p_wxColourData swig_types[18]
1453#define SWIGTYPE_p_wxColourDialog swig_types[19]
1454#define SWIGTYPE_p_wxCommandEvent swig_types[20]
1455#define SWIGTYPE_p_wxContextMenuEvent swig_types[21]
1456#define SWIGTYPE_p_wxControl swig_types[22]
1457#define SWIGTYPE_p_wxControlWithItems swig_types[23]
1458#define SWIGTYPE_p_wxDC swig_types[24]
1459#define SWIGTYPE_p_wxDateEvent swig_types[25]
1460#define SWIGTYPE_p_wxDialog swig_types[26]
1461#define SWIGTYPE_p_wxDirDialog swig_types[27]
1462#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[28]
1463#define SWIGTYPE_p_wxDropFilesEvent swig_types[29]
1464#define SWIGTYPE_p_wxDuplexMode swig_types[30]
1465#define SWIGTYPE_p_wxEraseEvent swig_types[31]
1466#define SWIGTYPE_p_wxEvent swig_types[32]
1467#define SWIGTYPE_p_wxEvtHandler swig_types[33]
1468#define SWIGTYPE_p_wxFSFile swig_types[34]
1469#define SWIGTYPE_p_wxFileDialog swig_types[35]
1470#define SWIGTYPE_p_wxFileSystem swig_types[36]
1471#define SWIGTYPE_p_wxFindDialogEvent swig_types[37]
1472#define SWIGTYPE_p_wxFindReplaceData swig_types[38]
1473#define SWIGTYPE_p_wxFindReplaceDialog swig_types[39]
1474#define SWIGTYPE_p_wxFlexGridSizer swig_types[40]
1475#define SWIGTYPE_p_wxFocusEvent swig_types[41]
1476#define SWIGTYPE_p_wxFont swig_types[42]
1477#define SWIGTYPE_p_wxFontData swig_types[43]
1478#define SWIGTYPE_p_wxFontDialog swig_types[44]
1479#define SWIGTYPE_p_wxFrame swig_types[45]
1480#define SWIGTYPE_p_wxGBSizerItem swig_types[46]
1481#define SWIGTYPE_p_wxGIFHandler swig_types[47]
1482#define SWIGTYPE_p_wxGridBagSizer swig_types[48]
1483#define SWIGTYPE_p_wxGridSizer swig_types[49]
1484#define SWIGTYPE_p_wxICOHandler swig_types[50]
1485#define SWIGTYPE_p_wxIcon swig_types[51]
1486#define SWIGTYPE_p_wxIconBundle swig_types[52]
1487#define SWIGTYPE_p_wxIconizeEvent swig_types[53]
1488#define SWIGTYPE_p_wxIdleEvent swig_types[54]
1489#define SWIGTYPE_p_wxImage swig_types[55]
1490#define SWIGTYPE_p_wxImageHandler swig_types[56]
1491#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[57]
1492#define SWIGTYPE_p_wxInitDialogEvent swig_types[58]
1493#define SWIGTYPE_p_wxJPEGHandler swig_types[59]
1494#define SWIGTYPE_p_wxKeyEvent swig_types[60]
1495#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[61]
1496#define SWIGTYPE_p_wxLayoutConstraints swig_types[62]
1497#define SWIGTYPE_p_wxMDIChildFrame swig_types[63]
1498#define SWIGTYPE_p_wxMDIClientWindow swig_types[64]
1499#define SWIGTYPE_p_wxMDIParentFrame swig_types[65]
1500#define SWIGTYPE_p_wxMaximizeEvent swig_types[66]
1501#define SWIGTYPE_p_wxMenu swig_types[67]
1502#define SWIGTYPE_p_wxMenuBar swig_types[68]
1503#define SWIGTYPE_p_wxMenuEvent swig_types[69]
1504#define SWIGTYPE_p_wxMenuItem swig_types[70]
1505#define SWIGTYPE_p_wxMessageDialog swig_types[71]
1506#define SWIGTYPE_p_wxMiniFrame swig_types[72]
1507#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[73]
1508#define SWIGTYPE_p_wxMouseEvent swig_types[74]
1509#define SWIGTYPE_p_wxMoveEvent swig_types[75]
1510#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[76]
1511#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[77]
1512#define SWIGTYPE_p_wxNcPaintEvent swig_types[78]
1513#define SWIGTYPE_p_wxNotifyEvent swig_types[79]
1514#define SWIGTYPE_p_wxObject swig_types[80]
1515#define SWIGTYPE_p_wxPCXHandler swig_types[81]
1516#define SWIGTYPE_p_wxPNGHandler swig_types[82]
1517#define SWIGTYPE_p_wxPNMHandler swig_types[83]
1518#define SWIGTYPE_p_wxPageSetupDialog swig_types[84]
1519#define SWIGTYPE_p_wxPageSetupDialogData swig_types[85]
1520#define SWIGTYPE_p_wxPaintEvent swig_types[86]
1521#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[87]
1522#define SWIGTYPE_p_wxPanel swig_types[88]
1523#define SWIGTYPE_p_wxPaperSize swig_types[89]
1524#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[90]
1525#define SWIGTYPE_p_wxPoint swig_types[91]
1526#define SWIGTYPE_p_wxPopupWindow swig_types[92]
1527#define SWIGTYPE_p_wxPreviewCanvas swig_types[93]
1528#define SWIGTYPE_p_wxPreviewControlBar swig_types[94]
1529#define SWIGTYPE_p_wxPreviewFrame swig_types[95]
1530#define SWIGTYPE_p_wxPrintData swig_types[96]
1531#define SWIGTYPE_p_wxPrintDialog swig_types[97]
1532#define SWIGTYPE_p_wxPrintDialogData swig_types[98]
1533#define SWIGTYPE_p_wxPrintPreview swig_types[99]
1534#define SWIGTYPE_p_wxPrinter swig_types[100]
1535#define SWIGTYPE_p_wxProgressDialog swig_types[101]
1536#define SWIGTYPE_p_wxPyApp swig_types[102]
1537#define SWIGTYPE_p_wxPyCommandEvent swig_types[103]
1538#define SWIGTYPE_p_wxPyEvent swig_types[104]
1539#define SWIGTYPE_p_wxPyHtmlListBox swig_types[105]
1540#define SWIGTYPE_p_wxPyImageHandler swig_types[106]
1541#define SWIGTYPE_p_wxPyPanel swig_types[107]
1542#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[108]
1543#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[109]
1544#define SWIGTYPE_p_wxPyPreviewFrame swig_types[110]
1545#define SWIGTYPE_p_wxPyPrintPreview swig_types[111]
1546#define SWIGTYPE_p_wxPyPrintout swig_types[112]
1547#define SWIGTYPE_p_wxPyScrolledWindow swig_types[113]
1548#define SWIGTYPE_p_wxPySizer swig_types[114]
1549#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[115]
1550#define SWIGTYPE_p_wxPyVListBox swig_types[116]
1551#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[117]
1552#define SWIGTYPE_p_wxPyValidator swig_types[118]
1553#define SWIGTYPE_p_wxPyWindow swig_types[119]
1554#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[120]
1555#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[121]
1556#define SWIGTYPE_p_wxRect swig_types[122]
1557#define SWIGTYPE_p_wxRegion swig_types[123]
1558#define SWIGTYPE_p_wxSashEvent swig_types[124]
1559#define SWIGTYPE_p_wxSashLayoutWindow swig_types[125]
1560#define SWIGTYPE_p_wxSashWindow swig_types[126]
1561#define SWIGTYPE_p_wxScrollEvent swig_types[127]
1562#define SWIGTYPE_p_wxScrollWinEvent swig_types[128]
1563#define SWIGTYPE_p_wxScrolledWindow swig_types[129]
1564#define SWIGTYPE_p_wxSetCursorEvent swig_types[130]
1565#define SWIGTYPE_p_wxShowEvent swig_types[131]
1566#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[132]
1567#define SWIGTYPE_p_wxSize swig_types[133]
1568#define SWIGTYPE_p_wxSizeEvent swig_types[134]
1569#define SWIGTYPE_p_wxSizer swig_types[135]
1570#define SWIGTYPE_p_wxSizerItem swig_types[136]
1571#define SWIGTYPE_p_wxSplashScreen swig_types[137]
1572#define SWIGTYPE_p_wxSplashScreenWindow swig_types[138]
1573#define SWIGTYPE_p_wxSplitterEvent swig_types[139]
1574#define SWIGTYPE_p_wxSplitterWindow swig_types[140]
1575#define SWIGTYPE_p_wxStaticBoxSizer swig_types[141]
1576#define SWIGTYPE_p_wxStatusBar swig_types[142]
1577#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[143]
1578#define SWIGTYPE_p_wxString swig_types[144]
1579#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[145]
1580#define SWIGTYPE_p_wxTIFFHandler swig_types[146]
1581#define SWIGTYPE_p_wxTaskBarIcon swig_types[147]
1582#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[148]
1583#define SWIGTYPE_p_wxTextEntryDialog swig_types[149]
1584#define SWIGTYPE_p_wxTipWindow swig_types[150]
1585#define SWIGTYPE_p_wxToolBar swig_types[151]
1586#define SWIGTYPE_p_wxTopLevelWindow swig_types[152]
1587#define SWIGTYPE_p_wxUpdateUIEvent swig_types[153]
1588#define SWIGTYPE_p_wxValidator swig_types[154]
1589#define SWIGTYPE_p_wxVisualAttributes swig_types[155]
1590#define SWIGTYPE_p_wxWindow swig_types[156]
1591#define SWIGTYPE_p_wxWindowCreateEvent swig_types[157]
1592#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[158]
1593#define SWIGTYPE_p_wxXPMHandler swig_types[159]
1594#define SWIGTYPE_ptrdiff_t swig_types[160]
1595#define SWIGTYPE_std__ptrdiff_t swig_types[161]
1596#define SWIGTYPE_unsigned_int swig_types[162]
1597static swig_type_info *swig_types[164];
1598static swig_module_info swig_module = {swig_types, 163, 0, 0, 0, 0};
1599#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1600#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
36ed4f51
RD
1601
1602/* -------- TYPES TABLE (END) -------- */
1603
1604
1605/*-----------------------------------------------
1606 @(target):= _windows_.so
1607 ------------------------------------------------*/
1608#define SWIG_init init_windows_
1609
1610#define SWIG_name "_windows_"
1611
1612#include "wx/wxPython/wxPython.h"
1613#include "wx/wxPython/pyclasses.h"
1614
1615
1616 static const wxString wxPyEmptyString(wxEmptyString);
1617 static const wxString wxPyPanelNameStr(wxPanelNameStr);
1618
1619
1620
1621#include <limits.h>
1622
1623
1624SWIGINTERN int
1625 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1626 const char *errmsg)
1627{
1628 if (value < min_value) {
1629 if (errmsg) {
1630 PyErr_Format(PyExc_OverflowError,
1631 "value %ld is less than '%s' minimum %ld",
1632 value, errmsg, min_value);
1633 }
1634 return 0;
1635 } else if (value > max_value) {
1636 if (errmsg) {
1637 PyErr_Format(PyExc_OverflowError,
1638 "value %ld is greater than '%s' maximum %ld",
1639 value, errmsg, max_value);
1640 }
1641 return 0;
1642 }
1643 return 1;
1644}
1645
1646
1647SWIGINTERN int
1648SWIG_AsVal_long(PyObject* obj, long* val)
1649{
1650 if (PyNumber_Check(obj)) {
1651 if (val) *val = PyInt_AsLong(obj);
1652 return 1;
1653 }
1654 else {
1655 SWIG_type_error("number", obj);
1656 }
1657 return 0;
1658}
1659
1660
1661#if INT_MAX != LONG_MAX
1662SWIGINTERN int
1663 SWIG_AsVal_int(PyObject *obj, int *val)
1664{
1665 const char* errmsg = val ? "int" : (char*)0;
1666 long v;
1667 if (SWIG_AsVal_long(obj, &v)) {
1668 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
32fe5131 1669 if (val) *val = static_cast<int >(v);
36ed4f51
RD
1670 return 1;
1671 } else {
1672 return 0;
1673 }
1674 } else {
1675 PyErr_Clear();
1676 }
1677 if (val) {
1678 SWIG_type_error(errmsg, obj);
1679 }
1680 return 0;
1681}
1682#else
32fe5131 1683SWIGINTERNINLINE int
36ed4f51
RD
1684 SWIG_AsVal_int(PyObject *obj, int *val)
1685{
1686 return SWIG_AsVal_long(obj,(long*)val);
1687}
1688#endif
1689
1690
32fe5131 1691SWIGINTERNINLINE int
36ed4f51
RD
1692SWIG_As_int(PyObject* obj)
1693{
1694 int v;
1695 if (!SWIG_AsVal_int(obj, &v)) {
1696 /*
1697 this is needed to make valgrind/purify happier.
1698 */
1699 memset((void*)&v, 0, sizeof(int));
1700 }
1701 return v;
1702}
1703
1704
32fe5131 1705SWIGINTERNINLINE long
36ed4f51
RD
1706SWIG_As_long(PyObject* obj)
1707{
1708 long v;
1709 if (!SWIG_AsVal_long(obj, &v)) {
1710 /*
1711 this is needed to make valgrind/purify happier.
1712 */
1713 memset((void*)&v, 0, sizeof(long));
1714 }
1715 return v;
1716}
1717
1718
32fe5131 1719SWIGINTERNINLINE int
36ed4f51
RD
1720SWIG_Check_int(PyObject* obj)
1721{
1722 return SWIG_AsVal_int(obj, (int*)0);
1723}
1724
1725
32fe5131 1726SWIGINTERNINLINE int
36ed4f51
RD
1727SWIG_Check_long(PyObject* obj)
1728{
1729 return SWIG_AsVal_long(obj, (long*)0);
1730}
1731
1732
1733SWIGINTERN int
1734 SWIG_AsVal_bool(PyObject *obj, bool *val)
1735{
1736 if (obj == Py_True) {
1737 if (val) *val = true;
1738 return 1;
1739 }
1740 if (obj == Py_False) {
1741 if (val) *val = false;
1742 return 1;
1743 }
1744 int res = 0;
1745 if (SWIG_AsVal_int(obj, &res)) {
1746 if (val) *val = res ? true : false;
1747 return 1;
1748 } else {
1749 PyErr_Clear();
1750 }
1751 if (val) {
1752 SWIG_type_error("bool", obj);
1753 }
1754 return 0;
1755}
1756
1757
32fe5131 1758SWIGINTERNINLINE bool
36ed4f51
RD
1759SWIG_As_bool(PyObject* obj)
1760{
1761 bool v;
1762 if (!SWIG_AsVal_bool(obj, &v)) {
1763 /*
1764 this is needed to make valgrind/purify happier.
1765 */
1766 memset((void*)&v, 0, sizeof(bool));
1767 }
1768 return v;
1769}
1770
1771
32fe5131 1772SWIGINTERNINLINE int
36ed4f51
RD
1773SWIG_Check_bool(PyObject* obj)
1774{
1775 return SWIG_AsVal_bool(obj, (bool*)0);
1776}
1777
1778
32fe5131 1779 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
36ed4f51
RD
1780#define SWIG_From_int PyInt_FromLong
1781/*@@*/
1782
1783
1784 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
1785 PyObject* o2;
1786 PyObject* o3;
1787
1788 if (!target) {
1789 target = o;
1790 } else if (target == Py_None) {
1791 Py_DECREF(Py_None);
1792 target = o;
1793 } else {
1794 if (!PyTuple_Check(target)) {
1795 o2 = target;
1796 target = PyTuple_New(1);
1797 PyTuple_SetItem(target, 0, o2);
1798 }
1799 o3 = PyTuple_New(1);
1800 PyTuple_SetItem(o3, 0, o);
1801
1802 o2 = target;
1803 target = PySequence_Concat(o2, o3);
1804 Py_DECREF(o2);
1805 Py_DECREF(o3);
1806 }
1807 return target;
1808 }
1809
1810
1811
1812SWIGINTERN int
1813SWIG_AsVal_double(PyObject *obj, double* val)
1814{
1815 if (PyNumber_Check(obj)) {
1816 if (val) *val = PyFloat_AsDouble(obj);
1817 return 1;
1818 }
1819 else {
1820 SWIG_type_error("number", obj);
1821 }
1822 return 0;
1823}
d55e5bfc 1824
36ed4f51 1825
32fe5131 1826SWIGINTERNINLINE double
36ed4f51
RD
1827SWIG_As_double(PyObject* obj)
1828{
1829 double v;
1830 if (!SWIG_AsVal_double(obj, &v)) {
1831 /*
1832 this is needed to make valgrind/purify happier.
1833 */
1834 memset((void*)&v, 0, sizeof(double));
1835 }
1836 return v;
1837}
1838
1839
32fe5131 1840SWIGINTERNINLINE int
36ed4f51
RD
1841SWIG_Check_double(PyObject* obj)
1842{
1843 return SWIG_AsVal_double(obj, (double*)0);
1844}
1845
1846
32fe5131 1847 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
36ed4f51
RD
1848#define SWIG_From_double PyFloat_FromDouble
1849/*@@*/
1850
1851 static const wxString wxPyFrameNameStr(wxFrameNameStr);
1852 static const wxString wxPyDialogNameStr(wxDialogNameStr);
1853 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
1854 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
1855
32fe5131 1856 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
36ed4f51
RD
1857#define SWIG_From_long PyInt_FromLong
1858/*@@*/
1859
1860
1861
1862static wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
1863 wxRect r;
1864 self->GetFieldRect(i, r);
1865 return r;
1866 }
1867 static const wxString wxPySplitterNameStr(wxT("splitter"));
1868 static const wxString wxPySashNameStr(wxT("sashWindow"));
1869 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
1870
1871#include <wx/popupwin.h>
1872
1873
1874class wxPopupWindow : public wxWindow {
1875public:
1876 wxPopupWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
1877 wxPopupWindow() { wxPyRaiseNotImplemented(); }
1878};
1879
1880class wxPyPopupTransientWindow : public wxPopupWindow
1881{
1882public:
1883 wxPyPopupTransientWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
1884 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
1885};
1886
1887
1888#include <wx/tipwin.h>
1889
1890static wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
1891 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
1892 }
1893
1894#include <wx/tipwin.h>
1895
1896
1897#include <wx/vscroll.h>
1898
1899
1900class wxPyVScrolledWindow : public wxVScrolledWindow
1901{
32fe5131 1902 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
36ed4f51
RD
1903public:
1904 wxPyVScrolledWindow() : wxVScrolledWindow() {}
1905
1906 wxPyVScrolledWindow(wxWindow *parent,
1907 wxWindowID id = wxID_ANY,
1908 const wxPoint& pos = wxDefaultPosition,
1909 const wxSize& size = wxDefaultSize,
1910 long style = 0,
1911 const wxString& name = wxPyPanelNameStr)
1912 : wxVScrolledWindow(parent, id, pos, size, style, name)
1913 {}
1914
1915 // Overridable virtuals
1916
1917 // this function must be overridden in the derived class and it should
1918 // return the height of the given line in pixels
1919 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
1920
1921
1922 // this function doesn't have to be overridden but it may be useful to do
1923 // it if calculating the lines heights is a relatively expensive operation
1924 // as it gives the user code a possibility to calculate several of them at
1925 // once
1926 //
1927 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
1928 // shouldn't rely on the latter being called for all lines in the interval
1929 // specified here. It is also possible that OnGetLineHeight() will be
1930 // called for the lines outside of this interval, so this is really just a
1931 // hint, not a promise.
1932 //
1933 // finally note that lineMin is inclusive, while lineMax is exclusive, as
1934 // usual
1935 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
1936
1937
1938 // when the number of lines changes, we try to estimate the total height
1939 // of all lines which is a rather expensive operation in terms of lines
1940 // access, so if the user code may estimate the average height
1941 // better/faster than we do, it should override this function to implement
1942 // its own logic
1943 //
1944 // this function should return the best guess for the total height it may
1945 // make
1946 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
1947
1948
1949 // Also expose some other interesting protected methods
1950
1951
1952 // find the index of the line we need to show at the top of the window such
1953 // that the last (fully or partially) visible line is the given one
1954 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
1955 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
1956
1957 // get the total height of the lines between lineMin (inclusive) and
1958 // lineMax (exclusive)
1959 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
1960 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
1961
1962
1963 PYPRIVATE;
1964};
1965
1966IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
d55e5bfc
RD
1967
1968IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
1969IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
1970IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
1971
1972
36ed4f51 1973SWIGINTERN int
c370783e 1974SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
d55e5bfc 1975{
c370783e
RD
1976 long v = 0;
1977 if (SWIG_AsVal_long(obj, &v) && v < 0) {
36ed4f51 1978 SWIG_type_error("unsigned number", obj);
d55e5bfc 1979 }
c370783e
RD
1980 else if (val)
1981 *val = (unsigned long)v;
1982 return 1;
d55e5bfc
RD
1983}
1984
1985
32fe5131 1986SWIGINTERNINLINE unsigned long
c370783e 1987SWIG_As_unsigned_SS_long(PyObject* obj)
d55e5bfc 1988{
c370783e
RD
1989 unsigned long v;
1990 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1991 /*
36ed4f51 1992 this is needed to make valgrind/purify happier.
c370783e
RD
1993 */
1994 memset((void*)&v, 0, sizeof(unsigned long));
d55e5bfc 1995 }
c370783e
RD
1996 return v;
1997}
1998
1999
32fe5131 2000SWIGINTERNINLINE int
c370783e
RD
2001SWIG_Check_unsigned_SS_long(PyObject* obj)
2002{
2003 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
d55e5bfc
RD
2004}
2005
2006
32fe5131 2007SWIGINTERNINLINE PyObject*
c370783e 2008 SWIG_From_unsigned_SS_long(unsigned long value)
d55e5bfc
RD
2009{
2010 return (value > LONG_MAX) ?
2011 PyLong_FromUnsignedLong(value)
32fe5131 2012 : PyInt_FromLong(static_cast<long >(value));
d55e5bfc
RD
2013}
2014
2015
2016#include <wx/vlbox.h>
2017
2018 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
2019
2020class wxPyVListBox : public wxVListBox
2021{
32fe5131 2022 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
d55e5bfc
RD
2023public:
2024 wxPyVListBox() : wxVListBox() {}
2025
2026 wxPyVListBox(wxWindow *parent,
2027 wxWindowID id = wxID_ANY,
2028 const wxPoint& pos = wxDefaultPosition,
2029 const wxSize& size = wxDefaultSize,
2030 long style = 0,
2031 const wxString& name = wxPyVListBoxNameStr)
2032 : wxVListBox(parent, id, pos, size, style, name)
2033 {}
2034
2035 // Overridable virtuals
2036
2037 // the derived class must implement this function to actually draw the item
2038 // with the given index on the provided DC
2039 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
2040 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
2041
2042
2043 // the derived class must implement this method to return the height of the
2044 // specified item
2045 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
2046 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
2047
2048
2049 // this method may be used to draw separators between the lines; note that
2050 // the rectangle may be modified, typically to deflate it a bit before
2051 // passing to OnDrawItem()
2052 //
2053 // the base class version doesn't do anything
2054 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
2055 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
2056
2057
2058 // this method is used to draw the items background and, maybe, a border
2059 // around it
2060 //
2061 // the base class version implements a reasonable default behaviour which
2062 // consists in drawing the selected item with the standard background
2063 // colour and drawing a border around the item if it is either selected or
2064 // current
2065 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
2066 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
2067
2068
2069 PYPRIVATE;
2070};
2071
2072IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
2073
2074IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
2075IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
2076IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
2077IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
2078
2079
36ed4f51 2080static PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
09c21d3b
RD
2081 unsigned long cookie = 0;
2082 int selected = self->GetFirstSelected(cookie);
5a446332 2083 wxPyBlock_t blocked = wxPyBeginBlockThreads();
09c21d3b
RD
2084 PyObject* tup = PyTuple_New(2);
2085 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
2086 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
2087 wxPyEndBlockThreads(blocked);
2088 return tup;
2089 }
36ed4f51 2090static PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
09c21d3b 2091 int selected = self->GetNextSelected(cookie);
5a446332 2092 wxPyBlock_t blocked = wxPyBeginBlockThreads();
09c21d3b
RD
2093 PyObject* tup = PyTuple_New(2);
2094 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
2095 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
2096 wxPyEndBlockThreads(blocked);
2097 return tup;
2098 }
d55e5bfc
RD
2099
2100#include <wx/htmllbox.h>
2101
2102
2103class wxPyHtmlListBox : public wxHtmlListBox
2104{
32fe5131 2105 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
d55e5bfc
RD
2106public:
2107 wxPyHtmlListBox() : wxHtmlListBox() {}
2108
2109 wxPyHtmlListBox(wxWindow *parent,
2110 wxWindowID id = wxID_ANY,
2111 const wxPoint& pos = wxDefaultPosition,
2112 const wxSize& size = wxDefaultSize,
2113 long style = 0,
2114 const wxString& name = wxPyVListBoxNameStr)
2115 : wxHtmlListBox(parent, id, pos, size, style, name)
2116 {}
2117
2118 // Overridable virtuals
2119
2120 // this method must be implemented in the derived class and should return
2121 // the body (i.e. without <html>) of the HTML for the given item
2122 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
2123
2124 // this function may be overridden to decorate HTML returned by OnGetItem()
2125 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
2126
2127// TODO:
2128// // this method allows to customize the selection appearance: it may be used
2129// // to specify the colour of the text which normally has the given colour
2130// // colFg when it is inside the selection
2131// //
2132// // by default, the original colour is not used at all and all text has the
2133// // same (default for this system) colour inside selection
2134// virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
2135
2136// // this is the same as GetSelectedTextColour() but allows to customize the
2137// // background colour -- this is even more rarely used as you can change it
2138// // globally using SetSelectionBackground()
2139// virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
2140
2141
2142 PYPRIVATE;
2143};
2144
2145
2146IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
2147
2148IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
2149IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
2150
2151
2152
2153
2154
b411df4a
RD
2155#ifndef wxHAS_TASK_BAR_ICON
2156// implement dummy classes for platforms that don't have it
d55e5bfc
RD
2157
2158class wxTaskBarIcon : public wxEvtHandler
2159{
2160public:
2161 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
2162};
09c21d3b 2163
d55e5bfc
RD
2164
2165class wxTaskBarIconEvent : public wxEvent
2166{
2167public:
2168 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
2169 { wxPyRaiseNotImplemented(); }
2170 virtual wxEvent* Clone() const { return NULL; }
b411df4a
RD
2171 bool IsOk() const { return false; }
2172 bool IsIconInstalled() const { return false; }
2173 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
2174 bool RemoveIcon() { return false; }
2175 bool PopupMenu(wxMenu *menu) { return false; }
d55e5bfc
RD
2176};
2177
2178enum {
2179 wxEVT_TASKBAR_MOVE = 0,
2180 wxEVT_TASKBAR_LEFT_DOWN = 0,
2181 wxEVT_TASKBAR_LEFT_UP = 0,
2182 wxEVT_TASKBAR_RIGHT_DOWN = 0,
2183 wxEVT_TASKBAR_RIGHT_UP = 0,
2184 wxEVT_TASKBAR_LEFT_DCLICK = 0,
2185 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
2186};
09c21d3b
RD
2187
2188
2189#else
5e483524
RD
2190// Otherwise make a class that can virtualize CreatePopupMenu
2191class wxPyTaskBarIcon : public wxTaskBarIcon
2192{
32fe5131 2193 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
5e483524
RD
2194public:
2195 wxPyTaskBarIcon() : wxTaskBarIcon()
2196 {}
09c21d3b 2197
5e483524
RD
2198 wxMenu* CreatePopupMenu() {
2199 wxMenu *rval = NULL;
2200 bool found;
5a446332 2201 wxPyBlock_t blocked = wxPyBeginBlockThreads();
5e483524
RD
2202 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
2203 PyObject* ro;
2204 wxMenu* ptr;
2205 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
2206 if (ro) {
2207 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
2208 rval = ptr;
2209 Py_DECREF(ro);
2210 }
2211 }
2212 wxPyEndBlockThreads(blocked);
2213 if (! found)
2214 rval = wxTaskBarIcon::CreatePopupMenu();
2215 return rval;
2216 }
d55e5bfc 2217
5e483524
RD
2218 PYPRIVATE;
2219};
d55e5bfc 2220
5e483524 2221IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
d55e5bfc 2222
5e483524
RD
2223#endif
2224
36ed4f51 2225static void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
5e483524
RD
2226 self->RemoveIcon();
2227 delete self;
d55e5bfc
RD
2228 }
2229 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
2230 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
2231 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
2232 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
2233 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
2234 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
36ed4f51 2235static PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
d55e5bfc
RD
2236 wxArrayString arr;
2237 self->GetFilenames(arr);
2238 return wxArrayString2PyList_helper(arr);
2239 }
36ed4f51 2240static PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
d55e5bfc
RD
2241 wxArrayString arr;
2242 self->GetPaths(arr);
2243 return wxArrayString2PyList_helper(arr);
2244 }
36ed4f51 2245static PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
d55e5bfc
RD
2246 return wxArrayInt2PyList_helper(self->GetSelections());
2247 }
36ed4f51 2248static 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
2249 return new wxSingleChoiceDialog(parent, message, caption,
2250 choices, choices_array, NULL, style, pos);
2251 }
070c48b4 2252 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
d55e5bfc
RD
2253
2254#include <wx/mdi.h>
2255
2256 // C++ version of Python aware wxWindow
2257class wxPyWindow : public wxWindow
2258{
2259 DECLARE_DYNAMIC_CLASS(wxPyWindow)
2260public:
2261 wxPyWindow() : wxWindow() {}
2262 wxPyWindow(wxWindow* parent, const wxWindowID id,
2263 const wxPoint& pos = wxDefaultPosition,
2264 const wxSize& size = wxDefaultSize,
2265 long style = 0,
2266 const wxString& name = wxPyPanelNameStr)
2267 : wxWindow(parent, id, pos, size, style, name) {}
2268
a5ee0656 2269 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
d55e5bfc 2270
976dbff5
RD
2271 bool DoEraseBackground(wxDC* dc) {
2272#ifdef __WXMSW__
2273 return wxWindow::DoEraseBackground(dc->GetHDC());
2274#else
2275 dc->SetBackground(wxBrush(GetBackgroundColour()));
2276 dc->Clear();
2277 return true;
2278#endif
2279 }
2280
d55e5bfc
RD
2281 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2282 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2283 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2284 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2285
2286 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2287 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2288 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2289
2290 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2291 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2292
2293 DEC_PYCALLBACK__(InitDialog);
2294 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2295 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2296 DEC_PYCALLBACK_BOOL_(Validate);
2297
2298 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2299 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2300 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2301
2302 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2303 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2304
a5ee0656 2305 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
a5ee0656 2306 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 2307
51b83b37
RD
2308 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2309
8d38bd1d
RD
2310 DEC_PYCALLBACK_VOID_(OnInternalIdle);
2311
d55e5bfc
RD
2312 PYPRIVATE;
2313};
2314
2315IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
2316
2317IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
2318IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
2319IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
2320IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
2321
2322IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
2323IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
2324IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
2325
2326IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
2327IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
2328
2329IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
2330IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
2331IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
2332IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
2333
2334IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
2335IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
2336IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
2337
2338IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
2339IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
2340
a5ee0656 2341IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
a5ee0656 2342IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
51b83b37
RD
2343
2344IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
d55e5bfc 2345
8d38bd1d
RD
2346IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
2347
d55e5bfc
RD
2348 // C++ version of Python aware wxPanel
2349class wxPyPanel : public wxPanel
2350{
2351 DECLARE_DYNAMIC_CLASS(wxPyPanel)
2352public:
2353 wxPyPanel() : wxPanel() {}
2354 wxPyPanel(wxWindow* parent, const wxWindowID id,
2355 const wxPoint& pos = wxDefaultPosition,
2356 const wxSize& size = wxDefaultSize,
2357 long style = 0,
2358 const wxString& name = wxPyPanelNameStr)
2359 : wxPanel(parent, id, pos, size, style, name) {}
2360
a5ee0656 2361 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
976dbff5
RD
2362 bool DoEraseBackground(wxDC* dc) {
2363#ifdef __WXMSW__
2364 return wxWindow::DoEraseBackground(dc->GetHDC());
2365#else
2366 dc->SetBackground(wxBrush(GetBackgroundColour()));
2367 dc->Clear();
2368 return true;
2369#endif
2370 }
a5ee0656 2371
d55e5bfc
RD
2372
2373 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2374 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2375 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2376 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2377
2378 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2379 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2380 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2381
2382 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2383 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2384
2385 DEC_PYCALLBACK__(InitDialog);
2386 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2387 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2388 DEC_PYCALLBACK_BOOL_(Validate);
2389
2390 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2391 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2392 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2393
2394 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2395 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2396
a5ee0656 2397 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
a5ee0656 2398 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 2399
51b83b37
RD
2400 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2401
8d38bd1d
RD
2402 DEC_PYCALLBACK_VOID_(OnInternalIdle);
2403
d55e5bfc
RD
2404 PYPRIVATE;
2405};
2406
2407IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
2408
2409IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
2410IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
2411IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
2412IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
2413
2414IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
2415IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
2416IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
2417
2418IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
2419IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
2420
2421IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
2422IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
2423IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
2424IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
2425
2426IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
2427IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
2428IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
2429
2430IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
2431IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
2432
a5ee0656 2433IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
a5ee0656 2434IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
d55e5bfc 2435
51b83b37
RD
2436IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
2437
8d38bd1d
RD
2438IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
2439
d55e5bfc
RD
2440 // C++ version of Python aware wxScrolledWindow
2441class wxPyScrolledWindow : public wxScrolledWindow
2442{
2443 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
2444public:
2445 wxPyScrolledWindow() : wxScrolledWindow() {}
2446 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
2447 const wxPoint& pos = wxDefaultPosition,
2448 const wxSize& size = wxDefaultSize,
2449 long style = 0,
2450 const wxString& name = wxPyPanelNameStr)
2451 : wxScrolledWindow(parent, id, pos, size, style, name) {}
2452
a5ee0656 2453 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
976dbff5
RD
2454 bool DoEraseBackground(wxDC* dc) {
2455#ifdef __WXMSW__
2456 return wxWindow::DoEraseBackground(dc->GetHDC());
2457#else
2458 dc->SetBackground(wxBrush(GetBackgroundColour()));
2459 dc->Clear();
2460 return true;
2461#endif
2462 }
d55e5bfc
RD
2463
2464 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2465 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2466 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2467 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2468
2469 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2470 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2471 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2472
2473 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2474 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2475
2476 DEC_PYCALLBACK__(InitDialog);
2477 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2478 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2479 DEC_PYCALLBACK_BOOL_(Validate);
2480
2481 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2482 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2483 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2484
2485 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2486 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2487
a5ee0656 2488 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
a5ee0656 2489 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 2490
51b83b37
RD
2491 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2492
8d38bd1d
RD
2493 DEC_PYCALLBACK_VOID_(OnInternalIdle);
2494
d55e5bfc
RD
2495 PYPRIVATE;
2496};
2497
2498IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
2499
2500IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
2501IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
2502IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
2503IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
2504
2505IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
2506IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
2507IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
2508
2509IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
2510IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
2511
2512IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
2513IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
2514IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
2515IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
2516
2517IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
2518IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
2519IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
2520
2521IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
2522IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
2523
a5ee0656 2524IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
a5ee0656
RD
2525IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
2526
51b83b37 2527IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
d55e5bfc 2528
8d38bd1d
RD
2529IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
2530
d55e5bfc
RD
2531
2532#include "wx/wxPython/printfw.h"
2533
2534
2535 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
2536 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
7fbf8399
RD
2537static PyObject *wxPrintData_GetPrivData(wxPrintData *self){
2538 PyObject* data;
5a446332 2539 wxPyBlock_t blocked = wxPyBeginBlockThreads();
7fbf8399
RD
2540 data = PyString_FromStringAndSize(self->GetPrivData(),
2541 self->GetPrivDataLen());
2542 wxPyEndBlockThreads(blocked);
2543 return data;
2544 }
2545static void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
2546 if (! PyString_Check(data)) {
2547 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
2548 "Expected string object"));
2549 return /* NULL */ ;
2550 }
2551
5a446332 2552 wxPyBlock_t blocked = wxPyBeginBlockThreads();
7fbf8399
RD
2553 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
2554 wxPyEndBlockThreads(blocked);
2555 }
d55e5bfc
RD
2556
2557
070c48b4 2558IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
d55e5bfc
RD
2559
2560// Since this one would be tough and ugly to do with the Macros...
2561void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
b411df4a 2562 bool hadErr = false;
d55e5bfc
RD
2563 bool found;
2564
5a446332 2565 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc
RD
2566 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
2567 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
2568 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
2569 PyObject* val;
2570
2571 val = PyTuple_GetItem(result, 0);
2572 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
b411df4a 2573 else hadErr = true;
d55e5bfc
RD
2574
2575 val = PyTuple_GetItem(result, 1);
2576 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
b411df4a 2577 else hadErr = true;
d55e5bfc
RD
2578
2579 val = PyTuple_GetItem(result, 2);
2580 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
b411df4a 2581 else hadErr = true;
d55e5bfc
RD
2582
2583 val = PyTuple_GetItem(result, 3);
2584 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
b411df4a 2585 else hadErr = true;
d55e5bfc
RD
2586 }
2587 else
b411df4a 2588 hadErr = true;
d55e5bfc
RD
2589
2590 if (hadErr) {
2591 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
2592 PyErr_Print();
2593 }
2594 Py_DECREF(result);
2595 }
2596 wxPyEndBlockThreads(blocked);
2597 if (! found)
2598 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
2599}
2600
2601void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
2602 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
2603}
2604
2605
2606IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
2607IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
2608IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
2609IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
2610IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
2611IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
2612IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
2613
2614
2615
2616
2617
b411df4a
RD
2618#define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
2619 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
d55e5bfc
RD
2620 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
2621
2622
b411df4a
RD
2623#define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
2624 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2625 bool rval=false; \
2626 bool found; \
32fe5131 2627 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
b411df4a
RD
2628 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2629 PyObject* win = wxPyMake_wxObject(a,false); \
2630 PyObject* dc = wxPyMake_wxObject(&b,false); \
2631 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
2632 Py_DECREF(win); \
2633 Py_DECREF(dc); \
2634 } \
2635 wxPyEndBlockThreads(blocked); \
2636 if (! found) \
2637 rval = PCLASS::CBNAME(a, b); \
2638 return rval; \
2639 } \
2640 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2641 return PCLASS::CBNAME(a, b); \
d55e5bfc
RD
2642 }
2643
2644
2645
2646
2647class wxPyPrintPreview : public wxPrintPreview
2648{
2649 DECLARE_CLASS(wxPyPrintPreview)
2650public:
2651 wxPyPrintPreview(wxPyPrintout* printout,
2652 wxPyPrintout* printoutForPrinting,
2653 wxPrintDialogData* data=NULL)
2654 : wxPrintPreview(printout, printoutForPrinting, data)
2655 {}
2656 wxPyPrintPreview(wxPyPrintout* printout,
2657 wxPyPrintout* printoutForPrinting,
32fe5131 2658 wxPrintData* data)
d55e5bfc
RD
2659 : wxPrintPreview(printout, printoutForPrinting, data)
2660 {}
2661
2662 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
2663 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
2664 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
2665 DEC_PYCALLBACK_BOOL_INT(RenderPage);
2666 DEC_PYCALLBACK_VOID_INT(SetZoom);
2667 DEC_PYCALLBACK_BOOL_BOOL(Print);
2668 DEC_PYCALLBACK_VOID_(DetermineScaling);
2669
2670 PYPRIVATE;
2671};
2672
2673// Stupid renamed classes... Fix this in 2.5...
2674#if defined(__WXMSW__)
2675IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
2676#elif defined(__WXMAC__)
2677IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
2678#else
2679IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
2680#endif
2681
2682IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
2683IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
2684IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
2685IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
2686IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
2687IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
2688IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
2689
2690
2691class wxPyPreviewFrame : public wxPreviewFrame
2692{
32fe5131 2693 DECLARE_CLASS(wxPyPreviewFrame)
d55e5bfc
RD
2694public:
2695 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
2696 const wxString& title,
2697 const wxPoint& pos = wxDefaultPosition,
2698 const wxSize& size = wxDefaultSize,
2699 long style = wxDEFAULT_FRAME_STYLE,
2700 const wxString& name = wxPyFrameNameStr)
2701 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
2702 {}
2703
2704 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
2705 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
2706
2707 DEC_PYCALLBACK_VOID_(Initialize);
2708 DEC_PYCALLBACK_VOID_(CreateCanvas);
2709 DEC_PYCALLBACK_VOID_(CreateControlBar);
2710
2711 PYPRIVATE;
2712};
2713
2714IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
2715
2716IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
2717IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
2718IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
2719
2720
2721class wxPyPreviewControlBar : public wxPreviewControlBar
2722{
32fe5131 2723 DECLARE_CLASS(wxPyPreviewControlBar)
d55e5bfc
RD
2724public:
2725 wxPyPreviewControlBar(wxPrintPreview *preview,
2726 long buttons,
2727 wxWindow *parent,
2728 const wxPoint& pos = wxDefaultPosition,
2729 const wxSize& size = wxDefaultSize,
2730 long style = 0,
2731 const wxString& name = wxPyPanelNameStr)
2732 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
2733 {}
2734
2735 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
2736
2737 DEC_PYCALLBACK_VOID_(CreateButtons);
2738 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
2739
2740 PYPRIVATE;
2741};
2742
2743IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
2744IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
2745IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
2746
2747#ifdef __cplusplus
2748extern "C" {
2749#endif
c370783e 2750static PyObject *_wrap_new_Panel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2751 PyObject *resultobj = NULL;
d55e5bfc
RD
2752 wxWindow *arg1 = (wxWindow *) 0 ;
2753 int arg2 = (int) (int)-1 ;
2754 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2755 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2756 wxSize const &arg4_defvalue = wxDefaultSize ;
2757 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2758 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
2759 wxString const &arg6_defvalue = wxPyPanelNameStr ;
2760 wxString *arg6 = (wxString *) &arg6_defvalue ;
2761 wxPanel *result;
2762 wxPoint temp3 ;
2763 wxSize temp4 ;
b411df4a 2764 bool temp6 = false ;
d55e5bfc
RD
2765 PyObject * obj0 = 0 ;
2766 PyObject * obj1 = 0 ;
2767 PyObject * obj2 = 0 ;
2768 PyObject * obj3 = 0 ;
2769 PyObject * obj4 = 0 ;
2770 PyObject * obj5 = 0 ;
2771 char *kwnames[] = {
2772 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2773 };
2774
2775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
2776 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2777 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 2778 if (obj1) {
36ed4f51 2779 {
32fe5131 2780 arg2 = static_cast<int const >(SWIG_As_int(obj1));
36ed4f51
RD
2781 if (SWIG_arg_fail(2)) SWIG_fail;
2782 }
d55e5bfc
RD
2783 }
2784 if (obj2) {
2785 {
2786 arg3 = &temp3;
2787 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2788 }
2789 }
2790 if (obj3) {
2791 {
2792 arg4 = &temp4;
2793 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2794 }
2795 }
2796 if (obj4) {
36ed4f51 2797 {
32fe5131 2798 arg5 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
2799 if (SWIG_arg_fail(5)) SWIG_fail;
2800 }
d55e5bfc
RD
2801 }
2802 if (obj5) {
2803 {
2804 arg6 = wxString_in_helper(obj5);
2805 if (arg6 == NULL) SWIG_fail;
b411df4a 2806 temp6 = true;
d55e5bfc
RD
2807 }
2808 }
2809 {
0439c23b 2810 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2811 PyThreadState* __tstate = wxPyBeginAllowThreads();
2812 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
2813
2814 wxPyEndAllowThreads(__tstate);
110da5b0 2815 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 2816 }
b0f7404b 2817 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
d55e5bfc
RD
2818 {
2819 if (temp6)
2820 delete arg6;
2821 }
2822 return resultobj;
2823 fail:
2824 {
2825 if (temp6)
2826 delete arg6;
2827 }
2828 return NULL;
2829}
2830
2831
c370783e 2832static PyObject *_wrap_new_PrePanel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2833 PyObject *resultobj = NULL;
d55e5bfc
RD
2834 wxPanel *result;
2835 char *kwnames[] = {
2836 NULL
2837 };
2838
2839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
2840 {
0439c23b 2841 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2842 PyThreadState* __tstate = wxPyBeginAllowThreads();
2843 result = (wxPanel *)new wxPanel();
2844
2845 wxPyEndAllowThreads(__tstate);
110da5b0 2846 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 2847 }
b0f7404b 2848 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
d55e5bfc
RD
2849 return resultobj;
2850 fail:
2851 return NULL;
2852}
2853
2854
c370783e 2855static PyObject *_wrap_Panel_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2856 PyObject *resultobj = NULL;
d55e5bfc
RD
2857 wxPanel *arg1 = (wxPanel *) 0 ;
2858 wxWindow *arg2 = (wxWindow *) 0 ;
2859 int arg3 = (int) (int)-1 ;
2860 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2861 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2862 wxSize const &arg5_defvalue = wxDefaultSize ;
2863 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2864 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
2865 wxString const &arg7_defvalue = wxPyPanelNameStr ;
2866 wxString *arg7 = (wxString *) &arg7_defvalue ;
2867 bool result;
2868 wxPoint temp4 ;
2869 wxSize temp5 ;
b411df4a 2870 bool temp7 = false ;
d55e5bfc
RD
2871 PyObject * obj0 = 0 ;
2872 PyObject * obj1 = 0 ;
2873 PyObject * obj2 = 0 ;
2874 PyObject * obj3 = 0 ;
2875 PyObject * obj4 = 0 ;
2876 PyObject * obj5 = 0 ;
2877 PyObject * obj6 = 0 ;
2878 char *kwnames[] = {
2879 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2880 };
2881
2882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
2883 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2884 if (SWIG_arg_fail(1)) SWIG_fail;
2885 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2886 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 2887 if (obj2) {
36ed4f51 2888 {
32fe5131 2889 arg3 = static_cast<int const >(SWIG_As_int(obj2));
36ed4f51
RD
2890 if (SWIG_arg_fail(3)) SWIG_fail;
2891 }
d55e5bfc
RD
2892 }
2893 if (obj3) {
2894 {
2895 arg4 = &temp4;
2896 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2897 }
2898 }
2899 if (obj4) {
2900 {
2901 arg5 = &temp5;
2902 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2903 }
2904 }
2905 if (obj5) {
36ed4f51 2906 {
32fe5131 2907 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
2908 if (SWIG_arg_fail(6)) SWIG_fail;
2909 }
d55e5bfc
RD
2910 }
2911 if (obj6) {
2912 {
2913 arg7 = wxString_in_helper(obj6);
2914 if (arg7 == NULL) SWIG_fail;
b411df4a 2915 temp7 = true;
d55e5bfc
RD
2916 }
2917 }
2918 {
2919 PyThreadState* __tstate = wxPyBeginAllowThreads();
2920 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2921
2922 wxPyEndAllowThreads(__tstate);
2923 if (PyErr_Occurred()) SWIG_fail;
2924 }
2925 {
2926 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2927 }
2928 {
2929 if (temp7)
2930 delete arg7;
2931 }
2932 return resultobj;
2933 fail:
2934 {
2935 if (temp7)
2936 delete arg7;
2937 }
2938 return NULL;
2939}
2940
2941
c370783e 2942static PyObject *_wrap_Panel_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2943 PyObject *resultobj = NULL;
d55e5bfc
RD
2944 wxPanel *arg1 = (wxPanel *) 0 ;
2945 PyObject * obj0 = 0 ;
2946 char *kwnames[] = {
2947 (char *) "self", NULL
2948 };
2949
2950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
36ed4f51
RD
2951 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2952 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
2953 {
2954 PyThreadState* __tstate = wxPyBeginAllowThreads();
2955 (arg1)->InitDialog();
2956
2957 wxPyEndAllowThreads(__tstate);
2958 if (PyErr_Occurred()) SWIG_fail;
2959 }
2960 Py_INCREF(Py_None); resultobj = Py_None;
2961 return resultobj;
2962 fail:
2963 return NULL;
2964}
2965
2966
5cbf236d 2967static PyObject *_wrap_Panel_SetFocus(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2968 PyObject *resultobj = NULL;
5cbf236d
RD
2969 wxPanel *arg1 = (wxPanel *) 0 ;
2970 PyObject * obj0 = 0 ;
2971 char *kwnames[] = {
2972 (char *) "self", NULL
2973 };
2974
2975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_SetFocus",kwnames,&obj0)) goto fail;
36ed4f51
RD
2976 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2977 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
2978 {
2979 PyThreadState* __tstate = wxPyBeginAllowThreads();
2980 (arg1)->SetFocus();
2981
2982 wxPyEndAllowThreads(__tstate);
2983 if (PyErr_Occurred()) SWIG_fail;
2984 }
2985 Py_INCREF(Py_None); resultobj = Py_None;
2986 return resultobj;
2987 fail:
2988 return NULL;
2989}
2990
2991
2992static PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2993 PyObject *resultobj = NULL;
5cbf236d
RD
2994 wxPanel *arg1 = (wxPanel *) 0 ;
2995 PyObject * obj0 = 0 ;
2996 char *kwnames[] = {
2997 (char *) "self", NULL
2998 };
2999
3000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_SetFocusIgnoringChildren",kwnames,&obj0)) goto fail;
36ed4f51
RD
3001 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
3002 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
3003 {
3004 PyThreadState* __tstate = wxPyBeginAllowThreads();
3005 (arg1)->SetFocusIgnoringChildren();
3006
3007 wxPyEndAllowThreads(__tstate);
3008 if (PyErr_Occurred()) SWIG_fail;
3009 }
3010 Py_INCREF(Py_None); resultobj = Py_None;
3011 return resultobj;
3012 fail:
3013 return NULL;
3014}
3015
3016
c370783e 3017static PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3018 PyObject *resultobj = NULL;
36ed4f51 3019 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
3020 wxVisualAttributes result;
3021 PyObject * obj0 = 0 ;
3022 char *kwnames[] = {
3023 (char *) "variant", NULL
3024 };
3025
3026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3027 if (obj0) {
36ed4f51 3028 {
32fe5131 3029 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
36ed4f51
RD
3030 if (SWIG_arg_fail(1)) SWIG_fail;
3031 }
f20a2e1f
RD
3032 }
3033 {
0439c23b 3034 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 3035 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 3036 result = wxPanel::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
3037
3038 wxPyEndAllowThreads(__tstate);
110da5b0 3039 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
3040 }
3041 {
3042 wxVisualAttributes * resultptr;
32fe5131 3043 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
3044 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3045 }
3046 return resultobj;
3047 fail:
3048 return NULL;
3049}
3050
3051
c370783e 3052static PyObject * Panel_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
3053 PyObject *obj;
3054 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3055 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
3056 Py_INCREF(obj);
3057 return Py_BuildValue((char *)"");
3058}
c370783e 3059static PyObject *_wrap_new_ScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3060 PyObject *resultobj = NULL;
d55e5bfc
RD
3061 wxWindow *arg1 = (wxWindow *) 0 ;
3062 int arg2 = (int) (int)-1 ;
3063 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3064 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3065 wxSize const &arg4_defvalue = wxDefaultSize ;
3066 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3067 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
3068 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3069 wxString *arg6 = (wxString *) &arg6_defvalue ;
3070 wxScrolledWindow *result;
3071 wxPoint temp3 ;
3072 wxSize temp4 ;
b411df4a 3073 bool temp6 = false ;
d55e5bfc
RD
3074 PyObject * obj0 = 0 ;
3075 PyObject * obj1 = 0 ;
3076 PyObject * obj2 = 0 ;
3077 PyObject * obj3 = 0 ;
3078 PyObject * obj4 = 0 ;
3079 PyObject * obj5 = 0 ;
3080 char *kwnames[] = {
3081 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3082 };
3083
3084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
3085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3086 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 3087 if (obj1) {
36ed4f51 3088 {
32fe5131 3089 arg2 = static_cast<int const >(SWIG_As_int(obj1));
36ed4f51
RD
3090 if (SWIG_arg_fail(2)) SWIG_fail;
3091 }
d55e5bfc
RD
3092 }
3093 if (obj2) {
3094 {
3095 arg3 = &temp3;
3096 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3097 }
3098 }
3099 if (obj3) {
3100 {
3101 arg4 = &temp4;
3102 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3103 }
3104 }
3105 if (obj4) {
36ed4f51 3106 {
32fe5131 3107 arg5 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
3108 if (SWIG_arg_fail(5)) SWIG_fail;
3109 }
d55e5bfc
RD
3110 }
3111 if (obj5) {
3112 {
3113 arg6 = wxString_in_helper(obj5);
3114 if (arg6 == NULL) SWIG_fail;
b411df4a 3115 temp6 = true;
d55e5bfc
RD
3116 }
3117 }
3118 {
0439c23b 3119 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3120 PyThreadState* __tstate = wxPyBeginAllowThreads();
3121 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3122
3123 wxPyEndAllowThreads(__tstate);
110da5b0 3124 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 3125 }
b0f7404b 3126 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
d55e5bfc
RD
3127 {
3128 if (temp6)
3129 delete arg6;
3130 }
3131 return resultobj;
3132 fail:
3133 {
3134 if (temp6)
3135 delete arg6;
3136 }
3137 return NULL;
3138}
3139
3140
c370783e 3141static PyObject *_wrap_new_PreScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3142 PyObject *resultobj = NULL;
d55e5bfc
RD
3143 wxScrolledWindow *result;
3144 char *kwnames[] = {
3145 NULL
3146 };
3147
3148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
3149 {
0439c23b 3150 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3151 PyThreadState* __tstate = wxPyBeginAllowThreads();
3152 result = (wxScrolledWindow *)new wxScrolledWindow();
3153
3154 wxPyEndAllowThreads(__tstate);
110da5b0 3155 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 3156 }
b0f7404b 3157 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
d55e5bfc
RD
3158 return resultobj;
3159 fail:
3160 return NULL;
3161}
3162
3163
c370783e 3164static PyObject *_wrap_ScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3165 PyObject *resultobj = NULL;
d55e5bfc
RD
3166 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3167 wxWindow *arg2 = (wxWindow *) 0 ;
3168 int arg3 = (int) (int)-1 ;
3169 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3170 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3171 wxSize const &arg5_defvalue = wxDefaultSize ;
3172 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3173 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
3174 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3175 wxString *arg7 = (wxString *) &arg7_defvalue ;
3176 bool result;
3177 wxPoint temp4 ;
3178 wxSize temp5 ;
b411df4a 3179 bool temp7 = false ;
d55e5bfc
RD
3180 PyObject * obj0 = 0 ;
3181 PyObject * obj1 = 0 ;
3182 PyObject * obj2 = 0 ;
3183 PyObject * obj3 = 0 ;
3184 PyObject * obj4 = 0 ;
3185 PyObject * obj5 = 0 ;
3186 PyObject * obj6 = 0 ;
3187 char *kwnames[] = {
3188 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3189 };
3190
3191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
3192 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3193 if (SWIG_arg_fail(1)) SWIG_fail;
3194 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3195 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 3196 if (obj2) {
36ed4f51 3197 {
32fe5131 3198 arg3 = static_cast<int const >(SWIG_As_int(obj2));
36ed4f51
RD
3199 if (SWIG_arg_fail(3)) SWIG_fail;
3200 }
d55e5bfc
RD
3201 }
3202 if (obj3) {
3203 {
3204 arg4 = &temp4;
3205 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3206 }
3207 }
3208 if (obj4) {
3209 {
3210 arg5 = &temp5;
3211 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3212 }
3213 }
3214 if (obj5) {
36ed4f51 3215 {
32fe5131 3216 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
3217 if (SWIG_arg_fail(6)) SWIG_fail;
3218 }
d55e5bfc
RD
3219 }
3220 if (obj6) {
3221 {
3222 arg7 = wxString_in_helper(obj6);
3223 if (arg7 == NULL) SWIG_fail;
b411df4a 3224 temp7 = true;
d55e5bfc
RD
3225 }
3226 }
3227 {
3228 PyThreadState* __tstate = wxPyBeginAllowThreads();
3229 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3230
3231 wxPyEndAllowThreads(__tstate);
3232 if (PyErr_Occurred()) SWIG_fail;
3233 }
3234 {
3235 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3236 }
3237 {
3238 if (temp7)
3239 delete arg7;
3240 }
3241 return resultobj;
3242 fail:
3243 {
3244 if (temp7)
3245 delete arg7;
3246 }
3247 return NULL;
3248}
3249
3250
c370783e 3251static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3252 PyObject *resultobj = NULL;
d55e5bfc
RD
3253 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3254 int arg2 ;
3255 int arg3 ;
3256 int arg4 ;
3257 int arg5 ;
3258 int arg6 = (int) 0 ;
3259 int arg7 = (int) 0 ;
b411df4a 3260 bool arg8 = (bool) false ;
d55e5bfc
RD
3261 PyObject * obj0 = 0 ;
3262 PyObject * obj1 = 0 ;
3263 PyObject * obj2 = 0 ;
3264 PyObject * obj3 = 0 ;
3265 PyObject * obj4 = 0 ;
3266 PyObject * obj5 = 0 ;
3267 PyObject * obj6 = 0 ;
3268 PyObject * obj7 = 0 ;
3269 char *kwnames[] = {
3270 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
3271 };
3272
3273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
3274 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3275 if (SWIG_arg_fail(1)) SWIG_fail;
3276 {
32fe5131 3277 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3278 if (SWIG_arg_fail(2)) SWIG_fail;
3279 }
3280 {
32fe5131 3281 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
3282 if (SWIG_arg_fail(3)) SWIG_fail;
3283 }
3284 {
32fe5131 3285 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
3286 if (SWIG_arg_fail(4)) SWIG_fail;
3287 }
3288 {
32fe5131 3289 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
3290 if (SWIG_arg_fail(5)) SWIG_fail;
3291 }
d55e5bfc 3292 if (obj5) {
36ed4f51 3293 {
32fe5131 3294 arg6 = static_cast<int >(SWIG_As_int(obj5));
36ed4f51
RD
3295 if (SWIG_arg_fail(6)) SWIG_fail;
3296 }
d55e5bfc
RD
3297 }
3298 if (obj6) {
36ed4f51 3299 {
32fe5131 3300 arg7 = static_cast<int >(SWIG_As_int(obj6));
36ed4f51
RD
3301 if (SWIG_arg_fail(7)) SWIG_fail;
3302 }
d55e5bfc
RD
3303 }
3304 if (obj7) {
36ed4f51 3305 {
32fe5131 3306 arg8 = static_cast<bool >(SWIG_As_bool(obj7));
36ed4f51
RD
3307 if (SWIG_arg_fail(8)) SWIG_fail;
3308 }
d55e5bfc
RD
3309 }
3310 {
3311 PyThreadState* __tstate = wxPyBeginAllowThreads();
3312 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
3313
3314 wxPyEndAllowThreads(__tstate);
3315 if (PyErr_Occurred()) SWIG_fail;
3316 }
3317 Py_INCREF(Py_None); resultobj = Py_None;
3318 return resultobj;
3319 fail:
3320 return NULL;
3321}
3322
3323
c370783e 3324static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3325 PyObject *resultobj = NULL;
d55e5bfc
RD
3326 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3327 int arg2 ;
3328 int arg3 ;
3329 PyObject * obj0 = 0 ;
3330 PyObject * obj1 = 0 ;
3331 PyObject * obj2 = 0 ;
3332 char *kwnames[] = {
3333 (char *) "self",(char *) "x",(char *) "y", NULL
3334 };
3335
3336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
3337 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3338 if (SWIG_arg_fail(1)) SWIG_fail;
3339 {
32fe5131 3340 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3341 if (SWIG_arg_fail(2)) SWIG_fail;
3342 }
3343 {
32fe5131 3344 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
3345 if (SWIG_arg_fail(3)) SWIG_fail;
3346 }
d55e5bfc
RD
3347 {
3348 PyThreadState* __tstate = wxPyBeginAllowThreads();
3349 (arg1)->Scroll(arg2,arg3);
3350
3351 wxPyEndAllowThreads(__tstate);
3352 if (PyErr_Occurred()) SWIG_fail;
3353 }
3354 Py_INCREF(Py_None); resultobj = Py_None;
3355 return resultobj;
3356 fail:
3357 return NULL;
3358}
3359
3360
c370783e 3361static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3362 PyObject *resultobj = NULL;
d55e5bfc
RD
3363 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3364 int arg2 ;
3365 int result;
3366 PyObject * obj0 = 0 ;
3367 PyObject * obj1 = 0 ;
3368 char *kwnames[] = {
3369 (char *) "self",(char *) "orient", NULL
3370 };
3371
3372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3373 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3374 if (SWIG_arg_fail(1)) SWIG_fail;
3375 {
32fe5131 3376 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3377 if (SWIG_arg_fail(2)) SWIG_fail;
3378 }
d55e5bfc
RD
3379 {
3380 PyThreadState* __tstate = wxPyBeginAllowThreads();
3381 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
3382
3383 wxPyEndAllowThreads(__tstate);
3384 if (PyErr_Occurred()) SWIG_fail;
3385 }
36ed4f51 3386 {
32fe5131 3387 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 3388 }
d55e5bfc
RD
3389 return resultobj;
3390 fail:
3391 return NULL;
3392}
3393
3394
c370783e 3395static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3396 PyObject *resultobj = NULL;
d55e5bfc
RD
3397 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3398 int arg2 ;
3399 int arg3 ;
3400 PyObject * obj0 = 0 ;
3401 PyObject * obj1 = 0 ;
3402 PyObject * obj2 = 0 ;
3403 char *kwnames[] = {
3404 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
3405 };
3406
3407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
3408 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3409 if (SWIG_arg_fail(1)) SWIG_fail;
3410 {
32fe5131 3411 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3412 if (SWIG_arg_fail(2)) SWIG_fail;
3413 }
3414 {
32fe5131 3415 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
3416 if (SWIG_arg_fail(3)) SWIG_fail;
3417 }
d55e5bfc
RD
3418 {
3419 PyThreadState* __tstate = wxPyBeginAllowThreads();
3420 (arg1)->SetScrollPageSize(arg2,arg3);
3421
3422 wxPyEndAllowThreads(__tstate);
3423 if (PyErr_Occurred()) SWIG_fail;
3424 }
3425 Py_INCREF(Py_None); resultobj = Py_None;
3426 return resultobj;
3427 fail:
3428 return NULL;
3429}
3430
3431
c370783e 3432static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3433 PyObject *resultobj = NULL;
d55e5bfc
RD
3434 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3435 int arg2 ;
3436 int arg3 ;
3437 PyObject * obj0 = 0 ;
3438 PyObject * obj1 = 0 ;
3439 PyObject * obj2 = 0 ;
3440 char *kwnames[] = {
3441 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
3442 };
3443
3444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
3445 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3446 if (SWIG_arg_fail(1)) SWIG_fail;
3447 {
32fe5131 3448 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3449 if (SWIG_arg_fail(2)) SWIG_fail;
3450 }
3451 {
32fe5131 3452 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
3453 if (SWIG_arg_fail(3)) SWIG_fail;
3454 }
d55e5bfc
RD
3455 {
3456 PyThreadState* __tstate = wxPyBeginAllowThreads();
3457 (arg1)->SetScrollRate(arg2,arg3);
3458
3459 wxPyEndAllowThreads(__tstate);
3460 if (PyErr_Occurred()) SWIG_fail;
3461 }
3462 Py_INCREF(Py_None); resultobj = Py_None;
3463 return resultobj;
3464 fail:
3465 return NULL;
3466}
3467
3468
c370783e 3469static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3470 PyObject *resultobj = NULL;
d55e5bfc
RD
3471 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3472 int *arg2 = (int *) 0 ;
3473 int *arg3 = (int *) 0 ;
3474 int temp2 ;
c370783e 3475 int res2 = 0 ;
d55e5bfc 3476 int temp3 ;
c370783e 3477 int res3 = 0 ;
d55e5bfc
RD
3478 PyObject * obj0 = 0 ;
3479 char *kwnames[] = {
3480 (char *) "self", NULL
3481 };
3482
c370783e
RD
3483 arg2 = &temp2; res2 = SWIG_NEWOBJ;
3484 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 3485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
36ed4f51
RD
3486 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3487 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3488 {
3489 PyThreadState* __tstate = wxPyBeginAllowThreads();
3490 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
3491
3492 wxPyEndAllowThreads(__tstate);
3493 if (PyErr_Occurred()) SWIG_fail;
3494 }
3495 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
3496 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
3497 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
3498 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
3499 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
3500 return resultobj;
3501 fail:
3502 return NULL;
3503}
3504
3505
c370783e 3506static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3507 PyObject *resultobj = NULL;
d55e5bfc
RD
3508 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3509 bool arg2 ;
3510 bool arg3 ;
3511 PyObject * obj0 = 0 ;
3512 PyObject * obj1 = 0 ;
3513 PyObject * obj2 = 0 ;
3514 char *kwnames[] = {
3515 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
3516 };
3517
3518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
3519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3520 if (SWIG_arg_fail(1)) SWIG_fail;
3521 {
32fe5131 3522 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
3523 if (SWIG_arg_fail(2)) SWIG_fail;
3524 }
3525 {
32fe5131 3526 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
3527 if (SWIG_arg_fail(3)) SWIG_fail;
3528 }
d55e5bfc
RD
3529 {
3530 PyThreadState* __tstate = wxPyBeginAllowThreads();
3531 (arg1)->EnableScrolling(arg2,arg3);
3532
3533 wxPyEndAllowThreads(__tstate);
3534 if (PyErr_Occurred()) SWIG_fail;
3535 }
3536 Py_INCREF(Py_None); resultobj = Py_None;
3537 return resultobj;
3538 fail:
3539 return NULL;
3540}
3541
3542
c370783e 3543static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3544 PyObject *resultobj = NULL;
d55e5bfc
RD
3545 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3546 int *arg2 = (int *) 0 ;
3547 int *arg3 = (int *) 0 ;
3548 int temp2 ;
c370783e 3549 int res2 = 0 ;
d55e5bfc 3550 int temp3 ;
c370783e 3551 int res3 = 0 ;
d55e5bfc
RD
3552 PyObject * obj0 = 0 ;
3553 char *kwnames[] = {
3554 (char *) "self", NULL
3555 };
3556
c370783e
RD
3557 arg2 = &temp2; res2 = SWIG_NEWOBJ;
3558 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 3559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
36ed4f51
RD
3560 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3561 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3562 {
3563 PyThreadState* __tstate = wxPyBeginAllowThreads();
3564 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
3565
3566 wxPyEndAllowThreads(__tstate);
3567 if (PyErr_Occurred()) SWIG_fail;
3568 }
3569 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
3570 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
3571 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
3572 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
3573 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
3574 return resultobj;
3575 fail:
3576 return NULL;
3577}
3578
3579
c370783e 3580static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3581 PyObject *resultobj = NULL;
d55e5bfc
RD
3582 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3583 double arg2 ;
3584 double arg3 ;
3585 PyObject * obj0 = 0 ;
3586 PyObject * obj1 = 0 ;
3587 PyObject * obj2 = 0 ;
3588 char *kwnames[] = {
3589 (char *) "self",(char *) "xs",(char *) "ys", NULL
3590 };
3591
3592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
3593 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3594 if (SWIG_arg_fail(1)) SWIG_fail;
3595 {
32fe5131 3596 arg2 = static_cast<double >(SWIG_As_double(obj1));
36ed4f51
RD
3597 if (SWIG_arg_fail(2)) SWIG_fail;
3598 }
3599 {
32fe5131 3600 arg3 = static_cast<double >(SWIG_As_double(obj2));
36ed4f51
RD
3601 if (SWIG_arg_fail(3)) SWIG_fail;
3602 }
d55e5bfc
RD
3603 {
3604 PyThreadState* __tstate = wxPyBeginAllowThreads();
3605 (arg1)->SetScale(arg2,arg3);
3606
3607 wxPyEndAllowThreads(__tstate);
3608 if (PyErr_Occurred()) SWIG_fail;
3609 }
3610 Py_INCREF(Py_None); resultobj = Py_None;
3611 return resultobj;
3612 fail:
3613 return NULL;
3614}
3615
3616
c370783e 3617static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3618 PyObject *resultobj = NULL;
d55e5bfc
RD
3619 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3620 double result;
3621 PyObject * obj0 = 0 ;
3622 char *kwnames[] = {
3623 (char *) "self", NULL
3624 };
3625
3626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
36ed4f51
RD
3627 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3628 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3629 {
3630 PyThreadState* __tstate = wxPyBeginAllowThreads();
3631 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
3632
3633 wxPyEndAllowThreads(__tstate);
3634 if (PyErr_Occurred()) SWIG_fail;
3635 }
36ed4f51 3636 {
32fe5131 3637 resultobj = SWIG_From_double(static_cast<double >(result));
36ed4f51 3638 }
d55e5bfc
RD
3639 return resultobj;
3640 fail:
3641 return NULL;
3642}
3643
3644
c370783e 3645static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3646 PyObject *resultobj = NULL;
d55e5bfc
RD
3647 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3648 double result;
3649 PyObject * obj0 = 0 ;
3650 char *kwnames[] = {
3651 (char *) "self", NULL
3652 };
3653
3654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
36ed4f51
RD
3655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3656 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3657 {
3658 PyThreadState* __tstate = wxPyBeginAllowThreads();
3659 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
3660
3661 wxPyEndAllowThreads(__tstate);
3662 if (PyErr_Occurred()) SWIG_fail;
3663 }
36ed4f51 3664 {
32fe5131 3665 resultobj = SWIG_From_double(static_cast<double >(result));
36ed4f51 3666 }
d55e5bfc
RD
3667 return resultobj;
3668 fail:
3669 return NULL;
3670}
3671
3672
c370783e 3673static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *, PyObject *args) {
32fe5131 3674 PyObject *resultobj = NULL;
d55e5bfc
RD
3675 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3676 wxPoint *arg2 = 0 ;
3677 wxPoint result;
3678 wxPoint temp2 ;
3679 PyObject * obj0 = 0 ;
3680 PyObject * obj1 = 0 ;
3681
3682 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
36ed4f51
RD
3683 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3684 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3685 {
3686 arg2 = &temp2;
3687 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3688 }
3689 {
3690 PyThreadState* __tstate = wxPyBeginAllowThreads();
3691 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
3692
3693 wxPyEndAllowThreads(__tstate);
3694 if (PyErr_Occurred()) SWIG_fail;
3695 }
3696 {
3697 wxPoint * resultptr;
32fe5131 3698 resultptr = new wxPoint(static_cast<wxPoint & >(result));
d55e5bfc
RD
3699 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3700 }
3701 return resultobj;
3702 fail:
3703 return NULL;
3704}
3705
3706
c370783e 3707static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *, PyObject *args) {
32fe5131 3708 PyObject *resultobj = NULL;
d55e5bfc
RD
3709 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3710 int arg2 ;
3711 int arg3 ;
3712 int *arg4 = (int *) 0 ;
3713 int *arg5 = (int *) 0 ;
3714 int temp4 ;
c370783e 3715 int res4 = 0 ;
d55e5bfc 3716 int temp5 ;
c370783e 3717 int res5 = 0 ;
d55e5bfc
RD
3718 PyObject * obj0 = 0 ;
3719 PyObject * obj1 = 0 ;
3720 PyObject * obj2 = 0 ;
3721
c370783e
RD
3722 arg4 = &temp4; res4 = SWIG_NEWOBJ;
3723 arg5 = &temp5; res5 = SWIG_NEWOBJ;
d55e5bfc 3724 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
3725 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3726 if (SWIG_arg_fail(1)) SWIG_fail;
3727 {
32fe5131 3728 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3729 if (SWIG_arg_fail(2)) SWIG_fail;
3730 }
3731 {
32fe5131 3732 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
3733 if (SWIG_arg_fail(3)) SWIG_fail;
3734 }
d55e5bfc
RD
3735 {
3736 PyThreadState* __tstate = wxPyBeginAllowThreads();
3737 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
3738
3739 wxPyEndAllowThreads(__tstate);
3740 if (PyErr_Occurred()) SWIG_fail;
3741 }
3742 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
3743 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
3744 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
3745 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
3746 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
3747 return resultobj;
3748 fail:
3749 return NULL;
3750}
3751
3752
3753static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
3754 int argc;
3755 PyObject *argv[4];
3756 int ii;
3757
3758 argc = PyObject_Length(args);
3759 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
3760 argv[ii] = PyTuple_GetItem(args,ii);
3761 }
3762 if (argc == 2) {
3763 int _v;
3764 {
3765 void *ptr;
3766 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3767 _v = 0;
3768 PyErr_Clear();
3769 } else {
3770 _v = 1;
3771 }
3772 }
3773 if (_v) {
3774 {
3775 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
3776 }
3777 if (_v) {
3778 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
3779 }
3780 }
3781 }
3782 if (argc == 3) {
3783 int _v;
3784 {
3785 void *ptr;
3786 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3787 _v = 0;
3788 PyErr_Clear();
3789 } else {
3790 _v = 1;
3791 }
3792 }
3793 if (_v) {
c370783e 3794 _v = SWIG_Check_int(argv[1]);
d55e5bfc 3795 if (_v) {
c370783e 3796 _v = SWIG_Check_int(argv[2]);
d55e5bfc
RD
3797 if (_v) {
3798 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
3799 }
3800 }
3801 }
3802 }
3803
36ed4f51 3804 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
d55e5bfc
RD
3805 return NULL;
3806}
3807
3808
c370783e 3809static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *, PyObject *args) {
32fe5131 3810 PyObject *resultobj = NULL;
d55e5bfc
RD
3811 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3812 wxPoint *arg2 = 0 ;
3813 wxPoint result;
3814 wxPoint temp2 ;
3815 PyObject * obj0 = 0 ;
3816 PyObject * obj1 = 0 ;
3817
3818 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
36ed4f51
RD
3819 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3820 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3821 {
3822 arg2 = &temp2;
3823 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3824 }
3825 {
3826 PyThreadState* __tstate = wxPyBeginAllowThreads();
3827 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
3828
3829 wxPyEndAllowThreads(__tstate);
3830 if (PyErr_Occurred()) SWIG_fail;
3831 }
3832 {
3833 wxPoint * resultptr;
32fe5131 3834 resultptr = new wxPoint(static_cast<wxPoint & >(result));
d55e5bfc
RD
3835 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3836 }
3837 return resultobj;
3838 fail:
3839 return NULL;
3840}
3841
3842
c370783e 3843static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *, PyObject *args) {
32fe5131 3844 PyObject *resultobj = NULL;
d55e5bfc
RD
3845 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3846 int arg2 ;
3847 int arg3 ;
3848 int *arg4 = (int *) 0 ;
3849 int *arg5 = (int *) 0 ;
3850 int temp4 ;
c370783e 3851 int res4 = 0 ;
d55e5bfc 3852 int temp5 ;
c370783e 3853 int res5 = 0 ;
d55e5bfc
RD
3854 PyObject * obj0 = 0 ;
3855 PyObject * obj1 = 0 ;
3856 PyObject * obj2 = 0 ;
3857
c370783e
RD
3858 arg4 = &temp4; res4 = SWIG_NEWOBJ;
3859 arg5 = &temp5; res5 = SWIG_NEWOBJ;
d55e5bfc 3860 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
3861 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3862 if (SWIG_arg_fail(1)) SWIG_fail;
3863 {
32fe5131 3864 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3865 if (SWIG_arg_fail(2)) SWIG_fail;
3866 }
3867 {
32fe5131 3868 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
3869 if (SWIG_arg_fail(3)) SWIG_fail;
3870 }
d55e5bfc
RD
3871 {
3872 PyThreadState* __tstate = wxPyBeginAllowThreads();
3873 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
3874
3875 wxPyEndAllowThreads(__tstate);
3876 if (PyErr_Occurred()) SWIG_fail;
3877 }
3878 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
3879 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
3880 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
3881 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
3882 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
3883 return resultobj;
3884 fail:
3885 return NULL;
3886}
3887
3888
3889static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
3890 int argc;
3891 PyObject *argv[4];
3892 int ii;
3893
3894 argc = PyObject_Length(args);
3895 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
3896 argv[ii] = PyTuple_GetItem(args,ii);
3897 }
3898 if (argc == 2) {
3899 int _v;
3900 {
3901 void *ptr;
3902 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3903 _v = 0;
3904 PyErr_Clear();
3905 } else {
3906 _v = 1;
3907 }
3908 }
3909 if (_v) {
3910 {
3911 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
3912 }
3913 if (_v) {
3914 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
3915 }
3916 }
3917 }
3918 if (argc == 3) {
3919 int _v;
3920 {
3921 void *ptr;
3922 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3923 _v = 0;
3924 PyErr_Clear();
3925 } else {
3926 _v = 1;
3927 }
3928 }
3929 if (_v) {
c370783e 3930 _v = SWIG_Check_int(argv[1]);
d55e5bfc 3931 if (_v) {
c370783e 3932 _v = SWIG_Check_int(argv[2]);
d55e5bfc
RD
3933 if (_v) {
3934 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
3935 }
3936 }
3937 }
3938 }
3939
36ed4f51 3940 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
d55e5bfc
RD
3941 return NULL;
3942}
3943
3944
c370783e 3945static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3946 PyObject *resultobj = NULL;
d55e5bfc
RD
3947 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3948 PyObject * obj0 = 0 ;
3949 char *kwnames[] = {
3950 (char *) "self", NULL
3951 };
3952
3953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
36ed4f51
RD
3954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3955 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3956 {
3957 PyThreadState* __tstate = wxPyBeginAllowThreads();
3958 (arg1)->AdjustScrollbars();
3959
3960 wxPyEndAllowThreads(__tstate);
3961 if (PyErr_Occurred()) SWIG_fail;
3962 }
3963 Py_INCREF(Py_None); resultobj = Py_None;
3964 return resultobj;
3965 fail:
3966 return NULL;
3967}
3968
3969
c370783e 3970static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3971 PyObject *resultobj = NULL;
d55e5bfc
RD
3972 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3973 wxScrollWinEvent *arg2 = 0 ;
3974 int result;
3975 PyObject * obj0 = 0 ;
3976 PyObject * obj1 = 0 ;
3977 char *kwnames[] = {
3978 (char *) "self",(char *) "event", NULL
3979 };
3980
3981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3982 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3983 if (SWIG_arg_fail(1)) SWIG_fail;
3984 {
3985 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxScrollWinEvent, SWIG_POINTER_EXCEPTION | 0);
3986 if (SWIG_arg_fail(2)) SWIG_fail;
3987 if (arg2 == NULL) {
3988 SWIG_null_ref("wxScrollWinEvent");
3989 }
3990 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
3991 }
3992 {
3993 PyThreadState* __tstate = wxPyBeginAllowThreads();
3994 result = (int)(arg1)->CalcScrollInc(*arg2);
3995
3996 wxPyEndAllowThreads(__tstate);
3997 if (PyErr_Occurred()) SWIG_fail;
3998 }
36ed4f51 3999 {
32fe5131 4000 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 4001 }
d55e5bfc
RD
4002 return resultobj;
4003 fail:
4004 return NULL;
4005}
4006
4007
c370783e 4008static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4009 PyObject *resultobj = NULL;
d55e5bfc
RD
4010 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4011 wxWindow *arg2 = (wxWindow *) 0 ;
4012 PyObject * obj0 = 0 ;
4013 PyObject * obj1 = 0 ;
4014 char *kwnames[] = {
4015 (char *) "self",(char *) "target", NULL
4016 };
4017
4018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4019 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
4020 if (SWIG_arg_fail(1)) SWIG_fail;
4021 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4022 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
4023 {
4024 PyThreadState* __tstate = wxPyBeginAllowThreads();
4025 (arg1)->SetTargetWindow(arg2);
4026
4027 wxPyEndAllowThreads(__tstate);
4028 if (PyErr_Occurred()) SWIG_fail;
4029 }
4030 Py_INCREF(Py_None); resultobj = Py_None;
4031 return resultobj;
4032 fail:
4033 return NULL;
4034}
4035
4036
c370783e 4037static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4038 PyObject *resultobj = NULL;
d55e5bfc
RD
4039 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4040 wxWindow *result;
4041 PyObject * obj0 = 0 ;
4042 char *kwnames[] = {
4043 (char *) "self", NULL
4044 };
4045
4046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
4047 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
4048 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4049 {
4050 PyThreadState* __tstate = wxPyBeginAllowThreads();
4051 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
4052
4053 wxPyEndAllowThreads(__tstate);
4054 if (PyErr_Occurred()) SWIG_fail;
4055 }
4056 {
412d302d 4057 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
4058 }
4059 return resultobj;
4060 fail:
4061 return NULL;
4062}
4063
4064
c370783e 4065static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4066 PyObject *resultobj = NULL;
d55e5bfc
RD
4067 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4068 wxRect *arg2 = 0 ;
4069 wxRect temp2 ;
4070 PyObject * obj0 = 0 ;
4071 PyObject * obj1 = 0 ;
4072 char *kwnames[] = {
4073 (char *) "self",(char *) "rect", NULL
4074 };
4075
4076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4077 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
4078 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4079 {
4080 arg2 = &temp2;
4081 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4082 }
4083 {
4084 PyThreadState* __tstate = wxPyBeginAllowThreads();
4085 (arg1)->SetTargetRect((wxRect const &)*arg2);
4086
4087 wxPyEndAllowThreads(__tstate);
4088 if (PyErr_Occurred()) SWIG_fail;
4089 }
4090 Py_INCREF(Py_None); resultobj = Py_None;
4091 return resultobj;
4092 fail:
4093 return NULL;
4094}
4095
4096
c370783e 4097static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4098 PyObject *resultobj = NULL;
d55e5bfc
RD
4099 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4100 wxRect result;
4101 PyObject * obj0 = 0 ;
4102 char *kwnames[] = {
4103 (char *) "self", NULL
4104 };
4105
4106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
36ed4f51
RD
4107 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
4108 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4109 {
4110 PyThreadState* __tstate = wxPyBeginAllowThreads();
4111 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
4112
4113 wxPyEndAllowThreads(__tstate);
4114 if (PyErr_Occurred()) SWIG_fail;
4115 }
4116 {
4117 wxRect * resultptr;
32fe5131 4118 resultptr = new wxRect(static_cast<wxRect & >(result));
d55e5bfc
RD
4119 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
4120 }
4121 return resultobj;
4122 fail:
4123 return NULL;
4124}
4125
4126
c370783e 4127static PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4128 PyObject *resultobj = NULL;
f5b96ee1
RD
4129 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4130 wxDC *arg2 = 0 ;
4131 PyObject * obj0 = 0 ;
4132 PyObject * obj1 = 0 ;
4133 char *kwnames[] = {
4134 (char *) "self",(char *) "dc", NULL
4135 };
4136
4137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4138 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
4139 if (SWIG_arg_fail(1)) SWIG_fail;
4140 {
4141 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
4142 if (SWIG_arg_fail(2)) SWIG_fail;
4143 if (arg2 == NULL) {
4144 SWIG_null_ref("wxDC");
4145 }
4146 if (SWIG_arg_fail(2)) SWIG_fail;
f5b96ee1
RD
4147 }
4148 {
4149 PyThreadState* __tstate = wxPyBeginAllowThreads();
4150 (arg1)->DoPrepareDC(*arg2);
4151
4152 wxPyEndAllowThreads(__tstate);
4153 if (PyErr_Occurred()) SWIG_fail;
4154 }
4155 Py_INCREF(Py_None); resultobj = Py_None;
4156 return resultobj;
4157 fail:
4158 return NULL;
4159}
4160
4161
c370783e 4162static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4163 PyObject *resultobj = NULL;
36ed4f51 4164 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
4165 wxVisualAttributes result;
4166 PyObject * obj0 = 0 ;
4167 char *kwnames[] = {
4168 (char *) "variant", NULL
4169 };
4170
4171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4172 if (obj0) {
36ed4f51 4173 {
32fe5131 4174 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
36ed4f51
RD
4175 if (SWIG_arg_fail(1)) SWIG_fail;
4176 }
f20a2e1f
RD
4177 }
4178 {
0439c23b 4179 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 4180 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 4181 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
4182
4183 wxPyEndAllowThreads(__tstate);
110da5b0 4184 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
4185 }
4186 {
4187 wxVisualAttributes * resultptr;
32fe5131 4188 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
4189 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4190 }
4191 return resultobj;
4192 fail:
4193 return NULL;
4194}
4195
4196
c370783e 4197static PyObject * ScrolledWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
4198 PyObject *obj;
4199 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4200 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
4201 Py_INCREF(obj);
4202 return Py_BuildValue((char *)"");
4203}
c370783e 4204static int _wrap_FrameNameStr_set(PyObject *) {
d55e5bfc
RD
4205 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
4206 return 1;
4207}
4208
4209
36ed4f51 4210static PyObject *_wrap_FrameNameStr_get(void) {
32fe5131 4211 PyObject *pyobj = NULL;
d55e5bfc
RD
4212
4213 {
4214#if wxUSE_UNICODE
4215 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
4216#else
4217 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
4218#endif
4219 }
4220 return pyobj;
4221}
4222
4223
c370783e 4224static int _wrap_DialogNameStr_set(PyObject *) {
d55e5bfc
RD
4225 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
4226 return 1;
4227}
4228
4229
36ed4f51 4230static PyObject *_wrap_DialogNameStr_get(void) {
32fe5131 4231 PyObject *pyobj = NULL;
d55e5bfc
RD
4232
4233 {
4234#if wxUSE_UNICODE
4235 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
4236#else
4237 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
4238#endif
4239 }
4240 return pyobj;
4241}
4242
4243
c370783e 4244static int _wrap_StatusLineNameStr_set(PyObject *) {
d55e5bfc
RD
4245 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
4246 return 1;
4247}
4248
4249
36ed4f51 4250static PyObject *_wrap_StatusLineNameStr_get(void) {
32fe5131 4251 PyObject *pyobj = NULL;
d55e5bfc
RD
4252
4253 {
4254#if wxUSE_UNICODE
4255 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
4256#else
4257 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
4258#endif
4259 }
4260 return pyobj;
4261}
4262
4263
c370783e 4264static int _wrap_ToolBarNameStr_set(PyObject *) {
d55e5bfc
RD
4265 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
4266 return 1;
4267}
4268
4269
36ed4f51 4270static PyObject *_wrap_ToolBarNameStr_get(void) {
32fe5131 4271 PyObject *pyobj = NULL;
d55e5bfc
RD
4272
4273 {
4274#if wxUSE_UNICODE
4275 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
4276#else
4277 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
4278#endif
4279 }
4280 return pyobj;
4281}
4282
4283
c370783e 4284static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4285 PyObject *resultobj = NULL;
d55e5bfc 4286 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
b411df4a 4287 bool arg2 = (bool) true ;
d55e5bfc
RD
4288 PyObject * obj0 = 0 ;
4289 PyObject * obj1 = 0 ;
4290 char *kwnames[] = {
4291 (char *) "self",(char *) "maximize", NULL
4292 };
4293
4294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4295 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4296 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 4297 if (obj1) {
36ed4f51 4298 {
32fe5131 4299 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
4300 if (SWIG_arg_fail(2)) SWIG_fail;
4301 }
d55e5bfc
RD
4302 }
4303 {
4304 PyThreadState* __tstate = wxPyBeginAllowThreads();
4305 (arg1)->Maximize(arg2);
4306
4307 wxPyEndAllowThreads(__tstate);
4308 if (PyErr_Occurred()) SWIG_fail;
4309 }
4310 Py_INCREF(Py_None); resultobj = Py_None;
4311 return resultobj;
4312 fail:
4313 return NULL;
4314}
4315
4316
c370783e 4317static PyObject *_wrap_TopLevelWindow_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4318 PyObject *resultobj = NULL;
d55e5bfc
RD
4319 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4320 PyObject * obj0 = 0 ;
4321 char *kwnames[] = {
4322 (char *) "self", NULL
4323 };
4324
4325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
36ed4f51
RD
4326 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4327 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4328 {
4329 PyThreadState* __tstate = wxPyBeginAllowThreads();
4330 (arg1)->Restore();
4331
4332 wxPyEndAllowThreads(__tstate);
4333 if (PyErr_Occurred()) SWIG_fail;
4334 }
4335 Py_INCREF(Py_None); resultobj = Py_None;
4336 return resultobj;
4337 fail:
4338 return NULL;
4339}
4340
4341
c370783e 4342static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4343 PyObject *resultobj = NULL;
d55e5bfc 4344 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
b411df4a 4345 bool arg2 = (bool) true ;
d55e5bfc
RD
4346 PyObject * obj0 = 0 ;
4347 PyObject * obj1 = 0 ;
4348 char *kwnames[] = {
4349 (char *) "self",(char *) "iconize", NULL
4350 };
4351
4352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4353 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4354 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 4355 if (obj1) {
36ed4f51 4356 {
32fe5131 4357 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
4358 if (SWIG_arg_fail(2)) SWIG_fail;
4359 }
d55e5bfc
RD
4360 }
4361 {
4362 PyThreadState* __tstate = wxPyBeginAllowThreads();
4363 (arg1)->Iconize(arg2);
4364
4365 wxPyEndAllowThreads(__tstate);
4366 if (PyErr_Occurred()) SWIG_fail;
4367 }
4368 Py_INCREF(Py_None); resultobj = Py_None;
4369 return resultobj;
4370 fail:
4371 return NULL;
4372}
4373
4374
c370783e 4375static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4376 PyObject *resultobj = NULL;
d55e5bfc
RD
4377 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4378 bool result;
4379 PyObject * obj0 = 0 ;
4380 char *kwnames[] = {
4381 (char *) "self", NULL
4382 };
4383
4384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
36ed4f51
RD
4385 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4386 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4387 {
4388 PyThreadState* __tstate = wxPyBeginAllowThreads();
4389 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
4390
4391 wxPyEndAllowThreads(__tstate);
4392 if (PyErr_Occurred()) SWIG_fail;
4393 }
4394 {
4395 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4396 }
4397 return resultobj;
4398 fail:
4399 return NULL;
4400}
4401
4402
c370783e 4403static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4404 PyObject *resultobj = NULL;
d55e5bfc
RD
4405 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4406 bool result;
4407 PyObject * obj0 = 0 ;
4408 char *kwnames[] = {
4409 (char *) "self", NULL
4410 };
4411
4412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
36ed4f51
RD
4413 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4414 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4415 {
4416 PyThreadState* __tstate = wxPyBeginAllowThreads();
4417 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
4418
4419 wxPyEndAllowThreads(__tstate);
4420 if (PyErr_Occurred()) SWIG_fail;
4421 }
4422 {
4423 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4424 }
4425 return resultobj;
4426 fail:
4427 return NULL;
4428}
4429
4430
c370783e 4431static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4432 PyObject *resultobj = NULL;
d55e5bfc
RD
4433 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4434 wxIcon result;
4435 PyObject * obj0 = 0 ;
4436 char *kwnames[] = {
4437 (char *) "self", NULL
4438 };
4439
4440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
36ed4f51
RD
4441 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4442 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4443 {
4444 PyThreadState* __tstate = wxPyBeginAllowThreads();
4445 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
4446
4447 wxPyEndAllowThreads(__tstate);
4448 if (PyErr_Occurred()) SWIG_fail;
4449 }
4450 {
4451 wxIcon * resultptr;
32fe5131 4452 resultptr = new wxIcon(static_cast<wxIcon & >(result));
d55e5bfc
RD
4453 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
4454 }
4455 return resultobj;
4456 fail:
4457 return NULL;
4458}
4459
4460
c370783e 4461static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4462 PyObject *resultobj = NULL;
d55e5bfc
RD
4463 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4464 wxIcon *arg2 = 0 ;
4465 PyObject * obj0 = 0 ;
4466 PyObject * obj1 = 0 ;
4467 char *kwnames[] = {
4468 (char *) "self",(char *) "icon", NULL
4469 };
4470
4471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4473 if (SWIG_arg_fail(1)) SWIG_fail;
4474 {
4475 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
4476 if (SWIG_arg_fail(2)) SWIG_fail;
4477 if (arg2 == NULL) {
4478 SWIG_null_ref("wxIcon");
4479 }
4480 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
4481 }
4482 {
4483 PyThreadState* __tstate = wxPyBeginAllowThreads();
4484 (arg1)->SetIcon((wxIcon const &)*arg2);
4485
4486 wxPyEndAllowThreads(__tstate);
4487 if (PyErr_Occurred()) SWIG_fail;
4488 }
4489 Py_INCREF(Py_None); resultobj = Py_None;
4490 return resultobj;
4491 fail:
4492 return NULL;
4493}
4494
4495
c370783e 4496static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4497 PyObject *resultobj = NULL;
d55e5bfc
RD
4498 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4499 wxIconBundle *arg2 = 0 ;
4500 PyObject * obj0 = 0 ;
4501 PyObject * obj1 = 0 ;
4502 char *kwnames[] = {
4503 (char *) "self",(char *) "icons", NULL
4504 };
4505
4506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4507 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4508 if (SWIG_arg_fail(1)) SWIG_fail;
4509 {
4510 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIconBundle, SWIG_POINTER_EXCEPTION | 0);
4511 if (SWIG_arg_fail(2)) SWIG_fail;
4512 if (arg2 == NULL) {
4513 SWIG_null_ref("wxIconBundle");
4514 }
4515 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
4516 }
4517 {
4518 PyThreadState* __tstate = wxPyBeginAllowThreads();
4519 (arg1)->SetIcons((wxIconBundle const &)*arg2);
4520
4521 wxPyEndAllowThreads(__tstate);
4522 if (PyErr_Occurred()) SWIG_fail;
4523 }
4524 Py_INCREF(Py_None); resultobj = Py_None;
4525 return resultobj;
4526 fail:
4527 return NULL;
4528}
4529
4530
c370783e 4531static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4532 PyObject *resultobj = NULL;
d55e5bfc
RD
4533 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4534 bool arg2 ;
4535 long arg3 = (long) wxFULLSCREEN_ALL ;
4536 bool result;
4537 PyObject * obj0 = 0 ;
4538 PyObject * obj1 = 0 ;
4539 PyObject * obj2 = 0 ;
4540 char *kwnames[] = {
4541 (char *) "self",(char *) "show",(char *) "style", NULL
4542 };
4543
4544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
4545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4546 if (SWIG_arg_fail(1)) SWIG_fail;
4547 {
32fe5131 4548 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
4549 if (SWIG_arg_fail(2)) SWIG_fail;
4550 }
d55e5bfc 4551 if (obj2) {
36ed4f51 4552 {
32fe5131 4553 arg3 = static_cast<long >(SWIG_As_long(obj2));
36ed4f51
RD
4554 if (SWIG_arg_fail(3)) SWIG_fail;
4555 }
d55e5bfc
RD
4556 }
4557 {
4558 PyThreadState* __tstate = wxPyBeginAllowThreads();
4559 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
4560
4561 wxPyEndAllowThreads(__tstate);
4562 if (PyErr_Occurred()) SWIG_fail;
4563 }
4564 {
4565 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4566 }
4567 return resultobj;
4568 fail:
4569 return NULL;
4570}
4571
4572
c370783e 4573static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4574 PyObject *resultobj = NULL;
d55e5bfc
RD
4575 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4576 bool result;
4577 PyObject * obj0 = 0 ;
4578 char *kwnames[] = {
4579 (char *) "self", NULL
4580 };
4581
4582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
36ed4f51
RD
4583 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4584 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4585 {
4586 PyThreadState* __tstate = wxPyBeginAllowThreads();
4587 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
4588
4589 wxPyEndAllowThreads(__tstate);
4590 if (PyErr_Occurred()) SWIG_fail;
4591 }
4592 {
4593 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4594 }
4595 return resultobj;
4596 fail:
4597 return NULL;
4598}
4599
4600
c370783e 4601static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4602 PyObject *resultobj = NULL;
d55e5bfc
RD
4603 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4604 wxString *arg2 = 0 ;
b411df4a 4605 bool temp2 = false ;
d55e5bfc
RD
4606 PyObject * obj0 = 0 ;
4607 PyObject * obj1 = 0 ;
4608 char *kwnames[] = {
4609 (char *) "self",(char *) "title", NULL
4610 };
4611
4612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4613 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4614 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4615 {
4616 arg2 = wxString_in_helper(obj1);
4617 if (arg2 == NULL) SWIG_fail;
b411df4a 4618 temp2 = true;
d55e5bfc
RD
4619 }
4620 {
4621 PyThreadState* __tstate = wxPyBeginAllowThreads();
4622 (arg1)->SetTitle((wxString const &)*arg2);
4623
4624 wxPyEndAllowThreads(__tstate);
4625 if (PyErr_Occurred()) SWIG_fail;
4626 }
4627 Py_INCREF(Py_None); resultobj = Py_None;
4628 {
4629 if (temp2)
4630 delete arg2;
4631 }
4632 return resultobj;
4633 fail:
4634 {
4635 if (temp2)
4636 delete arg2;
4637 }
4638 return NULL;
4639}
4640
4641
c370783e 4642static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4643 PyObject *resultobj = NULL;
d55e5bfc
RD
4644 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4645 wxString result;
4646 PyObject * obj0 = 0 ;
4647 char *kwnames[] = {
4648 (char *) "self", NULL
4649 };
4650
4651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
36ed4f51
RD
4652 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4653 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4654 {
4655 PyThreadState* __tstate = wxPyBeginAllowThreads();
4656 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
4657
4658 wxPyEndAllowThreads(__tstate);
4659 if (PyErr_Occurred()) SWIG_fail;
4660 }
4661 {
4662#if wxUSE_UNICODE
4663 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4664#else
4665 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4666#endif
4667 }
4668 return resultobj;
4669 fail:
4670 return NULL;
4671}
4672
4673
c370783e 4674static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4675 PyObject *resultobj = NULL;
d55e5bfc
RD
4676 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4677 wxRegion *arg2 = 0 ;
4678 bool result;
4679 PyObject * obj0 = 0 ;
4680 PyObject * obj1 = 0 ;
4681 char *kwnames[] = {
4682 (char *) "self",(char *) "region", NULL
4683 };
4684
4685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4686 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4687 if (SWIG_arg_fail(1)) SWIG_fail;
4688 {
4689 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
4690 if (SWIG_arg_fail(2)) SWIG_fail;
4691 if (arg2 == NULL) {
4692 SWIG_null_ref("wxRegion");
4693 }
4694 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
4695 }
4696 {
4697 PyThreadState* __tstate = wxPyBeginAllowThreads();
4698 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
4699
4700 wxPyEndAllowThreads(__tstate);
4701 if (PyErr_Occurred()) SWIG_fail;
4702 }
4703 {
4704 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4705 }
4706 return resultobj;
4707 fail:
4708 return NULL;
4709}
4710
4711
c370783e 4712static PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4713 PyObject *resultobj = NULL;
c370783e
RD
4714 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4715 int arg2 = (int) wxUSER_ATTENTION_INFO ;
4716 PyObject * obj0 = 0 ;
4717 PyObject * obj1 = 0 ;
4718 char *kwnames[] = {
4719 (char *) "self",(char *) "flags", NULL
4720 };
4721
4722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4724 if (SWIG_arg_fail(1)) SWIG_fail;
c370783e 4725 if (obj1) {
36ed4f51 4726 {
32fe5131 4727 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
4728 if (SWIG_arg_fail(2)) SWIG_fail;
4729 }
c370783e
RD
4730 }
4731 {
4732 PyThreadState* __tstate = wxPyBeginAllowThreads();
4733 (arg1)->RequestUserAttention(arg2);
4734
4735 wxPyEndAllowThreads(__tstate);
4736 if (PyErr_Occurred()) SWIG_fail;
4737 }
4738 Py_INCREF(Py_None); resultobj = Py_None;
4739 return resultobj;
4740 fail:
4741 return NULL;
4742}
4743
4744
5e483524 4745static PyObject *_wrap_TopLevelWindow_IsActive(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4746 PyObject *resultobj = NULL;
5e483524
RD
4747 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4748 bool result;
4749 PyObject * obj0 = 0 ;
4750 char *kwnames[] = {
4751 (char *) "self", NULL
4752 };
4753
4754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsActive",kwnames,&obj0)) goto fail;
36ed4f51
RD
4755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4756 if (SWIG_arg_fail(1)) SWIG_fail;
5e483524
RD
4757 {
4758 PyThreadState* __tstate = wxPyBeginAllowThreads();
4759 result = (bool)(arg1)->IsActive();
4760
4761 wxPyEndAllowThreads(__tstate);
4762 if (PyErr_Occurred()) SWIG_fail;
4763 }
4764 {
4765 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4766 }
4767 return resultobj;
4768 fail:
4769 return NULL;
4770}
4771
4772
c370783e 4773static PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4774 PyObject *resultobj = NULL;
d55e5bfc
RD
4775 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4776 bool arg2 ;
4777 PyObject * obj0 = 0 ;
4778 PyObject * obj1 = 0 ;
4779 char *kwnames[] = {
4780 (char *) "self",(char *) "on", NULL
4781 };
4782
4783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4784 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4785 if (SWIG_arg_fail(1)) SWIG_fail;
4786 {
32fe5131 4787 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
4788 if (SWIG_arg_fail(2)) SWIG_fail;
4789 }
d55e5bfc
RD
4790 {
4791 PyThreadState* __tstate = wxPyBeginAllowThreads();
4792 (arg1)->MacSetMetalAppearance(arg2);
4793
4794 wxPyEndAllowThreads(__tstate);
4795 if (PyErr_Occurred()) SWIG_fail;
4796 }
4797 Py_INCREF(Py_None); resultobj = Py_None;
4798 return resultobj;
4799 fail:
4800 return NULL;
4801}
4802
4803
c370783e 4804static PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4805 PyObject *resultobj = NULL;
d55e5bfc
RD
4806 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4807 bool result;
4808 PyObject * obj0 = 0 ;
4809 char *kwnames[] = {
4810 (char *) "self", NULL
4811 };
4812
4813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames,&obj0)) goto fail;
36ed4f51
RD
4814 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4815 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4816 {
4817 PyThreadState* __tstate = wxPyBeginAllowThreads();
4818 result = (bool)((wxTopLevelWindow const *)arg1)->MacGetMetalAppearance();
4819
4820 wxPyEndAllowThreads(__tstate);
4821 if (PyErr_Occurred()) SWIG_fail;
4822 }
4823 {
4824 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4825 }
4826 return resultobj;
4827 fail:
4828 return NULL;
4829}
4830
4831
c370783e 4832static PyObject * TopLevelWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
4833 PyObject *obj;
4834 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4835 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
4836 Py_INCREF(obj);
4837 return Py_BuildValue((char *)"");
4838}
c370783e 4839static PyObject *_wrap_new_Frame(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4840 PyObject *resultobj = NULL;
d55e5bfc 4841 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
4842 int arg2 = (int) (int)-1 ;
4843 wxString const &arg3_defvalue = wxPyEmptyString ;
4844 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
4845 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4846 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4847 wxSize const &arg5_defvalue = wxDefaultSize ;
4848 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4849 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4850 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4851 wxString *arg7 = (wxString *) &arg7_defvalue ;
4852 wxFrame *result;
b411df4a 4853 bool temp3 = false ;
d55e5bfc
RD
4854 wxPoint temp4 ;
4855 wxSize temp5 ;
b411df4a 4856 bool temp7 = false ;
d55e5bfc
RD
4857 PyObject * obj0 = 0 ;
4858 PyObject * obj1 = 0 ;
4859 PyObject * obj2 = 0 ;
4860 PyObject * obj3 = 0 ;
4861 PyObject * obj4 = 0 ;
4862 PyObject * obj5 = 0 ;
4863 PyObject * obj6 = 0 ;
4864 char *kwnames[] = {
4865 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4866 };
4867
bfddbb17 4868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
4869 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4870 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 4871 if (obj1) {
36ed4f51 4872 {
32fe5131 4873 arg2 = static_cast<int const >(SWIG_As_int(obj1));
36ed4f51
RD
4874 if (SWIG_arg_fail(2)) SWIG_fail;
4875 }
bfddbb17
RD
4876 }
4877 if (obj2) {
4878 {
4879 arg3 = wxString_in_helper(obj2);
4880 if (arg3 == NULL) SWIG_fail;
b411df4a 4881 temp3 = true;
bfddbb17 4882 }
d55e5bfc
RD
4883 }
4884 if (obj3) {
4885 {
4886 arg4 = &temp4;
4887 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4888 }
4889 }
4890 if (obj4) {
4891 {
4892 arg5 = &temp5;
4893 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4894 }
4895 }
4896 if (obj5) {
36ed4f51 4897 {
32fe5131 4898 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
4899 if (SWIG_arg_fail(6)) SWIG_fail;
4900 }
d55e5bfc
RD
4901 }
4902 if (obj6) {
4903 {
4904 arg7 = wxString_in_helper(obj6);
4905 if (arg7 == NULL) SWIG_fail;
b411df4a 4906 temp7 = true;
d55e5bfc
RD
4907 }
4908 }
4909 {
0439c23b 4910 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4911 PyThreadState* __tstate = wxPyBeginAllowThreads();
4912 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4913
4914 wxPyEndAllowThreads(__tstate);
110da5b0 4915 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 4916 }
b0f7404b 4917 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
d55e5bfc
RD
4918 {
4919 if (temp3)
4920 delete arg3;
4921 }
4922 {
4923 if (temp7)
4924 delete arg7;
4925 }
4926 return resultobj;
4927 fail:
4928 {
4929 if (temp3)
4930 delete arg3;
4931 }
4932 {
4933 if (temp7)
4934 delete arg7;
4935 }
4936 return NULL;
4937}
4938
4939
c370783e 4940static PyObject *_wrap_new_PreFrame(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4941 PyObject *resultobj = NULL;
d55e5bfc
RD
4942 wxFrame *result;
4943 char *kwnames[] = {
4944 NULL
4945 };
4946
4947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
4948 {
0439c23b 4949 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4950 PyThreadState* __tstate = wxPyBeginAllowThreads();
4951 result = (wxFrame *)new wxFrame();
4952
4953 wxPyEndAllowThreads(__tstate);
110da5b0 4954 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 4955 }
b0f7404b 4956 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
d55e5bfc
RD
4957 return resultobj;
4958 fail:
4959 return NULL;
4960}
4961
4962
c370783e 4963static PyObject *_wrap_Frame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4964 PyObject *resultobj = NULL;
d55e5bfc
RD
4965 wxFrame *arg1 = (wxFrame *) 0 ;
4966 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
4967 int arg3 = (int) (int)-1 ;
4968 wxString const &arg4_defvalue = wxPyEmptyString ;
4969 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
4970 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4971 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4972 wxSize const &arg6_defvalue = wxDefaultSize ;
4973 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4974 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4975 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4976 wxString *arg8 = (wxString *) &arg8_defvalue ;
4977 bool result;
b411df4a 4978 bool temp4 = false ;
d55e5bfc
RD
4979 wxPoint temp5 ;
4980 wxSize temp6 ;
b411df4a 4981 bool temp8 = false ;
d55e5bfc
RD
4982 PyObject * obj0 = 0 ;
4983 PyObject * obj1 = 0 ;
4984 PyObject * obj2 = 0 ;
4985 PyObject * obj3 = 0 ;
4986 PyObject * obj4 = 0 ;
4987 PyObject * obj5 = 0 ;
4988 PyObject * obj6 = 0 ;
4989 PyObject * obj7 = 0 ;
4990 char *kwnames[] = {
4991 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4992 };
4993
bfddbb17 4994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
4995 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4996 if (SWIG_arg_fail(1)) SWIG_fail;
4997 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4998 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 4999 if (obj2) {
36ed4f51 5000 {
32fe5131 5001 arg3 = static_cast<int const >(SWIG_As_int(obj2));
36ed4f51
RD
5002 if (SWIG_arg_fail(3)) SWIG_fail;
5003 }
bfddbb17
RD
5004 }
5005 if (obj3) {
5006 {
5007 arg4 = wxString_in_helper(obj3);
5008 if (arg4 == NULL) SWIG_fail;
b411df4a 5009 temp4 = true;
bfddbb17 5010 }
d55e5bfc
RD
5011 }
5012 if (obj4) {
5013 {
5014 arg5 = &temp5;
5015 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5016 }
5017 }
5018 if (obj5) {
5019 {
5020 arg6 = &temp6;
5021 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5022 }
5023 }
5024 if (obj6) {
36ed4f51 5025 {
32fe5131 5026 arg7 = static_cast<long >(SWIG_As_long(obj6));
36ed4f51
RD
5027 if (SWIG_arg_fail(7)) SWIG_fail;
5028 }
d55e5bfc
RD
5029 }
5030 if (obj7) {
5031 {
5032 arg8 = wxString_in_helper(obj7);
5033 if (arg8 == NULL) SWIG_fail;
b411df4a 5034 temp8 = true;
d55e5bfc
RD
5035 }
5036 }
5037 {
5038 PyThreadState* __tstate = wxPyBeginAllowThreads();
5039 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
5040
5041 wxPyEndAllowThreads(__tstate);
5042 if (PyErr_Occurred()) SWIG_fail;
5043 }
5044 {
5045 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5046 }
5047 {
5048 if (temp4)
5049 delete arg4;
5050 }
5051 {
5052 if (temp8)
5053 delete arg8;
5054 }
5055 return resultobj;
5056 fail:
5057 {
5058 if (temp4)
5059 delete arg4;
5060 }
5061 {
5062 if (temp8)
5063 delete arg8;
5064 }
5065 return NULL;
5066}
5067
5068
c370783e 5069static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5070 PyObject *resultobj = NULL;
d55e5bfc
RD
5071 wxFrame *arg1 = (wxFrame *) 0 ;
5072 wxPoint result;
5073 PyObject * obj0 = 0 ;
5074 char *kwnames[] = {
5075 (char *) "self", NULL
5076 };
5077
5078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
36ed4f51
RD
5079 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5080 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5081 {
5082 PyThreadState* __tstate = wxPyBeginAllowThreads();
5083 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
5084
5085 wxPyEndAllowThreads(__tstate);
5086 if (PyErr_Occurred()) SWIG_fail;
5087 }
5088 {
5089 wxPoint * resultptr;
32fe5131 5090 resultptr = new wxPoint(static_cast<wxPoint & >(result));
d55e5bfc
RD
5091 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
5092 }
5093 return resultobj;
5094 fail:
5095 return NULL;
5096}
5097
5098
c370783e 5099static PyObject *_wrap_Frame_SendSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5100 PyObject *resultobj = NULL;
d55e5bfc
RD
5101 wxFrame *arg1 = (wxFrame *) 0 ;
5102 PyObject * obj0 = 0 ;
5103 char *kwnames[] = {
5104 (char *) "self", NULL
5105 };
5106
5107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
36ed4f51
RD
5108 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5109 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5110 {
5111 PyThreadState* __tstate = wxPyBeginAllowThreads();
5112 (arg1)->SendSizeEvent();
5113
5114 wxPyEndAllowThreads(__tstate);
5115 if (PyErr_Occurred()) SWIG_fail;
5116 }
5117 Py_INCREF(Py_None); resultobj = Py_None;
5118 return resultobj;
5119 fail:
5120 return NULL;
5121}
5122
5123
c370783e 5124static PyObject *_wrap_Frame_SetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5125 PyObject *resultobj = NULL;
d55e5bfc
RD
5126 wxFrame *arg1 = (wxFrame *) 0 ;
5127 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
5128 PyObject * obj0 = 0 ;
5129 PyObject * obj1 = 0 ;
5130 char *kwnames[] = {
5131 (char *) "self",(char *) "menubar", NULL
5132 };
5133
5134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5135 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5136 if (SWIG_arg_fail(1)) SWIG_fail;
5137 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
5138 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
5139 {
5140 PyThreadState* __tstate = wxPyBeginAllowThreads();
5141 (arg1)->SetMenuBar(arg2);
5142
5143 wxPyEndAllowThreads(__tstate);
5144 if (PyErr_Occurred()) SWIG_fail;
5145 }
5146 Py_INCREF(Py_None); resultobj = Py_None;
5147 return resultobj;
5148 fail:
5149 return NULL;
5150}
5151
5152
c370783e 5153static PyObject *_wrap_Frame_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5154 PyObject *resultobj = NULL;
d55e5bfc
RD
5155 wxFrame *arg1 = (wxFrame *) 0 ;
5156 wxMenuBar *result;
5157 PyObject * obj0 = 0 ;
5158 char *kwnames[] = {
5159 (char *) "self", NULL
5160 };
5161
5162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
36ed4f51
RD
5163 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5164 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5165 {
5166 PyThreadState* __tstate = wxPyBeginAllowThreads();
5167 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
5168
5169 wxPyEndAllowThreads(__tstate);
5170 if (PyErr_Occurred()) SWIG_fail;
5171 }
5172 {
412d302d 5173 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
5174 }
5175 return resultobj;
5176 fail:
5177 return NULL;
5178}
5179
5180
c370783e 5181static PyObject *_wrap_Frame_ProcessCommand(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5182 PyObject *resultobj = NULL;
d55e5bfc
RD
5183 wxFrame *arg1 = (wxFrame *) 0 ;
5184 int arg2 ;
5185 bool result;
5186 PyObject * obj0 = 0 ;
5187 PyObject * obj1 = 0 ;
5188 char *kwnames[] = {
5189 (char *) "self",(char *) "winid", NULL
5190 };
5191
5192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5193 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5194 if (SWIG_arg_fail(1)) SWIG_fail;
5195 {
32fe5131 5196 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
5197 if (SWIG_arg_fail(2)) SWIG_fail;
5198 }
d55e5bfc
RD
5199 {
5200 PyThreadState* __tstate = wxPyBeginAllowThreads();
5201 result = (bool)(arg1)->ProcessCommand(arg2);
5202
5203 wxPyEndAllowThreads(__tstate);
5204 if (PyErr_Occurred()) SWIG_fail;
5205 }
5206 {
5207 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5208 }
5209 return resultobj;
5210 fail:
5211 return NULL;
5212}
5213
5214
c370783e 5215static PyObject *_wrap_Frame_CreateStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5216 PyObject *resultobj = NULL;
d55e5bfc
RD
5217 wxFrame *arg1 = (wxFrame *) 0 ;
5218 int arg2 = (int) 1 ;
6d88e192 5219 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
d55e5bfc
RD
5220 int arg4 = (int) 0 ;
5221 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
5222 wxString *arg5 = (wxString *) &arg5_defvalue ;
5223 wxStatusBar *result;
b411df4a 5224 bool temp5 = false ;
d55e5bfc
RD
5225 PyObject * obj0 = 0 ;
5226 PyObject * obj1 = 0 ;
5227 PyObject * obj2 = 0 ;
5228 PyObject * obj3 = 0 ;
5229 PyObject * obj4 = 0 ;
5230 char *kwnames[] = {
5231 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
5232 };
5233
5234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
5235 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5236 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 5237 if (obj1) {
36ed4f51 5238 {
32fe5131 5239 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
5240 if (SWIG_arg_fail(2)) SWIG_fail;
5241 }
d55e5bfc
RD
5242 }
5243 if (obj2) {
36ed4f51 5244 {
32fe5131 5245 arg3 = static_cast<long >(SWIG_As_long(obj2));
36ed4f51
RD
5246 if (SWIG_arg_fail(3)) SWIG_fail;
5247 }
d55e5bfc
RD
5248 }
5249 if (obj3) {
36ed4f51 5250 {
32fe5131 5251 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
5252 if (SWIG_arg_fail(4)) SWIG_fail;
5253 }
d55e5bfc
RD
5254 }
5255 if (obj4) {
5256 {
5257 arg5 = wxString_in_helper(obj4);
5258 if (arg5 == NULL) SWIG_fail;
b411df4a 5259 temp5 = true;
d55e5bfc
RD
5260 }
5261 }
5262 {
5263 PyThreadState* __tstate = wxPyBeginAllowThreads();
5264 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
5265
5266 wxPyEndAllowThreads(__tstate);
5267 if (PyErr_Occurred()) SWIG_fail;
5268 }
5269 {
412d302d 5270 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
5271 }
5272 {
5273 if (temp5)
5274 delete arg5;
5275 }
5276 return resultobj;
5277 fail:
5278 {
5279 if (temp5)
5280 delete arg5;
5281 }
5282 return NULL;
5283}
5284
5285
c370783e 5286static PyObject *_wrap_Frame_GetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5287 PyObject *resultobj = NULL;
d55e5bfc
RD
5288 wxFrame *arg1 = (wxFrame *) 0 ;
5289 wxStatusBar *result;
5290 PyObject * obj0 = 0 ;
5291 char *kwnames[] = {
5292 (char *) "self", NULL
5293 };
5294
5295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
36ed4f51
RD
5296 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5297 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5298 {
5299 PyThreadState* __tstate = wxPyBeginAllowThreads();
5300 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
5301
5302 wxPyEndAllowThreads(__tstate);
5303 if (PyErr_Occurred()) SWIG_fail;
5304 }
5305 {
412d302d 5306 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
5307 }
5308 return resultobj;
5309 fail:
5310 return NULL;
5311}
5312
5313
c370783e 5314static PyObject *_wrap_Frame_SetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5315 PyObject *resultobj = NULL;
d55e5bfc
RD
5316 wxFrame *arg1 = (wxFrame *) 0 ;
5317 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
5318 PyObject * obj0 = 0 ;
5319 PyObject * obj1 = 0 ;
5320 char *kwnames[] = {
5321 (char *) "self",(char *) "statBar", NULL
5322 };
5323
5324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5325 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5326 if (SWIG_arg_fail(1)) SWIG_fail;
5327 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
5328 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
5329 {
5330 PyThreadState* __tstate = wxPyBeginAllowThreads();
5331 (arg1)->SetStatusBar(arg2);
5332
5333 wxPyEndAllowThreads(__tstate);
5334 if (PyErr_Occurred()) SWIG_fail;
5335 }
5336 Py_INCREF(Py_None); resultobj = Py_None;
5337 return resultobj;
5338 fail:
5339 return NULL;
5340}
5341
5342
c370783e 5343static PyObject *_wrap_Frame_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5344 PyObject *resultobj = NULL;
d55e5bfc
RD
5345 wxFrame *arg1 = (wxFrame *) 0 ;
5346 wxString *arg2 = 0 ;
5347 int arg3 = (int) 0 ;
b411df4a 5348 bool temp2 = false ;
d55e5bfc
RD
5349 PyObject * obj0 = 0 ;
5350 PyObject * obj1 = 0 ;
5351 PyObject * obj2 = 0 ;
5352 char *kwnames[] = {
5353 (char *) "self",(char *) "text",(char *) "number", NULL
5354 };
5355
5356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
5357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5358 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5359 {
5360 arg2 = wxString_in_helper(obj1);
5361 if (arg2 == NULL) SWIG_fail;
b411df4a 5362 temp2 = true;
d55e5bfc
RD
5363 }
5364 if (obj2) {
36ed4f51 5365 {
32fe5131 5366 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
5367 if (SWIG_arg_fail(3)) SWIG_fail;
5368 }
d55e5bfc
RD
5369 }
5370 {
5371 PyThreadState* __tstate = wxPyBeginAllowThreads();
5372 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5373
5374 wxPyEndAllowThreads(__tstate);
5375 if (PyErr_Occurred()) SWIG_fail;
5376 }
5377 Py_INCREF(Py_None); resultobj = Py_None;
5378 {
5379 if (temp2)
5380 delete arg2;
5381 }
5382 return resultobj;
5383 fail:
5384 {
5385 if (temp2)
5386 delete arg2;
5387 }
5388 return NULL;
5389}
5390
5391
c370783e 5392static PyObject *_wrap_Frame_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5393 PyObject *resultobj = NULL;
d55e5bfc
RD
5394 wxFrame *arg1 = (wxFrame *) 0 ;
5395 int arg2 ;
5396 int *arg3 = (int *) 0 ;
5397 PyObject * obj0 = 0 ;
5398 PyObject * obj1 = 0 ;
5399 char *kwnames[] = {
5400 (char *) "self",(char *) "widths", NULL
5401 };
5402
5403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5404 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5405 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5406 {
5407 arg2 = PyList_Size(obj1);
5408 arg3 = int_LIST_helper(obj1);
5409 if (arg3 == NULL) SWIG_fail;
5410 }
5411 {
5412 PyThreadState* __tstate = wxPyBeginAllowThreads();
5413 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5414
5415 wxPyEndAllowThreads(__tstate);
5416 if (PyErr_Occurred()) SWIG_fail;
5417 }
5418 Py_INCREF(Py_None); resultobj = Py_None;
5419 {
5420 if (arg3) delete [] arg3;
5421 }
5422 return resultobj;
5423 fail:
5424 {
5425 if (arg3) delete [] arg3;
5426 }
5427 return NULL;
5428}
5429
5430
c370783e 5431static PyObject *_wrap_Frame_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5432 PyObject *resultobj = NULL;
d55e5bfc
RD
5433 wxFrame *arg1 = (wxFrame *) 0 ;
5434 wxString *arg2 = 0 ;
5435 int arg3 = (int) 0 ;
b411df4a 5436 bool temp2 = false ;
d55e5bfc
RD
5437 PyObject * obj0 = 0 ;
5438 PyObject * obj1 = 0 ;
5439 PyObject * obj2 = 0 ;
5440 char *kwnames[] = {
5441 (char *) "self",(char *) "text",(char *) "number", NULL
5442 };
5443
5444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
5445 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5446 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5447 {
5448 arg2 = wxString_in_helper(obj1);
5449 if (arg2 == NULL) SWIG_fail;
b411df4a 5450 temp2 = true;
d55e5bfc
RD
5451 }
5452 if (obj2) {
36ed4f51 5453 {
32fe5131 5454 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
5455 if (SWIG_arg_fail(3)) SWIG_fail;
5456 }
d55e5bfc
RD
5457 }
5458 {
5459 PyThreadState* __tstate = wxPyBeginAllowThreads();
5460 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5461
5462 wxPyEndAllowThreads(__tstate);
5463 if (PyErr_Occurred()) SWIG_fail;
5464 }
5465 Py_INCREF(Py_None); resultobj = Py_None;
5466 {
5467 if (temp2)
5468 delete arg2;
5469 }
5470 return resultobj;
5471 fail:
5472 {
5473 if (temp2)
5474 delete arg2;
5475 }
5476 return NULL;
5477}
5478
5479
c370783e 5480static PyObject *_wrap_Frame_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5481 PyObject *resultobj = NULL;
d55e5bfc
RD
5482 wxFrame *arg1 = (wxFrame *) 0 ;
5483 int arg2 = (int) 0 ;
5484 PyObject * obj0 = 0 ;
5485 PyObject * obj1 = 0 ;
5486 char *kwnames[] = {
5487 (char *) "self",(char *) "number", NULL
5488 };
5489
5490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5491 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5492 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 5493 if (obj1) {
36ed4f51 5494 {
32fe5131 5495 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
5496 if (SWIG_arg_fail(2)) SWIG_fail;
5497 }
d55e5bfc
RD
5498 }
5499 {
5500 PyThreadState* __tstate = wxPyBeginAllowThreads();
5501 (arg1)->PopStatusText(arg2);
5502
5503 wxPyEndAllowThreads(__tstate);
5504 if (PyErr_Occurred()) SWIG_fail;
5505 }
5506 Py_INCREF(Py_None); resultobj = Py_None;
5507 return resultobj;
5508 fail:
5509 return NULL;
5510}
5511
5512
c370783e 5513static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5514 PyObject *resultobj = NULL;
d55e5bfc
RD
5515 wxFrame *arg1 = (wxFrame *) 0 ;
5516 int arg2 ;
5517 PyObject * obj0 = 0 ;
5518 PyObject * obj1 = 0 ;
5519 char *kwnames[] = {
5520 (char *) "self",(char *) "n", NULL
5521 };
5522
5523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5524 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5525 if (SWIG_arg_fail(1)) SWIG_fail;
5526 {
32fe5131 5527 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
5528 if (SWIG_arg_fail(2)) SWIG_fail;
5529 }
d55e5bfc
RD
5530 {
5531 PyThreadState* __tstate = wxPyBeginAllowThreads();
5532 (arg1)->SetStatusBarPane(arg2);
5533
5534 wxPyEndAllowThreads(__tstate);
5535 if (PyErr_Occurred()) SWIG_fail;
5536 }
5537 Py_INCREF(Py_None); resultobj = Py_None;
5538 return resultobj;
5539 fail:
5540 return NULL;
5541}
5542
5543
c370783e 5544static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5545 PyObject *resultobj = NULL;
d55e5bfc
RD
5546 wxFrame *arg1 = (wxFrame *) 0 ;
5547 int result;
5548 PyObject * obj0 = 0 ;
5549 char *kwnames[] = {
5550 (char *) "self", NULL
5551 };
5552
5553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
36ed4f51
RD
5554 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5555 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5556 {
5557 PyThreadState* __tstate = wxPyBeginAllowThreads();
5558 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
5559
5560 wxPyEndAllowThreads(__tstate);
5561 if (PyErr_Occurred()) SWIG_fail;
5562 }
36ed4f51 5563 {
32fe5131 5564 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 5565 }
d55e5bfc
RD
5566 return resultobj;
5567 fail:
5568 return NULL;
5569}
5570
5571
c370783e 5572static PyObject *_wrap_Frame_CreateToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5573 PyObject *resultobj = NULL;
d55e5bfc
RD
5574 wxFrame *arg1 = (wxFrame *) 0 ;
5575 long arg2 = (long) -1 ;
5576 int arg3 = (int) -1 ;
5577 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
5578 wxString *arg4 = (wxString *) &arg4_defvalue ;
5579 wxToolBar *result;
b411df4a 5580 bool temp4 = false ;
d55e5bfc
RD
5581 PyObject * obj0 = 0 ;
5582 PyObject * obj1 = 0 ;
5583 PyObject * obj2 = 0 ;
5584 PyObject * obj3 = 0 ;
5585 char *kwnames[] = {
5586 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
5587 };
5588
5589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
5590 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5591 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 5592 if (obj1) {
36ed4f51 5593 {
32fe5131 5594 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
5595 if (SWIG_arg_fail(2)) SWIG_fail;
5596 }
d55e5bfc
RD
5597 }
5598 if (obj2) {
36ed4f51 5599 {
32fe5131 5600 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
5601 if (SWIG_arg_fail(3)) SWIG_fail;
5602 }
d55e5bfc
RD
5603 }
5604 if (obj3) {
5605 {
5606 arg4 = wxString_in_helper(obj3);
5607 if (arg4 == NULL) SWIG_fail;
b411df4a 5608 temp4 = true;
d55e5bfc
RD
5609 }
5610 }
5611 {
5612 PyThreadState* __tstate = wxPyBeginAllowThreads();
5613 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
5614
5615 wxPyEndAllowThreads(__tstate);
5616 if (PyErr_Occurred()) SWIG_fail;
5617 }
5618 {
412d302d 5619 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
5620 }
5621 {
5622 if (temp4)
5623 delete arg4;
5624 }
5625 return resultobj;
5626 fail:
5627 {
5628 if (temp4)
5629 delete arg4;
5630 }
5631 return NULL;
5632}
5633
5634
c370783e 5635static PyObject *_wrap_Frame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5636 PyObject *resultobj = NULL;
d55e5bfc
RD
5637 wxFrame *arg1 = (wxFrame *) 0 ;
5638 wxToolBar *result;
5639 PyObject * obj0 = 0 ;
5640 char *kwnames[] = {
5641 (char *) "self", NULL
5642 };
5643
5644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
36ed4f51
RD
5645 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5646 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5647 {
5648 PyThreadState* __tstate = wxPyBeginAllowThreads();
5649 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
5650
5651 wxPyEndAllowThreads(__tstate);
5652 if (PyErr_Occurred()) SWIG_fail;
5653 }
5654 {
412d302d 5655 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
5656 }
5657 return resultobj;
5658 fail:
5659 return NULL;
5660}
5661
5662
c370783e 5663static PyObject *_wrap_Frame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5664 PyObject *resultobj = NULL;
d55e5bfc
RD
5665 wxFrame *arg1 = (wxFrame *) 0 ;
5666 wxToolBar *arg2 = (wxToolBar *) 0 ;
5667 PyObject * obj0 = 0 ;
5668 PyObject * obj1 = 0 ;
5669 char *kwnames[] = {
5670 (char *) "self",(char *) "toolbar", NULL
5671 };
5672
5673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5675 if (SWIG_arg_fail(1)) SWIG_fail;
5676 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
5677 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
5678 {
5679 PyThreadState* __tstate = wxPyBeginAllowThreads();
5680 (arg1)->SetToolBar(arg2);
5681
5682 wxPyEndAllowThreads(__tstate);
5683 if (PyErr_Occurred()) SWIG_fail;
5684 }
5685 Py_INCREF(Py_None); resultobj = Py_None;
5686 return resultobj;
5687 fail:
5688 return NULL;
5689}
5690
5691
c370783e 5692static PyObject *_wrap_Frame_DoGiveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5693 PyObject *resultobj = NULL;
d55e5bfc
RD
5694 wxFrame *arg1 = (wxFrame *) 0 ;
5695 wxString *arg2 = 0 ;
5696 bool arg3 ;
b411df4a 5697 bool temp2 = false ;
d55e5bfc
RD
5698 PyObject * obj0 = 0 ;
5699 PyObject * obj1 = 0 ;
5700 PyObject * obj2 = 0 ;
5701 char *kwnames[] = {
5702 (char *) "self",(char *) "text",(char *) "show", NULL
5703 };
5704
5705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
5706 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5707 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5708 {
5709 arg2 = wxString_in_helper(obj1);
5710 if (arg2 == NULL) SWIG_fail;
b411df4a 5711 temp2 = true;
d55e5bfc 5712 }
36ed4f51 5713 {
32fe5131 5714 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
5715 if (SWIG_arg_fail(3)) SWIG_fail;
5716 }
d55e5bfc
RD
5717 {
5718 PyThreadState* __tstate = wxPyBeginAllowThreads();
5719 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
5720
5721 wxPyEndAllowThreads(__tstate);
5722 if (PyErr_Occurred()) SWIG_fail;
5723 }
5724 Py_INCREF(Py_None); resultobj = Py_None;
5725 {
5726 if (temp2)
5727 delete arg2;
5728 }
5729 return resultobj;
5730 fail:
5731 {
5732 if (temp2)
5733 delete arg2;
5734 }
5735 return NULL;
5736}
5737
5738
c370783e 5739static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5740 PyObject *resultobj = NULL;
d55e5bfc
RD
5741 wxFrame *arg1 = (wxFrame *) 0 ;
5742 wxMenu *arg2 = (wxMenu *) NULL ;
5743 PyObject * obj0 = 0 ;
5744 PyObject * obj1 = 0 ;
5745 char *kwnames[] = {
5746 (char *) "self",(char *) "menu", NULL
5747 };
5748
5749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5750 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5751 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 5752 if (obj1) {
36ed4f51
RD
5753 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
5754 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
5755 }
5756 {
5757 PyThreadState* __tstate = wxPyBeginAllowThreads();
5758 (arg1)->DoMenuUpdates(arg2);
5759
5760 wxPyEndAllowThreads(__tstate);
5761 if (PyErr_Occurred()) SWIG_fail;
5762 }
5763 Py_INCREF(Py_None); resultobj = Py_None;
5764 return resultobj;
5765 fail:
5766 return NULL;
5767}
5768
5769
c370783e 5770static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5771 PyObject *resultobj = NULL;
36ed4f51 5772 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
5773 wxVisualAttributes result;
5774 PyObject * obj0 = 0 ;
5775 char *kwnames[] = {
5776 (char *) "variant", NULL
5777 };
5778
5779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5780 if (obj0) {
36ed4f51 5781 {
32fe5131 5782 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
36ed4f51
RD
5783 if (SWIG_arg_fail(1)) SWIG_fail;
5784 }
f20a2e1f
RD
5785 }
5786 {
0439c23b 5787 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 5788 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 5789 result = wxFrame::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
5790
5791 wxPyEndAllowThreads(__tstate);
110da5b0 5792 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
5793 }
5794 {
5795 wxVisualAttributes * resultptr;
32fe5131 5796 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
5797 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5798 }
5799 return resultobj;
5800 fail:
5801 return NULL;
5802}
5803
5804
c370783e 5805static PyObject * Frame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
5806 PyObject *obj;
5807 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5808 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
5809 Py_INCREF(obj);
5810 return Py_BuildValue((char *)"");
5811}
c370783e 5812static PyObject *_wrap_new_Dialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5813 PyObject *resultobj = NULL;
d55e5bfc 5814 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
5815 int arg2 = (int) (int)-1 ;
5816 wxString const &arg3_defvalue = wxPyEmptyString ;
5817 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
5818 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5819 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5820 wxSize const &arg5_defvalue = wxDefaultSize ;
5821 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5822 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
5823 wxString const &arg7_defvalue = wxPyDialogNameStr ;
5824 wxString *arg7 = (wxString *) &arg7_defvalue ;
5825 wxDialog *result;
b411df4a 5826 bool temp3 = false ;
d55e5bfc
RD
5827 wxPoint temp4 ;
5828 wxSize temp5 ;
b411df4a 5829 bool temp7 = false ;
d55e5bfc
RD
5830 PyObject * obj0 = 0 ;
5831 PyObject * obj1 = 0 ;
5832 PyObject * obj2 = 0 ;
5833 PyObject * obj3 = 0 ;
5834 PyObject * obj4 = 0 ;
5835 PyObject * obj5 = 0 ;
5836 PyObject * obj6 = 0 ;
5837 char *kwnames[] = {
5838 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5839 };
5840
bfddbb17 5841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
5842 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5843 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 5844 if (obj1) {
36ed4f51 5845 {
32fe5131 5846 arg2 = static_cast<int const >(SWIG_As_int(obj1));
36ed4f51
RD
5847 if (SWIG_arg_fail(2)) SWIG_fail;
5848 }
bfddbb17
RD
5849 }
5850 if (obj2) {
5851 {
5852 arg3 = wxString_in_helper(obj2);
5853 if (arg3 == NULL) SWIG_fail;
b411df4a 5854 temp3 = true;
bfddbb17 5855 }
d55e5bfc
RD
5856 }
5857 if (obj3) {
5858 {
5859 arg4 = &temp4;
5860 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5861 }
5862 }
5863 if (obj4) {
5864 {
5865 arg5 = &temp5;
5866 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5867 }
5868 }
5869 if (obj5) {
36ed4f51 5870 {
32fe5131 5871 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
5872 if (SWIG_arg_fail(6)) SWIG_fail;
5873 }
d55e5bfc
RD
5874 }
5875 if (obj6) {
5876 {
5877 arg7 = wxString_in_helper(obj6);
5878 if (arg7 == NULL) SWIG_fail;
b411df4a 5879 temp7 = true;
d55e5bfc
RD
5880 }
5881 }
5882 {
0439c23b 5883 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5884 PyThreadState* __tstate = wxPyBeginAllowThreads();
5885 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5886
5887 wxPyEndAllowThreads(__tstate);
110da5b0 5888 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 5889 }
b0f7404b 5890 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
d55e5bfc
RD
5891 {
5892 if (temp3)
5893 delete arg3;
5894 }
5895 {
5896 if (temp7)
5897 delete arg7;
5898 }
5899 return resultobj;
5900 fail:
5901 {
5902 if (temp3)
5903 delete arg3;
5904 }
5905 {
5906 if (temp7)
5907 delete arg7;
5908 }
5909 return NULL;
5910}
5911
5912
c370783e 5913static PyObject *_wrap_new_PreDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5914 PyObject *resultobj = NULL;
d55e5bfc
RD
5915 wxDialog *result;
5916 char *kwnames[] = {
5917 NULL
5918 };
5919
5920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
5921 {
0439c23b 5922 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5923 PyThreadState* __tstate = wxPyBeginAllowThreads();
5924 result = (wxDialog *)new wxDialog();
5925
5926 wxPyEndAllowThreads(__tstate);
110da5b0 5927 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 5928 }
b0f7404b 5929 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
d55e5bfc
RD
5930 return resultobj;
5931 fail:
5932 return NULL;
5933}
5934
5935
c370783e 5936static PyObject *_wrap_Dialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5937 PyObject *resultobj = NULL;
d55e5bfc
RD
5938 wxDialog *arg1 = (wxDialog *) 0 ;
5939 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
5940 int arg3 = (int) (int)-1 ;
5941 wxString const &arg4_defvalue = wxPyEmptyString ;
5942 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
5943 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5944 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5945 wxSize const &arg6_defvalue = wxDefaultSize ;
5946 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5947 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
5948 wxString const &arg8_defvalue = wxPyDialogNameStr ;
5949 wxString *arg8 = (wxString *) &arg8_defvalue ;
5950 bool result;
b411df4a 5951 bool temp4 = false ;
d55e5bfc
RD
5952 wxPoint temp5 ;
5953 wxSize temp6 ;
b411df4a 5954 bool temp8 = false ;
d55e5bfc
RD
5955 PyObject * obj0 = 0 ;
5956 PyObject * obj1 = 0 ;
5957 PyObject * obj2 = 0 ;
5958 PyObject * obj3 = 0 ;
5959 PyObject * obj4 = 0 ;
5960 PyObject * obj5 = 0 ;
5961 PyObject * obj6 = 0 ;
5962 PyObject * obj7 = 0 ;
5963 char *kwnames[] = {
5964 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5965 };
5966
bfddbb17 5967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
5968 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5969 if (SWIG_arg_fail(1)) SWIG_fail;
5970 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5971 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 5972 if (obj2) {
36ed4f51 5973 {
32fe5131 5974 arg3 = static_cast<int const >(SWIG_As_int(obj2));
36ed4f51
RD
5975 if (SWIG_arg_fail(3)) SWIG_fail;
5976 }
bfddbb17
RD
5977 }
5978 if (obj3) {
5979 {
5980 arg4 = wxString_in_helper(obj3);
5981 if (arg4 == NULL) SWIG_fail;
b411df4a 5982 temp4 = true;
bfddbb17 5983 }
d55e5bfc
RD
5984 }
5985 if (obj4) {
5986 {
5987 arg5 = &temp5;
5988 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5989 }
5990 }
5991 if (obj5) {
5992 {
5993 arg6 = &temp6;
5994 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5995 }
5996 }
5997 if (obj6) {
36ed4f51 5998 {
32fe5131 5999 arg7 = static_cast<long >(SWIG_As_long(obj6));
36ed4f51
RD
6000 if (SWIG_arg_fail(7)) SWIG_fail;
6001 }
d55e5bfc
RD
6002 }
6003 if (obj7) {
6004 {
6005 arg8 = wxString_in_helper(obj7);
6006 if (arg8 == NULL) SWIG_fail;
b411df4a 6007 temp8 = true;
d55e5bfc
RD
6008 }
6009 }
6010 {
6011 PyThreadState* __tstate = wxPyBeginAllowThreads();
6012 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6013
6014 wxPyEndAllowThreads(__tstate);
6015 if (PyErr_Occurred()) SWIG_fail;
6016 }
6017 {
6018 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6019 }
6020 {
6021 if (temp4)
6022 delete arg4;
6023 }
6024 {
6025 if (temp8)
6026 delete arg8;
6027 }
6028 return resultobj;
6029 fail:
6030 {
6031 if (temp4)
6032 delete arg4;
6033 }
6034 {
6035 if (temp8)
6036 delete arg8;
6037 }
6038 return NULL;
6039}
6040
6041
c370783e 6042static PyObject *_wrap_Dialog_SetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6043 PyObject *resultobj = NULL;
d55e5bfc
RD
6044 wxDialog *arg1 = (wxDialog *) 0 ;
6045 int arg2 ;
6046 PyObject * obj0 = 0 ;
6047 PyObject * obj1 = 0 ;
6048 char *kwnames[] = {
6049 (char *) "self",(char *) "returnCode", NULL
6050 };
6051
6052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6054 if (SWIG_arg_fail(1)) SWIG_fail;
6055 {
32fe5131 6056 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
6057 if (SWIG_arg_fail(2)) SWIG_fail;
6058 }
d55e5bfc
RD
6059 {
6060 PyThreadState* __tstate = wxPyBeginAllowThreads();
6061 (arg1)->SetReturnCode(arg2);
6062
6063 wxPyEndAllowThreads(__tstate);
6064 if (PyErr_Occurred()) SWIG_fail;
6065 }
6066 Py_INCREF(Py_None); resultobj = Py_None;
6067 return resultobj;
6068 fail:
6069 return NULL;
6070}
6071
6072
c370783e 6073static PyObject *_wrap_Dialog_GetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6074 PyObject *resultobj = NULL;
d55e5bfc
RD
6075 wxDialog *arg1 = (wxDialog *) 0 ;
6076 int result;
6077 PyObject * obj0 = 0 ;
6078 char *kwnames[] = {
6079 (char *) "self", NULL
6080 };
6081
6082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
36ed4f51
RD
6083 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6084 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6085 {
6086 PyThreadState* __tstate = wxPyBeginAllowThreads();
6087 result = (int)((wxDialog const *)arg1)->GetReturnCode();
6088
6089 wxPyEndAllowThreads(__tstate);
6090 if (PyErr_Occurred()) SWIG_fail;
6091 }
36ed4f51 6092 {
32fe5131 6093 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 6094 }
d55e5bfc
RD
6095 return resultobj;
6096 fail:
6097 return NULL;
6098}
6099
6100
c370783e 6101static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6102 PyObject *resultobj = NULL;
d55e5bfc
RD
6103 wxDialog *arg1 = (wxDialog *) 0 ;
6104 wxString *arg2 = 0 ;
6105 wxSizer *result;
b411df4a 6106 bool temp2 = false ;
d55e5bfc
RD
6107 PyObject * obj0 = 0 ;
6108 PyObject * obj1 = 0 ;
6109 char *kwnames[] = {
6110 (char *) "self",(char *) "message", NULL
6111 };
6112
6113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6114 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6115 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6116 {
6117 arg2 = wxString_in_helper(obj1);
6118 if (arg2 == NULL) SWIG_fail;
b411df4a 6119 temp2 = true;
d55e5bfc
RD
6120 }
6121 {
6122 PyThreadState* __tstate = wxPyBeginAllowThreads();
6123 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
6124
6125 wxPyEndAllowThreads(__tstate);
6126 if (PyErr_Occurred()) SWIG_fail;
6127 }
6128 {
7a27cf7c 6129 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
6130 }
6131 {
6132 if (temp2)
6133 delete arg2;
6134 }
6135 return resultobj;
6136 fail:
6137 {
6138 if (temp2)
6139 delete arg2;
6140 }
6141 return NULL;
6142}
6143
6144
c370783e 6145static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6146 PyObject *resultobj = NULL;
d55e5bfc
RD
6147 wxDialog *arg1 = (wxDialog *) 0 ;
6148 long arg2 ;
32fe5131
RD
6149 bool arg3 = (bool) false ;
6150 int arg4 = (int) 0 ;
d55e5bfc
RD
6151 wxSizer *result;
6152 PyObject * obj0 = 0 ;
6153 PyObject * obj1 = 0 ;
32fe5131
RD
6154 PyObject * obj2 = 0 ;
6155 PyObject * obj3 = 0 ;
d55e5bfc 6156 char *kwnames[] = {
32fe5131 6157 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
d55e5bfc
RD
6158 };
6159
32fe5131 6160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
6161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6162 if (SWIG_arg_fail(1)) SWIG_fail;
6163 {
32fe5131 6164 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
6165 if (SWIG_arg_fail(2)) SWIG_fail;
6166 }
32fe5131
RD
6167 if (obj2) {
6168 {
6169 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
6170 if (SWIG_arg_fail(3)) SWIG_fail;
6171 }
6172 }
6173 if (obj3) {
6174 {
6175 arg4 = static_cast<int >(SWIG_As_int(obj3));
6176 if (SWIG_arg_fail(4)) SWIG_fail;
6177 }
6178 }
d55e5bfc
RD
6179 {
6180 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 6181 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2,arg3,arg4);
d55e5bfc
RD
6182
6183 wxPyEndAllowThreads(__tstate);
6184 if (PyErr_Occurred()) SWIG_fail;
6185 }
6186 {
7a27cf7c 6187 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
6188 }
6189 return resultobj;
6190 fail:
6191 return NULL;
6192}
6193
6194
62d32a5f 6195static PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6196 PyObject *resultobj = NULL;
62d32a5f
RD
6197 wxDialog *arg1 = (wxDialog *) 0 ;
6198 long arg2 ;
6199 wxStdDialogButtonSizer *result;
6200 PyObject * obj0 = 0 ;
6201 PyObject * obj1 = 0 ;
6202 char *kwnames[] = {
6203 (char *) "self",(char *) "flags", NULL
6204 };
6205
6206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) goto fail;
6207 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6208 if (SWIG_arg_fail(1)) SWIG_fail;
6209 {
32fe5131 6210 arg2 = static_cast<long >(SWIG_As_long(obj1));
62d32a5f
RD
6211 if (SWIG_arg_fail(2)) SWIG_fail;
6212 }
6213 {
6214 PyThreadState* __tstate = wxPyBeginAllowThreads();
6215 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
6216
6217 wxPyEndAllowThreads(__tstate);
6218 if (PyErr_Occurred()) SWIG_fail;
6219 }
6220 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0);
6221 return resultobj;
6222 fail:
6223 return NULL;
6224}
6225
6226
c370783e 6227static PyObject *_wrap_Dialog_IsModal(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6228 PyObject *resultobj = NULL;
d55e5bfc
RD
6229 wxDialog *arg1 = (wxDialog *) 0 ;
6230 bool result;
6231 PyObject * obj0 = 0 ;
6232 char *kwnames[] = {
6233 (char *) "self", NULL
6234 };
6235
6236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
36ed4f51
RD
6237 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6238 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6239 {
6240 PyThreadState* __tstate = wxPyBeginAllowThreads();
6241 result = (bool)((wxDialog const *)arg1)->IsModal();
6242
6243 wxPyEndAllowThreads(__tstate);
6244 if (PyErr_Occurred()) SWIG_fail;
6245 }
6246 {
6247 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6248 }
6249 return resultobj;
6250 fail:
6251 return NULL;
6252}
6253
6254
c370783e 6255static PyObject *_wrap_Dialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6256 PyObject *resultobj = NULL;
d55e5bfc
RD
6257 wxDialog *arg1 = (wxDialog *) 0 ;
6258 int result;
6259 PyObject * obj0 = 0 ;
6260 char *kwnames[] = {
6261 (char *) "self", NULL
6262 };
6263
6264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
36ed4f51
RD
6265 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6266 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6267 {
6268 PyThreadState* __tstate = wxPyBeginAllowThreads();
6269 result = (int)(arg1)->ShowModal();
6270
6271 wxPyEndAllowThreads(__tstate);
6272 if (PyErr_Occurred()) SWIG_fail;
6273 }
36ed4f51 6274 {
32fe5131 6275 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 6276 }
d55e5bfc
RD
6277 return resultobj;
6278 fail:
6279 return NULL;
6280}
6281
6282
c370783e 6283static PyObject *_wrap_Dialog_EndModal(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6284 PyObject *resultobj = NULL;
d55e5bfc
RD
6285 wxDialog *arg1 = (wxDialog *) 0 ;
6286 int arg2 ;
6287 PyObject * obj0 = 0 ;
6288 PyObject * obj1 = 0 ;
6289 char *kwnames[] = {
6290 (char *) "self",(char *) "retCode", NULL
6291 };
6292
6293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6294 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6295 if (SWIG_arg_fail(1)) SWIG_fail;
6296 {
32fe5131 6297 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
6298 if (SWIG_arg_fail(2)) SWIG_fail;
6299 }
d55e5bfc
RD
6300 {
6301 PyThreadState* __tstate = wxPyBeginAllowThreads();
6302 (arg1)->EndModal(arg2);
6303
6304 wxPyEndAllowThreads(__tstate);
6305 if (PyErr_Occurred()) SWIG_fail;
6306 }
6307 Py_INCREF(Py_None); resultobj = Py_None;
6308 return resultobj;
6309 fail:
6310 return NULL;
6311}
6312
6313
c370783e 6314static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6315 PyObject *resultobj = NULL;
36ed4f51 6316 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
6317 wxVisualAttributes result;
6318 PyObject * obj0 = 0 ;
6319 char *kwnames[] = {
6320 (char *) "variant", NULL
6321 };
6322
6323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6324 if (obj0) {
36ed4f51 6325 {
32fe5131 6326 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
36ed4f51
RD
6327 if (SWIG_arg_fail(1)) SWIG_fail;
6328 }
f20a2e1f
RD
6329 }
6330 {
0439c23b 6331 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 6332 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 6333 result = wxDialog::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
6334
6335 wxPyEndAllowThreads(__tstate);
110da5b0 6336 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
6337 }
6338 {
6339 wxVisualAttributes * resultptr;
32fe5131 6340 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
6341 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6342 }
6343 return resultobj;
6344 fail:
6345 return NULL;
6346}
6347
6348
c370783e 6349static PyObject * Dialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6350 PyObject *obj;
6351 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6352 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
6353 Py_INCREF(obj);
6354 return Py_BuildValue((char *)"");
6355}
c370783e 6356static PyObject *_wrap_new_MiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6357 PyObject *resultobj = NULL;
d55e5bfc 6358 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
6359 int arg2 = (int) (int)-1 ;
6360 wxString const &arg3_defvalue = wxPyEmptyString ;
6361 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
6362 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6363 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6364 wxSize const &arg5_defvalue = wxDefaultSize ;
6365 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6366 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6367 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6368 wxString *arg7 = (wxString *) &arg7_defvalue ;
6369 wxMiniFrame *result;
b411df4a 6370 bool temp3 = false ;
d55e5bfc
RD
6371 wxPoint temp4 ;
6372 wxSize temp5 ;
b411df4a 6373 bool temp7 = false ;
d55e5bfc
RD
6374 PyObject * obj0 = 0 ;
6375 PyObject * obj1 = 0 ;
6376 PyObject * obj2 = 0 ;
6377 PyObject * obj3 = 0 ;
6378 PyObject * obj4 = 0 ;
6379 PyObject * obj5 = 0 ;
6380 PyObject * obj6 = 0 ;
6381 char *kwnames[] = {
6382 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6383 };
6384
bfddbb17 6385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
6386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6387 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 6388 if (obj1) {
36ed4f51 6389 {
32fe5131 6390 arg2 = static_cast<int const >(SWIG_As_int(obj1));
36ed4f51
RD
6391 if (SWIG_arg_fail(2)) SWIG_fail;
6392 }
bfddbb17
RD
6393 }
6394 if (obj2) {
6395 {
6396 arg3 = wxString_in_helper(obj2);
6397 if (arg3 == NULL) SWIG_fail;
b411df4a 6398 temp3 = true;
bfddbb17 6399 }
d55e5bfc
RD
6400 }
6401 if (obj3) {
6402 {
6403 arg4 = &temp4;
6404 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6405 }
6406 }
6407 if (obj4) {
6408 {
6409 arg5 = &temp5;
6410 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6411 }
6412 }
6413 if (obj5) {
36ed4f51 6414 {
32fe5131 6415 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
6416 if (SWIG_arg_fail(6)) SWIG_fail;
6417 }
d55e5bfc
RD
6418 }
6419 if (obj6) {
6420 {
6421 arg7 = wxString_in_helper(obj6);
6422 if (arg7 == NULL) SWIG_fail;
b411df4a 6423 temp7 = true;
d55e5bfc
RD
6424 }
6425 }
6426 {
0439c23b 6427 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6428 PyThreadState* __tstate = wxPyBeginAllowThreads();
6429 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6430
6431 wxPyEndAllowThreads(__tstate);
110da5b0 6432 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6433 }
6434 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
6435 {
6436 if (temp3)
6437 delete arg3;
6438 }
6439 {
6440 if (temp7)
6441 delete arg7;
6442 }
6443 return resultobj;
6444 fail:
6445 {
6446 if (temp3)
6447 delete arg3;
6448 }
6449 {
6450 if (temp7)
6451 delete arg7;
6452 }
6453 return NULL;
6454}
6455
6456
c370783e 6457static PyObject *_wrap_new_PreMiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6458 PyObject *resultobj = NULL;
d55e5bfc
RD
6459 wxMiniFrame *result;
6460 char *kwnames[] = {
6461 NULL
6462 };
6463
6464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
6465 {
0439c23b 6466 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6467 PyThreadState* __tstate = wxPyBeginAllowThreads();
6468 result = (wxMiniFrame *)new wxMiniFrame();
6469
6470 wxPyEndAllowThreads(__tstate);
110da5b0 6471 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6472 }
6473 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
6474 return resultobj;
6475 fail:
6476 return NULL;
6477}
6478
6479
c370783e 6480static PyObject *_wrap_MiniFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6481 PyObject *resultobj = NULL;
d55e5bfc
RD
6482 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
6483 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
6484 int arg3 = (int) (int)-1 ;
6485 wxString const &arg4_defvalue = wxPyEmptyString ;
6486 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
6487 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6488 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6489 wxSize const &arg6_defvalue = wxDefaultSize ;
6490 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6491 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6492 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6493 wxString *arg8 = (wxString *) &arg8_defvalue ;
6494 bool result;
b411df4a 6495 bool temp4 = false ;
d55e5bfc
RD
6496 wxPoint temp5 ;
6497 wxSize temp6 ;
b411df4a 6498 bool temp8 = false ;
d55e5bfc
RD
6499 PyObject * obj0 = 0 ;
6500 PyObject * obj1 = 0 ;
6501 PyObject * obj2 = 0 ;
6502 PyObject * obj3 = 0 ;
6503 PyObject * obj4 = 0 ;
6504 PyObject * obj5 = 0 ;
6505 PyObject * obj6 = 0 ;
6506 PyObject * obj7 = 0 ;
6507 char *kwnames[] = {
6508 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6509 };
6510
bfddbb17 6511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
6512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_EXCEPTION | 0);
6513 if (SWIG_arg_fail(1)) SWIG_fail;
6514 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6515 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 6516 if (obj2) {
36ed4f51 6517 {
32fe5131 6518 arg3 = static_cast<int const >(SWIG_As_int(obj2));
36ed4f51
RD
6519 if (SWIG_arg_fail(3)) SWIG_fail;
6520 }
bfddbb17
RD
6521 }
6522 if (obj3) {
6523 {
6524 arg4 = wxString_in_helper(obj3);
6525 if (arg4 == NULL) SWIG_fail;
b411df4a 6526 temp4 = true;
bfddbb17 6527 }
d55e5bfc
RD
6528 }
6529 if (obj4) {
6530 {
6531 arg5 = &temp5;
6532 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6533 }
6534 }
6535 if (obj5) {
6536 {
6537 arg6 = &temp6;
6538 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6539 }
6540 }
6541 if (obj6) {
36ed4f51 6542 {
32fe5131 6543 arg7 = static_cast<long >(SWIG_As_long(obj6));
36ed4f51
RD
6544 if (SWIG_arg_fail(7)) SWIG_fail;
6545 }
d55e5bfc
RD
6546 }
6547 if (obj7) {
6548 {
6549 arg8 = wxString_in_helper(obj7);
6550 if (arg8 == NULL) SWIG_fail;
b411df4a 6551 temp8 = true;
d55e5bfc
RD
6552 }
6553 }
6554 {
6555 PyThreadState* __tstate = wxPyBeginAllowThreads();
6556 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6557
6558 wxPyEndAllowThreads(__tstate);
6559 if (PyErr_Occurred()) SWIG_fail;
6560 }
6561 {
6562 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6563 }
6564 {
6565 if (temp4)
6566 delete arg4;
6567 }
6568 {
6569 if (temp8)
6570 delete arg8;
6571 }
6572 return resultobj;
6573 fail:
6574 {
6575 if (temp4)
6576 delete arg4;
6577 }
6578 {
6579 if (temp8)
6580 delete arg8;
6581 }
6582 return NULL;
6583}
6584
6585
c370783e 6586static PyObject * MiniFrame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6587 PyObject *obj;
6588 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6589 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
6590 Py_INCREF(obj);
6591 return Py_BuildValue((char *)"");
6592}
c370783e 6593static PyObject *_wrap_new_SplashScreenWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6594 PyObject *resultobj = NULL;
d55e5bfc
RD
6595 wxBitmap *arg1 = 0 ;
6596 wxWindow *arg2 = (wxWindow *) 0 ;
6597 int arg3 ;
6598 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6599 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6600 wxSize const &arg5_defvalue = wxDefaultSize ;
6601 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6602 long arg6 = (long) wxNO_BORDER ;
6603 wxSplashScreenWindow *result;
6604 wxPoint temp4 ;
6605 wxSize temp5 ;
6606 PyObject * obj0 = 0 ;
6607 PyObject * obj1 = 0 ;
6608 PyObject * obj2 = 0 ;
6609 PyObject * obj3 = 0 ;
6610 PyObject * obj4 = 0 ;
6611 PyObject * obj5 = 0 ;
6612 char *kwnames[] = {
6613 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6614 };
6615
6616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
6617 {
6618 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6619 if (SWIG_arg_fail(1)) SWIG_fail;
6620 if (arg1 == NULL) {
6621 SWIG_null_ref("wxBitmap");
6622 }
6623 if (SWIG_arg_fail(1)) SWIG_fail;
6624 }
6625 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6626 if (SWIG_arg_fail(2)) SWIG_fail;
6627 {
32fe5131 6628 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
6629 if (SWIG_arg_fail(3)) SWIG_fail;
6630 }
d55e5bfc
RD
6631 if (obj3) {
6632 {
6633 arg4 = &temp4;
6634 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6635 }
6636 }
6637 if (obj4) {
6638 {
6639 arg5 = &temp5;
6640 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6641 }
6642 }
6643 if (obj5) {
36ed4f51 6644 {
32fe5131 6645 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
6646 if (SWIG_arg_fail(6)) SWIG_fail;
6647 }
d55e5bfc
RD
6648 }
6649 {
0439c23b 6650 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6651 PyThreadState* __tstate = wxPyBeginAllowThreads();
6652 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
6653
6654 wxPyEndAllowThreads(__tstate);
110da5b0 6655 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6656 }
6657 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
6658 return resultobj;
6659 fail:
6660 return NULL;
6661}
6662
6663
c370783e 6664static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6665 PyObject *resultobj = NULL;
d55e5bfc
RD
6666 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
6667 wxBitmap *arg2 = 0 ;
6668 PyObject * obj0 = 0 ;
6669 PyObject * obj1 = 0 ;
6670 char *kwnames[] = {
6671 (char *) "self",(char *) "bitmap", NULL
6672 };
6673
6674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_EXCEPTION | 0);
6676 if (SWIG_arg_fail(1)) SWIG_fail;
6677 {
6678 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6679 if (SWIG_arg_fail(2)) SWIG_fail;
6680 if (arg2 == NULL) {
6681 SWIG_null_ref("wxBitmap");
6682 }
6683 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
6684 }
6685 {
6686 PyThreadState* __tstate = wxPyBeginAllowThreads();
6687 (arg1)->SetBitmap((wxBitmap const &)*arg2);
6688
6689 wxPyEndAllowThreads(__tstate);
6690 if (PyErr_Occurred()) SWIG_fail;
6691 }
6692 Py_INCREF(Py_None); resultobj = Py_None;
6693 return resultobj;
6694 fail:
6695 return NULL;
6696}
6697
6698
c370783e 6699static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6700 PyObject *resultobj = NULL;
d55e5bfc
RD
6701 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
6702 wxBitmap *result;
6703 PyObject * obj0 = 0 ;
6704 char *kwnames[] = {
6705 (char *) "self", NULL
6706 };
6707
6708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
36ed4f51
RD
6709 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_EXCEPTION | 0);
6710 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6711 {
6712 PyThreadState* __tstate = wxPyBeginAllowThreads();
6713 {
6714 wxBitmap &_result_ref = (arg1)->GetBitmap();
6715 result = (wxBitmap *) &_result_ref;
6716 }
6717
6718 wxPyEndAllowThreads(__tstate);
6719 if (PyErr_Occurred()) SWIG_fail;
6720 }
6721 {
6722 wxBitmap* resultptr = new wxBitmap(*result);
6723 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
6724 }
6725 return resultobj;
6726 fail:
6727 return NULL;
6728}
6729
6730
c370783e 6731static PyObject * SplashScreenWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6732 PyObject *obj;
6733 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6734 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
6735 Py_INCREF(obj);
6736 return Py_BuildValue((char *)"");
6737}
c370783e 6738static PyObject *_wrap_new_SplashScreen(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6739 PyObject *resultobj = NULL;
d55e5bfc
RD
6740 wxBitmap *arg1 = 0 ;
6741 long arg2 ;
6742 int arg3 ;
6743 wxWindow *arg4 = (wxWindow *) 0 ;
bfddbb17 6744 int arg5 = (int) -1 ;
d55e5bfc
RD
6745 wxPoint const &arg6_defvalue = wxDefaultPosition ;
6746 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
6747 wxSize const &arg7_defvalue = wxDefaultSize ;
6748 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
6749 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
6750 wxSplashScreen *result;
6751 wxPoint temp6 ;
6752 wxSize temp7 ;
6753 PyObject * obj0 = 0 ;
6754 PyObject * obj1 = 0 ;
6755 PyObject * obj2 = 0 ;
6756 PyObject * obj3 = 0 ;
6757 PyObject * obj4 = 0 ;
6758 PyObject * obj5 = 0 ;
6759 PyObject * obj6 = 0 ;
6760 PyObject * obj7 = 0 ;
6761 char *kwnames[] = {
6762 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6763 };
6764
bfddbb17 6765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
6766 {
6767 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6768 if (SWIG_arg_fail(1)) SWIG_fail;
6769 if (arg1 == NULL) {
6770 SWIG_null_ref("wxBitmap");
6771 }
6772 if (SWIG_arg_fail(1)) SWIG_fail;
6773 }
6774 {
32fe5131 6775 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
6776 if (SWIG_arg_fail(2)) SWIG_fail;
6777 }
6778 {
32fe5131 6779 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
6780 if (SWIG_arg_fail(3)) SWIG_fail;
6781 }
6782 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6783 if (SWIG_arg_fail(4)) SWIG_fail;
bfddbb17 6784 if (obj4) {
36ed4f51 6785 {
32fe5131 6786 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
6787 if (SWIG_arg_fail(5)) SWIG_fail;
6788 }
bfddbb17 6789 }
d55e5bfc
RD
6790 if (obj5) {
6791 {
6792 arg6 = &temp6;
6793 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
6794 }
6795 }
6796 if (obj6) {
6797 {
6798 arg7 = &temp7;
6799 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
6800 }
6801 }
6802 if (obj7) {
36ed4f51 6803 {
32fe5131 6804 arg8 = static_cast<long >(SWIG_As_long(obj7));
36ed4f51
RD
6805 if (SWIG_arg_fail(8)) SWIG_fail;
6806 }
d55e5bfc
RD
6807 }
6808 {
0439c23b 6809 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6810 PyThreadState* __tstate = wxPyBeginAllowThreads();
6811 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
6812
6813 wxPyEndAllowThreads(__tstate);
110da5b0 6814 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6815 }
6816 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
6817 return resultobj;
6818 fail:
6819 return NULL;
6820}
6821
6822
c370783e 6823static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6824 PyObject *resultobj = NULL;
d55e5bfc
RD
6825 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6826 long result;
6827 PyObject * obj0 = 0 ;
6828 char *kwnames[] = {
6829 (char *) "self", NULL
6830 };
6831
6832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
36ed4f51
RD
6833 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6834 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6835 {
6836 PyThreadState* __tstate = wxPyBeginAllowThreads();
6837 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
6838
6839 wxPyEndAllowThreads(__tstate);
6840 if (PyErr_Occurred()) SWIG_fail;
6841 }
36ed4f51 6842 {
32fe5131 6843 resultobj = SWIG_From_long(static_cast<long >(result));
36ed4f51 6844 }
d55e5bfc
RD
6845 return resultobj;
6846 fail:
6847 return NULL;
6848}
6849
6850
c370783e 6851static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6852 PyObject *resultobj = NULL;
d55e5bfc
RD
6853 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6854 wxSplashScreenWindow *result;
6855 PyObject * obj0 = 0 ;
6856 char *kwnames[] = {
6857 (char *) "self", NULL
6858 };
6859
6860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
6861 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6862 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6863 {
6864 PyThreadState* __tstate = wxPyBeginAllowThreads();
6865 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
6866
6867 wxPyEndAllowThreads(__tstate);
6868 if (PyErr_Occurred()) SWIG_fail;
6869 }
6870 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
6871 return resultobj;
6872 fail:
6873 return NULL;
6874}
6875
6876
c370783e 6877static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6878 PyObject *resultobj = NULL;
d55e5bfc
RD
6879 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6880 int result;
6881 PyObject * obj0 = 0 ;
6882 char *kwnames[] = {
6883 (char *) "self", NULL
6884 };
6885
6886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
36ed4f51
RD
6887 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6888 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6889 {
6890 PyThreadState* __tstate = wxPyBeginAllowThreads();
6891 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
6892
6893 wxPyEndAllowThreads(__tstate);
6894 if (PyErr_Occurred()) SWIG_fail;
6895 }
36ed4f51 6896 {
32fe5131 6897 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 6898 }
d55e5bfc
RD
6899 return resultobj;
6900 fail:
6901 return NULL;
6902}
6903
6904
c370783e 6905static PyObject * SplashScreen_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6906 PyObject *obj;
6907 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6908 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
6909 Py_INCREF(obj);
6910 return Py_BuildValue((char *)"");
6911}
c370783e 6912static PyObject *_wrap_new_StatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6913 PyObject *resultobj = NULL;
d55e5bfc
RD
6914 wxWindow *arg1 = (wxWindow *) 0 ;
6915 int arg2 = (int) -1 ;
6d88e192 6916 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
d55e5bfc
RD
6917 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
6918 wxString *arg4 = (wxString *) &arg4_defvalue ;
6919 wxStatusBar *result;
b411df4a 6920 bool temp4 = false ;
d55e5bfc
RD
6921 PyObject * obj0 = 0 ;
6922 PyObject * obj1 = 0 ;
6923 PyObject * obj2 = 0 ;
6924 PyObject * obj3 = 0 ;
6925 char *kwnames[] = {
6926 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6927 };
6928
6929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
6930 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6931 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 6932 if (obj1) {
36ed4f51 6933 {
32fe5131 6934 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
6935 if (SWIG_arg_fail(2)) SWIG_fail;
6936 }
d55e5bfc
RD
6937 }
6938 if (obj2) {
36ed4f51 6939 {
32fe5131 6940 arg3 = static_cast<long >(SWIG_As_long(obj2));
36ed4f51
RD
6941 if (SWIG_arg_fail(3)) SWIG_fail;
6942 }
d55e5bfc
RD
6943 }
6944 if (obj3) {
6945 {
6946 arg4 = wxString_in_helper(obj3);
6947 if (arg4 == NULL) SWIG_fail;
b411df4a 6948 temp4 = true;
d55e5bfc
RD
6949 }
6950 }
6951 {
0439c23b 6952 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6953 PyThreadState* __tstate = wxPyBeginAllowThreads();
6954 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
6955
6956 wxPyEndAllowThreads(__tstate);
110da5b0 6957 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 6958 }
b0f7404b 6959 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
d55e5bfc
RD
6960 {
6961 if (temp4)
6962 delete arg4;
6963 }
6964 return resultobj;
6965 fail:
6966 {
6967 if (temp4)
6968 delete arg4;
6969 }
6970 return NULL;
6971}
6972
6973
c370783e 6974static PyObject *_wrap_new_PreStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6975 PyObject *resultobj = NULL;
d55e5bfc
RD
6976 wxStatusBar *result;
6977 char *kwnames[] = {
6978 NULL
6979 };
6980
6981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
6982 {
0439c23b 6983 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6984 PyThreadState* __tstate = wxPyBeginAllowThreads();
6985 result = (wxStatusBar *)new wxStatusBar();
6986
6987 wxPyEndAllowThreads(__tstate);
110da5b0 6988 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 6989 }
b0f7404b 6990 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
d55e5bfc
RD
6991 return resultobj;
6992 fail:
6993 return NULL;
6994}
6995
6996
c370783e 6997static PyObject *_wrap_StatusBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6998 PyObject *resultobj = NULL;
d55e5bfc
RD
6999 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7000 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17 7001 int arg3 = (int) -1 ;
d55e5bfc
RD
7002 long arg4 = (long) wxST_SIZEGRIP ;
7003 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
7004 wxString *arg5 = (wxString *) &arg5_defvalue ;
7005 bool result;
b411df4a 7006 bool temp5 = false ;
d55e5bfc
RD
7007 PyObject * obj0 = 0 ;
7008 PyObject * obj1 = 0 ;
7009 PyObject * obj2 = 0 ;
7010 PyObject * obj3 = 0 ;
7011 PyObject * obj4 = 0 ;
7012 char *kwnames[] = {
7013 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
7014 };
7015
bfddbb17 7016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
7017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7018 if (SWIG_arg_fail(1)) SWIG_fail;
7019 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7020 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 7021 if (obj2) {
36ed4f51 7022 {
32fe5131 7023 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
7024 if (SWIG_arg_fail(3)) SWIG_fail;
7025 }
bfddbb17 7026 }
d55e5bfc 7027 if (obj3) {
36ed4f51 7028 {
32fe5131 7029 arg4 = static_cast<long >(SWIG_As_long(obj3));
36ed4f51
RD
7030 if (SWIG_arg_fail(4)) SWIG_fail;
7031 }
d55e5bfc
RD
7032 }
7033 if (obj4) {
7034 {
7035 arg5 = wxString_in_helper(obj4);
7036 if (arg5 == NULL) SWIG_fail;
b411df4a 7037 temp5 = true;
d55e5bfc
RD
7038 }
7039 }
7040 {
7041 PyThreadState* __tstate = wxPyBeginAllowThreads();
7042 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
7043
7044 wxPyEndAllowThreads(__tstate);
7045 if (PyErr_Occurred()) SWIG_fail;
7046 }
7047 {
7048 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7049 }
7050 {
7051 if (temp5)
7052 delete arg5;
7053 }
7054 return resultobj;
7055 fail:
7056 {
7057 if (temp5)
7058 delete arg5;
7059 }
7060 return NULL;
7061}
7062
7063
c370783e 7064static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7065 PyObject *resultobj = NULL;
d55e5bfc
RD
7066 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7067 int arg2 = (int) 1 ;
7068 PyObject * obj0 = 0 ;
7069 PyObject * obj1 = 0 ;
7070 char *kwnames[] = {
7071 (char *) "self",(char *) "number", NULL
7072 };
7073
7074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7075 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7076 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 7077 if (obj1) {
36ed4f51 7078 {
32fe5131 7079 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7080 if (SWIG_arg_fail(2)) SWIG_fail;
7081 }
d55e5bfc
RD
7082 }
7083 {
7084 PyThreadState* __tstate = wxPyBeginAllowThreads();
7085 (arg1)->SetFieldsCount(arg2);
7086
7087 wxPyEndAllowThreads(__tstate);
7088 if (PyErr_Occurred()) SWIG_fail;
7089 }
7090 Py_INCREF(Py_None); resultobj = Py_None;
7091 return resultobj;
7092 fail:
7093 return NULL;
7094}
7095
7096
c370783e 7097static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7098 PyObject *resultobj = NULL;
d55e5bfc
RD
7099 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7100 int result;
7101 PyObject * obj0 = 0 ;
7102 char *kwnames[] = {
7103 (char *) "self", NULL
7104 };
7105
7106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
7107 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7108 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7109 {
7110 PyThreadState* __tstate = wxPyBeginAllowThreads();
7111 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
7112
7113 wxPyEndAllowThreads(__tstate);
7114 if (PyErr_Occurred()) SWIG_fail;
7115 }
36ed4f51 7116 {
32fe5131 7117 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 7118 }
d55e5bfc
RD
7119 return resultobj;
7120 fail:
7121 return NULL;
7122}
7123
7124
c370783e 7125static PyObject *_wrap_StatusBar_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7126 PyObject *resultobj = NULL;
d55e5bfc
RD
7127 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7128 wxString *arg2 = 0 ;
7129 int arg3 = (int) 0 ;
b411df4a 7130 bool temp2 = false ;
d55e5bfc
RD
7131 PyObject * obj0 = 0 ;
7132 PyObject * obj1 = 0 ;
7133 PyObject * obj2 = 0 ;
7134 char *kwnames[] = {
7135 (char *) "self",(char *) "text",(char *) "number", NULL
7136 };
7137
7138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
7139 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7140 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7141 {
7142 arg2 = wxString_in_helper(obj1);
7143 if (arg2 == NULL) SWIG_fail;
b411df4a 7144 temp2 = true;
d55e5bfc
RD
7145 }
7146 if (obj2) {
36ed4f51 7147 {
32fe5131 7148 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
7149 if (SWIG_arg_fail(3)) SWIG_fail;
7150 }
d55e5bfc
RD
7151 }
7152 {
7153 PyThreadState* __tstate = wxPyBeginAllowThreads();
7154 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
7155
7156 wxPyEndAllowThreads(__tstate);
7157 if (PyErr_Occurred()) SWIG_fail;
7158 }
7159 Py_INCREF(Py_None); resultobj = Py_None;
7160 {
7161 if (temp2)
7162 delete arg2;
7163 }
7164 return resultobj;
7165 fail:
7166 {
7167 if (temp2)
7168 delete arg2;
7169 }
7170 return NULL;
7171}
7172
7173
c370783e 7174static PyObject *_wrap_StatusBar_GetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7175 PyObject *resultobj = NULL;
d55e5bfc
RD
7176 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7177 int arg2 = (int) 0 ;
7178 wxString result;
7179 PyObject * obj0 = 0 ;
7180 PyObject * obj1 = 0 ;
7181 char *kwnames[] = {
7182 (char *) "self",(char *) "number", NULL
7183 };
7184
7185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7187 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 7188 if (obj1) {
36ed4f51 7189 {
32fe5131 7190 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7191 if (SWIG_arg_fail(2)) SWIG_fail;
7192 }
d55e5bfc
RD
7193 }
7194 {
7195 PyThreadState* __tstate = wxPyBeginAllowThreads();
7196 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
7197
7198 wxPyEndAllowThreads(__tstate);
7199 if (PyErr_Occurred()) SWIG_fail;
7200 }
7201 {
7202#if wxUSE_UNICODE
7203 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7204#else
7205 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7206#endif
7207 }
7208 return resultobj;
7209 fail:
7210 return NULL;
7211}
7212
7213
c370783e 7214static PyObject *_wrap_StatusBar_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7215 PyObject *resultobj = NULL;
d55e5bfc
RD
7216 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7217 wxString *arg2 = 0 ;
7218 int arg3 = (int) 0 ;
b411df4a 7219 bool temp2 = false ;
d55e5bfc
RD
7220 PyObject * obj0 = 0 ;
7221 PyObject * obj1 = 0 ;
7222 PyObject * obj2 = 0 ;
7223 char *kwnames[] = {
7224 (char *) "self",(char *) "text",(char *) "number", NULL
7225 };
7226
7227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
7228 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7229 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7230 {
7231 arg2 = wxString_in_helper(obj1);
7232 if (arg2 == NULL) SWIG_fail;
b411df4a 7233 temp2 = true;
d55e5bfc
RD
7234 }
7235 if (obj2) {
36ed4f51 7236 {
32fe5131 7237 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
7238 if (SWIG_arg_fail(3)) SWIG_fail;
7239 }
d55e5bfc
RD
7240 }
7241 {
7242 PyThreadState* __tstate = wxPyBeginAllowThreads();
7243 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
7244
7245 wxPyEndAllowThreads(__tstate);
7246 if (PyErr_Occurred()) SWIG_fail;
7247 }
7248 Py_INCREF(Py_None); resultobj = Py_None;
7249 {
7250 if (temp2)
7251 delete arg2;
7252 }
7253 return resultobj;
7254 fail:
7255 {
7256 if (temp2)
7257 delete arg2;
7258 }
7259 return NULL;
7260}
7261
7262
c370783e 7263static PyObject *_wrap_StatusBar_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7264 PyObject *resultobj = NULL;
d55e5bfc
RD
7265 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7266 int arg2 = (int) 0 ;
7267 PyObject * obj0 = 0 ;
7268 PyObject * obj1 = 0 ;
7269 char *kwnames[] = {
7270 (char *) "self",(char *) "number", NULL
7271 };
7272
7273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7274 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7275 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 7276 if (obj1) {
36ed4f51 7277 {
32fe5131 7278 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7279 if (SWIG_arg_fail(2)) SWIG_fail;
7280 }
d55e5bfc
RD
7281 }
7282 {
7283 PyThreadState* __tstate = wxPyBeginAllowThreads();
7284 (arg1)->PopStatusText(arg2);
7285
7286 wxPyEndAllowThreads(__tstate);
7287 if (PyErr_Occurred()) SWIG_fail;
7288 }
7289 Py_INCREF(Py_None); resultobj = Py_None;
7290 return resultobj;
7291 fail:
7292 return NULL;
7293}
7294
7295
c370783e 7296static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7297 PyObject *resultobj = NULL;
d55e5bfc
RD
7298 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7299 int arg2 ;
7300 int *arg3 = (int *) 0 ;
7301 PyObject * obj0 = 0 ;
7302 PyObject * obj1 = 0 ;
7303 char *kwnames[] = {
7304 (char *) "self",(char *) "widths", NULL
7305 };
7306
7307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7308 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7309 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7310 {
7311 arg2 = PyList_Size(obj1);
7312 arg3 = int_LIST_helper(obj1);
7313 if (arg3 == NULL) SWIG_fail;
7314 }
7315 {
7316 PyThreadState* __tstate = wxPyBeginAllowThreads();
7317 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
7318
7319 wxPyEndAllowThreads(__tstate);
7320 if (PyErr_Occurred()) SWIG_fail;
7321 }
7322 Py_INCREF(Py_None); resultobj = Py_None;
7323 {
7324 if (arg3) delete [] arg3;
7325 }
7326 return resultobj;
7327 fail:
7328 {
7329 if (arg3) delete [] arg3;
7330 }
7331 return NULL;
7332}
7333
7334
c370783e 7335static PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7336 PyObject *resultobj = NULL;
03837c5c
RD
7337 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7338 int arg2 ;
7339 int *arg3 = (int *) 0 ;
7340 PyObject * obj0 = 0 ;
7341 PyObject * obj1 = 0 ;
7342 char *kwnames[] = {
7343 (char *) "self",(char *) "styles", NULL
7344 };
7345
7346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7347 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7348 if (SWIG_arg_fail(1)) SWIG_fail;
03837c5c
RD
7349 {
7350 arg2 = PyList_Size(obj1);
7351 arg3 = int_LIST_helper(obj1);
7352 if (arg3 == NULL) SWIG_fail;
7353 }
7354 {
7355 PyThreadState* __tstate = wxPyBeginAllowThreads();
7356 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
7357
7358 wxPyEndAllowThreads(__tstate);
7359 if (PyErr_Occurred()) SWIG_fail;
7360 }
7361 Py_INCREF(Py_None); resultobj = Py_None;
7362 {
7363 if (arg3) delete [] arg3;
7364 }
7365 return resultobj;
7366 fail:
7367 {
7368 if (arg3) delete [] arg3;
7369 }
7370 return NULL;
7371}
7372
7373
c370783e 7374static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7375 PyObject *resultobj = NULL;
d55e5bfc
RD
7376 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7377 int arg2 ;
7378 wxRect result;
7379 PyObject * obj0 = 0 ;
7380 PyObject * obj1 = 0 ;
7381 char *kwnames[] = {
7382 (char *) "self",(char *) "i", NULL
7383 };
7384
7385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7387 if (SWIG_arg_fail(1)) SWIG_fail;
7388 {
32fe5131 7389 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7390 if (SWIG_arg_fail(2)) SWIG_fail;
7391 }
d55e5bfc
RD
7392 {
7393 PyThreadState* __tstate = wxPyBeginAllowThreads();
7394 result = wxStatusBar_GetFieldRect(arg1,arg2);
7395
7396 wxPyEndAllowThreads(__tstate);
7397 if (PyErr_Occurred()) SWIG_fail;
7398 }
7399 {
7400 wxRect * resultptr;
32fe5131 7401 resultptr = new wxRect(static_cast<wxRect & >(result));
d55e5bfc
RD
7402 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7403 }
7404 return resultobj;
7405 fail:
7406 return NULL;
7407}
7408
7409
c370783e 7410static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7411 PyObject *resultobj = NULL;
d55e5bfc
RD
7412 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7413 int arg2 ;
7414 PyObject * obj0 = 0 ;
7415 PyObject * obj1 = 0 ;
7416 char *kwnames[] = {
7417 (char *) "self",(char *) "height", NULL
7418 };
7419
7420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7421 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7422 if (SWIG_arg_fail(1)) SWIG_fail;
7423 {
32fe5131 7424 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7425 if (SWIG_arg_fail(2)) SWIG_fail;
7426 }
d55e5bfc
RD
7427 {
7428 PyThreadState* __tstate = wxPyBeginAllowThreads();
7429 (arg1)->SetMinHeight(arg2);
7430
7431 wxPyEndAllowThreads(__tstate);
7432 if (PyErr_Occurred()) SWIG_fail;
7433 }
7434 Py_INCREF(Py_None); resultobj = Py_None;
7435 return resultobj;
7436 fail:
7437 return NULL;
7438}
7439
7440
c370783e 7441static PyObject *_wrap_StatusBar_GetBorderX(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7442 PyObject *resultobj = NULL;
d55e5bfc
RD
7443 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7444 int result;
7445 PyObject * obj0 = 0 ;
7446 char *kwnames[] = {
7447 (char *) "self", NULL
7448 };
7449
7450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
36ed4f51
RD
7451 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7452 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7453 {
7454 PyThreadState* __tstate = wxPyBeginAllowThreads();
7455 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
7456
7457 wxPyEndAllowThreads(__tstate);
7458 if (PyErr_Occurred()) SWIG_fail;
7459 }
36ed4f51 7460 {
32fe5131 7461 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 7462 }
d55e5bfc
RD
7463 return resultobj;
7464 fail:
7465 return NULL;
7466}
7467
7468
c370783e 7469static PyObject *_wrap_StatusBar_GetBorderY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7470 PyObject *resultobj = NULL;
d55e5bfc
RD
7471 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7472 int result;
7473 PyObject * obj0 = 0 ;
7474 char *kwnames[] = {
7475 (char *) "self", NULL
7476 };
7477
7478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
36ed4f51
RD
7479 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7480 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7481 {
7482 PyThreadState* __tstate = wxPyBeginAllowThreads();
7483 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
7484
7485 wxPyEndAllowThreads(__tstate);
7486 if (PyErr_Occurred()) SWIG_fail;
7487 }
36ed4f51 7488 {
32fe5131 7489 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 7490 }
d55e5bfc
RD
7491 return resultobj;
7492 fail:
7493 return NULL;
7494}
7495
7496
c370783e 7497static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7498 PyObject *resultobj = NULL;
36ed4f51 7499 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
7500 wxVisualAttributes result;
7501 PyObject * obj0 = 0 ;
7502 char *kwnames[] = {
7503 (char *) "variant", NULL
7504 };
7505
7506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
7507 if (obj0) {
36ed4f51 7508 {
32fe5131 7509 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
36ed4f51
RD
7510 if (SWIG_arg_fail(1)) SWIG_fail;
7511 }
f20a2e1f
RD
7512 }
7513 {
0439c23b 7514 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 7515 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 7516 result = wxStatusBar::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
7517
7518 wxPyEndAllowThreads(__tstate);
110da5b0 7519 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
7520 }
7521 {
7522 wxVisualAttributes * resultptr;
32fe5131 7523 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
7524 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7525 }
7526 return resultobj;
7527 fail:
7528 return NULL;
7529}
7530
7531
c370783e 7532static PyObject * StatusBar_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7533 PyObject *obj;
7534 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7535 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
7536 Py_INCREF(obj);
7537 return Py_BuildValue((char *)"");
7538}
c370783e 7539static int _wrap_SplitterNameStr_set(PyObject *) {
d55e5bfc
RD
7540 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
7541 return 1;
7542}
7543
7544
36ed4f51 7545static PyObject *_wrap_SplitterNameStr_get(void) {
32fe5131 7546 PyObject *pyobj = NULL;
d55e5bfc
RD
7547
7548 {
7549#if wxUSE_UNICODE
7550 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
7551#else
7552 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
7553#endif
7554 }
7555 return pyobj;
7556}
7557
7558
c370783e 7559static PyObject *_wrap_new_SplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7560 PyObject *resultobj = NULL;
d55e5bfc
RD
7561 wxWindow *arg1 = (wxWindow *) 0 ;
7562 int arg2 = (int) -1 ;
7563 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7564 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7565 wxSize const &arg4_defvalue = wxDefaultSize ;
7566 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7567 long arg5 = (long) wxSP_3D ;
7568 wxString const &arg6_defvalue = wxPySplitterNameStr ;
7569 wxString *arg6 = (wxString *) &arg6_defvalue ;
7570 wxSplitterWindow *result;
7571 wxPoint temp3 ;
7572 wxSize temp4 ;
b411df4a 7573 bool temp6 = false ;
d55e5bfc
RD
7574 PyObject * obj0 = 0 ;
7575 PyObject * obj1 = 0 ;
7576 PyObject * obj2 = 0 ;
7577 PyObject * obj3 = 0 ;
7578 PyObject * obj4 = 0 ;
7579 PyObject * obj5 = 0 ;
7580 char *kwnames[] = {
7581 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7582 };
7583
7584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
7585 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7586 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 7587 if (obj1) {
36ed4f51 7588 {
32fe5131 7589 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7590 if (SWIG_arg_fail(2)) SWIG_fail;
7591 }
d55e5bfc
RD
7592 }
7593 if (obj2) {
7594 {
7595 arg3 = &temp3;
7596 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7597 }
7598 }
7599 if (obj3) {
7600 {
7601 arg4 = &temp4;
7602 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7603 }
7604 }
7605 if (obj4) {
36ed4f51 7606 {
32fe5131 7607 arg5 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
7608 if (SWIG_arg_fail(5)) SWIG_fail;
7609 }
d55e5bfc
RD
7610 }
7611 if (obj5) {
7612 {
7613 arg6 = wxString_in_helper(obj5);
7614 if (arg6 == NULL) SWIG_fail;
b411df4a 7615 temp6 = true;
d55e5bfc
RD
7616 }
7617 }
7618 {
0439c23b 7619 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7620 PyThreadState* __tstate = wxPyBeginAllowThreads();
7621 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7622
7623 wxPyEndAllowThreads(__tstate);
110da5b0 7624 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
7625 }
7626 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
7627 {
7628 if (temp6)
7629 delete arg6;
7630 }
7631 return resultobj;
7632 fail:
7633 {
7634 if (temp6)
7635 delete arg6;
7636 }
7637 return NULL;
7638}
7639
7640
c370783e 7641static PyObject *_wrap_new_PreSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7642 PyObject *resultobj = NULL;
d55e5bfc
RD
7643 wxSplitterWindow *result;
7644 char *kwnames[] = {
7645 NULL
7646 };
7647
7648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
7649 {
0439c23b 7650 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7651 PyThreadState* __tstate = wxPyBeginAllowThreads();
7652 result = (wxSplitterWindow *)new wxSplitterWindow();
7653
7654 wxPyEndAllowThreads(__tstate);
110da5b0 7655 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
7656 }
7657 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
7658 return resultobj;
7659 fail:
7660 return NULL;
7661}
7662
7663
c370783e 7664static PyObject *_wrap_SplitterWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7665 PyObject *resultobj = NULL;
d55e5bfc
RD
7666 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7667 wxWindow *arg2 = (wxWindow *) 0 ;
7668 int arg3 = (int) -1 ;
7669 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7670 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7671 wxSize const &arg5_defvalue = wxDefaultSize ;
7672 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7673 long arg6 = (long) wxSP_3D ;
7674 wxString const &arg7_defvalue = wxPySplitterNameStr ;
7675 wxString *arg7 = (wxString *) &arg7_defvalue ;
7676 bool result;
7677 wxPoint temp4 ;
7678 wxSize temp5 ;
b411df4a 7679 bool temp7 = false ;
d55e5bfc
RD
7680 PyObject * obj0 = 0 ;
7681 PyObject * obj1 = 0 ;
7682 PyObject * obj2 = 0 ;
7683 PyObject * obj3 = 0 ;
7684 PyObject * obj4 = 0 ;
7685 PyObject * obj5 = 0 ;
7686 PyObject * obj6 = 0 ;
7687 char *kwnames[] = {
7688 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7689 };
7690
7691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
7692 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7693 if (SWIG_arg_fail(1)) SWIG_fail;
7694 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7695 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 7696 if (obj2) {
36ed4f51 7697 {
32fe5131 7698 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
7699 if (SWIG_arg_fail(3)) SWIG_fail;
7700 }
d55e5bfc
RD
7701 }
7702 if (obj3) {
7703 {
7704 arg4 = &temp4;
7705 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7706 }
7707 }
7708 if (obj4) {
7709 {
7710 arg5 = &temp5;
7711 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7712 }
7713 }
7714 if (obj5) {
36ed4f51 7715 {
32fe5131 7716 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
7717 if (SWIG_arg_fail(6)) SWIG_fail;
7718 }
d55e5bfc
RD
7719 }
7720 if (obj6) {
7721 {
7722 arg7 = wxString_in_helper(obj6);
7723 if (arg7 == NULL) SWIG_fail;
b411df4a 7724 temp7 = true;
d55e5bfc
RD
7725 }
7726 }
7727 {
7728 PyThreadState* __tstate = wxPyBeginAllowThreads();
7729 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7730
7731 wxPyEndAllowThreads(__tstate);
7732 if (PyErr_Occurred()) SWIG_fail;
7733 }
7734 {
7735 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7736 }
7737 {
7738 if (temp7)
7739 delete arg7;
7740 }
7741 return resultobj;
7742 fail:
7743 {
7744 if (temp7)
7745 delete arg7;
7746 }
7747 return NULL;
7748}
7749
7750
c370783e 7751static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7752 PyObject *resultobj = NULL;
d55e5bfc
RD
7753 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7754 wxWindow *result;
7755 PyObject * obj0 = 0 ;
7756 char *kwnames[] = {
7757 (char *) "self", NULL
7758 };
7759
7760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
36ed4f51
RD
7761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7762 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7763 {
7764 PyThreadState* __tstate = wxPyBeginAllowThreads();
7765 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
7766
7767 wxPyEndAllowThreads(__tstate);
7768 if (PyErr_Occurred()) SWIG_fail;
7769 }
7770 {
412d302d 7771 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
7772 }
7773 return resultobj;
7774 fail:
7775 return NULL;
7776}
7777
7778
c370783e 7779static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7780 PyObject *resultobj = NULL;
d55e5bfc
RD
7781 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7782 wxWindow *result;
7783 PyObject * obj0 = 0 ;
7784 char *kwnames[] = {
7785 (char *) "self", NULL
7786 };
7787
7788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
36ed4f51
RD
7789 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7790 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7791 {
7792 PyThreadState* __tstate = wxPyBeginAllowThreads();
7793 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
7794
7795 wxPyEndAllowThreads(__tstate);
7796 if (PyErr_Occurred()) SWIG_fail;
7797 }
7798 {
412d302d 7799 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
7800 }
7801 return resultobj;
7802 fail:
7803 return NULL;
7804}
7805
7806
c370783e 7807static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7808 PyObject *resultobj = NULL;
d55e5bfc
RD
7809 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7810 int arg2 ;
7811 PyObject * obj0 = 0 ;
7812 PyObject * obj1 = 0 ;
7813 char *kwnames[] = {
7814 (char *) "self",(char *) "mode", NULL
7815 };
7816
7817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7818 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7819 if (SWIG_arg_fail(1)) SWIG_fail;
7820 {
32fe5131 7821 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7822 if (SWIG_arg_fail(2)) SWIG_fail;
7823 }
d55e5bfc
RD
7824 {
7825 PyThreadState* __tstate = wxPyBeginAllowThreads();
7826 (arg1)->SetSplitMode(arg2);
7827
7828 wxPyEndAllowThreads(__tstate);
7829 if (PyErr_Occurred()) SWIG_fail;
7830 }
7831 Py_INCREF(Py_None); resultobj = Py_None;
7832 return resultobj;
7833 fail:
7834 return NULL;
7835}
7836
7837
c370783e 7838static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7839 PyObject *resultobj = NULL;
d55e5bfc 7840 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
36ed4f51 7841 wxSplitMode result;
d55e5bfc
RD
7842 PyObject * obj0 = 0 ;
7843 char *kwnames[] = {
7844 (char *) "self", NULL
7845 };
7846
7847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
36ed4f51
RD
7848 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7849 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7850 {
7851 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7852 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
d55e5bfc
RD
7853
7854 wxPyEndAllowThreads(__tstate);
7855 if (PyErr_Occurred()) SWIG_fail;
7856 }
36ed4f51 7857 resultobj = SWIG_From_int((result));
d55e5bfc
RD
7858 return resultobj;
7859 fail:
7860 return NULL;
7861}
7862
7863
c370783e 7864static PyObject *_wrap_SplitterWindow_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7865 PyObject *resultobj = NULL;
d55e5bfc
RD
7866 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7867 wxWindow *arg2 = (wxWindow *) 0 ;
7868 PyObject * obj0 = 0 ;
7869 PyObject * obj1 = 0 ;
7870 char *kwnames[] = {
7871 (char *) "self",(char *) "window", NULL
7872 };
7873
7874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7875 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7876 if (SWIG_arg_fail(1)) SWIG_fail;
7877 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7878 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
7879 {
7880 PyThreadState* __tstate = wxPyBeginAllowThreads();
7881 (arg1)->Initialize(arg2);
7882
7883 wxPyEndAllowThreads(__tstate);
7884 if (PyErr_Occurred()) SWIG_fail;
7885 }
7886 Py_INCREF(Py_None); resultobj = Py_None;
7887 return resultobj;
7888 fail:
7889 return NULL;
7890}
7891
7892
c370783e 7893static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7894 PyObject *resultobj = NULL;
d55e5bfc
RD
7895 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7896 wxWindow *arg2 = (wxWindow *) 0 ;
7897 wxWindow *arg3 = (wxWindow *) 0 ;
7898 int arg4 = (int) 0 ;
7899 bool result;
7900 PyObject * obj0 = 0 ;
7901 PyObject * obj1 = 0 ;
7902 PyObject * obj2 = 0 ;
7903 PyObject * obj3 = 0 ;
7904 char *kwnames[] = {
7905 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7906 };
7907
7908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
7909 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7910 if (SWIG_arg_fail(1)) SWIG_fail;
7911 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7912 if (SWIG_arg_fail(2)) SWIG_fail;
7913 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7914 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc 7915 if (obj3) {
36ed4f51 7916 {
32fe5131 7917 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
7918 if (SWIG_arg_fail(4)) SWIG_fail;
7919 }
d55e5bfc
RD
7920 }
7921 {
7922 PyThreadState* __tstate = wxPyBeginAllowThreads();
7923 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
7924
7925 wxPyEndAllowThreads(__tstate);
7926 if (PyErr_Occurred()) SWIG_fail;
7927 }
7928 {
7929 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7930 }
7931 return resultobj;
7932 fail:
7933 return NULL;
7934}
7935
7936
c370783e 7937static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7938 PyObject *resultobj = NULL;
d55e5bfc
RD
7939 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7940 wxWindow *arg2 = (wxWindow *) 0 ;
7941 wxWindow *arg3 = (wxWindow *) 0 ;
7942 int arg4 = (int) 0 ;
7943 bool result;
7944 PyObject * obj0 = 0 ;
7945 PyObject * obj1 = 0 ;
7946 PyObject * obj2 = 0 ;
7947 PyObject * obj3 = 0 ;
7948 char *kwnames[] = {
7949 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7950 };
7951
7952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
7953 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7954 if (SWIG_arg_fail(1)) SWIG_fail;
7955 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7956 if (SWIG_arg_fail(2)) SWIG_fail;
7957 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7958 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc 7959 if (obj3) {
36ed4f51 7960 {
32fe5131 7961 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
7962 if (SWIG_arg_fail(4)) SWIG_fail;
7963 }
d55e5bfc
RD
7964 }
7965 {
7966 PyThreadState* __tstate = wxPyBeginAllowThreads();
7967 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
7968
7969 wxPyEndAllowThreads(__tstate);
7970 if (PyErr_Occurred()) SWIG_fail;
7971 }
7972 {
7973 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7974 }
7975 return resultobj;
7976 fail:
7977 return NULL;
7978}
7979
7980
c370783e 7981static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7982 PyObject *resultobj = NULL;
d55e5bfc
RD
7983 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7984 wxWindow *arg2 = (wxWindow *) NULL ;
7985 bool result;
7986 PyObject * obj0 = 0 ;
7987 PyObject * obj1 = 0 ;
7988 char *kwnames[] = {
7989 (char *) "self",(char *) "toRemove", NULL
7990 };
7991
7992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7993 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7994 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 7995 if (obj1) {
36ed4f51
RD
7996 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7997 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
7998 }
7999 {
8000 PyThreadState* __tstate = wxPyBeginAllowThreads();
8001 result = (bool)(arg1)->Unsplit(arg2);
8002
8003 wxPyEndAllowThreads(__tstate);
8004 if (PyErr_Occurred()) SWIG_fail;
8005 }
8006 {
8007 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8008 }
8009 return resultobj;
8010 fail:
8011 return NULL;
8012}
8013
8014
c370783e 8015static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8016 PyObject *resultobj = NULL;
d55e5bfc
RD
8017 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8018 wxWindow *arg2 = (wxWindow *) 0 ;
8019 wxWindow *arg3 = (wxWindow *) 0 ;
8020 bool result;
8021 PyObject * obj0 = 0 ;
8022 PyObject * obj1 = 0 ;
8023 PyObject * obj2 = 0 ;
8024 char *kwnames[] = {
8025 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
8026 };
8027
8028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
8029 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8030 if (SWIG_arg_fail(1)) SWIG_fail;
8031 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8032 if (SWIG_arg_fail(2)) SWIG_fail;
8033 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8034 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
8035 {
8036 PyThreadState* __tstate = wxPyBeginAllowThreads();
8037 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
8038
8039 wxPyEndAllowThreads(__tstate);
8040 if (PyErr_Occurred()) SWIG_fail;
8041 }
8042 {
8043 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8044 }
8045 return resultobj;
8046 fail:
8047 return NULL;
8048}
8049
8050
c370783e 8051static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8052 PyObject *resultobj = NULL;
d55e5bfc
RD
8053 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8054 PyObject * obj0 = 0 ;
8055 char *kwnames[] = {
8056 (char *) "self", NULL
8057 };
8058
8059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
8060 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8061 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8062 {
8063 PyThreadState* __tstate = wxPyBeginAllowThreads();
8064 (arg1)->UpdateSize();
8065
8066 wxPyEndAllowThreads(__tstate);
8067 if (PyErr_Occurred()) SWIG_fail;
8068 }
8069 Py_INCREF(Py_None); resultobj = Py_None;
8070 return resultobj;
8071 fail:
8072 return NULL;
8073}
8074
8075
c370783e 8076static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8077 PyObject *resultobj = NULL;
d55e5bfc
RD
8078 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8079 bool result;
8080 PyObject * obj0 = 0 ;
8081 char *kwnames[] = {
8082 (char *) "self", NULL
8083 };
8084
8085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
36ed4f51
RD
8086 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8087 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8088 {
8089 PyThreadState* __tstate = wxPyBeginAllowThreads();
8090 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
8091
8092 wxPyEndAllowThreads(__tstate);
8093 if (PyErr_Occurred()) SWIG_fail;
8094 }
8095 {
8096 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8097 }
8098 return resultobj;
8099 fail:
8100 return NULL;
8101}
8102
8103
c370783e 8104static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8105 PyObject *resultobj = NULL;
d55e5bfc
RD
8106 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8107 int arg2 ;
8108 PyObject * obj0 = 0 ;
8109 PyObject * obj1 = 0 ;
8110 char *kwnames[] = {
8111 (char *) "self",(char *) "width", NULL
8112 };
8113
8114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8115 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8116 if (SWIG_arg_fail(1)) SWIG_fail;
8117 {
32fe5131 8118 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
8119 if (SWIG_arg_fail(2)) SWIG_fail;
8120 }
d55e5bfc
RD
8121 {
8122 PyThreadState* __tstate = wxPyBeginAllowThreads();
8123 (arg1)->SetSashSize(arg2);
8124
8125 wxPyEndAllowThreads(__tstate);
8126 if (PyErr_Occurred()) SWIG_fail;
8127 }
8128 Py_INCREF(Py_None); resultobj = Py_None;
8129 return resultobj;
8130 fail:
8131 return NULL;
8132}
8133
8134
c370783e 8135static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8136 PyObject *resultobj = NULL;
d55e5bfc
RD
8137 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8138 int arg2 ;
8139 PyObject * obj0 = 0 ;
8140 PyObject * obj1 = 0 ;
8141 char *kwnames[] = {
8142 (char *) "self",(char *) "width", NULL
8143 };
8144
8145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8146 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8147 if (SWIG_arg_fail(1)) SWIG_fail;
8148 {
32fe5131 8149 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
8150 if (SWIG_arg_fail(2)) SWIG_fail;
8151 }
d55e5bfc
RD
8152 {
8153 PyThreadState* __tstate = wxPyBeginAllowThreads();
8154 (arg1)->SetBorderSize(arg2);
8155
8156 wxPyEndAllowThreads(__tstate);
8157 if (PyErr_Occurred()) SWIG_fail;
8158 }
8159 Py_INCREF(Py_None); resultobj = Py_None;
8160 return resultobj;
8161 fail:
8162 return NULL;
8163}
8164
8165
c370783e 8166static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8167 PyObject *resultobj = NULL;
d55e5bfc
RD
8168 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8169 int result;
8170 PyObject * obj0 = 0 ;
8171 char *kwnames[] = {
8172 (char *) "self", NULL
8173 };
8174
8175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
8176 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8177 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8178 {
8179 PyThreadState* __tstate = wxPyBeginAllowThreads();
8180 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
8181
8182 wxPyEndAllowThreads(__tstate);
8183 if (PyErr_Occurred()) SWIG_fail;
8184 }
36ed4f51 8185 {
32fe5131 8186 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 8187 }
d55e5bfc
RD
8188 return resultobj;
8189 fail:
8190 return NULL;
8191}
8192
8193
c370783e 8194static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8195 PyObject *resultobj = NULL;
d55e5bfc
RD
8196 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8197 int result;
8198 PyObject * obj0 = 0 ;
8199 char *kwnames[] = {
8200 (char *) "self", NULL
8201 };
8202
8203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
8204 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8205 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8206 {
8207 PyThreadState* __tstate = wxPyBeginAllowThreads();
8208 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
8209
8210 wxPyEndAllowThreads(__tstate);
8211 if (PyErr_Occurred()) SWIG_fail;
8212 }
36ed4f51 8213 {
32fe5131 8214 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 8215 }
d55e5bfc
RD
8216 return resultobj;
8217 fail:
8218 return NULL;
8219}
8220
8221
c370783e 8222static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8223 PyObject *resultobj = NULL;
d55e5bfc
RD
8224 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8225 int arg2 ;
b411df4a 8226 bool arg3 = (bool) true ;
d55e5bfc
RD
8227 PyObject * obj0 = 0 ;
8228 PyObject * obj1 = 0 ;
8229 PyObject * obj2 = 0 ;
8230 char *kwnames[] = {
8231 (char *) "self",(char *) "position",(char *) "redraw", NULL
8232 };
8233
8234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
8235 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8236 if (SWIG_arg_fail(1)) SWIG_fail;
8237 {
32fe5131 8238 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
8239 if (SWIG_arg_fail(2)) SWIG_fail;
8240 }
d55e5bfc 8241 if (obj2) {
36ed4f51 8242 {
32fe5131 8243 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
8244 if (SWIG_arg_fail(3)) SWIG_fail;
8245 }
d55e5bfc
RD
8246 }
8247 {
8248 PyThreadState* __tstate = wxPyBeginAllowThreads();
8249 (arg1)->SetSashPosition(arg2,arg3);
8250
8251 wxPyEndAllowThreads(__tstate);
8252 if (PyErr_Occurred()) SWIG_fail;
8253 }
8254 Py_INCREF(Py_None); resultobj = Py_None;
8255 return resultobj;
8256 fail:
8257 return NULL;
8258}
8259
8260
c370783e 8261static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8262 PyObject *resultobj = NULL;
d55e5bfc
RD
8263 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8264 int result;
8265 PyObject * obj0 = 0 ;
8266 char *kwnames[] = {
8267 (char *) "self", NULL
8268 };
8269
8270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
36ed4f51
RD
8271 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8272 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8273 {
8274 PyThreadState* __tstate = wxPyBeginAllowThreads();
8275 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
8276
8277 wxPyEndAllowThreads(__tstate);
8278 if (PyErr_Occurred()) SWIG_fail;
8279 }
36ed4f51 8280 {
32fe5131 8281 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 8282 }
d55e5bfc
RD
8283 return resultobj;
8284 fail:
8285 return NULL;
8286}
8287
8288
5cbf236d 8289static PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8290 PyObject *resultobj = NULL;
5cbf236d
RD
8291 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8292 double arg2 ;
8293 PyObject * obj0 = 0 ;
8294 PyObject * obj1 = 0 ;
8295 char *kwnames[] = {
8296 (char *) "self",(char *) "gravity", NULL
8297 };
8298
8299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8301 if (SWIG_arg_fail(1)) SWIG_fail;
8302 {
32fe5131 8303 arg2 = static_cast<double >(SWIG_As_double(obj1));
36ed4f51
RD
8304 if (SWIG_arg_fail(2)) SWIG_fail;
8305 }
5cbf236d
RD
8306 {
8307 PyThreadState* __tstate = wxPyBeginAllowThreads();
8308 (arg1)->SetSashGravity(arg2);
8309
8310 wxPyEndAllowThreads(__tstate);
8311 if (PyErr_Occurred()) SWIG_fail;
8312 }
8313 Py_INCREF(Py_None); resultobj = Py_None;
8314 return resultobj;
8315 fail:
8316 return NULL;
8317}
8318
8319
8320static PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8321 PyObject *resultobj = NULL;
5cbf236d
RD
8322 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8323 double result;
8324 PyObject * obj0 = 0 ;
8325 char *kwnames[] = {
8326 (char *) "self", NULL
8327 };
8328
8329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashGravity",kwnames,&obj0)) goto fail;
36ed4f51
RD
8330 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8331 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
8332 {
8333 PyThreadState* __tstate = wxPyBeginAllowThreads();
8334 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
8335
8336 wxPyEndAllowThreads(__tstate);
8337 if (PyErr_Occurred()) SWIG_fail;
8338 }
36ed4f51 8339 {
32fe5131 8340 resultobj = SWIG_From_double(static_cast<double >(result));
36ed4f51 8341 }
5cbf236d
RD
8342 return resultobj;
8343 fail:
8344 return NULL;
8345}
8346
8347
c370783e 8348static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8349 PyObject *resultobj = NULL;
d55e5bfc
RD
8350 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8351 int arg2 ;
8352 PyObject * obj0 = 0 ;
8353 PyObject * obj1 = 0 ;
8354 char *kwnames[] = {
8355 (char *) "self",(char *) "min", NULL
8356 };
8357
8358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8359 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8360 if (SWIG_arg_fail(1)) SWIG_fail;
8361 {
32fe5131 8362 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
8363 if (SWIG_arg_fail(2)) SWIG_fail;
8364 }
d55e5bfc
RD
8365 {
8366 PyThreadState* __tstate = wxPyBeginAllowThreads();
8367 (arg1)->SetMinimumPaneSize(arg2);
8368
8369 wxPyEndAllowThreads(__tstate);
8370 if (PyErr_Occurred()) SWIG_fail;
8371 }
8372 Py_INCREF(Py_None); resultobj = Py_None;
8373 return resultobj;
8374 fail:
8375 return NULL;
8376}
8377
8378
c370783e 8379static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8380 PyObject *resultobj = NULL;
d55e5bfc
RD
8381 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8382 int result;
8383 PyObject * obj0 = 0 ;
8384 char *kwnames[] = {
8385 (char *) "self", NULL
8386 };
8387
8388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
8389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8390 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8391 {
8392 PyThreadState* __tstate = wxPyBeginAllowThreads();
8393 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
8394
8395 wxPyEndAllowThreads(__tstate);
8396 if (PyErr_Occurred()) SWIG_fail;
8397 }
36ed4f51 8398 {
32fe5131 8399 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 8400 }
d55e5bfc
RD
8401 return resultobj;
8402 fail:
8403 return NULL;
8404}
8405
8406
c370783e 8407static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8408 PyObject *resultobj = NULL;
d55e5bfc
RD
8409 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8410 int arg2 ;
8411 int arg3 ;
8412 int arg4 = (int) 5 ;
8413 bool result;
8414 PyObject * obj0 = 0 ;
8415 PyObject * obj1 = 0 ;
8416 PyObject * obj2 = 0 ;
8417 PyObject * obj3 = 0 ;
8418 char *kwnames[] = {
8419 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
8420 };
8421
8422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
8423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8424 if (SWIG_arg_fail(1)) SWIG_fail;
8425 {
32fe5131 8426 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
8427 if (SWIG_arg_fail(2)) SWIG_fail;
8428 }
8429 {
32fe5131 8430 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
8431 if (SWIG_arg_fail(3)) SWIG_fail;
8432 }
d55e5bfc 8433 if (obj3) {
36ed4f51 8434 {
32fe5131 8435 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
8436 if (SWIG_arg_fail(4)) SWIG_fail;
8437 }
d55e5bfc
RD
8438 }
8439 {
8440 PyThreadState* __tstate = wxPyBeginAllowThreads();
8441 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
8442
8443 wxPyEndAllowThreads(__tstate);
8444 if (PyErr_Occurred()) SWIG_fail;
8445 }
8446 {
8447 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8448 }
8449 return resultobj;
8450 fail:
8451 return NULL;
8452}
8453
8454
c370783e 8455static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8456 PyObject *resultobj = NULL;
d55e5bfc
RD
8457 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8458 PyObject * obj0 = 0 ;
8459 char *kwnames[] = {
8460 (char *) "self", NULL
8461 };
8462
8463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
36ed4f51
RD
8464 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8465 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8466 {
8467 PyThreadState* __tstate = wxPyBeginAllowThreads();
8468 (arg1)->SizeWindows();
8469
8470 wxPyEndAllowThreads(__tstate);
8471 if (PyErr_Occurred()) SWIG_fail;
8472 }
8473 Py_INCREF(Py_None); resultobj = Py_None;
8474 return resultobj;
8475 fail:
8476 return NULL;
8477}
8478
8479
c370783e 8480static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8481 PyObject *resultobj = NULL;
d55e5bfc
RD
8482 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8483 bool arg2 ;
8484 PyObject * obj0 = 0 ;
8485 PyObject * obj1 = 0 ;
8486 char *kwnames[] = {
8487 (char *) "self",(char *) "needUpdating", NULL
8488 };
8489
8490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8491 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8492 if (SWIG_arg_fail(1)) SWIG_fail;
8493 {
32fe5131 8494 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
8495 if (SWIG_arg_fail(2)) SWIG_fail;
8496 }
d55e5bfc
RD
8497 {
8498 PyThreadState* __tstate = wxPyBeginAllowThreads();
8499 (arg1)->SetNeedUpdating(arg2);
8500
8501 wxPyEndAllowThreads(__tstate);
8502 if (PyErr_Occurred()) SWIG_fail;
8503 }
8504 Py_INCREF(Py_None); resultobj = Py_None;
8505 return resultobj;
8506 fail:
8507 return NULL;
8508}
8509
8510
c370783e 8511static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8512 PyObject *resultobj = NULL;
d55e5bfc
RD
8513 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8514 bool result;
8515 PyObject * obj0 = 0 ;
8516 char *kwnames[] = {
8517 (char *) "self", NULL
8518 };
8519
8520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
36ed4f51
RD
8521 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8522 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8523 {
8524 PyThreadState* __tstate = wxPyBeginAllowThreads();
8525 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
8526
8527 wxPyEndAllowThreads(__tstate);
8528 if (PyErr_Occurred()) SWIG_fail;
8529 }
8530 {
8531 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8532 }
8533 return resultobj;
8534 fail:
8535 return NULL;
8536}
8537
8538
c370783e 8539static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8540 PyObject *resultobj = NULL;
36ed4f51 8541 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
8542 wxVisualAttributes result;
8543 PyObject * obj0 = 0 ;
8544 char *kwnames[] = {
8545 (char *) "variant", NULL
8546 };
8547
8548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
8549 if (obj0) {
36ed4f51 8550 {
32fe5131 8551 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
36ed4f51
RD
8552 if (SWIG_arg_fail(1)) SWIG_fail;
8553 }
f20a2e1f
RD
8554 }
8555 {
0439c23b 8556 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 8557 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 8558 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
8559
8560 wxPyEndAllowThreads(__tstate);
110da5b0 8561 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
8562 }
8563 {
8564 wxVisualAttributes * resultptr;
32fe5131 8565 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
8566 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
8567 }
8568 return resultobj;
8569 fail:
8570 return NULL;
8571}
8572
8573
c370783e 8574static PyObject * SplitterWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8575 PyObject *obj;
8576 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8577 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
8578 Py_INCREF(obj);
8579 return Py_BuildValue((char *)"");
8580}
c370783e 8581static PyObject *_wrap_new_SplitterEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8582 PyObject *resultobj = NULL;
d55e5bfc
RD
8583 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
8584 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
8585 wxSplitterEvent *result;
8586 PyObject * obj0 = 0 ;
8587 PyObject * obj1 = 0 ;
8588 char *kwnames[] = {
8589 (char *) "type",(char *) "splitter", NULL
8590 };
8591
8592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
8593 if (obj0) {
36ed4f51 8594 {
32fe5131 8595 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
36ed4f51
RD
8596 if (SWIG_arg_fail(1)) SWIG_fail;
8597 }
d55e5bfc
RD
8598 }
8599 if (obj1) {
36ed4f51
RD
8600 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8601 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
8602 }
8603 {
8604 PyThreadState* __tstate = wxPyBeginAllowThreads();
8605 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
8606
8607 wxPyEndAllowThreads(__tstate);
8608 if (PyErr_Occurred()) SWIG_fail;
8609 }
8610 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
8611 return resultobj;
8612 fail:
8613 return NULL;
8614}
8615
8616
c370783e 8617static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8618 PyObject *resultobj = NULL;
d55e5bfc
RD
8619 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8620 int arg2 ;
8621 PyObject * obj0 = 0 ;
8622 PyObject * obj1 = 0 ;
8623 char *kwnames[] = {
8624 (char *) "self",(char *) "pos", NULL
8625 };
8626
8627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8628 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8629 if (SWIG_arg_fail(1)) SWIG_fail;
8630 {
32fe5131 8631 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
8632 if (SWIG_arg_fail(2)) SWIG_fail;
8633 }
d55e5bfc
RD
8634 {
8635 PyThreadState* __tstate = wxPyBeginAllowThreads();
8636 (arg1)->SetSashPosition(arg2);
8637
8638 wxPyEndAllowThreads(__tstate);
8639 if (PyErr_Occurred()) SWIG_fail;
8640 }
8641 Py_INCREF(Py_None); resultobj = Py_None;
8642 return resultobj;
8643 fail:
8644 return NULL;
8645}
8646
8647
c370783e 8648static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8649 PyObject *resultobj = NULL;
d55e5bfc
RD
8650 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8651 int result;
8652 PyObject * obj0 = 0 ;
8653 char *kwnames[] = {
8654 (char *) "self", NULL
8655 };
8656
8657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
36ed4f51
RD
8658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8659 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8660 {
8661 PyThreadState* __tstate = wxPyBeginAllowThreads();
8662 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
8663
8664 wxPyEndAllowThreads(__tstate);
8665 if (PyErr_Occurred()) SWIG_fail;
8666 }
36ed4f51 8667 {
32fe5131 8668 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 8669 }
d55e5bfc
RD
8670 return resultobj;
8671 fail:
8672 return NULL;
8673}
8674
8675
c370783e 8676static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8677 PyObject *resultobj = NULL;
d55e5bfc
RD
8678 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8679 wxWindow *result;
8680 PyObject * obj0 = 0 ;
8681 char *kwnames[] = {
8682 (char *) "self", NULL
8683 };
8684
8685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
36ed4f51
RD
8686 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8687 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8688 {
8689 PyThreadState* __tstate = wxPyBeginAllowThreads();
8690 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
8691
8692 wxPyEndAllowThreads(__tstate);
8693 if (PyErr_Occurred()) SWIG_fail;
8694 }
8695 {
412d302d 8696 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
8697 }
8698 return resultobj;
8699 fail:
8700 return NULL;
8701}
8702
8703
c370783e 8704static PyObject *_wrap_SplitterEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8705 PyObject *resultobj = NULL;
d55e5bfc
RD
8706 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8707 int result;
8708 PyObject * obj0 = 0 ;
8709 char *kwnames[] = {
8710 (char *) "self", NULL
8711 };
8712
8713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
36ed4f51
RD
8714 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8715 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8716 {
8717 PyThreadState* __tstate = wxPyBeginAllowThreads();
8718 result = (int)((wxSplitterEvent const *)arg1)->GetX();
8719
8720 wxPyEndAllowThreads(__tstate);
8721 if (PyErr_Occurred()) SWIG_fail;
8722 }
36ed4f51 8723 {
32fe5131 8724 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 8725 }
d55e5bfc
RD
8726 return resultobj;
8727 fail:
8728 return NULL;
8729}
8730
8731
c370783e 8732static PyObject *_wrap_SplitterEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8733 PyObject *resultobj = NULL;
d55e5bfc
RD
8734 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8735 int result;
8736 PyObject * obj0 = 0 ;
8737 char *kwnames[] = {
8738 (char *) "self", NULL
8739 };
8740
8741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
36ed4f51
RD
8742 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8743 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8744 {
8745 PyThreadState* __tstate = wxPyBeginAllowThreads();
8746 result = (int)((wxSplitterEvent const *)arg1)->GetY();
8747
8748 wxPyEndAllowThreads(__tstate);
8749 if (PyErr_Occurred()) SWIG_fail;
8750 }
36ed4f51 8751 {
32fe5131 8752 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 8753 }
d55e5bfc
RD
8754 return resultobj;
8755 fail:
8756 return NULL;
8757}
8758
8759
c370783e 8760static PyObject * SplitterEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8761 PyObject *obj;
8762 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8763 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
8764 Py_INCREF(obj);
8765 return Py_BuildValue((char *)"");
8766}
c370783e 8767static int _wrap_SashNameStr_set(PyObject *) {
d55e5bfc
RD
8768 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
8769 return 1;
8770}
8771
8772
36ed4f51 8773static PyObject *_wrap_SashNameStr_get(void) {
32fe5131 8774 PyObject *pyobj = NULL;
d55e5bfc
RD
8775
8776 {
8777#if wxUSE_UNICODE
8778 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
8779#else
8780 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
8781#endif
8782 }
8783 return pyobj;
8784}
8785
8786
c370783e 8787static int _wrap_SashLayoutNameStr_set(PyObject *) {
d55e5bfc
RD
8788 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
8789 return 1;
8790}
8791
8792
36ed4f51 8793static PyObject *_wrap_SashLayoutNameStr_get(void) {
32fe5131 8794 PyObject *pyobj = NULL;
d55e5bfc
RD
8795
8796 {
8797#if wxUSE_UNICODE
8798 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
8799#else
8800 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
8801#endif
8802 }
8803 return pyobj;
8804}
8805
8806
c370783e 8807static PyObject *_wrap_new_SashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8808 PyObject *resultobj = NULL;
d55e5bfc 8809 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 8810 int arg2 = (int) -1 ;
d55e5bfc
RD
8811 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8812 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8813 wxSize const &arg4_defvalue = wxDefaultSize ;
8814 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8815 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8816 wxString const &arg6_defvalue = wxPySashNameStr ;
8817 wxString *arg6 = (wxString *) &arg6_defvalue ;
8818 wxSashWindow *result;
8819 wxPoint temp3 ;
8820 wxSize temp4 ;
b411df4a 8821 bool temp6 = false ;
d55e5bfc
RD
8822 PyObject * obj0 = 0 ;
8823 PyObject * obj1 = 0 ;
8824 PyObject * obj2 = 0 ;
8825 PyObject * obj3 = 0 ;
8826 PyObject * obj4 = 0 ;
8827 PyObject * obj5 = 0 ;
8828 char *kwnames[] = {
8829 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8830 };
8831
bfddbb17 8832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
8833 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8834 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 8835 if (obj1) {
36ed4f51 8836 {
32fe5131 8837 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
8838 if (SWIG_arg_fail(2)) SWIG_fail;
8839 }
bfddbb17 8840 }
d55e5bfc
RD
8841 if (obj2) {
8842 {
8843 arg3 = &temp3;
8844 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8845 }
8846 }
8847 if (obj3) {
8848 {
8849 arg4 = &temp4;
8850 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8851 }
8852 }
8853 if (obj4) {
36ed4f51 8854 {
32fe5131 8855 arg5 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
8856 if (SWIG_arg_fail(5)) SWIG_fail;
8857 }
d55e5bfc
RD
8858 }
8859 if (obj5) {
8860 {
8861 arg6 = wxString_in_helper(obj5);
8862 if (arg6 == NULL) SWIG_fail;
b411df4a 8863 temp6 = true;
d55e5bfc
RD
8864 }
8865 }
8866 {
0439c23b 8867 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8868 PyThreadState* __tstate = wxPyBeginAllowThreads();
8869 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8870
8871 wxPyEndAllowThreads(__tstate);
110da5b0 8872 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8873 }
8874 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
8875 {
8876 if (temp6)
8877 delete arg6;
8878 }
8879 return resultobj;
8880 fail:
8881 {
8882 if (temp6)
8883 delete arg6;
8884 }
8885 return NULL;
8886}
8887
8888
c370783e 8889static PyObject *_wrap_new_PreSashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8890 PyObject *resultobj = NULL;
d55e5bfc
RD
8891 wxSashWindow *result;
8892 char *kwnames[] = {
8893 NULL
8894 };
8895
8896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
8897 {
0439c23b 8898 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8899 PyThreadState* __tstate = wxPyBeginAllowThreads();
8900 result = (wxSashWindow *)new wxSashWindow();
8901
8902 wxPyEndAllowThreads(__tstate);
110da5b0 8903 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8904 }
8905 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
8906 return resultobj;
8907 fail:
8908 return NULL;
8909}
8910
8911
c370783e 8912static PyObject *_wrap_SashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8913 PyObject *resultobj = NULL;
d55e5bfc
RD
8914 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8915 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17 8916 int arg3 = (int) -1 ;
d55e5bfc
RD
8917 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8918 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8919 wxSize const &arg5_defvalue = wxDefaultSize ;
8920 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8921 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8922 wxString const &arg7_defvalue = wxPySashNameStr ;
8923 wxString *arg7 = (wxString *) &arg7_defvalue ;
8924 bool result;
8925 wxPoint temp4 ;
8926 wxSize temp5 ;
b411df4a 8927 bool temp7 = false ;
d55e5bfc
RD
8928 PyObject * obj0 = 0 ;
8929 PyObject * obj1 = 0 ;
8930 PyObject * obj2 = 0 ;
8931 PyObject * obj3 = 0 ;
8932 PyObject * obj4 = 0 ;
8933 PyObject * obj5 = 0 ;
8934 PyObject * obj6 = 0 ;
8935 char *kwnames[] = {
8936 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8937 };
8938
bfddbb17 8939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
8940 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8941 if (SWIG_arg_fail(1)) SWIG_fail;
8942 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8943 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 8944 if (obj2) {
36ed4f51 8945 {
32fe5131 8946 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
8947 if (SWIG_arg_fail(3)) SWIG_fail;
8948 }
bfddbb17 8949 }
d55e5bfc
RD
8950 if (obj3) {
8951 {
8952 arg4 = &temp4;
8953 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8954 }
8955 }
8956 if (obj4) {
8957 {
8958 arg5 = &temp5;
8959 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8960 }
8961 }
8962 if (obj5) {
36ed4f51 8963 {
32fe5131 8964 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
8965 if (SWIG_arg_fail(6)) SWIG_fail;
8966 }
d55e5bfc
RD
8967 }
8968 if (obj6) {
8969 {
8970 arg7 = wxString_in_helper(obj6);
8971 if (arg7 == NULL) SWIG_fail;
b411df4a 8972 temp7 = true;
d55e5bfc
RD
8973 }
8974 }
8975 {
8976 PyThreadState* __tstate = wxPyBeginAllowThreads();
8977 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8978
8979 wxPyEndAllowThreads(__tstate);
8980 if (PyErr_Occurred()) SWIG_fail;
8981 }
8982 {
8983 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8984 }
8985 {
8986 if (temp7)
8987 delete arg7;
8988 }
8989 return resultobj;
8990 fail:
8991 {
8992 if (temp7)
8993 delete arg7;
8994 }
8995 return NULL;
8996}
8997
8998
c370783e 8999static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9000 PyObject *resultobj = NULL;
d55e5bfc 9001 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
36ed4f51 9002 wxSashEdgePosition arg2 ;
d55e5bfc
RD
9003 bool arg3 ;
9004 PyObject * obj0 = 0 ;
9005 PyObject * obj1 = 0 ;
9006 PyObject * obj2 = 0 ;
9007 char *kwnames[] = {
9008 (char *) "self",(char *) "edge",(char *) "sash", NULL
9009 };
9010
9011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
9012 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9013 if (SWIG_arg_fail(1)) SWIG_fail;
9014 {
32fe5131 9015 arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1));
36ed4f51
RD
9016 if (SWIG_arg_fail(2)) SWIG_fail;
9017 }
9018 {
32fe5131 9019 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
9020 if (SWIG_arg_fail(3)) SWIG_fail;
9021 }
d55e5bfc
RD
9022 {
9023 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 9024 (arg1)->SetSashVisible(arg2,arg3);
d55e5bfc
RD
9025
9026 wxPyEndAllowThreads(__tstate);
9027 if (PyErr_Occurred()) SWIG_fail;
9028 }
9029 Py_INCREF(Py_None); resultobj = Py_None;
9030 return resultobj;
9031 fail:
9032 return NULL;
9033}
9034
9035
c370783e 9036static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9037 PyObject *resultobj = NULL;
d55e5bfc 9038 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
36ed4f51 9039 wxSashEdgePosition arg2 ;
d55e5bfc
RD
9040 bool result;
9041 PyObject * obj0 = 0 ;
9042 PyObject * obj1 = 0 ;
9043 char *kwnames[] = {
9044 (char *) "self",(char *) "edge", NULL
9045 };
9046
9047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9049 if (SWIG_arg_fail(1)) SWIG_fail;
9050 {
32fe5131 9051 arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1));
36ed4f51
RD
9052 if (SWIG_arg_fail(2)) SWIG_fail;
9053 }
d55e5bfc
RD
9054 {
9055 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 9056 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
d55e5bfc
RD
9057
9058 wxPyEndAllowThreads(__tstate);
9059 if (PyErr_Occurred()) SWIG_fail;
9060 }
9061 {
9062 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9063 }
9064 return resultobj;
9065 fail:
9066 return NULL;
9067}
9068
9069
c370783e 9070static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9071 PyObject *resultobj = NULL;
d55e5bfc 9072 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
36ed4f51 9073 wxSashEdgePosition arg2 ;
d55e5bfc
RD
9074 bool arg3 ;
9075 PyObject * obj0 = 0 ;
9076 PyObject * obj1 = 0 ;
9077 PyObject * obj2 = 0 ;
9078 char *kwnames[] = {
9079 (char *) "self",(char *) "edge",(char *) "border", NULL
9080 };
9081
9082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
9083 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9084 if (SWIG_arg_fail(1)) SWIG_fail;
9085 {
32fe5131 9086 arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1));
36ed4f51
RD
9087 if (SWIG_arg_fail(2)) SWIG_fail;
9088 }
9089 {
32fe5131 9090 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
9091 if (SWIG_arg_fail(3)) SWIG_fail;
9092 }
d55e5bfc
RD
9093 {
9094 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 9095 (arg1)->SetSashBorder(arg2,arg3);
d55e5bfc
RD
9096
9097 wxPyEndAllowThreads(__tstate);
9098 if (PyErr_Occurred()) SWIG_fail;
9099 }
9100 Py_INCREF(Py_None); resultobj = Py_None;
9101 return resultobj;
9102 fail:
9103 return NULL;
9104}
9105
9106
c370783e 9107static PyObject *_wrap_SashWindow_HasBorder(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9108 PyObject *resultobj = NULL;
d55e5bfc 9109 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
36ed4f51 9110 wxSashEdgePosition arg2 ;
d55e5bfc
RD
9111 bool result;
9112 PyObject * obj0 = 0 ;
9113 PyObject * obj1 = 0 ;
9114 char *kwnames[] = {
9115 (char *) "self",(char *) "edge", NULL
9116 };
9117
9118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9119 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9120 if (SWIG_arg_fail(1)) SWIG_fail;
9121 {
32fe5131 9122 arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1));
36ed4f51
RD
9123 if (SWIG_arg_fail(2)) SWIG_fail;
9124 }
d55e5bfc
RD
9125 {
9126 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 9127 result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2);
d55e5bfc
RD
9128
9129 wxPyEndAllowThreads(__tstate);
9130 if (PyErr_Occurred()) SWIG_fail;
9131 }
9132 {
9133 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9134 }
9135 return resultobj;
9136 fail:
9137 return NULL;
9138}
9139
9140
c370783e 9141static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9142 PyObject *resultobj = NULL;
d55e5bfc 9143 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
36ed4f51 9144 wxSashEdgePosition arg2 ;
d55e5bfc
RD
9145 int result;
9146 PyObject * obj0 = 0 ;
9147 PyObject * obj1 = 0 ;
9148 char *kwnames[] = {
9149 (char *) "self",(char *) "edge", NULL
9150 };
9151
9152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9153 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9154 if (SWIG_arg_fail(1)) SWIG_fail;
9155 {
32fe5131 9156 arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1));
36ed4f51
RD
9157 if (SWIG_arg_fail(2)) SWIG_fail;
9158 }
d55e5bfc
RD
9159 {
9160 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 9161 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
d55e5bfc
RD
9162
9163 wxPyEndAllowThreads(__tstate);
9164 if (PyErr_Occurred()) SWIG_fail;
9165 }
36ed4f51 9166 {
32fe5131 9167 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 9168 }
d55e5bfc
RD
9169 return resultobj;
9170 fail:
9171 return NULL;
9172}
9173
9174
c370783e 9175static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9176 PyObject *resultobj = NULL;
d55e5bfc
RD
9177 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9178 int arg2 ;
9179 PyObject * obj0 = 0 ;
9180 PyObject * obj1 = 0 ;
9181 char *kwnames[] = {
9182 (char *) "self",(char *) "width", NULL
9183 };
9184
9185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9187 if (SWIG_arg_fail(1)) SWIG_fail;
9188 {
32fe5131 9189 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9190 if (SWIG_arg_fail(2)) SWIG_fail;
9191 }
d55e5bfc
RD
9192 {
9193 PyThreadState* __tstate = wxPyBeginAllowThreads();
9194 (arg1)->SetDefaultBorderSize(arg2);
9195
9196 wxPyEndAllowThreads(__tstate);
9197 if (PyErr_Occurred()) SWIG_fail;
9198 }
9199 Py_INCREF(Py_None); resultobj = Py_None;
9200 return resultobj;
9201 fail:
9202 return NULL;
9203}
9204
9205
c370783e 9206static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9207 PyObject *resultobj = NULL;
d55e5bfc
RD
9208 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9209 int result;
9210 PyObject * obj0 = 0 ;
9211 char *kwnames[] = {
9212 (char *) "self", NULL
9213 };
9214
9215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
9216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9217 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9218 {
9219 PyThreadState* __tstate = wxPyBeginAllowThreads();
9220 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
9221
9222 wxPyEndAllowThreads(__tstate);
9223 if (PyErr_Occurred()) SWIG_fail;
9224 }
36ed4f51 9225 {
32fe5131 9226 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 9227 }
d55e5bfc
RD
9228 return resultobj;
9229 fail:
9230 return NULL;
9231}
9232
9233
c370783e 9234static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9235 PyObject *resultobj = NULL;
d55e5bfc
RD
9236 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9237 int arg2 ;
9238 PyObject * obj0 = 0 ;
9239 PyObject * obj1 = 0 ;
9240 char *kwnames[] = {
9241 (char *) "self",(char *) "width", NULL
9242 };
9243
9244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9246 if (SWIG_arg_fail(1)) SWIG_fail;
9247 {
32fe5131 9248 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9249 if (SWIG_arg_fail(2)) SWIG_fail;
9250 }
d55e5bfc
RD
9251 {
9252 PyThreadState* __tstate = wxPyBeginAllowThreads();
9253 (arg1)->SetExtraBorderSize(arg2);
9254
9255 wxPyEndAllowThreads(__tstate);
9256 if (PyErr_Occurred()) SWIG_fail;
9257 }
9258 Py_INCREF(Py_None); resultobj = Py_None;
9259 return resultobj;
9260 fail:
9261 return NULL;
9262}
9263
9264
c370783e 9265static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9266 PyObject *resultobj = NULL;
d55e5bfc
RD
9267 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9268 int result;
9269 PyObject * obj0 = 0 ;
9270 char *kwnames[] = {
9271 (char *) "self", NULL
9272 };
9273
9274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
9275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9276 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9277 {
9278 PyThreadState* __tstate = wxPyBeginAllowThreads();
9279 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
9280
9281 wxPyEndAllowThreads(__tstate);
9282 if (PyErr_Occurred()) SWIG_fail;
9283 }
36ed4f51 9284 {
32fe5131 9285 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 9286 }
d55e5bfc
RD
9287 return resultobj;
9288 fail:
9289 return NULL;
9290}
9291
9292
c370783e 9293static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9294 PyObject *resultobj = NULL;
d55e5bfc
RD
9295 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9296 int arg2 ;
9297 PyObject * obj0 = 0 ;
9298 PyObject * obj1 = 0 ;
9299 char *kwnames[] = {
9300 (char *) "self",(char *) "min", NULL
9301 };
9302
9303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9305 if (SWIG_arg_fail(1)) SWIG_fail;
9306 {
32fe5131 9307 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9308 if (SWIG_arg_fail(2)) SWIG_fail;
9309 }
d55e5bfc
RD
9310 {
9311 PyThreadState* __tstate = wxPyBeginAllowThreads();
9312 (arg1)->SetMinimumSizeX(arg2);
9313
9314 wxPyEndAllowThreads(__tstate);
9315 if (PyErr_Occurred()) SWIG_fail;
9316 }
9317 Py_INCREF(Py_None); resultobj = Py_None;
9318 return resultobj;
9319 fail:
9320 return NULL;
9321}
9322
9323
c370783e 9324static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9325 PyObject *resultobj = NULL;
d55e5bfc
RD
9326 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9327 int arg2 ;
9328 PyObject * obj0 = 0 ;
9329 PyObject * obj1 = 0 ;
9330 char *kwnames[] = {
9331 (char *) "self",(char *) "min", NULL
9332 };
9333
9334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9335 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9336 if (SWIG_arg_fail(1)) SWIG_fail;
9337 {
32fe5131 9338 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9339 if (SWIG_arg_fail(2)) SWIG_fail;
9340 }
d55e5bfc
RD
9341 {
9342 PyThreadState* __tstate = wxPyBeginAllowThreads();
9343 (arg1)->SetMinimumSizeY(arg2);
9344
9345 wxPyEndAllowThreads(__tstate);
9346 if (PyErr_Occurred()) SWIG_fail;
9347 }
9348 Py_INCREF(Py_None); resultobj = Py_None;
9349 return resultobj;
9350 fail:
9351 return NULL;
9352}
9353
9354
c370783e 9355static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9356 PyObject *resultobj = NULL;
d55e5bfc
RD
9357 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9358 int result;
9359 PyObject * obj0 = 0 ;
9360 char *kwnames[] = {
9361 (char *) "self", NULL
9362 };
9363
9364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
36ed4f51
RD
9365 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9366 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9367 {
9368 PyThreadState* __tstate = wxPyBeginAllowThreads();
9369 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
9370
9371 wxPyEndAllowThreads(__tstate);
9372 if (PyErr_Occurred()) SWIG_fail;
9373 }
36ed4f51 9374 {
32fe5131 9375 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 9376 }
d55e5bfc
RD
9377 return resultobj;
9378 fail:
9379 return NULL;
9380}
9381
9382
c370783e 9383static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9384 PyObject *resultobj = NULL;
d55e5bfc
RD
9385 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9386 int result;
9387 PyObject * obj0 = 0 ;
9388 char *kwnames[] = {
9389 (char *) "self", NULL
9390 };
9391
9392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
36ed4f51
RD
9393 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9394 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9395 {
9396 PyThreadState* __tstate = wxPyBeginAllowThreads();
9397 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
9398
9399 wxPyEndAllowThreads(__tstate);
9400 if (PyErr_Occurred()) SWIG_fail;
9401 }
36ed4f51 9402 {
32fe5131 9403 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 9404 }
d55e5bfc
RD
9405 return resultobj;
9406 fail:
9407 return NULL;
9408}
9409
9410
c370783e 9411static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9412 PyObject *resultobj = NULL;
d55e5bfc
RD
9413 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9414 int arg2 ;
9415 PyObject * obj0 = 0 ;
9416 PyObject * obj1 = 0 ;
9417 char *kwnames[] = {
9418 (char *) "self",(char *) "max", NULL
9419 };
9420
9421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9423 if (SWIG_arg_fail(1)) SWIG_fail;
9424 {
32fe5131 9425 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9426 if (SWIG_arg_fail(2)) SWIG_fail;
9427 }
d55e5bfc
RD
9428 {
9429 PyThreadState* __tstate = wxPyBeginAllowThreads();
9430 (arg1)->SetMaximumSizeX(arg2);
9431
9432 wxPyEndAllowThreads(__tstate);
9433 if (PyErr_Occurred()) SWIG_fail;
9434 }
9435 Py_INCREF(Py_None); resultobj = Py_None;
9436 return resultobj;
9437 fail:
9438 return NULL;
9439}
9440
9441
c370783e 9442static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9443 PyObject *resultobj = NULL;
d55e5bfc
RD
9444 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9445 int arg2 ;
9446 PyObject * obj0 = 0 ;
9447 PyObject * obj1 = 0 ;
9448 char *kwnames[] = {
9449 (char *) "self",(char *) "max", NULL
9450 };
9451
9452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9454 if (SWIG_arg_fail(1)) SWIG_fail;
9455 {
32fe5131 9456 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9457 if (SWIG_arg_fail(2)) SWIG_fail;
9458 }
d55e5bfc
RD
9459 {
9460 PyThreadState* __tstate = wxPyBeginAllowThreads();
9461 (arg1)->SetMaximumSizeY(arg2);
9462
9463 wxPyEndAllowThreads(__tstate);
9464 if (PyErr_Occurred()) SWIG_fail;
9465 }
9466 Py_INCREF(Py_None); resultobj = Py_None;
9467 return resultobj;
9468 fail:
9469 return NULL;
9470}
9471
9472
c370783e 9473static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9474 PyObject *resultobj = NULL;
d55e5bfc
RD
9475 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9476 int result;
9477 PyObject * obj0 = 0 ;
9478 char *kwnames[] = {
9479 (char *) "self", NULL
9480 };
9481
9482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
36ed4f51
RD
9483 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9484 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9485 {
9486 PyThreadState* __tstate = wxPyBeginAllowThreads();
9487 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
9488
9489 wxPyEndAllowThreads(__tstate);
9490 if (PyErr_Occurred()) SWIG_fail;
9491 }
36ed4f51 9492 {
32fe5131 9493 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 9494 }
d55e5bfc
RD
9495 return resultobj;
9496 fail:
9497 return NULL;
9498}
9499
9500
c370783e 9501static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9502 PyObject *resultobj = NULL;
d55e5bfc
RD
9503 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9504 int result;
9505 PyObject * obj0 = 0 ;
9506 char *kwnames[] = {
9507 (char *) "self", NULL
9508 };
9509
9510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
36ed4f51
RD
9511 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9512 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9513 {
9514 PyThreadState* __tstate = wxPyBeginAllowThreads();
9515 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
9516
9517 wxPyEndAllowThreads(__tstate);
9518 if (PyErr_Occurred()) SWIG_fail;
9519 }
36ed4f51 9520 {
32fe5131 9521 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 9522 }
d55e5bfc
RD
9523 return resultobj;
9524 fail:
9525 return NULL;
9526}
9527
9528
c370783e 9529static PyObject *_wrap_SashWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9530 PyObject *resultobj = NULL;
d55e5bfc
RD
9531 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9532 int arg2 ;
9533 int arg3 ;
9534 int arg4 = (int) 2 ;
36ed4f51 9535 wxSashEdgePosition result;
d55e5bfc
RD
9536 PyObject * obj0 = 0 ;
9537 PyObject * obj1 = 0 ;
9538 PyObject * obj2 = 0 ;
9539 PyObject * obj3 = 0 ;
9540 char *kwnames[] = {
9541 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
9542 };
9543
9544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
9545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9546 if (SWIG_arg_fail(1)) SWIG_fail;
9547 {
32fe5131 9548 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9549 if (SWIG_arg_fail(2)) SWIG_fail;
9550 }
9551 {
32fe5131 9552 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
9553 if (SWIG_arg_fail(3)) SWIG_fail;
9554 }
d55e5bfc 9555 if (obj3) {
36ed4f51 9556 {
32fe5131 9557 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
9558 if (SWIG_arg_fail(4)) SWIG_fail;
9559 }
d55e5bfc
RD
9560 }
9561 {
9562 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9563 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
d55e5bfc
RD
9564
9565 wxPyEndAllowThreads(__tstate);
9566 if (PyErr_Occurred()) SWIG_fail;
9567 }
36ed4f51 9568 resultobj = SWIG_From_int((result));
d55e5bfc
RD
9569 return resultobj;
9570 fail:
9571 return NULL;
9572}
9573
9574
c370783e 9575static PyObject *_wrap_SashWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9576 PyObject *resultobj = NULL;
d55e5bfc
RD
9577 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9578 PyObject * obj0 = 0 ;
9579 char *kwnames[] = {
9580 (char *) "self", NULL
9581 };
9582
9583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
36ed4f51
RD
9584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9585 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9586 {
9587 PyThreadState* __tstate = wxPyBeginAllowThreads();
9588 (arg1)->SizeWindows();
9589
9590 wxPyEndAllowThreads(__tstate);
9591 if (PyErr_Occurred()) SWIG_fail;
9592 }
9593 Py_INCREF(Py_None); resultobj = Py_None;
9594 return resultobj;
9595 fail:
9596 return NULL;
9597}
9598
9599
c370783e 9600static PyObject * SashWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9601 PyObject *obj;
9602 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9603 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
9604 Py_INCREF(obj);
9605 return Py_BuildValue((char *)"");
9606}
c370783e 9607static PyObject *_wrap_new_SashEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9608 PyObject *resultobj = NULL;
d55e5bfc 9609 int arg1 = (int) 0 ;
36ed4f51 9610 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
d55e5bfc
RD
9611 wxSashEvent *result;
9612 PyObject * obj0 = 0 ;
9613 PyObject * obj1 = 0 ;
9614 char *kwnames[] = {
9615 (char *) "id",(char *) "edge", NULL
9616 };
9617
9618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
9619 if (obj0) {
36ed4f51 9620 {
32fe5131 9621 arg1 = static_cast<int >(SWIG_As_int(obj0));
36ed4f51
RD
9622 if (SWIG_arg_fail(1)) SWIG_fail;
9623 }
d55e5bfc
RD
9624 }
9625 if (obj1) {
36ed4f51 9626 {
32fe5131 9627 arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1));
36ed4f51
RD
9628 if (SWIG_arg_fail(2)) SWIG_fail;
9629 }
d55e5bfc
RD
9630 }
9631 {
9632 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 9633 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
d55e5bfc
RD
9634
9635 wxPyEndAllowThreads(__tstate);
9636 if (PyErr_Occurred()) SWIG_fail;
9637 }
9638 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
9639 return resultobj;
9640 fail:
9641 return NULL;
9642}
9643
9644
c370783e 9645static PyObject *_wrap_SashEvent_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9646 PyObject *resultobj = NULL;
d55e5bfc 9647 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
36ed4f51 9648 wxSashEdgePosition arg2 ;
d55e5bfc
RD
9649 PyObject * obj0 = 0 ;
9650 PyObject * obj1 = 0 ;
9651 char *kwnames[] = {
9652 (char *) "self",(char *) "edge", NULL
9653 };
9654
9655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9657 if (SWIG_arg_fail(1)) SWIG_fail;
9658 {
32fe5131 9659 arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1));
36ed4f51
RD
9660 if (SWIG_arg_fail(2)) SWIG_fail;
9661 }
d55e5bfc
RD
9662 {
9663 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 9664 (arg1)->SetEdge(arg2);
d55e5bfc
RD
9665
9666 wxPyEndAllowThreads(__tstate);
9667 if (PyErr_Occurred()) SWIG_fail;
9668 }
9669 Py_INCREF(Py_None); resultobj = Py_None;
9670 return resultobj;
9671 fail:
9672 return NULL;
9673}
9674
9675
c370783e 9676static PyObject *_wrap_SashEvent_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9677 PyObject *resultobj = NULL;
d55e5bfc 9678 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
36ed4f51 9679 wxSashEdgePosition result;
d55e5bfc
RD
9680 PyObject * obj0 = 0 ;
9681 char *kwnames[] = {
9682 (char *) "self", NULL
9683 };
9684
9685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
36ed4f51
RD
9686 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9687 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9688 {
9689 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9690 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
d55e5bfc
RD
9691
9692 wxPyEndAllowThreads(__tstate);
9693 if (PyErr_Occurred()) SWIG_fail;
9694 }
36ed4f51 9695 resultobj = SWIG_From_int((result));
d55e5bfc
RD
9696 return resultobj;
9697 fail:
9698 return NULL;
9699}
9700
9701
c370783e 9702static PyObject *_wrap_SashEvent_SetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9703 PyObject *resultobj = NULL;
d55e5bfc
RD
9704 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9705 wxRect *arg2 = 0 ;
9706 wxRect temp2 ;
9707 PyObject * obj0 = 0 ;
9708 PyObject * obj1 = 0 ;
9709 char *kwnames[] = {
9710 (char *) "self",(char *) "rect", NULL
9711 };
9712
9713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9714 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9715 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9716 {
9717 arg2 = &temp2;
9718 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9719 }
9720 {
9721 PyThreadState* __tstate = wxPyBeginAllowThreads();
9722 (arg1)->SetDragRect((wxRect const &)*arg2);
9723
9724 wxPyEndAllowThreads(__tstate);
9725 if (PyErr_Occurred()) SWIG_fail;
9726 }
9727 Py_INCREF(Py_None); resultobj = Py_None;
9728 return resultobj;
9729 fail:
9730 return NULL;
9731}
9732
9733
c370783e 9734static PyObject *_wrap_SashEvent_GetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9735 PyObject *resultobj = NULL;
d55e5bfc
RD
9736 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9737 wxRect result;
9738 PyObject * obj0 = 0 ;
9739 char *kwnames[] = {
9740 (char *) "self", NULL
9741 };
9742
9743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
36ed4f51
RD
9744 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9745 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9746 {
9747 PyThreadState* __tstate = wxPyBeginAllowThreads();
9748 result = ((wxSashEvent const *)arg1)->GetDragRect();
9749
9750 wxPyEndAllowThreads(__tstate);
9751 if (PyErr_Occurred()) SWIG_fail;
9752 }
9753 {
9754 wxRect * resultptr;
32fe5131 9755 resultptr = new wxRect(static_cast<wxRect & >(result));
d55e5bfc
RD
9756 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
9757 }
9758 return resultobj;
9759 fail:
9760 return NULL;
9761}
9762
9763
c370783e 9764static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9765 PyObject *resultobj = NULL;
d55e5bfc 9766 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
36ed4f51 9767 wxSashDragStatus arg2 ;
d55e5bfc
RD
9768 PyObject * obj0 = 0 ;
9769 PyObject * obj1 = 0 ;
9770 char *kwnames[] = {
9771 (char *) "self",(char *) "status", NULL
9772 };
9773
9774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9775 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9776 if (SWIG_arg_fail(1)) SWIG_fail;
9777 {
32fe5131 9778 arg2 = static_cast<wxSashDragStatus >(SWIG_As_int(obj1));
36ed4f51
RD
9779 if (SWIG_arg_fail(2)) SWIG_fail;
9780 }
d55e5bfc
RD
9781 {
9782 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 9783 (arg1)->SetDragStatus(arg2);
d55e5bfc
RD
9784
9785 wxPyEndAllowThreads(__tstate);
9786 if (PyErr_Occurred()) SWIG_fail;
9787 }
9788 Py_INCREF(Py_None); resultobj = Py_None;
9789 return resultobj;
9790 fail:
9791 return NULL;
9792}
9793
9794
c370783e 9795static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9796 PyObject *resultobj = NULL;
d55e5bfc 9797 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
36ed4f51 9798 wxSashDragStatus result;
d55e5bfc
RD
9799 PyObject * obj0 = 0 ;
9800 char *kwnames[] = {
9801 (char *) "self", NULL
9802 };
9803
9804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
36ed4f51
RD
9805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9806 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9807 {
9808 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9809 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
d55e5bfc
RD
9810
9811 wxPyEndAllowThreads(__tstate);
9812 if (PyErr_Occurred()) SWIG_fail;
9813 }
36ed4f51 9814 resultobj = SWIG_From_int((result));
d55e5bfc
RD
9815 return resultobj;
9816 fail:
9817 return NULL;
9818}
9819
9820
c370783e 9821static PyObject * SashEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9822 PyObject *obj;
9823 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9824 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
9825 Py_INCREF(obj);
9826 return Py_BuildValue((char *)"");
9827}
c370783e 9828static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9829 PyObject *resultobj = NULL;
d55e5bfc
RD
9830 int arg1 = (int) 0 ;
9831 wxQueryLayoutInfoEvent *result;
9832 PyObject * obj0 = 0 ;
9833 char *kwnames[] = {
9834 (char *) "id", NULL
9835 };
9836
9837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
9838 if (obj0) {
36ed4f51 9839 {
32fe5131 9840 arg1 = static_cast<int >(SWIG_As_int(obj0));
36ed4f51
RD
9841 if (SWIG_arg_fail(1)) SWIG_fail;
9842 }
d55e5bfc
RD
9843 }
9844 {
9845 PyThreadState* __tstate = wxPyBeginAllowThreads();
9846 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
9847
9848 wxPyEndAllowThreads(__tstate);
9849 if (PyErr_Occurred()) SWIG_fail;
9850 }
9851 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
9852 return resultobj;
9853 fail:
9854 return NULL;
9855}
9856
9857
c370783e 9858static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9859 PyObject *resultobj = NULL;
d55e5bfc
RD
9860 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9861 int arg2 ;
9862 PyObject * obj0 = 0 ;
9863 PyObject * obj1 = 0 ;
9864 char *kwnames[] = {
9865 (char *) "self",(char *) "length", NULL
9866 };
9867
9868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9869 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9870 if (SWIG_arg_fail(1)) SWIG_fail;
9871 {
32fe5131 9872 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9873 if (SWIG_arg_fail(2)) SWIG_fail;
9874 }
d55e5bfc
RD
9875 {
9876 PyThreadState* __tstate = wxPyBeginAllowThreads();
9877 (arg1)->SetRequestedLength(arg2);
9878
9879 wxPyEndAllowThreads(__tstate);
9880 if (PyErr_Occurred()) SWIG_fail;
9881 }
9882 Py_INCREF(Py_None); resultobj = Py_None;
9883 return resultobj;
9884 fail:
9885 return NULL;
9886}
9887
9888
c370783e 9889static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9890 PyObject *resultobj = NULL;
d55e5bfc
RD
9891 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9892 int result;
9893 PyObject * obj0 = 0 ;
9894 char *kwnames[] = {
9895 (char *) "self", NULL
9896 };
9897
9898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
36ed4f51
RD
9899 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9900 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9901 {
9902 PyThreadState* __tstate = wxPyBeginAllowThreads();
9903 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
9904
9905 wxPyEndAllowThreads(__tstate);
9906 if (PyErr_Occurred()) SWIG_fail;
9907 }
36ed4f51 9908 {
32fe5131 9909 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 9910 }
d55e5bfc
RD
9911 return resultobj;
9912 fail:
9913 return NULL;
9914}
9915
9916
c370783e 9917static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9918 PyObject *resultobj = NULL;
d55e5bfc
RD
9919 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9920 int arg2 ;
9921 PyObject * obj0 = 0 ;
9922 PyObject * obj1 = 0 ;
9923 char *kwnames[] = {
9924 (char *) "self",(char *) "flags", NULL
9925 };
9926
9927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9928 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9929 if (SWIG_arg_fail(1)) SWIG_fail;
9930 {
32fe5131 9931 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9932 if (SWIG_arg_fail(2)) SWIG_fail;
9933 }
d55e5bfc
RD
9934 {
9935 PyThreadState* __tstate = wxPyBeginAllowThreads();
9936 (arg1)->SetFlags(arg2);
9937
9938 wxPyEndAllowThreads(__tstate);
9939 if (PyErr_Occurred()) SWIG_fail;
9940 }
9941 Py_INCREF(Py_None); resultobj = Py_None;
9942 return resultobj;
9943 fail:
9944 return NULL;
9945}
9946
9947
c370783e 9948static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9949 PyObject *resultobj = NULL;
d55e5bfc
RD
9950 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9951 int result;
9952 PyObject * obj0 = 0 ;
9953 char *kwnames[] = {
9954 (char *) "self", NULL
9955 };
9956
9957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
36ed4f51
RD
9958 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9959 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9960 {
9961 PyThreadState* __tstate = wxPyBeginAllowThreads();
9962 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
9963
9964 wxPyEndAllowThreads(__tstate);
9965 if (PyErr_Occurred()) SWIG_fail;
9966 }
36ed4f51 9967 {
32fe5131 9968 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 9969 }
d55e5bfc
RD
9970 return resultobj;
9971 fail:
9972 return NULL;
9973}
9974
9975
c370783e 9976static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9977 PyObject *resultobj = NULL;
d55e5bfc
RD
9978 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9979 wxSize *arg2 = 0 ;
9980 wxSize temp2 ;
9981 PyObject * obj0 = 0 ;
9982 PyObject * obj1 = 0 ;
9983 char *kwnames[] = {
9984 (char *) "self",(char *) "size", NULL
9985 };
9986
9987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9989 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9990 {
9991 arg2 = &temp2;
9992 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
9993 }
9994 {
9995 PyThreadState* __tstate = wxPyBeginAllowThreads();
9996 (arg1)->SetSize((wxSize const &)*arg2);
9997
9998 wxPyEndAllowThreads(__tstate);
9999 if (PyErr_Occurred()) SWIG_fail;
10000 }
10001 Py_INCREF(Py_None); resultobj = Py_None;
10002 return resultobj;
10003 fail:
10004 return NULL;
10005}
10006
10007
c370783e 10008static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10009 PyObject *resultobj = NULL;
d55e5bfc
RD
10010 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
10011 wxSize result;
10012 PyObject * obj0 = 0 ;
10013 char *kwnames[] = {
10014 (char *) "self", NULL
10015 };
10016
10017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
10018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
10019 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10020 {
10021 PyThreadState* __tstate = wxPyBeginAllowThreads();
10022 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
10023
10024 wxPyEndAllowThreads(__tstate);
10025 if (PyErr_Occurred()) SWIG_fail;
10026 }
10027 {
10028 wxSize * resultptr;
32fe5131 10029 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
10030 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
10031 }
10032 return resultobj;
10033 fail:
10034 return NULL;
10035}
10036
10037
c370783e 10038static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10039 PyObject *resultobj = NULL;
d55e5bfc 10040 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
36ed4f51 10041 wxLayoutOrientation arg2 ;
d55e5bfc
RD
10042 PyObject * obj0 = 0 ;
10043 PyObject * obj1 = 0 ;
10044 char *kwnames[] = {
10045 (char *) "self",(char *) "orient", NULL
10046 };
10047
10048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10049 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
10050 if (SWIG_arg_fail(1)) SWIG_fail;
10051 {
32fe5131 10052 arg2 = static_cast<wxLayoutOrientation >(SWIG_As_int(obj1));
36ed4f51
RD
10053 if (SWIG_arg_fail(2)) SWIG_fail;
10054 }
d55e5bfc
RD
10055 {
10056 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 10057 (arg1)->SetOrientation(arg2);
d55e5bfc
RD
10058
10059 wxPyEndAllowThreads(__tstate);
10060 if (PyErr_Occurred()) SWIG_fail;
10061 }
10062 Py_INCREF(Py_None); resultobj = Py_None;
10063 return resultobj;
10064 fail:
10065 return NULL;
10066}
10067
10068
c370783e 10069static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10070 PyObject *resultobj = NULL;
d55e5bfc 10071 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
36ed4f51 10072 wxLayoutOrientation result;
d55e5bfc
RD
10073 PyObject * obj0 = 0 ;
10074 char *kwnames[] = {
10075 (char *) "self", NULL
10076 };
10077
10078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
36ed4f51
RD
10079 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
10080 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10081 {
10082 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10083 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
d55e5bfc
RD
10084
10085 wxPyEndAllowThreads(__tstate);
10086 if (PyErr_Occurred()) SWIG_fail;
10087 }
36ed4f51 10088 resultobj = SWIG_From_int((result));
d55e5bfc
RD
10089 return resultobj;
10090 fail:
10091 return NULL;
10092}
10093
10094
c370783e 10095static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10096 PyObject *resultobj = NULL;
d55e5bfc 10097 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
36ed4f51 10098 wxLayoutAlignment arg2 ;
d55e5bfc
RD
10099 PyObject * obj0 = 0 ;
10100 PyObject * obj1 = 0 ;
10101 char *kwnames[] = {
10102 (char *) "self",(char *) "align", NULL
10103 };
10104
10105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10106 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
10107 if (SWIG_arg_fail(1)) SWIG_fail;
10108 {
32fe5131 10109 arg2 = static_cast<wxLayoutAlignment >(SWIG_As_int(obj1));
36ed4f51
RD
10110 if (SWIG_arg_fail(2)) SWIG_fail;
10111 }
d55e5bfc
RD
10112 {
10113 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 10114 (arg1)->SetAlignment(arg2);
d55e5bfc
RD
10115
10116 wxPyEndAllowThreads(__tstate);
10117 if (PyErr_Occurred()) SWIG_fail;
10118 }
10119 Py_INCREF(Py_None); resultobj = Py_None;
10120 return resultobj;
10121 fail:
10122 return NULL;
10123}
10124
10125
c370783e 10126static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10127 PyObject *resultobj = NULL;
d55e5bfc 10128 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
36ed4f51 10129 wxLayoutAlignment result;
d55e5bfc
RD
10130 PyObject * obj0 = 0 ;
10131 char *kwnames[] = {
10132 (char *) "self", NULL
10133 };
10134
10135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
36ed4f51
RD
10136 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
10137 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10138 {
10139 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10140 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
d55e5bfc
RD
10141
10142 wxPyEndAllowThreads(__tstate);
10143 if (PyErr_Occurred()) SWIG_fail;
10144 }
36ed4f51 10145 resultobj = SWIG_From_int((result));
d55e5bfc
RD
10146 return resultobj;
10147 fail:
10148 return NULL;
10149}
10150
10151
c370783e 10152static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10153 PyObject *obj;
10154 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10155 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
10156 Py_INCREF(obj);
10157 return Py_BuildValue((char *)"");
10158}
c370783e 10159static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10160 PyObject *resultobj = NULL;
d55e5bfc
RD
10161 int arg1 = (int) 0 ;
10162 wxCalculateLayoutEvent *result;
10163 PyObject * obj0 = 0 ;
10164 char *kwnames[] = {
10165 (char *) "id", NULL
10166 };
10167
10168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
10169 if (obj0) {
36ed4f51 10170 {
32fe5131 10171 arg1 = static_cast<int >(SWIG_As_int(obj0));
36ed4f51
RD
10172 if (SWIG_arg_fail(1)) SWIG_fail;
10173 }
d55e5bfc
RD
10174 }
10175 {
10176 PyThreadState* __tstate = wxPyBeginAllowThreads();
10177 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
10178
10179 wxPyEndAllowThreads(__tstate);
10180 if (PyErr_Occurred()) SWIG_fail;
10181 }
10182 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
10183 return resultobj;
10184 fail:
10185 return NULL;
10186}
10187
10188
c370783e 10189static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10190 PyObject *resultobj = NULL;
d55e5bfc
RD
10191 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10192 int arg2 ;
10193 PyObject * obj0 = 0 ;
10194 PyObject * obj1 = 0 ;
10195 char *kwnames[] = {
10196 (char *) "self",(char *) "flags", NULL
10197 };
10198
10199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10200 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10201 if (SWIG_arg_fail(1)) SWIG_fail;
10202 {
32fe5131 10203 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
10204 if (SWIG_arg_fail(2)) SWIG_fail;
10205 }
d55e5bfc
RD
10206 {
10207 PyThreadState* __tstate = wxPyBeginAllowThreads();
10208 (arg1)->SetFlags(arg2);
10209
10210 wxPyEndAllowThreads(__tstate);
10211 if (PyErr_Occurred()) SWIG_fail;
10212 }
10213 Py_INCREF(Py_None); resultobj = Py_None;
10214 return resultobj;
10215 fail:
10216 return NULL;
10217}
10218
10219
c370783e 10220static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10221 PyObject *resultobj = NULL;
d55e5bfc
RD
10222 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10223 int result;
10224 PyObject * obj0 = 0 ;
10225 char *kwnames[] = {
10226 (char *) "self", NULL
10227 };
10228
10229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
36ed4f51
RD
10230 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10231 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10232 {
10233 PyThreadState* __tstate = wxPyBeginAllowThreads();
10234 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
10235
10236 wxPyEndAllowThreads(__tstate);
10237 if (PyErr_Occurred()) SWIG_fail;
10238 }
36ed4f51 10239 {
32fe5131 10240 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 10241 }
d55e5bfc
RD
10242 return resultobj;
10243 fail:
10244 return NULL;
10245}
10246
10247
c370783e 10248static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10249 PyObject *resultobj = NULL;
d55e5bfc
RD
10250 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10251 wxRect *arg2 = 0 ;
10252 wxRect temp2 ;
10253 PyObject * obj0 = 0 ;
10254 PyObject * obj1 = 0 ;
10255 char *kwnames[] = {
10256 (char *) "self",(char *) "rect", NULL
10257 };
10258
10259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10260 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10261 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10262 {
10263 arg2 = &temp2;
10264 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10265 }
10266 {
10267 PyThreadState* __tstate = wxPyBeginAllowThreads();
10268 (arg1)->SetRect((wxRect const &)*arg2);
10269
10270 wxPyEndAllowThreads(__tstate);
10271 if (PyErr_Occurred()) SWIG_fail;
10272 }
10273 Py_INCREF(Py_None); resultobj = Py_None;
10274 return resultobj;
10275 fail:
10276 return NULL;
10277}
10278
10279
c370783e 10280static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10281 PyObject *resultobj = NULL;
d55e5bfc
RD
10282 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10283 wxRect result;
10284 PyObject * obj0 = 0 ;
10285 char *kwnames[] = {
10286 (char *) "self", NULL
10287 };
10288
10289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
36ed4f51
RD
10290 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10291 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10292 {
10293 PyThreadState* __tstate = wxPyBeginAllowThreads();
10294 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
10295
10296 wxPyEndAllowThreads(__tstate);
10297 if (PyErr_Occurred()) SWIG_fail;
10298 }
10299 {
10300 wxRect * resultptr;
32fe5131 10301 resultptr = new wxRect(static_cast<wxRect & >(result));
d55e5bfc
RD
10302 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
10303 }
10304 return resultobj;
10305 fail:
10306 return NULL;
10307}
10308
10309
c370783e 10310static PyObject * CalculateLayoutEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10311 PyObject *obj;
10312 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10313 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
10314 Py_INCREF(obj);
10315 return Py_BuildValue((char *)"");
10316}
c370783e 10317static PyObject *_wrap_new_SashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10318 PyObject *resultobj = NULL;
d55e5bfc 10319 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 10320 int arg2 = (int) -1 ;
d55e5bfc
RD
10321 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10322 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10323 wxSize const &arg4_defvalue = wxDefaultSize ;
10324 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10325 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10326 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
10327 wxString *arg6 = (wxString *) &arg6_defvalue ;
10328 wxSashLayoutWindow *result;
10329 wxPoint temp3 ;
10330 wxSize temp4 ;
b411df4a 10331 bool temp6 = false ;
d55e5bfc
RD
10332 PyObject * obj0 = 0 ;
10333 PyObject * obj1 = 0 ;
10334 PyObject * obj2 = 0 ;
10335 PyObject * obj3 = 0 ;
10336 PyObject * obj4 = 0 ;
10337 PyObject * obj5 = 0 ;
10338 char *kwnames[] = {
10339 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10340 };
10341
bfddbb17 10342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
10343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10344 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 10345 if (obj1) {
36ed4f51 10346 {
32fe5131 10347 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
10348 if (SWIG_arg_fail(2)) SWIG_fail;
10349 }
bfddbb17 10350 }
d55e5bfc
RD
10351 if (obj2) {
10352 {
10353 arg3 = &temp3;
10354 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10355 }
10356 }
10357 if (obj3) {
10358 {
10359 arg4 = &temp4;
10360 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10361 }
10362 }
10363 if (obj4) {
36ed4f51 10364 {
32fe5131 10365 arg5 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
10366 if (SWIG_arg_fail(5)) SWIG_fail;
10367 }
d55e5bfc
RD
10368 }
10369 if (obj5) {
10370 {
10371 arg6 = wxString_in_helper(obj5);
10372 if (arg6 == NULL) SWIG_fail;
b411df4a 10373 temp6 = true;
d55e5bfc
RD
10374 }
10375 }
10376 {
0439c23b 10377 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10378 PyThreadState* __tstate = wxPyBeginAllowThreads();
10379 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10380
10381 wxPyEndAllowThreads(__tstate);
110da5b0 10382 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10383 }
10384 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
10385 {
10386 if (temp6)
10387 delete arg6;
10388 }
10389 return resultobj;
10390 fail:
10391 {
10392 if (temp6)
10393 delete arg6;
10394 }
10395 return NULL;
10396}
10397
10398
c370783e 10399static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10400 PyObject *resultobj = NULL;
d55e5bfc
RD
10401 wxSashLayoutWindow *result;
10402 char *kwnames[] = {
10403 NULL
10404 };
10405
10406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
10407 {
0439c23b 10408 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10409 PyThreadState* __tstate = wxPyBeginAllowThreads();
10410 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
10411
10412 wxPyEndAllowThreads(__tstate);
110da5b0 10413 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10414 }
10415 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
10416 return resultobj;
10417 fail:
10418 return NULL;
10419}
10420
10421
c370783e 10422static PyObject *_wrap_SashLayoutWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10423 PyObject *resultobj = NULL;
d55e5bfc
RD
10424 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10425 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17 10426 int arg3 = (int) -1 ;
d55e5bfc
RD
10427 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10428 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10429 wxSize const &arg5_defvalue = wxDefaultSize ;
10430 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10431 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10432 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
10433 wxString *arg7 = (wxString *) &arg7_defvalue ;
10434 bool result;
10435 wxPoint temp4 ;
10436 wxSize temp5 ;
b411df4a 10437 bool temp7 = false ;
d55e5bfc
RD
10438 PyObject * obj0 = 0 ;
10439 PyObject * obj1 = 0 ;
10440 PyObject * obj2 = 0 ;
10441 PyObject * obj3 = 0 ;
10442 PyObject * obj4 = 0 ;
10443 PyObject * obj5 = 0 ;
10444 PyObject * obj6 = 0 ;
10445 char *kwnames[] = {
10446 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10447 };
10448
bfddbb17 10449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
10450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10451 if (SWIG_arg_fail(1)) SWIG_fail;
10452 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10453 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 10454 if (obj2) {
36ed4f51 10455 {
32fe5131 10456 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
10457 if (SWIG_arg_fail(3)) SWIG_fail;
10458 }
bfddbb17 10459 }
d55e5bfc
RD
10460 if (obj3) {
10461 {
10462 arg4 = &temp4;
10463 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10464 }
10465 }
10466 if (obj4) {
10467 {
10468 arg5 = &temp5;
10469 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10470 }
10471 }
10472 if (obj5) {
36ed4f51 10473 {
32fe5131 10474 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
10475 if (SWIG_arg_fail(6)) SWIG_fail;
10476 }
d55e5bfc
RD
10477 }
10478 if (obj6) {
10479 {
10480 arg7 = wxString_in_helper(obj6);
10481 if (arg7 == NULL) SWIG_fail;
b411df4a 10482 temp7 = true;
d55e5bfc
RD
10483 }
10484 }
10485 {
10486 PyThreadState* __tstate = wxPyBeginAllowThreads();
10487 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10488
10489 wxPyEndAllowThreads(__tstate);
10490 if (PyErr_Occurred()) SWIG_fail;
10491 }
10492 {
10493 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10494 }
10495 {
10496 if (temp7)
10497 delete arg7;
10498 }
10499 return resultobj;
10500 fail:
10501 {
10502 if (temp7)
10503 delete arg7;
10504 }
10505 return NULL;
10506}
10507
10508
c370783e 10509static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10510 PyObject *resultobj = NULL;
d55e5bfc 10511 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
36ed4f51 10512 wxLayoutAlignment result;
d55e5bfc
RD
10513 PyObject * obj0 = 0 ;
10514 char *kwnames[] = {
10515 (char *) "self", NULL
10516 };
10517
10518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
36ed4f51
RD
10519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10520 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10521 {
10522 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10523 result = (wxLayoutAlignment)(arg1)->GetAlignment();
d55e5bfc
RD
10524
10525 wxPyEndAllowThreads(__tstate);
10526 if (PyErr_Occurred()) SWIG_fail;
10527 }
36ed4f51 10528 resultobj = SWIG_From_int((result));
d55e5bfc
RD
10529 return resultobj;
10530 fail:
10531 return NULL;
10532}
10533
10534
c370783e 10535static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10536 PyObject *resultobj = NULL;
d55e5bfc 10537 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
36ed4f51 10538 wxLayoutOrientation result;
d55e5bfc
RD
10539 PyObject * obj0 = 0 ;
10540 char *kwnames[] = {
10541 (char *) "self", NULL
10542 };
10543
10544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
36ed4f51
RD
10545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10546 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10547 {
10548 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10549 result = (wxLayoutOrientation)(arg1)->GetOrientation();
d55e5bfc
RD
10550
10551 wxPyEndAllowThreads(__tstate);
10552 if (PyErr_Occurred()) SWIG_fail;
10553 }
36ed4f51 10554 resultobj = SWIG_From_int((result));
d55e5bfc
RD
10555 return resultobj;
10556 fail:
10557 return NULL;
10558}
10559
10560
c370783e 10561static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10562 PyObject *resultobj = NULL;
d55e5bfc 10563 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
36ed4f51 10564 wxLayoutAlignment arg2 ;
d55e5bfc
RD
10565 PyObject * obj0 = 0 ;
10566 PyObject * obj1 = 0 ;
10567 char *kwnames[] = {
10568 (char *) "self",(char *) "alignment", NULL
10569 };
10570
10571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10572 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10573 if (SWIG_arg_fail(1)) SWIG_fail;
10574 {
32fe5131 10575 arg2 = static_cast<wxLayoutAlignment >(SWIG_As_int(obj1));
36ed4f51
RD
10576 if (SWIG_arg_fail(2)) SWIG_fail;
10577 }
d55e5bfc
RD
10578 {
10579 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 10580 (arg1)->SetAlignment(arg2);
d55e5bfc
RD
10581
10582 wxPyEndAllowThreads(__tstate);
10583 if (PyErr_Occurred()) SWIG_fail;
10584 }
10585 Py_INCREF(Py_None); resultobj = Py_None;
10586 return resultobj;
10587 fail:
10588 return NULL;
10589}
10590
10591
c370783e 10592static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10593 PyObject *resultobj = NULL;
d55e5bfc
RD
10594 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10595 wxSize *arg2 = 0 ;
10596 wxSize temp2 ;
10597 PyObject * obj0 = 0 ;
10598 PyObject * obj1 = 0 ;
10599 char *kwnames[] = {
10600 (char *) "self",(char *) "size", NULL
10601 };
10602
10603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10604 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10605 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10606 {
10607 arg2 = &temp2;
10608 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
10609 }
10610 {
10611 PyThreadState* __tstate = wxPyBeginAllowThreads();
10612 (arg1)->SetDefaultSize((wxSize const &)*arg2);
10613
10614 wxPyEndAllowThreads(__tstate);
10615 if (PyErr_Occurred()) SWIG_fail;
10616 }
10617 Py_INCREF(Py_None); resultobj = Py_None;
10618 return resultobj;
10619 fail:
10620 return NULL;
10621}
10622
10623
c370783e 10624static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10625 PyObject *resultobj = NULL;
d55e5bfc 10626 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
36ed4f51 10627 wxLayoutOrientation arg2 ;
d55e5bfc
RD
10628 PyObject * obj0 = 0 ;
10629 PyObject * obj1 = 0 ;
10630 char *kwnames[] = {
10631 (char *) "self",(char *) "orientation", NULL
10632 };
10633
10634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10635 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10636 if (SWIG_arg_fail(1)) SWIG_fail;
10637 {
32fe5131 10638 arg2 = static_cast<wxLayoutOrientation >(SWIG_As_int(obj1));
36ed4f51
RD
10639 if (SWIG_arg_fail(2)) SWIG_fail;
10640 }
d55e5bfc
RD
10641 {
10642 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 10643 (arg1)->SetOrientation(arg2);
d55e5bfc
RD
10644
10645 wxPyEndAllowThreads(__tstate);
10646 if (PyErr_Occurred()) SWIG_fail;
10647 }
10648 Py_INCREF(Py_None); resultobj = Py_None;
10649 return resultobj;
10650 fail:
10651 return NULL;
10652}
10653
10654
c370783e 10655static PyObject * SashLayoutWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10656 PyObject *obj;
10657 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10658 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
10659 Py_INCREF(obj);
10660 return Py_BuildValue((char *)"");
10661}
c370783e 10662static PyObject *_wrap_new_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10663 PyObject *resultobj = NULL;
d55e5bfc
RD
10664 wxLayoutAlgorithm *result;
10665 char *kwnames[] = {
10666 NULL
10667 };
10668
10669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
10670 {
10671 PyThreadState* __tstate = wxPyBeginAllowThreads();
10672 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
10673
10674 wxPyEndAllowThreads(__tstate);
10675 if (PyErr_Occurred()) SWIG_fail;
10676 }
10677 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
10678 return resultobj;
10679 fail:
10680 return NULL;
10681}
10682
10683
c370783e 10684static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10685 PyObject *resultobj = NULL;
d55e5bfc
RD
10686 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10687 PyObject * obj0 = 0 ;
10688 char *kwnames[] = {
10689 (char *) "self", NULL
10690 };
10691
10692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
36ed4f51
RD
10693 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10694 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10695 {
10696 PyThreadState* __tstate = wxPyBeginAllowThreads();
10697 delete arg1;
10698
10699 wxPyEndAllowThreads(__tstate);
10700 if (PyErr_Occurred()) SWIG_fail;
10701 }
10702 Py_INCREF(Py_None); resultobj = Py_None;
10703 return resultobj;
10704 fail:
10705 return NULL;
10706}
10707
10708
c370783e 10709static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10710 PyObject *resultobj = NULL;
d55e5bfc
RD
10711 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10712 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
10713 wxRect *arg3 = (wxRect *) NULL ;
10714 bool result;
10715 PyObject * obj0 = 0 ;
10716 PyObject * obj1 = 0 ;
10717 PyObject * obj2 = 0 ;
10718 char *kwnames[] = {
10719 (char *) "self",(char *) "frame",(char *) "rect", NULL
10720 };
10721
10722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
10723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10724 if (SWIG_arg_fail(1)) SWIG_fail;
10725 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
10726 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 10727 if (obj2) {
36ed4f51
RD
10728 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
10729 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
10730 }
10731 {
10732 PyThreadState* __tstate = wxPyBeginAllowThreads();
10733 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
10734
10735 wxPyEndAllowThreads(__tstate);
10736 if (PyErr_Occurred()) SWIG_fail;
10737 }
10738 {
10739 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10740 }
10741 return resultobj;
10742 fail:
10743 return NULL;
10744}
10745
10746
c370783e 10747static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10748 PyObject *resultobj = NULL;
d55e5bfc
RD
10749 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10750 wxFrame *arg2 = (wxFrame *) 0 ;
10751 wxWindow *arg3 = (wxWindow *) NULL ;
10752 bool result;
10753 PyObject * obj0 = 0 ;
10754 PyObject * obj1 = 0 ;
10755 PyObject * obj2 = 0 ;
10756 char *kwnames[] = {
10757 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
10758 };
10759
10760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
10761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10762 if (SWIG_arg_fail(1)) SWIG_fail;
10763 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
10764 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 10765 if (obj2) {
36ed4f51
RD
10766 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10767 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
10768 }
10769 {
10770 PyThreadState* __tstate = wxPyBeginAllowThreads();
10771 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
10772
10773 wxPyEndAllowThreads(__tstate);
10774 if (PyErr_Occurred()) SWIG_fail;
10775 }
10776 {
10777 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10778 }
10779 return resultobj;
10780 fail:
10781 return NULL;
10782}
10783
10784
c370783e 10785static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10786 PyObject *resultobj = NULL;
d55e5bfc
RD
10787 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10788 wxWindow *arg2 = (wxWindow *) 0 ;
10789 wxWindow *arg3 = (wxWindow *) NULL ;
10790 bool result;
10791 PyObject * obj0 = 0 ;
10792 PyObject * obj1 = 0 ;
10793 PyObject * obj2 = 0 ;
10794 char *kwnames[] = {
10795 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
10796 };
10797
10798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
10799 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10800 if (SWIG_arg_fail(1)) SWIG_fail;
10801 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10802 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 10803 if (obj2) {
36ed4f51
RD
10804 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10805 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
10806 }
10807 {
10808 PyThreadState* __tstate = wxPyBeginAllowThreads();
10809 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
10810
10811 wxPyEndAllowThreads(__tstate);
10812 if (PyErr_Occurred()) SWIG_fail;
10813 }
10814 {
10815 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10816 }
10817 return resultobj;
10818 fail:
10819 return NULL;
10820}
10821
10822
c370783e 10823static PyObject * LayoutAlgorithm_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10824 PyObject *obj;
10825 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10826 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
10827 Py_INCREF(obj);
10828 return Py_BuildValue((char *)"");
10829}
c370783e 10830static PyObject *_wrap_new_PopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10831 PyObject *resultobj = NULL;
d55e5bfc
RD
10832 wxWindow *arg1 = (wxWindow *) 0 ;
10833 int arg2 = (int) wxBORDER_NONE ;
10834 wxPopupWindow *result;
10835 PyObject * obj0 = 0 ;
10836 PyObject * obj1 = 0 ;
10837 char *kwnames[] = {
10838 (char *) "parent",(char *) "flags", NULL
10839 };
10840
10841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10842 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10843 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 10844 if (obj1) {
36ed4f51 10845 {
32fe5131 10846 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
10847 if (SWIG_arg_fail(2)) SWIG_fail;
10848 }
d55e5bfc
RD
10849 }
10850 {
10851 PyThreadState* __tstate = wxPyBeginAllowThreads();
10852 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
10853
10854 wxPyEndAllowThreads(__tstate);
10855 if (PyErr_Occurred()) SWIG_fail;
10856 }
10857 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
10858 return resultobj;
10859 fail:
10860 return NULL;
10861}
10862
10863
c370783e 10864static PyObject *_wrap_new_PrePopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10865 PyObject *resultobj = NULL;
d55e5bfc
RD
10866 wxPopupWindow *result;
10867 char *kwnames[] = {
10868 NULL
10869 };
10870
10871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
10872 {
10873 PyThreadState* __tstate = wxPyBeginAllowThreads();
10874 result = (wxPopupWindow *)new wxPopupWindow();
10875
10876 wxPyEndAllowThreads(__tstate);
10877 if (PyErr_Occurred()) SWIG_fail;
10878 }
10879 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
10880 return resultobj;
10881 fail:
10882 return NULL;
10883}
10884
10885
c370783e 10886static PyObject * PopupWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10887 PyObject *obj;
10888 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10889 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
10890 Py_INCREF(obj);
10891 return Py_BuildValue((char *)"");
10892}
c370783e 10893static PyObject *_wrap_new_PopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10894 PyObject *resultobj = NULL;
d55e5bfc
RD
10895 wxWindow *arg1 = (wxWindow *) 0 ;
10896 int arg2 = (int) wxBORDER_NONE ;
10897 wxPyPopupTransientWindow *result;
10898 PyObject * obj0 = 0 ;
10899 PyObject * obj1 = 0 ;
10900 char *kwnames[] = {
10901 (char *) "parent",(char *) "style", NULL
10902 };
10903
10904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10905 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10906 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 10907 if (obj1) {
36ed4f51 10908 {
32fe5131 10909 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
10910 if (SWIG_arg_fail(2)) SWIG_fail;
10911 }
d55e5bfc
RD
10912 }
10913 {
10914 PyThreadState* __tstate = wxPyBeginAllowThreads();
10915 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
10916
10917 wxPyEndAllowThreads(__tstate);
10918 if (PyErr_Occurred()) SWIG_fail;
10919 }
10920 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
10921 return resultobj;
10922 fail:
10923 return NULL;
10924}
10925
10926
c370783e 10927static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10928 PyObject *resultobj = NULL;
d55e5bfc
RD
10929 wxPyPopupTransientWindow *result;
10930 char *kwnames[] = {
10931 NULL
10932 };
10933
10934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
10935 {
10936 PyThreadState* __tstate = wxPyBeginAllowThreads();
10937 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
10938
10939 wxPyEndAllowThreads(__tstate);
10940 if (PyErr_Occurred()) SWIG_fail;
10941 }
10942 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
10943 return resultobj;
10944 fail:
10945 return NULL;
10946}
10947
10948
c370783e 10949static PyObject * PopupTransientWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10950 PyObject *obj;
10951 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10952 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
10953 Py_INCREF(obj);
10954 return Py_BuildValue((char *)"");
10955}
c370783e 10956static PyObject *_wrap_new_TipWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10957 PyObject *resultobj = NULL;
d55e5bfc
RD
10958 wxWindow *arg1 = (wxWindow *) 0 ;
10959 wxString *arg2 = 0 ;
10960 int arg3 = (int) 100 ;
10961 wxRect *arg4 = (wxRect *) NULL ;
10962 wxTipWindow *result;
b411df4a 10963 bool temp2 = false ;
d55e5bfc
RD
10964 PyObject * obj0 = 0 ;
10965 PyObject * obj1 = 0 ;
10966 PyObject * obj2 = 0 ;
10967 PyObject * obj3 = 0 ;
10968 char *kwnames[] = {
10969 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
10970 };
10971
10972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
10973 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10974 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10975 {
10976 arg2 = wxString_in_helper(obj1);
10977 if (arg2 == NULL) SWIG_fail;
b411df4a 10978 temp2 = true;
d55e5bfc
RD
10979 }
10980 if (obj2) {
36ed4f51 10981 {
32fe5131 10982 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
10983 if (SWIG_arg_fail(3)) SWIG_fail;
10984 }
d55e5bfc
RD
10985 }
10986 if (obj3) {
36ed4f51
RD
10987 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
10988 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
10989 }
10990 {
0439c23b 10991 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10992 PyThreadState* __tstate = wxPyBeginAllowThreads();
10993 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
10994
10995 wxPyEndAllowThreads(__tstate);
110da5b0 10996 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10997 }
10998 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
10999 {
11000 if (temp2)
11001 delete arg2;
11002 }
11003 return resultobj;
11004 fail:
11005 {
11006 if (temp2)
11007 delete arg2;
11008 }
11009 return NULL;
11010}
11011
11012
c370783e 11013static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11014 PyObject *resultobj = NULL;
d55e5bfc
RD
11015 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
11016 wxRect *arg2 = 0 ;
11017 wxRect temp2 ;
11018 PyObject * obj0 = 0 ;
11019 PyObject * obj1 = 0 ;
11020 char *kwnames[] = {
11021 (char *) "self",(char *) "rectBound", NULL
11022 };
11023
11024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11025 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipWindow, SWIG_POINTER_EXCEPTION | 0);
11026 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11027 {
11028 arg2 = &temp2;
11029 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11030 }
11031 {
11032 PyThreadState* __tstate = wxPyBeginAllowThreads();
11033 (arg1)->SetBoundingRect((wxRect const &)*arg2);
11034
11035 wxPyEndAllowThreads(__tstate);
11036 if (PyErr_Occurred()) SWIG_fail;
11037 }
11038 Py_INCREF(Py_None); resultobj = Py_None;
11039 return resultobj;
11040 fail:
11041 return NULL;
11042}
11043
11044
c370783e 11045static PyObject *_wrap_TipWindow_Close(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11046 PyObject *resultobj = NULL;
d55e5bfc
RD
11047 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
11048 PyObject * obj0 = 0 ;
11049 char *kwnames[] = {
11050 (char *) "self", NULL
11051 };
11052
11053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
36ed4f51
RD
11054 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipWindow, SWIG_POINTER_EXCEPTION | 0);
11055 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11056 {
11057 PyThreadState* __tstate = wxPyBeginAllowThreads();
11058 (arg1)->Close();
11059
11060 wxPyEndAllowThreads(__tstate);
11061 if (PyErr_Occurred()) SWIG_fail;
11062 }
11063 Py_INCREF(Py_None); resultobj = Py_None;
11064 return resultobj;
11065 fail:
11066 return NULL;
11067}
11068
11069
c370783e 11070static PyObject * TipWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11071 PyObject *obj;
11072 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11073 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
11074 Py_INCREF(obj);
11075 return Py_BuildValue((char *)"");
11076}
c370783e 11077static PyObject *_wrap_new_VScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11078 PyObject *resultobj = NULL;
d55e5bfc
RD
11079 wxWindow *arg1 = (wxWindow *) 0 ;
11080 int arg2 = (int) wxID_ANY ;
11081 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11082 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11083 wxSize const &arg4_defvalue = wxDefaultSize ;
11084 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11085 long arg5 = (long) 0 ;
11086 wxString const &arg6_defvalue = wxPyPanelNameStr ;
11087 wxString *arg6 = (wxString *) &arg6_defvalue ;
11088 wxPyVScrolledWindow *result;
11089 wxPoint temp3 ;
11090 wxSize temp4 ;
b411df4a 11091 bool temp6 = false ;
d55e5bfc
RD
11092 PyObject * obj0 = 0 ;
11093 PyObject * obj1 = 0 ;
11094 PyObject * obj2 = 0 ;
11095 PyObject * obj3 = 0 ;
11096 PyObject * obj4 = 0 ;
11097 PyObject * obj5 = 0 ;
11098 char *kwnames[] = {
11099 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11100 };
11101
11102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
11103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11104 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 11105 if (obj1) {
36ed4f51 11106 {
32fe5131 11107 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
11108 if (SWIG_arg_fail(2)) SWIG_fail;
11109 }
d55e5bfc
RD
11110 }
11111 if (obj2) {
11112 {
11113 arg3 = &temp3;
11114 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11115 }
11116 }
11117 if (obj3) {
11118 {
11119 arg4 = &temp4;
11120 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11121 }
11122 }
11123 if (obj4) {
36ed4f51 11124 {
32fe5131 11125 arg5 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
11126 if (SWIG_arg_fail(5)) SWIG_fail;
11127 }
d55e5bfc
RD
11128 }
11129 if (obj5) {
11130 {
11131 arg6 = wxString_in_helper(obj5);
11132 if (arg6 == NULL) SWIG_fail;
b411df4a 11133 temp6 = true;
d55e5bfc
RD
11134 }
11135 }
11136 {
0439c23b 11137 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11138 PyThreadState* __tstate = wxPyBeginAllowThreads();
11139 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11140
11141 wxPyEndAllowThreads(__tstate);
110da5b0 11142 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11143 }
11144 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
11145 {
11146 if (temp6)
11147 delete arg6;
11148 }
11149 return resultobj;
11150 fail:
11151 {
11152 if (temp6)
11153 delete arg6;
11154 }
11155 return NULL;
11156}
11157
11158
c370783e 11159static PyObject *_wrap_new_PreVScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11160 PyObject *resultobj = NULL;
d55e5bfc
RD
11161 wxPyVScrolledWindow *result;
11162 char *kwnames[] = {
11163 NULL
11164 };
11165
11166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
11167 {
0439c23b 11168 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11169 PyThreadState* __tstate = wxPyBeginAllowThreads();
11170 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
11171
11172 wxPyEndAllowThreads(__tstate);
110da5b0 11173 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11174 }
11175 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
11176 return resultobj;
11177 fail:
11178 return NULL;
11179}
11180
11181
c370783e 11182static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11183 PyObject *resultobj = NULL;
d55e5bfc
RD
11184 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 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:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
11195 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, 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
c370783e 11213static PyObject *_wrap_VScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11214 PyObject *resultobj = NULL;
d55e5bfc
RD
11215 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11216 wxWindow *arg2 = (wxWindow *) 0 ;
11217 int arg3 = (int) wxID_ANY ;
11218 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11219 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11220 wxSize const &arg5_defvalue = wxDefaultSize ;
11221 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11222 long arg6 = (long) 0 ;
11223 wxString const &arg7_defvalue = wxPyPanelNameStr ;
11224 wxString *arg7 = (wxString *) &arg7_defvalue ;
11225 bool result;
11226 wxPoint temp4 ;
11227 wxSize temp5 ;
b411df4a 11228 bool temp7 = false ;
d55e5bfc
RD
11229 PyObject * obj0 = 0 ;
11230 PyObject * obj1 = 0 ;
11231 PyObject * obj2 = 0 ;
11232 PyObject * obj3 = 0 ;
11233 PyObject * obj4 = 0 ;
11234 PyObject * obj5 = 0 ;
11235 PyObject * obj6 = 0 ;
11236 char *kwnames[] = {
11237 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11238 };
11239
11240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
11241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11242 if (SWIG_arg_fail(1)) SWIG_fail;
11243 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11244 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 11245 if (obj2) {
36ed4f51 11246 {
32fe5131 11247 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
11248 if (SWIG_arg_fail(3)) SWIG_fail;
11249 }
d55e5bfc
RD
11250 }
11251 if (obj3) {
11252 {
11253 arg4 = &temp4;
11254 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11255 }
11256 }
11257 if (obj4) {
11258 {
11259 arg5 = &temp5;
11260 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11261 }
11262 }
11263 if (obj5) {
36ed4f51 11264 {
32fe5131 11265 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
11266 if (SWIG_arg_fail(6)) SWIG_fail;
11267 }
d55e5bfc
RD
11268 }
11269 if (obj6) {
11270 {
11271 arg7 = wxString_in_helper(obj6);
11272 if (arg7 == NULL) SWIG_fail;
b411df4a 11273 temp7 = true;
d55e5bfc
RD
11274 }
11275 }
11276 {
11277 PyThreadState* __tstate = wxPyBeginAllowThreads();
11278 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11279
11280 wxPyEndAllowThreads(__tstate);
11281 if (PyErr_Occurred()) SWIG_fail;
11282 }
11283 {
11284 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11285 }
11286 {
11287 if (temp7)
11288 delete arg7;
11289 }
11290 return resultobj;
11291 fail:
11292 {
11293 if (temp7)
11294 delete arg7;
11295 }
11296 return NULL;
11297}
11298
11299
c370783e 11300static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11301 PyObject *resultobj = NULL;
d55e5bfc
RD
11302 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11303 size_t arg2 ;
11304 PyObject * obj0 = 0 ;
11305 PyObject * obj1 = 0 ;
11306 char *kwnames[] = {
11307 (char *) "self",(char *) "count", NULL
11308 };
11309
11310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11311 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11312 if (SWIG_arg_fail(1)) SWIG_fail;
11313 {
32fe5131 11314 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
11315 if (SWIG_arg_fail(2)) SWIG_fail;
11316 }
d55e5bfc
RD
11317 {
11318 PyThreadState* __tstate = wxPyBeginAllowThreads();
11319 (arg1)->SetLineCount(arg2);
11320
11321 wxPyEndAllowThreads(__tstate);
11322 if (PyErr_Occurred()) SWIG_fail;
11323 }
11324 Py_INCREF(Py_None); resultobj = Py_None;
11325 return resultobj;
11326 fail:
11327 return NULL;
11328}
11329
11330
c370783e 11331static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11332 PyObject *resultobj = NULL;
d55e5bfc
RD
11333 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11334 size_t arg2 ;
11335 bool result;
11336 PyObject * obj0 = 0 ;
11337 PyObject * obj1 = 0 ;
11338 char *kwnames[] = {
11339 (char *) "self",(char *) "line", NULL
11340 };
11341
11342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11344 if (SWIG_arg_fail(1)) SWIG_fail;
11345 {
32fe5131 11346 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
11347 if (SWIG_arg_fail(2)) SWIG_fail;
11348 }
d55e5bfc
RD
11349 {
11350 PyThreadState* __tstate = wxPyBeginAllowThreads();
11351 result = (bool)(arg1)->ScrollToLine(arg2);
11352
11353 wxPyEndAllowThreads(__tstate);
11354 if (PyErr_Occurred()) SWIG_fail;
11355 }
11356 {
11357 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11358 }
11359 return resultobj;
11360 fail:
11361 return NULL;
11362}
11363
11364
c370783e 11365static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11366 PyObject *resultobj = NULL;
d55e5bfc
RD
11367 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11368 int arg2 ;
11369 bool result;
11370 PyObject * obj0 = 0 ;
11371 PyObject * obj1 = 0 ;
11372 char *kwnames[] = {
11373 (char *) "self",(char *) "lines", NULL
11374 };
11375
11376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11378 if (SWIG_arg_fail(1)) SWIG_fail;
11379 {
32fe5131 11380 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
11381 if (SWIG_arg_fail(2)) SWIG_fail;
11382 }
d55e5bfc
RD
11383 {
11384 PyThreadState* __tstate = wxPyBeginAllowThreads();
11385 result = (bool)(arg1)->ScrollLines(arg2);
11386
11387 wxPyEndAllowThreads(__tstate);
11388 if (PyErr_Occurred()) SWIG_fail;
11389 }
11390 {
11391 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11392 }
11393 return resultobj;
11394 fail:
11395 return NULL;
11396}
11397
11398
c370783e 11399static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11400 PyObject *resultobj = NULL;
d55e5bfc
RD
11401 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11402 int arg2 ;
11403 bool result;
11404 PyObject * obj0 = 0 ;
11405 PyObject * obj1 = 0 ;
11406 char *kwnames[] = {
11407 (char *) "self",(char *) "pages", NULL
11408 };
11409
11410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11411 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11412 if (SWIG_arg_fail(1)) SWIG_fail;
11413 {
32fe5131 11414 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
11415 if (SWIG_arg_fail(2)) SWIG_fail;
11416 }
d55e5bfc
RD
11417 {
11418 PyThreadState* __tstate = wxPyBeginAllowThreads();
11419 result = (bool)(arg1)->ScrollPages(arg2);
11420
11421 wxPyEndAllowThreads(__tstate);
11422 if (PyErr_Occurred()) SWIG_fail;
11423 }
11424 {
11425 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11426 }
11427 return resultobj;
11428 fail:
11429 return NULL;
11430}
11431
11432
c370783e 11433static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11434 PyObject *resultobj = NULL;
d55e5bfc
RD
11435 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11436 size_t arg2 ;
11437 PyObject * obj0 = 0 ;
11438 PyObject * obj1 = 0 ;
11439 char *kwnames[] = {
11440 (char *) "self",(char *) "line", NULL
11441 };
11442
11443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11445 if (SWIG_arg_fail(1)) SWIG_fail;
11446 {
32fe5131 11447 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
11448 if (SWIG_arg_fail(2)) SWIG_fail;
11449 }
d55e5bfc
RD
11450 {
11451 PyThreadState* __tstate = wxPyBeginAllowThreads();
11452 (arg1)->RefreshLine(arg2);
11453
11454 wxPyEndAllowThreads(__tstate);
11455 if (PyErr_Occurred()) SWIG_fail;
11456 }
11457 Py_INCREF(Py_None); resultobj = Py_None;
11458 return resultobj;
11459 fail:
11460 return NULL;
11461}
11462
11463
c370783e 11464static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11465 PyObject *resultobj = NULL;
d55e5bfc
RD
11466 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11467 size_t arg2 ;
11468 size_t arg3 ;
11469 PyObject * obj0 = 0 ;
11470 PyObject * obj1 = 0 ;
11471 PyObject * obj2 = 0 ;
11472 char *kwnames[] = {
11473 (char *) "self",(char *) "from",(char *) "to", NULL
11474 };
11475
11476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
11477 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11478 if (SWIG_arg_fail(1)) SWIG_fail;
11479 {
32fe5131 11480 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
11481 if (SWIG_arg_fail(2)) SWIG_fail;
11482 }
11483 {
32fe5131 11484 arg3 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2));
36ed4f51
RD
11485 if (SWIG_arg_fail(3)) SWIG_fail;
11486 }
d55e5bfc
RD
11487 {
11488 PyThreadState* __tstate = wxPyBeginAllowThreads();
11489 (arg1)->RefreshLines(arg2,arg3);
11490
11491 wxPyEndAllowThreads(__tstate);
11492 if (PyErr_Occurred()) SWIG_fail;
11493 }
11494 Py_INCREF(Py_None); resultobj = Py_None;
11495 return resultobj;
11496 fail:
11497 return NULL;
11498}
11499
11500
c370783e 11501static PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11502 PyObject *resultobj = NULL;
d55e5bfc
RD
11503 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11504 int arg2 ;
11505 int arg3 ;
11506 int result;
11507 PyObject * obj0 = 0 ;
11508 PyObject * obj1 = 0 ;
11509 PyObject * obj2 = 0 ;
11510 char *kwnames[] = {
11511 (char *) "self",(char *) "x",(char *) "y", NULL
11512 };
11513
03ee685a 11514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
11515 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11516 if (SWIG_arg_fail(1)) SWIG_fail;
11517 {
32fe5131 11518 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
11519 if (SWIG_arg_fail(2)) SWIG_fail;
11520 }
11521 {
32fe5131 11522 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
11523 if (SWIG_arg_fail(3)) SWIG_fail;
11524 }
d55e5bfc
RD
11525 {
11526 PyThreadState* __tstate = wxPyBeginAllowThreads();
11527 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
11528
11529 wxPyEndAllowThreads(__tstate);
11530 if (PyErr_Occurred()) SWIG_fail;
11531 }
36ed4f51 11532 {
32fe5131 11533 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 11534 }
d55e5bfc
RD
11535 return resultobj;
11536 fail:
11537 return NULL;
11538}
11539
11540
c370783e 11541static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11542 PyObject *resultobj = NULL;
d55e5bfc
RD
11543 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11544 wxPoint *arg2 = 0 ;
11545 int result;
11546 wxPoint temp2 ;
11547 PyObject * obj0 = 0 ;
11548 PyObject * obj1 = 0 ;
11549 char *kwnames[] = {
11550 (char *) "self",(char *) "pt", NULL
11551 };
11552
11553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11554 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11555 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11556 {
11557 arg2 = &temp2;
11558 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11559 }
11560 {
11561 PyThreadState* __tstate = wxPyBeginAllowThreads();
11562 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
11563
11564 wxPyEndAllowThreads(__tstate);
11565 if (PyErr_Occurred()) SWIG_fail;
11566 }
36ed4f51 11567 {
32fe5131 11568 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 11569 }
d55e5bfc
RD
11570 return resultobj;
11571 fail:
11572 return NULL;
11573}
11574
11575
c370783e 11576static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11577 PyObject *resultobj = NULL;
d55e5bfc
RD
11578 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11579 PyObject * obj0 = 0 ;
11580 char *kwnames[] = {
11581 (char *) "self", NULL
11582 };
11583
11584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
36ed4f51
RD
11585 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11586 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11587 {
11588 PyThreadState* __tstate = wxPyBeginAllowThreads();
11589 (arg1)->RefreshAll();
11590
11591 wxPyEndAllowThreads(__tstate);
11592 if (PyErr_Occurred()) SWIG_fail;
11593 }
11594 Py_INCREF(Py_None); resultobj = Py_None;
11595 return resultobj;
11596 fail:
11597 return NULL;
11598}
11599
11600
c370783e 11601static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11602 PyObject *resultobj = NULL;
d55e5bfc
RD
11603 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11604 size_t result;
11605 PyObject * obj0 = 0 ;
11606 char *kwnames[] = {
11607 (char *) "self", NULL
11608 };
11609
11610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
11611 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11612 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11613 {
11614 PyThreadState* __tstate = wxPyBeginAllowThreads();
11615 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
11616
11617 wxPyEndAllowThreads(__tstate);
11618 if (PyErr_Occurred()) SWIG_fail;
11619 }
36ed4f51 11620 {
32fe5131 11621 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
36ed4f51 11622 }
d55e5bfc
RD
11623 return resultobj;
11624 fail:
11625 return NULL;
11626}
11627
11628
7993762b 11629static PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11630 PyObject *resultobj = NULL;
d55e5bfc
RD
11631 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11632 size_t result;
11633 PyObject * obj0 = 0 ;
11634 char *kwnames[] = {
11635 (char *) "self", NULL
11636 };
11637
7993762b 11638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetVisibleBegin",kwnames,&obj0)) goto fail;
36ed4f51
RD
11639 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11640 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11641 {
11642 PyThreadState* __tstate = wxPyBeginAllowThreads();
7993762b 11643 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
d55e5bfc
RD
11644
11645 wxPyEndAllowThreads(__tstate);
11646 if (PyErr_Occurred()) SWIG_fail;
11647 }
36ed4f51 11648 {
32fe5131 11649 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
36ed4f51 11650 }
d55e5bfc
RD
11651 return resultobj;
11652 fail:
11653 return NULL;
11654}
11655
11656
7993762b 11657static PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11658 PyObject *resultobj = NULL;
d55e5bfc
RD
11659 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11660 size_t result;
11661 PyObject * obj0 = 0 ;
11662 char *kwnames[] = {
11663 (char *) "self", NULL
11664 };
11665
7993762b 11666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetVisibleEnd",kwnames,&obj0)) goto fail;
36ed4f51
RD
11667 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11668 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11669 {
11670 PyThreadState* __tstate = wxPyBeginAllowThreads();
7993762b 11671 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
d55e5bfc
RD
11672
11673 wxPyEndAllowThreads(__tstate);
11674 if (PyErr_Occurred()) SWIG_fail;
11675 }
36ed4f51 11676 {
32fe5131 11677 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
36ed4f51 11678 }
d55e5bfc
RD
11679 return resultobj;
11680 fail:
11681 return NULL;
11682}
11683
11684
c370783e 11685static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11686 PyObject *resultobj = NULL;
d55e5bfc
RD
11687 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11688 size_t arg2 ;
11689 bool result;
11690 PyObject * obj0 = 0 ;
11691 PyObject * obj1 = 0 ;
11692 char *kwnames[] = {
11693 (char *) "self",(char *) "line", NULL
11694 };
11695
11696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11697 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11698 if (SWIG_arg_fail(1)) SWIG_fail;
11699 {
32fe5131 11700 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
11701 if (SWIG_arg_fail(2)) SWIG_fail;
11702 }
d55e5bfc
RD
11703 {
11704 PyThreadState* __tstate = wxPyBeginAllowThreads();
11705 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(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
7993762b 11719static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11720 PyObject *resultobj = NULL;
7993762b
RD
11721 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11722 size_t result;
11723 PyObject * obj0 = 0 ;
11724 char *kwnames[] = {
11725 (char *) "self", NULL
11726 };
11727
11728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
11729 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11730 if (SWIG_arg_fail(1)) SWIG_fail;
11731 {
11732 PyThreadState* __tstate = wxPyBeginAllowThreads();
11733 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
11734
11735 wxPyEndAllowThreads(__tstate);
11736 if (PyErr_Occurred()) SWIG_fail;
11737 }
11738 {
32fe5131 11739 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
7993762b
RD
11740 }
11741 return resultobj;
11742 fail:
11743 return NULL;
11744}
11745
11746
11747static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11748 PyObject *resultobj = NULL;
7993762b
RD
11749 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11750 size_t result;
11751 PyObject * obj0 = 0 ;
11752 char *kwnames[] = {
11753 (char *) "self", NULL
11754 };
11755
11756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
11757 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11758 if (SWIG_arg_fail(1)) SWIG_fail;
11759 {
11760 PyThreadState* __tstate = wxPyBeginAllowThreads();
11761 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
11762
11763 wxPyEndAllowThreads(__tstate);
11764 if (PyErr_Occurred()) SWIG_fail;
11765 }
11766 {
32fe5131 11767 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
7993762b
RD
11768 }
11769 return resultobj;
11770 fail:
11771 return NULL;
11772}
11773
11774
c370783e 11775static PyObject * VScrolledWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11776 PyObject *obj;
11777 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11778 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
11779 Py_INCREF(obj);
11780 return Py_BuildValue((char *)"");
11781}
c370783e 11782static int _wrap_VListBoxNameStr_set(PyObject *) {
d55e5bfc
RD
11783 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
11784 return 1;
11785}
11786
11787
36ed4f51 11788static PyObject *_wrap_VListBoxNameStr_get(void) {
32fe5131 11789 PyObject *pyobj = NULL;
d55e5bfc
RD
11790
11791 {
11792#if wxUSE_UNICODE
11793 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
11794#else
11795 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
11796#endif
11797 }
11798 return pyobj;
11799}
11800
11801
c370783e 11802static PyObject *_wrap_new_VListBox(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11803 PyObject *resultobj = NULL;
d55e5bfc
RD
11804 wxWindow *arg1 = (wxWindow *) 0 ;
11805 int arg2 = (int) wxID_ANY ;
11806 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11807 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11808 wxSize const &arg4_defvalue = wxDefaultSize ;
11809 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11810 long arg5 = (long) 0 ;
11811 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
11812 wxString *arg6 = (wxString *) &arg6_defvalue ;
11813 wxPyVListBox *result;
11814 wxPoint temp3 ;
11815 wxSize temp4 ;
b411df4a 11816 bool temp6 = false ;
d55e5bfc
RD
11817 PyObject * obj0 = 0 ;
11818 PyObject * obj1 = 0 ;
11819 PyObject * obj2 = 0 ;
11820 PyObject * obj3 = 0 ;
11821 PyObject * obj4 = 0 ;
11822 PyObject * obj5 = 0 ;
11823 char *kwnames[] = {
11824 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11825 };
11826
11827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
11828 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11829 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 11830 if (obj1) {
36ed4f51 11831 {
32fe5131 11832 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
11833 if (SWIG_arg_fail(2)) SWIG_fail;
11834 }
d55e5bfc
RD
11835 }
11836 if (obj2) {
11837 {
11838 arg3 = &temp3;
11839 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11840 }
11841 }
11842 if (obj3) {
11843 {
11844 arg4 = &temp4;
11845 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11846 }
11847 }
11848 if (obj4) {
36ed4f51 11849 {
32fe5131 11850 arg5 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
11851 if (SWIG_arg_fail(5)) SWIG_fail;
11852 }
d55e5bfc
RD
11853 }
11854 if (obj5) {
11855 {
11856 arg6 = wxString_in_helper(obj5);
11857 if (arg6 == NULL) SWIG_fail;
b411df4a 11858 temp6 = true;
d55e5bfc
RD
11859 }
11860 }
11861 {
0439c23b 11862 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11863 PyThreadState* __tstate = wxPyBeginAllowThreads();
11864 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11865
11866 wxPyEndAllowThreads(__tstate);
110da5b0 11867 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11868 }
11869 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
11870 {
11871 if (temp6)
11872 delete arg6;
11873 }
11874 return resultobj;
11875 fail:
11876 {
11877 if (temp6)
11878 delete arg6;
11879 }
11880 return NULL;
11881}
11882
11883
c370783e 11884static PyObject *_wrap_new_PreVListBox(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11885 PyObject *resultobj = NULL;
d55e5bfc
RD
11886 wxPyVListBox *result;
11887 char *kwnames[] = {
11888 NULL
11889 };
11890
11891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
11892 {
0439c23b 11893 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11894 PyThreadState* __tstate = wxPyBeginAllowThreads();
11895 result = (wxPyVListBox *)new wxPyVListBox();
11896
11897 wxPyEndAllowThreads(__tstate);
110da5b0 11898 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11899 }
11900 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
11901 return resultobj;
11902 fail:
11903 return NULL;
11904}
11905
11906
c370783e 11907static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11908 PyObject *resultobj = NULL;
d55e5bfc
RD
11909 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11910 PyObject *arg2 = (PyObject *) 0 ;
11911 PyObject *arg3 = (PyObject *) 0 ;
11912 PyObject * obj0 = 0 ;
11913 PyObject * obj1 = 0 ;
11914 PyObject * obj2 = 0 ;
11915 char *kwnames[] = {
11916 (char *) "self",(char *) "self",(char *) "_class", NULL
11917 };
11918
11919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
11920 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11921 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11922 arg2 = obj1;
11923 arg3 = obj2;
11924 {
11925 PyThreadState* __tstate = wxPyBeginAllowThreads();
11926 (arg1)->_setCallbackInfo(arg2,arg3);
11927
11928 wxPyEndAllowThreads(__tstate);
11929 if (PyErr_Occurred()) SWIG_fail;
11930 }
11931 Py_INCREF(Py_None); resultobj = Py_None;
11932 return resultobj;
11933 fail:
11934 return NULL;
11935}
11936
11937
c370783e 11938static PyObject *_wrap_VListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11939 PyObject *resultobj = NULL;
d55e5bfc
RD
11940 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11941 wxWindow *arg2 = (wxWindow *) 0 ;
11942 int arg3 = (int) wxID_ANY ;
11943 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11944 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11945 wxSize const &arg5_defvalue = wxDefaultSize ;
11946 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11947 long arg6 = (long) 0 ;
11948 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
11949 wxString *arg7 = (wxString *) &arg7_defvalue ;
11950 bool result;
11951 wxPoint temp4 ;
11952 wxSize temp5 ;
b411df4a 11953 bool temp7 = false ;
d55e5bfc
RD
11954 PyObject * obj0 = 0 ;
11955 PyObject * obj1 = 0 ;
11956 PyObject * obj2 = 0 ;
11957 PyObject * obj3 = 0 ;
11958 PyObject * obj4 = 0 ;
11959 PyObject * obj5 = 0 ;
11960 PyObject * obj6 = 0 ;
11961 char *kwnames[] = {
11962 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11963 };
11964
11965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
11966 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11967 if (SWIG_arg_fail(1)) SWIG_fail;
11968 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11969 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 11970 if (obj2) {
36ed4f51 11971 {
32fe5131 11972 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
11973 if (SWIG_arg_fail(3)) SWIG_fail;
11974 }
d55e5bfc
RD
11975 }
11976 if (obj3) {
11977 {
11978 arg4 = &temp4;
11979 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11980 }
11981 }
11982 if (obj4) {
11983 {
11984 arg5 = &temp5;
11985 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11986 }
11987 }
11988 if (obj5) {
36ed4f51 11989 {
32fe5131 11990 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
11991 if (SWIG_arg_fail(6)) SWIG_fail;
11992 }
d55e5bfc
RD
11993 }
11994 if (obj6) {
11995 {
11996 arg7 = wxString_in_helper(obj6);
11997 if (arg7 == NULL) SWIG_fail;
b411df4a 11998 temp7 = true;
d55e5bfc
RD
11999 }
12000 }
12001 {
12002 PyThreadState* __tstate = wxPyBeginAllowThreads();
12003 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12004
12005 wxPyEndAllowThreads(__tstate);
12006 if (PyErr_Occurred()) SWIG_fail;
12007 }
12008 {
12009 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12010 }
12011 {
12012 if (temp7)
12013 delete arg7;
12014 }
12015 return resultobj;
12016 fail:
12017 {
12018 if (temp7)
12019 delete arg7;
12020 }
12021 return NULL;
12022}
12023
12024
c370783e 12025static PyObject *_wrap_VListBox_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12026 PyObject *resultobj = NULL;
d55e5bfc
RD
12027 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12028 size_t result;
12029 PyObject * obj0 = 0 ;
12030 char *kwnames[] = {
12031 (char *) "self", NULL
12032 };
12033
12034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
12035 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12036 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12037 {
12038 PyThreadState* __tstate = wxPyBeginAllowThreads();
12039 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
12040
12041 wxPyEndAllowThreads(__tstate);
12042 if (PyErr_Occurred()) SWIG_fail;
12043 }
36ed4f51 12044 {
32fe5131 12045 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
36ed4f51 12046 }
d55e5bfc
RD
12047 return resultobj;
12048 fail:
12049 return NULL;
12050}
12051
12052
c370783e 12053static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12054 PyObject *resultobj = NULL;
d55e5bfc
RD
12055 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12056 bool result;
12057 PyObject * obj0 = 0 ;
12058 char *kwnames[] = {
12059 (char *) "self", NULL
12060 };
12061
12062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
12063 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12064 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12065 {
12066 PyThreadState* __tstate = wxPyBeginAllowThreads();
12067 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
12068
12069 wxPyEndAllowThreads(__tstate);
12070 if (PyErr_Occurred()) SWIG_fail;
12071 }
12072 {
12073 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12074 }
12075 return resultobj;
12076 fail:
12077 return NULL;
12078}
12079
12080
c370783e 12081static PyObject *_wrap_VListBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12082 PyObject *resultobj = NULL;
d55e5bfc
RD
12083 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12084 int result;
12085 PyObject * obj0 = 0 ;
12086 char *kwnames[] = {
12087 (char *) "self", NULL
12088 };
12089
12090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
12091 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12092 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12093 {
12094 PyThreadState* __tstate = wxPyBeginAllowThreads();
12095 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
12096
12097 wxPyEndAllowThreads(__tstate);
12098 if (PyErr_Occurred()) SWIG_fail;
12099 }
36ed4f51 12100 {
32fe5131 12101 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 12102 }
d55e5bfc
RD
12103 return resultobj;
12104 fail:
12105 return NULL;
12106}
12107
12108
c370783e 12109static PyObject *_wrap_VListBox_IsCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12110 PyObject *resultobj = NULL;
d55e5bfc
RD
12111 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12112 size_t arg2 ;
12113 bool result;
12114 PyObject * obj0 = 0 ;
12115 PyObject * obj1 = 0 ;
12116 char *kwnames[] = {
12117 (char *) "self",(char *) "item", NULL
12118 };
12119
12120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12122 if (SWIG_arg_fail(1)) SWIG_fail;
12123 {
32fe5131 12124 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
12125 if (SWIG_arg_fail(2)) SWIG_fail;
12126 }
d55e5bfc
RD
12127 {
12128 PyThreadState* __tstate = wxPyBeginAllowThreads();
12129 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
12130
12131 wxPyEndAllowThreads(__tstate);
12132 if (PyErr_Occurred()) SWIG_fail;
12133 }
12134 {
12135 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12136 }
12137 return resultobj;
12138 fail:
12139 return NULL;
12140}
12141
12142
c370783e 12143static PyObject *_wrap_VListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12144 PyObject *resultobj = NULL;
d55e5bfc
RD
12145 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12146 size_t arg2 ;
12147 bool result;
12148 PyObject * obj0 = 0 ;
12149 PyObject * obj1 = 0 ;
12150 char *kwnames[] = {
12151 (char *) "self",(char *) "item", NULL
12152 };
12153
12154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12155 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12156 if (SWIG_arg_fail(1)) SWIG_fail;
12157 {
32fe5131 12158 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
12159 if (SWIG_arg_fail(2)) SWIG_fail;
12160 }
d55e5bfc
RD
12161 {
12162 PyThreadState* __tstate = wxPyBeginAllowThreads();
12163 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
12164
12165 wxPyEndAllowThreads(__tstate);
12166 if (PyErr_Occurred()) SWIG_fail;
12167 }
12168 {
12169 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12170 }
12171 return resultobj;
12172 fail:
12173 return NULL;
12174}
12175
12176
c370783e 12177static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12178 PyObject *resultobj = NULL;
d55e5bfc
RD
12179 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12180 size_t result;
12181 PyObject * obj0 = 0 ;
12182 char *kwnames[] = {
12183 (char *) "self", NULL
12184 };
12185
12186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
12187 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12188 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12189 {
12190 PyThreadState* __tstate = wxPyBeginAllowThreads();
12191 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
12192
12193 wxPyEndAllowThreads(__tstate);
12194 if (PyErr_Occurred()) SWIG_fail;
12195 }
36ed4f51 12196 {
32fe5131 12197 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
36ed4f51 12198 }
d55e5bfc
RD
12199 return resultobj;
12200 fail:
12201 return NULL;
12202}
12203
12204
c370783e 12205static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12206 PyObject *resultobj = NULL;
d55e5bfc 12207 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
09c21d3b 12208 PyObject *result;
d55e5bfc 12209 PyObject * obj0 = 0 ;
d55e5bfc 12210 char *kwnames[] = {
09c21d3b 12211 (char *) "self", NULL
d55e5bfc
RD
12212 };
12213
09c21d3b 12214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetFirstSelected",kwnames,&obj0)) goto fail;
36ed4f51
RD
12215 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12216 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12217 {
12218 PyThreadState* __tstate = wxPyBeginAllowThreads();
09c21d3b 12219 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
d55e5bfc
RD
12220
12221 wxPyEndAllowThreads(__tstate);
12222 if (PyErr_Occurred()) SWIG_fail;
12223 }
09c21d3b 12224 resultobj = result;
d55e5bfc
RD
12225 return resultobj;
12226 fail:
12227 return NULL;
12228}
12229
12230
c370783e 12231static PyObject *_wrap_VListBox_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12232 PyObject *resultobj = NULL;
d55e5bfc 12233 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
09c21d3b
RD
12234 unsigned long arg2 ;
12235 PyObject *result;
d55e5bfc
RD
12236 PyObject * obj0 = 0 ;
12237 PyObject * obj1 = 0 ;
12238 char *kwnames[] = {
12239 (char *) "self",(char *) "cookie", NULL
12240 };
12241
12242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12244 if (SWIG_arg_fail(1)) SWIG_fail;
12245 {
32fe5131 12246 arg2 = static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
12247 if (SWIG_arg_fail(2)) SWIG_fail;
12248 }
d55e5bfc
RD
12249 {
12250 PyThreadState* __tstate = wxPyBeginAllowThreads();
09c21d3b 12251 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
d55e5bfc
RD
12252
12253 wxPyEndAllowThreads(__tstate);
12254 if (PyErr_Occurred()) SWIG_fail;
12255 }
09c21d3b 12256 resultobj = result;
d55e5bfc
RD
12257 return resultobj;
12258 fail:
12259 return NULL;
12260}
12261
12262
c370783e 12263static PyObject *_wrap_VListBox_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12264 PyObject *resultobj = NULL;
d55e5bfc
RD
12265 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12266 wxPoint result;
12267 PyObject * obj0 = 0 ;
12268 char *kwnames[] = {
12269 (char *) "self", NULL
12270 };
12271
12272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
36ed4f51
RD
12273 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12274 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12275 {
12276 PyThreadState* __tstate = wxPyBeginAllowThreads();
12277 result = ((wxPyVListBox const *)arg1)->GetMargins();
12278
12279 wxPyEndAllowThreads(__tstate);
12280 if (PyErr_Occurred()) SWIG_fail;
12281 }
12282 {
12283 wxPoint * resultptr;
32fe5131 12284 resultptr = new wxPoint(static_cast<wxPoint & >(result));
d55e5bfc
RD
12285 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
12286 }
12287 return resultobj;
12288 fail:
12289 return NULL;
12290}
12291
12292
c370783e 12293static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12294 PyObject *resultobj = NULL;
d55e5bfc
RD
12295 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12296 wxColour *result;
12297 PyObject * obj0 = 0 ;
12298 char *kwnames[] = {
12299 (char *) "self", NULL
12300 };
12301
12302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
36ed4f51
RD
12303 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12304 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12305 {
12306 PyThreadState* __tstate = wxPyBeginAllowThreads();
12307 {
12308 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
12309 result = (wxColour *) &_result_ref;
12310 }
12311
12312 wxPyEndAllowThreads(__tstate);
12313 if (PyErr_Occurred()) SWIG_fail;
12314 }
12315 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
12316 return resultobj;
12317 fail:
12318 return NULL;
12319}
12320
12321
c370783e 12322static PyObject *_wrap_VListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12323 PyObject *resultobj = NULL;
d55e5bfc
RD
12324 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12325 size_t arg2 ;
12326 PyObject * obj0 = 0 ;
12327 PyObject * obj1 = 0 ;
12328 char *kwnames[] = {
12329 (char *) "self",(char *) "count", NULL
12330 };
12331
12332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12333 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12334 if (SWIG_arg_fail(1)) SWIG_fail;
12335 {
32fe5131 12336 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
12337 if (SWIG_arg_fail(2)) SWIG_fail;
12338 }
d55e5bfc
RD
12339 {
12340 PyThreadState* __tstate = wxPyBeginAllowThreads();
12341 (arg1)->SetItemCount(arg2);
12342
12343 wxPyEndAllowThreads(__tstate);
12344 if (PyErr_Occurred()) SWIG_fail;
12345 }
12346 Py_INCREF(Py_None); resultobj = Py_None;
12347 return resultobj;
12348 fail:
12349 return NULL;
12350}
12351
12352
c370783e 12353static PyObject *_wrap_VListBox_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12354 PyObject *resultobj = NULL;
d55e5bfc
RD
12355 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12356 PyObject * obj0 = 0 ;
12357 char *kwnames[] = {
12358 (char *) "self", NULL
12359 };
12360
12361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
36ed4f51
RD
12362 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12363 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12364 {
12365 PyThreadState* __tstate = wxPyBeginAllowThreads();
12366 (arg1)->Clear();
12367
12368 wxPyEndAllowThreads(__tstate);
12369 if (PyErr_Occurred()) SWIG_fail;
12370 }
12371 Py_INCREF(Py_None); resultobj = Py_None;
12372 return resultobj;
12373 fail:
12374 return NULL;
12375}
12376
12377
c370783e 12378static PyObject *_wrap_VListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12379 PyObject *resultobj = NULL;
d55e5bfc
RD
12380 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12381 int arg2 ;
12382 PyObject * obj0 = 0 ;
12383 PyObject * obj1 = 0 ;
12384 char *kwnames[] = {
12385 (char *) "self",(char *) "selection", NULL
12386 };
12387
12388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12390 if (SWIG_arg_fail(1)) SWIG_fail;
12391 {
32fe5131 12392 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
12393 if (SWIG_arg_fail(2)) SWIG_fail;
12394 }
d55e5bfc
RD
12395 {
12396 PyThreadState* __tstate = wxPyBeginAllowThreads();
12397 (arg1)->SetSelection(arg2);
12398
12399 wxPyEndAllowThreads(__tstate);
12400 if (PyErr_Occurred()) SWIG_fail;
12401 }
12402 Py_INCREF(Py_None); resultobj = Py_None;
12403 return resultobj;
12404 fail:
12405 return NULL;
12406}
12407
12408
c370783e 12409static PyObject *_wrap_VListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12410 PyObject *resultobj = NULL;
d55e5bfc
RD
12411 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12412 size_t arg2 ;
b411df4a 12413 bool arg3 = (bool) true ;
d55e5bfc
RD
12414 bool result;
12415 PyObject * obj0 = 0 ;
12416 PyObject * obj1 = 0 ;
12417 PyObject * obj2 = 0 ;
12418 char *kwnames[] = {
12419 (char *) "self",(char *) "item",(char *) "select", NULL
12420 };
12421
12422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
12423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12424 if (SWIG_arg_fail(1)) SWIG_fail;
12425 {
32fe5131 12426 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
12427 if (SWIG_arg_fail(2)) SWIG_fail;
12428 }
d55e5bfc 12429 if (obj2) {
36ed4f51 12430 {
32fe5131 12431 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
12432 if (SWIG_arg_fail(3)) SWIG_fail;
12433 }
d55e5bfc
RD
12434 }
12435 {
12436 PyThreadState* __tstate = wxPyBeginAllowThreads();
12437 result = (bool)(arg1)->Select(arg2,arg3);
12438
12439 wxPyEndAllowThreads(__tstate);
12440 if (PyErr_Occurred()) SWIG_fail;
12441 }
12442 {
12443 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12444 }
12445 return resultobj;
12446 fail:
12447 return NULL;
12448}
12449
12450
c370783e 12451static PyObject *_wrap_VListBox_SelectRange(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12452 PyObject *resultobj = NULL;
d55e5bfc
RD
12453 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12454 size_t arg2 ;
12455 size_t arg3 ;
12456 bool result;
12457 PyObject * obj0 = 0 ;
12458 PyObject * obj1 = 0 ;
12459 PyObject * obj2 = 0 ;
12460 char *kwnames[] = {
12461 (char *) "self",(char *) "from",(char *) "to", NULL
12462 };
12463
12464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
12465 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12466 if (SWIG_arg_fail(1)) SWIG_fail;
12467 {
32fe5131 12468 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
12469 if (SWIG_arg_fail(2)) SWIG_fail;
12470 }
12471 {
32fe5131 12472 arg3 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2));
36ed4f51
RD
12473 if (SWIG_arg_fail(3)) SWIG_fail;
12474 }
d55e5bfc
RD
12475 {
12476 PyThreadState* __tstate = wxPyBeginAllowThreads();
12477 result = (bool)(arg1)->SelectRange(arg2,arg3);
12478
12479 wxPyEndAllowThreads(__tstate);
12480 if (PyErr_Occurred()) SWIG_fail;
12481 }
12482 {
12483 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12484 }
12485 return resultobj;
12486 fail:
12487 return NULL;
12488}
12489
12490
c370783e 12491static PyObject *_wrap_VListBox_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12492 PyObject *resultobj = NULL;
d55e5bfc
RD
12493 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12494 size_t arg2 ;
12495 PyObject * obj0 = 0 ;
12496 PyObject * obj1 = 0 ;
12497 char *kwnames[] = {
12498 (char *) "self",(char *) "item", NULL
12499 };
12500
12501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12503 if (SWIG_arg_fail(1)) SWIG_fail;
12504 {
32fe5131 12505 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
12506 if (SWIG_arg_fail(2)) SWIG_fail;
12507 }
d55e5bfc
RD
12508 {
12509 PyThreadState* __tstate = wxPyBeginAllowThreads();
12510 (arg1)->Toggle(arg2);
12511
12512 wxPyEndAllowThreads(__tstate);
12513 if (PyErr_Occurred()) SWIG_fail;
12514 }
12515 Py_INCREF(Py_None); resultobj = Py_None;
12516 return resultobj;
12517 fail:
12518 return NULL;
12519}
12520
12521
c370783e 12522static PyObject *_wrap_VListBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12523 PyObject *resultobj = NULL;
d55e5bfc
RD
12524 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12525 bool result;
12526 PyObject * obj0 = 0 ;
12527 char *kwnames[] = {
12528 (char *) "self", NULL
12529 };
12530
12531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
36ed4f51
RD
12532 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12533 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12534 {
12535 PyThreadState* __tstate = wxPyBeginAllowThreads();
12536 result = (bool)(arg1)->SelectAll();
12537
12538 wxPyEndAllowThreads(__tstate);
12539 if (PyErr_Occurred()) SWIG_fail;
12540 }
12541 {
12542 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12543 }
12544 return resultobj;
12545 fail:
12546 return NULL;
12547}
12548
12549
c370783e 12550static PyObject *_wrap_VListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12551 PyObject *resultobj = NULL;
d55e5bfc
RD
12552 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12553 bool result;
12554 PyObject * obj0 = 0 ;
12555 char *kwnames[] = {
12556 (char *) "self", NULL
12557 };
12558
12559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
36ed4f51
RD
12560 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12561 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12562 {
12563 PyThreadState* __tstate = wxPyBeginAllowThreads();
12564 result = (bool)(arg1)->DeselectAll();
12565
12566 wxPyEndAllowThreads(__tstate);
12567 if (PyErr_Occurred()) SWIG_fail;
12568 }
12569 {
12570 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12571 }
12572 return resultobj;
12573 fail:
12574 return NULL;
12575}
12576
12577
c370783e 12578static PyObject *_wrap_VListBox_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12579 PyObject *resultobj = NULL;
d55e5bfc
RD
12580 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12581 wxPoint *arg2 = 0 ;
12582 wxPoint temp2 ;
12583 PyObject * obj0 = 0 ;
12584 PyObject * obj1 = 0 ;
12585 char *kwnames[] = {
12586 (char *) "self",(char *) "pt", NULL
12587 };
12588
12589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12590 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12591 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12592 {
12593 arg2 = &temp2;
12594 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12595 }
12596 {
12597 PyThreadState* __tstate = wxPyBeginAllowThreads();
12598 (arg1)->SetMargins((wxPoint const &)*arg2);
12599
12600 wxPyEndAllowThreads(__tstate);
12601 if (PyErr_Occurred()) SWIG_fail;
12602 }
12603 Py_INCREF(Py_None); resultobj = Py_None;
12604 return resultobj;
12605 fail:
12606 return NULL;
12607}
12608
12609
c370783e 12610static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12611 PyObject *resultobj = NULL;
d55e5bfc
RD
12612 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12613 int arg2 ;
12614 int arg3 ;
12615 PyObject * obj0 = 0 ;
12616 PyObject * obj1 = 0 ;
12617 PyObject * obj2 = 0 ;
12618 char *kwnames[] = {
12619 (char *) "self",(char *) "x",(char *) "y", NULL
12620 };
12621
12622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
12623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12624 if (SWIG_arg_fail(1)) SWIG_fail;
12625 {
32fe5131 12626 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
12627 if (SWIG_arg_fail(2)) SWIG_fail;
12628 }
12629 {
32fe5131 12630 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
12631 if (SWIG_arg_fail(3)) SWIG_fail;
12632 }
d55e5bfc
RD
12633 {
12634 PyThreadState* __tstate = wxPyBeginAllowThreads();
12635 (arg1)->SetMargins(arg2,arg3);
12636
12637 wxPyEndAllowThreads(__tstate);
12638 if (PyErr_Occurred()) SWIG_fail;
12639 }
12640 Py_INCREF(Py_None); resultobj = Py_None;
12641 return resultobj;
12642 fail:
12643 return NULL;
12644}
12645
12646
c370783e 12647static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12648 PyObject *resultobj = NULL;
d55e5bfc
RD
12649 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12650 wxColour *arg2 = 0 ;
12651 wxColour temp2 ;
12652 PyObject * obj0 = 0 ;
12653 PyObject * obj1 = 0 ;
12654 char *kwnames[] = {
12655 (char *) "self",(char *) "col", NULL
12656 };
12657
12658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12659 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12660 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12661 {
12662 arg2 = &temp2;
12663 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12664 }
12665 {
12666 PyThreadState* __tstate = wxPyBeginAllowThreads();
12667 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
12668
12669 wxPyEndAllowThreads(__tstate);
12670 if (PyErr_Occurred()) SWIG_fail;
12671 }
12672 Py_INCREF(Py_None); resultobj = Py_None;
12673 return resultobj;
12674 fail:
12675 return NULL;
12676}
12677
12678
c370783e 12679static PyObject * VListBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
12680 PyObject *obj;
12681 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12682 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
12683 Py_INCREF(obj);
12684 return Py_BuildValue((char *)"");
12685}
c370783e 12686static PyObject *_wrap_new_HtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12687 PyObject *resultobj = NULL;
d55e5bfc
RD
12688 wxWindow *arg1 = (wxWindow *) 0 ;
12689 int arg2 = (int) wxID_ANY ;
12690 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12691 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12692 wxSize const &arg4_defvalue = wxDefaultSize ;
12693 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12694 long arg5 = (long) 0 ;
12695 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
12696 wxString *arg6 = (wxString *) &arg6_defvalue ;
12697 wxPyHtmlListBox *result;
12698 wxPoint temp3 ;
12699 wxSize temp4 ;
b411df4a 12700 bool temp6 = false ;
d55e5bfc
RD
12701 PyObject * obj0 = 0 ;
12702 PyObject * obj1 = 0 ;
12703 PyObject * obj2 = 0 ;
12704 PyObject * obj3 = 0 ;
12705 PyObject * obj4 = 0 ;
12706 PyObject * obj5 = 0 ;
12707 char *kwnames[] = {
12708 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12709 };
12710
12711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
12712 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12713 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 12714 if (obj1) {
36ed4f51 12715 {
32fe5131 12716 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
12717 if (SWIG_arg_fail(2)) SWIG_fail;
12718 }
d55e5bfc
RD
12719 }
12720 if (obj2) {
12721 {
12722 arg3 = &temp3;
12723 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12724 }
12725 }
12726 if (obj3) {
12727 {
12728 arg4 = &temp4;
12729 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12730 }
12731 }
12732 if (obj4) {
36ed4f51 12733 {
32fe5131 12734 arg5 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
12735 if (SWIG_arg_fail(5)) SWIG_fail;
12736 }
d55e5bfc
RD
12737 }
12738 if (obj5) {
12739 {
12740 arg6 = wxString_in_helper(obj5);
12741 if (arg6 == NULL) SWIG_fail;
b411df4a 12742 temp6 = true;
d55e5bfc
RD
12743 }
12744 }
12745 {
0439c23b 12746 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12747 PyThreadState* __tstate = wxPyBeginAllowThreads();
12748 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12749
12750 wxPyEndAllowThreads(__tstate);
110da5b0 12751 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12752 }
12753 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
12754 {
12755 if (temp6)
12756 delete arg6;
12757 }
12758 return resultobj;
12759 fail:
12760 {
12761 if (temp6)
12762 delete arg6;
12763 }
12764 return NULL;
12765}
12766
12767
c370783e 12768static PyObject *_wrap_new_PreHtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12769 PyObject *resultobj = NULL;
d55e5bfc
RD
12770 wxPyHtmlListBox *result;
12771 char *kwnames[] = {
12772 NULL
12773 };
12774
12775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
12776 {
0439c23b 12777 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12778 PyThreadState* __tstate = wxPyBeginAllowThreads();
12779 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
12780
12781 wxPyEndAllowThreads(__tstate);
110da5b0 12782 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12783 }
12784 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
12785 return resultobj;
12786 fail:
12787 return NULL;
12788}
12789
12790
c370783e 12791static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12792 PyObject *resultobj = NULL;
d55e5bfc
RD
12793 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12794 PyObject *arg2 = (PyObject *) 0 ;
12795 PyObject *arg3 = (PyObject *) 0 ;
12796 PyObject * obj0 = 0 ;
12797 PyObject * obj1 = 0 ;
12798 PyObject * obj2 = 0 ;
12799 char *kwnames[] = {
12800 (char *) "self",(char *) "self",(char *) "_class", NULL
12801 };
12802
12803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
12804 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12805 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12806 arg2 = obj1;
12807 arg3 = obj2;
12808 {
12809 PyThreadState* __tstate = wxPyBeginAllowThreads();
12810 (arg1)->_setCallbackInfo(arg2,arg3);
12811
12812 wxPyEndAllowThreads(__tstate);
12813 if (PyErr_Occurred()) SWIG_fail;
12814 }
12815 Py_INCREF(Py_None); resultobj = Py_None;
12816 return resultobj;
12817 fail:
12818 return NULL;
12819}
12820
12821
c370783e 12822static PyObject *_wrap_HtmlListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12823 PyObject *resultobj = NULL;
d55e5bfc
RD
12824 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12825 wxWindow *arg2 = (wxWindow *) 0 ;
12826 int arg3 = (int) wxID_ANY ;
12827 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12828 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12829 wxSize const &arg5_defvalue = wxDefaultSize ;
12830 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12831 long arg6 = (long) 0 ;
12832 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
12833 wxString *arg7 = (wxString *) &arg7_defvalue ;
12834 bool result;
12835 wxPoint temp4 ;
12836 wxSize temp5 ;
b411df4a 12837 bool temp7 = false ;
d55e5bfc
RD
12838 PyObject * obj0 = 0 ;
12839 PyObject * obj1 = 0 ;
12840 PyObject * obj2 = 0 ;
12841 PyObject * obj3 = 0 ;
12842 PyObject * obj4 = 0 ;
12843 PyObject * obj5 = 0 ;
12844 PyObject * obj6 = 0 ;
12845 char *kwnames[] = {
12846 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12847 };
12848
12849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
12850 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12851 if (SWIG_arg_fail(1)) SWIG_fail;
12852 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12853 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 12854 if (obj2) {
36ed4f51 12855 {
32fe5131 12856 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
12857 if (SWIG_arg_fail(3)) SWIG_fail;
12858 }
d55e5bfc
RD
12859 }
12860 if (obj3) {
12861 {
12862 arg4 = &temp4;
12863 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12864 }
12865 }
12866 if (obj4) {
12867 {
12868 arg5 = &temp5;
12869 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12870 }
12871 }
12872 if (obj5) {
36ed4f51 12873 {
32fe5131 12874 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
12875 if (SWIG_arg_fail(6)) SWIG_fail;
12876 }
d55e5bfc
RD
12877 }
12878 if (obj6) {
12879 {
12880 arg7 = wxString_in_helper(obj6);
12881 if (arg7 == NULL) SWIG_fail;
b411df4a 12882 temp7 = true;
d55e5bfc
RD
12883 }
12884 }
12885 {
12886 PyThreadState* __tstate = wxPyBeginAllowThreads();
12887 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12888
12889 wxPyEndAllowThreads(__tstate);
12890 if (PyErr_Occurred()) SWIG_fail;
12891 }
12892 {
12893 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12894 }
12895 {
12896 if (temp7)
12897 delete arg7;
12898 }
12899 return resultobj;
12900 fail:
12901 {
12902 if (temp7)
12903 delete arg7;
12904 }
12905 return NULL;
12906}
12907
12908
c370783e 12909static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12910 PyObject *resultobj = NULL;
d55e5bfc
RD
12911 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12912 PyObject * obj0 = 0 ;
12913 char *kwnames[] = {
12914 (char *) "self", NULL
12915 };
12916
12917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
36ed4f51
RD
12918 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12919 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12920 {
12921 PyThreadState* __tstate = wxPyBeginAllowThreads();
12922 (arg1)->RefreshAll();
12923
12924 wxPyEndAllowThreads(__tstate);
12925 if (PyErr_Occurred()) SWIG_fail;
12926 }
12927 Py_INCREF(Py_None); resultobj = Py_None;
12928 return resultobj;
12929 fail:
12930 return NULL;
12931}
12932
12933
c370783e 12934static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12935 PyObject *resultobj = NULL;
d55e5bfc
RD
12936 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12937 size_t arg2 ;
12938 PyObject * obj0 = 0 ;
12939 PyObject * obj1 = 0 ;
12940 char *kwnames[] = {
12941 (char *) "self",(char *) "count", NULL
12942 };
12943
12944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12945 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12946 if (SWIG_arg_fail(1)) SWIG_fail;
12947 {
32fe5131 12948 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
12949 if (SWIG_arg_fail(2)) SWIG_fail;
12950 }
d55e5bfc
RD
12951 {
12952 PyThreadState* __tstate = wxPyBeginAllowThreads();
12953 (arg1)->SetItemCount(arg2);
12954
12955 wxPyEndAllowThreads(__tstate);
12956 if (PyErr_Occurred()) SWIG_fail;
12957 }
12958 Py_INCREF(Py_None); resultobj = Py_None;
12959 return resultobj;
12960 fail:
12961 return NULL;
12962}
12963
12964
c370783e 12965static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12966 PyObject *resultobj = NULL;
d6c14a4c
RD
12967 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12968 wxFileSystem *result;
12969 PyObject * obj0 = 0 ;
12970 char *kwnames[] = {
12971 (char *) "self", NULL
12972 };
12973
12974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail;
36ed4f51
RD
12975 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12976 if (SWIG_arg_fail(1)) SWIG_fail;
d6c14a4c
RD
12977 {
12978 PyThreadState* __tstate = wxPyBeginAllowThreads();
12979 {
12980 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
12981 result = (wxFileSystem *) &_result_ref;
12982 }
12983
12984 wxPyEndAllowThreads(__tstate);
12985 if (PyErr_Occurred()) SWIG_fail;
12986 }
12987 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0);
12988 return resultobj;
12989 fail:
12990 return NULL;
12991}
12992
12993
c370783e 12994static PyObject * HtmlListBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
12995 PyObject *obj;
12996 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12997 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
12998 Py_INCREF(obj);
12999 return Py_BuildValue((char *)"");
13000}
c370783e 13001static PyObject *_wrap_new_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13002 PyObject *resultobj = NULL;
5e483524 13003 wxPyTaskBarIcon *result;
d55e5bfc
RD
13004 char *kwnames[] = {
13005 NULL
13006 };
13007
13008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
13009 {
0439c23b 13010 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 13011 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 13012 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
d55e5bfc
RD
13013
13014 wxPyEndAllowThreads(__tstate);
110da5b0 13015 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 13016 }
5e483524 13017 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTaskBarIcon, 1);
d55e5bfc
RD
13018 return resultobj;
13019 fail:
13020 return NULL;
13021}
13022
13023
5e483524 13024static PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13025 PyObject *resultobj = NULL;
5e483524
RD
13026 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13027 PyObject *arg2 = (PyObject *) 0 ;
13028 PyObject *arg3 = (PyObject *) 0 ;
13029 int arg4 ;
d55e5bfc 13030 PyObject * obj0 = 0 ;
5e483524
RD
13031 PyObject * obj1 = 0 ;
13032 PyObject * obj2 = 0 ;
13033 PyObject * obj3 = 0 ;
d55e5bfc 13034 char *kwnames[] = {
5e483524 13035 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
d55e5bfc
RD
13036 };
13037
5e483524 13038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
13039 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13040 if (SWIG_arg_fail(1)) SWIG_fail;
5e483524
RD
13041 arg2 = obj1;
13042 arg3 = obj2;
36ed4f51 13043 {
32fe5131 13044 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
13045 if (SWIG_arg_fail(4)) SWIG_fail;
13046 }
d55e5bfc
RD
13047 {
13048 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 13049 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
d55e5bfc
RD
13050
13051 wxPyEndAllowThreads(__tstate);
13052 if (PyErr_Occurred()) SWIG_fail;
13053 }
13054 Py_INCREF(Py_None); resultobj = Py_None;
13055 return resultobj;
13056 fail:
13057 return NULL;
13058}
13059
13060
c370783e 13061static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13062 PyObject *resultobj = NULL;
5e483524 13063 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d55e5bfc
RD
13064 PyObject * obj0 = 0 ;
13065 char *kwnames[] = {
13066 (char *) "self", NULL
13067 };
13068
13069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
36ed4f51
RD
13070 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13071 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13072 {
13073 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 13074 wxPyTaskBarIcon_Destroy(arg1);
d55e5bfc
RD
13075
13076 wxPyEndAllowThreads(__tstate);
13077 if (PyErr_Occurred()) SWIG_fail;
13078 }
13079 Py_INCREF(Py_None); resultobj = Py_None;
13080 return resultobj;
13081 fail:
13082 return NULL;
13083}
13084
13085
b411df4a 13086static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13087 PyObject *resultobj = NULL;
5e483524 13088 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
b411df4a
RD
13089 bool result;
13090 PyObject * obj0 = 0 ;
13091 char *kwnames[] = {
13092 (char *) "self", NULL
13093 };
13094
13095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
36ed4f51
RD
13096 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13097 if (SWIG_arg_fail(1)) SWIG_fail;
b411df4a
RD
13098 {
13099 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 13100 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
b411df4a
RD
13101
13102 wxPyEndAllowThreads(__tstate);
13103 if (PyErr_Occurred()) SWIG_fail;
13104 }
13105 {
13106 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13107 }
13108 return resultobj;
13109 fail:
13110 return NULL;
13111}
13112
13113
13114static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13115 PyObject *resultobj = NULL;
5e483524 13116 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
b411df4a
RD
13117 bool result;
13118 PyObject * obj0 = 0 ;
13119 char *kwnames[] = {
13120 (char *) "self", NULL
13121 };
13122
13123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
36ed4f51
RD
13124 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13125 if (SWIG_arg_fail(1)) SWIG_fail;
b411df4a
RD
13126 {
13127 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 13128 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
b411df4a
RD
13129
13130 wxPyEndAllowThreads(__tstate);
13131 if (PyErr_Occurred()) SWIG_fail;
13132 }
13133 {
13134 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13135 }
13136 return resultobj;
13137 fail:
13138 return NULL;
13139}
13140
13141
13142static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13143 PyObject *resultobj = NULL;
5e483524 13144 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
b411df4a
RD
13145 wxIcon *arg2 = 0 ;
13146 wxString const &arg3_defvalue = wxPyEmptyString ;
13147 wxString *arg3 = (wxString *) &arg3_defvalue ;
13148 bool result;
13149 bool temp3 = false ;
13150 PyObject * obj0 = 0 ;
13151 PyObject * obj1 = 0 ;
13152 PyObject * obj2 = 0 ;
13153 char *kwnames[] = {
13154 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
13155 };
13156
13157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
13158 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13159 if (SWIG_arg_fail(1)) SWIG_fail;
13160 {
13161 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
13162 if (SWIG_arg_fail(2)) SWIG_fail;
13163 if (arg2 == NULL) {
13164 SWIG_null_ref("wxIcon");
13165 }
13166 if (SWIG_arg_fail(2)) SWIG_fail;
b411df4a
RD
13167 }
13168 if (obj2) {
13169 {
13170 arg3 = wxString_in_helper(obj2);
13171 if (arg3 == NULL) SWIG_fail;
13172 temp3 = true;
13173 }
13174 }
13175 {
13176 PyThreadState* __tstate = wxPyBeginAllowThreads();
13177 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
13178
13179 wxPyEndAllowThreads(__tstate);
13180 if (PyErr_Occurred()) SWIG_fail;
13181 }
13182 {
13183 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13184 }
13185 {
13186 if (temp3)
13187 delete arg3;
13188 }
13189 return resultobj;
13190 fail:
13191 {
13192 if (temp3)
13193 delete arg3;
13194 }
13195 return NULL;
13196}
13197
13198
13199static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13200 PyObject *resultobj = NULL;
5e483524 13201 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
b411df4a
RD
13202 bool result;
13203 PyObject * obj0 = 0 ;
13204 char *kwnames[] = {
13205 (char *) "self", NULL
13206 };
13207
13208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
36ed4f51
RD
13209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13210 if (SWIG_arg_fail(1)) SWIG_fail;
b411df4a
RD
13211 {
13212 PyThreadState* __tstate = wxPyBeginAllowThreads();
13213 result = (bool)(arg1)->RemoveIcon();
13214
13215 wxPyEndAllowThreads(__tstate);
13216 if (PyErr_Occurred()) SWIG_fail;
13217 }
13218 {
13219 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13220 }
13221 return resultobj;
13222 fail:
13223 return NULL;
13224}
13225
13226
13227static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13228 PyObject *resultobj = NULL;
5e483524 13229 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
b411df4a
RD
13230 wxMenu *arg2 = (wxMenu *) 0 ;
13231 bool result;
13232 PyObject * obj0 = 0 ;
13233 PyObject * obj1 = 0 ;
13234 char *kwnames[] = {
13235 (char *) "self",(char *) "menu", NULL
13236 };
13237
13238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
13239 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13240 if (SWIG_arg_fail(1)) SWIG_fail;
13241 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
13242 if (SWIG_arg_fail(2)) SWIG_fail;
b411df4a
RD
13243 {
13244 PyThreadState* __tstate = wxPyBeginAllowThreads();
13245 result = (bool)(arg1)->PopupMenu(arg2);
13246
13247 wxPyEndAllowThreads(__tstate);
13248 if (PyErr_Occurred()) SWIG_fail;
13249 }
13250 {
13251 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13252 }
13253 return resultobj;
13254 fail:
13255 return NULL;
13256}
13257
13258
c370783e 13259static PyObject * TaskBarIcon_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13260 PyObject *obj;
13261 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5e483524 13262 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon, obj);
d55e5bfc
RD
13263 Py_INCREF(obj);
13264 return Py_BuildValue((char *)"");
13265}
c370783e 13266static PyObject *_wrap_new_TaskBarIconEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13267 PyObject *resultobj = NULL;
d55e5bfc
RD
13268 wxEventType arg1 ;
13269 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
13270 wxTaskBarIconEvent *result;
13271 PyObject * obj0 = 0 ;
13272 PyObject * obj1 = 0 ;
13273 char *kwnames[] = {
13274 (char *) "evtType",(char *) "tbIcon", NULL
13275 };
13276
13277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
36ed4f51 13278 {
32fe5131 13279 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
36ed4f51
RD
13280 if (SWIG_arg_fail(1)) SWIG_fail;
13281 }
13282 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13283 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
13284 {
13285 PyThreadState* __tstate = wxPyBeginAllowThreads();
13286 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
13287
13288 wxPyEndAllowThreads(__tstate);
13289 if (PyErr_Occurred()) SWIG_fail;
13290 }
13291 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
13292 return resultobj;
13293 fail:
13294 return NULL;
13295}
13296
13297
c370783e 13298static PyObject * TaskBarIconEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13299 PyObject *obj;
13300 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13301 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
13302 Py_INCREF(obj);
13303 return Py_BuildValue((char *)"");
13304}
c370783e 13305static int _wrap_FileSelectorPromptStr_set(PyObject *) {
d55e5bfc
RD
13306 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
13307 return 1;
13308}
13309
13310
36ed4f51 13311static PyObject *_wrap_FileSelectorPromptStr_get(void) {
32fe5131 13312 PyObject *pyobj = NULL;
d55e5bfc
RD
13313
13314 {
13315#if wxUSE_UNICODE
13316 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
13317#else
13318 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
13319#endif
13320 }
13321 return pyobj;
13322}
13323
13324
c370783e 13325static int _wrap_DirSelectorPromptStr_set(PyObject *) {
d55e5bfc
RD
13326 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
13327 return 1;
13328}
13329
13330
36ed4f51 13331static PyObject *_wrap_DirSelectorPromptStr_get(void) {
32fe5131 13332 PyObject *pyobj = NULL;
d55e5bfc
RD
13333
13334 {
13335#if wxUSE_UNICODE
13336 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
13337#else
13338 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
13339#endif
13340 }
13341 return pyobj;
13342}
13343
13344
c370783e 13345static int _wrap_DirDialogNameStr_set(PyObject *) {
d55e5bfc
RD
13346 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
13347 return 1;
13348}
13349
13350
36ed4f51 13351static PyObject *_wrap_DirDialogNameStr_get(void) {
32fe5131 13352 PyObject *pyobj = NULL;
d55e5bfc
RD
13353
13354 {
13355#if wxUSE_UNICODE
13356 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
13357#else
13358 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
13359#endif
13360 }
13361 return pyobj;
13362}
13363
13364
c370783e 13365static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
d55e5bfc
RD
13366 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
13367 return 1;
13368}
13369
13370
36ed4f51 13371static PyObject *_wrap_FileSelectorDefaultWildcardStr_get(void) {
32fe5131 13372 PyObject *pyobj = NULL;
d55e5bfc
RD
13373
13374 {
13375#if wxUSE_UNICODE
13376 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
13377#else
13378 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
13379#endif
13380 }
13381 return pyobj;
13382}
13383
13384
c370783e 13385static int _wrap_GetTextFromUserPromptStr_set(PyObject *) {
d55e5bfc
RD
13386 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
13387 return 1;
13388}
13389
13390
36ed4f51 13391static PyObject *_wrap_GetTextFromUserPromptStr_get(void) {
32fe5131 13392 PyObject *pyobj = NULL;
d55e5bfc
RD
13393
13394 {
13395#if wxUSE_UNICODE
13396 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
13397#else
13398 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
13399#endif
13400 }
13401 return pyobj;
13402}
13403
13404
c370783e 13405static int _wrap_MessageBoxCaptionStr_set(PyObject *) {
d55e5bfc
RD
13406 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
13407 return 1;
13408}
13409
13410
36ed4f51 13411static PyObject *_wrap_MessageBoxCaptionStr_get(void) {
32fe5131 13412 PyObject *pyobj = NULL;
d55e5bfc
RD
13413
13414 {
13415#if wxUSE_UNICODE
13416 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
13417#else
13418 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
13419#endif
13420 }
13421 return pyobj;
13422}
13423
13424
c370783e 13425static PyObject *_wrap_new_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13426 PyObject *resultobj = NULL;
d55e5bfc
RD
13427 wxColourData *result;
13428 char *kwnames[] = {
13429 NULL
13430 };
13431
13432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
13433 {
13434 PyThreadState* __tstate = wxPyBeginAllowThreads();
13435 result = (wxColourData *)new wxColourData();
13436
13437 wxPyEndAllowThreads(__tstate);
13438 if (PyErr_Occurred()) SWIG_fail;
13439 }
13440 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
13441 return resultobj;
13442 fail:
13443 return NULL;
13444}
13445
13446
c370783e 13447static PyObject *_wrap_delete_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13448 PyObject *resultobj = NULL;
d55e5bfc
RD
13449 wxColourData *arg1 = (wxColourData *) 0 ;
13450 PyObject * obj0 = 0 ;
13451 char *kwnames[] = {
13452 (char *) "self", NULL
13453 };
13454
13455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
36ed4f51
RD
13456 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13457 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13458 {
13459 PyThreadState* __tstate = wxPyBeginAllowThreads();
13460 delete arg1;
13461
13462 wxPyEndAllowThreads(__tstate);
13463 if (PyErr_Occurred()) SWIG_fail;
13464 }
13465 Py_INCREF(Py_None); resultobj = Py_None;
13466 return resultobj;
13467 fail:
13468 return NULL;
13469}
13470
13471
c370783e 13472static PyObject *_wrap_ColourData_GetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13473 PyObject *resultobj = NULL;
d55e5bfc
RD
13474 wxColourData *arg1 = (wxColourData *) 0 ;
13475 bool result;
13476 PyObject * obj0 = 0 ;
13477 char *kwnames[] = {
13478 (char *) "self", NULL
13479 };
13480
13481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
36ed4f51
RD
13482 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13483 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13484 {
13485 PyThreadState* __tstate = wxPyBeginAllowThreads();
13486 result = (bool)(arg1)->GetChooseFull();
13487
13488 wxPyEndAllowThreads(__tstate);
13489 if (PyErr_Occurred()) SWIG_fail;
13490 }
13491 {
13492 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13493 }
13494 return resultobj;
13495 fail:
13496 return NULL;
13497}
13498
13499
c370783e 13500static PyObject *_wrap_ColourData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13501 PyObject *resultobj = NULL;
d55e5bfc
RD
13502 wxColourData *arg1 = (wxColourData *) 0 ;
13503 wxColour result;
13504 PyObject * obj0 = 0 ;
13505 char *kwnames[] = {
13506 (char *) "self", NULL
13507 };
13508
13509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
13510 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13511 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13512 {
13513 PyThreadState* __tstate = wxPyBeginAllowThreads();
13514 result = (arg1)->GetColour();
13515
13516 wxPyEndAllowThreads(__tstate);
13517 if (PyErr_Occurred()) SWIG_fail;
13518 }
13519 {
13520 wxColour * resultptr;
32fe5131 13521 resultptr = new wxColour(static_cast<wxColour & >(result));
d55e5bfc
RD
13522 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13523 }
13524 return resultobj;
13525 fail:
13526 return NULL;
13527}
13528
13529
c370783e 13530static PyObject *_wrap_ColourData_GetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13531 PyObject *resultobj = NULL;
d55e5bfc
RD
13532 wxColourData *arg1 = (wxColourData *) 0 ;
13533 int arg2 ;
13534 wxColour result;
13535 PyObject * obj0 = 0 ;
13536 PyObject * obj1 = 0 ;
13537 char *kwnames[] = {
13538 (char *) "self",(char *) "i", NULL
13539 };
13540
13541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
13542 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13543 if (SWIG_arg_fail(1)) SWIG_fail;
13544 {
32fe5131 13545 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
13546 if (SWIG_arg_fail(2)) SWIG_fail;
13547 }
d55e5bfc
RD
13548 {
13549 PyThreadState* __tstate = wxPyBeginAllowThreads();
13550 result = (arg1)->GetCustomColour(arg2);
13551
13552 wxPyEndAllowThreads(__tstate);
13553 if (PyErr_Occurred()) SWIG_fail;
13554 }
13555 {
13556 wxColour * resultptr;
32fe5131 13557 resultptr = new wxColour(static_cast<wxColour & >(result));
d55e5bfc
RD
13558 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13559 }
13560 return resultobj;
13561 fail:
13562 return NULL;
13563}
13564
13565
c370783e 13566static PyObject *_wrap_ColourData_SetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13567 PyObject *resultobj = NULL;
d55e5bfc
RD
13568 wxColourData *arg1 = (wxColourData *) 0 ;
13569 int arg2 ;
13570 PyObject * obj0 = 0 ;
13571 PyObject * obj1 = 0 ;
13572 char *kwnames[] = {
13573 (char *) "self",(char *) "flag", NULL
13574 };
13575
13576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
13577 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13578 if (SWIG_arg_fail(1)) SWIG_fail;
13579 {
32fe5131 13580 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
13581 if (SWIG_arg_fail(2)) SWIG_fail;
13582 }
d55e5bfc
RD
13583 {
13584 PyThreadState* __tstate = wxPyBeginAllowThreads();
13585 (arg1)->SetChooseFull(arg2);
13586
13587 wxPyEndAllowThreads(__tstate);
13588 if (PyErr_Occurred()) SWIG_fail;
13589 }
13590 Py_INCREF(Py_None); resultobj = Py_None;
13591 return resultobj;
13592 fail:
13593 return NULL;
13594}
13595
13596
c370783e 13597static PyObject *_wrap_ColourData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13598 PyObject *resultobj = NULL;
d55e5bfc
RD
13599 wxColourData *arg1 = (wxColourData *) 0 ;
13600 wxColour *arg2 = 0 ;
13601 wxColour temp2 ;
13602 PyObject * obj0 = 0 ;
13603 PyObject * obj1 = 0 ;
13604 char *kwnames[] = {
13605 (char *) "self",(char *) "colour", NULL
13606 };
13607
13608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
13609 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13610 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13611 {
13612 arg2 = &temp2;
13613 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13614 }
13615 {
13616 PyThreadState* __tstate = wxPyBeginAllowThreads();
13617 (arg1)->SetColour((wxColour const &)*arg2);
13618
13619 wxPyEndAllowThreads(__tstate);
13620 if (PyErr_Occurred()) SWIG_fail;
13621 }
13622 Py_INCREF(Py_None); resultobj = Py_None;
13623 return resultobj;
13624 fail:
13625 return NULL;
13626}
13627
13628
c370783e 13629static PyObject *_wrap_ColourData_SetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13630 PyObject *resultobj = NULL;
d55e5bfc
RD
13631 wxColourData *arg1 = (wxColourData *) 0 ;
13632 int arg2 ;
13633 wxColour *arg3 = 0 ;
13634 wxColour temp3 ;
13635 PyObject * obj0 = 0 ;
13636 PyObject * obj1 = 0 ;
13637 PyObject * obj2 = 0 ;
13638 char *kwnames[] = {
13639 (char *) "self",(char *) "i",(char *) "colour", NULL
13640 };
13641
13642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
13643 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13644 if (SWIG_arg_fail(1)) SWIG_fail;
13645 {
32fe5131 13646 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
13647 if (SWIG_arg_fail(2)) SWIG_fail;
13648 }
d55e5bfc
RD
13649 {
13650 arg3 = &temp3;
13651 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
13652 }
13653 {
13654 PyThreadState* __tstate = wxPyBeginAllowThreads();
13655 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
13656
13657 wxPyEndAllowThreads(__tstate);
13658 if (PyErr_Occurred()) SWIG_fail;
13659 }
13660 Py_INCREF(Py_None); resultobj = Py_None;
13661 return resultobj;
13662 fail:
13663 return NULL;
13664}
13665
13666
c370783e 13667static PyObject * ColourData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13668 PyObject *obj;
13669 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13670 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
13671 Py_INCREF(obj);
13672 return Py_BuildValue((char *)"");
13673}
c370783e 13674static PyObject *_wrap_new_ColourDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13675 PyObject *resultobj = NULL;
d55e5bfc
RD
13676 wxWindow *arg1 = (wxWindow *) 0 ;
13677 wxColourData *arg2 = (wxColourData *) NULL ;
13678 wxColourDialog *result;
13679 PyObject * obj0 = 0 ;
13680 PyObject * obj1 = 0 ;
13681 char *kwnames[] = {
13682 (char *) "parent",(char *) "data", NULL
13683 };
13684
13685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
13686 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13687 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 13688 if (obj1) {
36ed4f51
RD
13689 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13690 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
13691 }
13692 {
0439c23b 13693 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13694 PyThreadState* __tstate = wxPyBeginAllowThreads();
13695 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
13696
13697 wxPyEndAllowThreads(__tstate);
110da5b0 13698 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13699 }
13700 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
13701 return resultobj;
13702 fail:
13703 return NULL;
13704}
13705
13706
c370783e 13707static PyObject *_wrap_ColourDialog_GetColourData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13708 PyObject *resultobj = NULL;
d55e5bfc
RD
13709 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
13710 wxColourData *result;
13711 PyObject * obj0 = 0 ;
13712 char *kwnames[] = {
13713 (char *) "self", NULL
13714 };
13715
13716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
36ed4f51
RD
13717 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourDialog, SWIG_POINTER_EXCEPTION | 0);
13718 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13719 {
13720 PyThreadState* __tstate = wxPyBeginAllowThreads();
13721 {
13722 wxColourData &_result_ref = (arg1)->GetColourData();
13723 result = (wxColourData *) &_result_ref;
13724 }
13725
13726 wxPyEndAllowThreads(__tstate);
13727 if (PyErr_Occurred()) SWIG_fail;
13728 }
13729 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
13730 return resultobj;
13731 fail:
13732 return NULL;
13733}
13734
13735
c370783e 13736static PyObject * ColourDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13737 PyObject *obj;
13738 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13739 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
13740 Py_INCREF(obj);
13741 return Py_BuildValue((char *)"");
13742}
32fe5131
RD
13743static PyObject *_wrap_GetColourFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
13744 PyObject *resultobj = NULL;
13745 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
13746 wxColour const &arg2_defvalue = wxNullColour ;
13747 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
13748 wxString const &arg3_defvalue = wxPyEmptyString ;
13749 wxString *arg3 = (wxString *) &arg3_defvalue ;
13750 wxColour result;
13751 wxColour temp2 ;
13752 bool temp3 = false ;
13753 PyObject * obj0 = 0 ;
13754 PyObject * obj1 = 0 ;
13755 PyObject * obj2 = 0 ;
13756 char *kwnames[] = {
13757 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
13758 };
13759
13760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) goto fail;
13761 if (obj0) {
13762 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13763 if (SWIG_arg_fail(1)) SWIG_fail;
13764 }
13765 if (obj1) {
13766 {
13767 arg2 = &temp2;
13768 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13769 }
13770 }
13771 if (obj2) {
13772 {
13773 arg3 = wxString_in_helper(obj2);
13774 if (arg3 == NULL) SWIG_fail;
13775 temp3 = true;
13776 }
13777 }
13778 {
13779 PyThreadState* __tstate = wxPyBeginAllowThreads();
13780 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
13781
13782 wxPyEndAllowThreads(__tstate);
13783 if (PyErr_Occurred()) SWIG_fail;
13784 }
13785 {
13786 wxColour * resultptr;
13787 resultptr = new wxColour(static_cast<wxColour & >(result));
13788 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13789 }
13790 {
13791 if (temp3)
13792 delete arg3;
13793 }
13794 return resultobj;
13795 fail:
13796 {
13797 if (temp3)
13798 delete arg3;
13799 }
13800 return NULL;
13801}
13802
13803
c370783e 13804static PyObject *_wrap_new_DirDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13805 PyObject *resultobj = NULL;
d55e5bfc
RD
13806 wxWindow *arg1 = (wxWindow *) 0 ;
13807 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
13808 wxString *arg2 = (wxString *) &arg2_defvalue ;
13809 wxString const &arg3_defvalue = wxPyEmptyString ;
13810 wxString *arg3 = (wxString *) &arg3_defvalue ;
13811 long arg4 = (long) 0 ;
13812 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13813 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13814 wxSize const &arg6_defvalue = wxDefaultSize ;
13815 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13816 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
13817 wxString *arg7 = (wxString *) &arg7_defvalue ;
13818 wxDirDialog *result;
b411df4a
RD
13819 bool temp2 = false ;
13820 bool temp3 = false ;
d55e5bfc
RD
13821 wxPoint temp5 ;
13822 wxSize temp6 ;
b411df4a 13823 bool temp7 = false ;
d55e5bfc
RD
13824 PyObject * obj0 = 0 ;
13825 PyObject * obj1 = 0 ;
13826 PyObject * obj2 = 0 ;
13827 PyObject * obj3 = 0 ;
13828 PyObject * obj4 = 0 ;
13829 PyObject * obj5 = 0 ;
13830 PyObject * obj6 = 0 ;
13831 char *kwnames[] = {
13832 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
13833 };
13834
13835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
13836 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13837 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13838 if (obj1) {
13839 {
13840 arg2 = wxString_in_helper(obj1);
13841 if (arg2 == NULL) SWIG_fail;
b411df4a 13842 temp2 = true;
d55e5bfc
RD
13843 }
13844 }
13845 if (obj2) {
13846 {
13847 arg3 = wxString_in_helper(obj2);
13848 if (arg3 == NULL) SWIG_fail;
b411df4a 13849 temp3 = true;
d55e5bfc
RD
13850 }
13851 }
13852 if (obj3) {
36ed4f51 13853 {
32fe5131 13854 arg4 = static_cast<long >(SWIG_As_long(obj3));
36ed4f51
RD
13855 if (SWIG_arg_fail(4)) SWIG_fail;
13856 }
d55e5bfc
RD
13857 }
13858 if (obj4) {
13859 {
13860 arg5 = &temp5;
13861 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13862 }
13863 }
13864 if (obj5) {
13865 {
13866 arg6 = &temp6;
13867 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13868 }
13869 }
13870 if (obj6) {
13871 {
13872 arg7 = wxString_in_helper(obj6);
13873 if (arg7 == NULL) SWIG_fail;
b411df4a 13874 temp7 = true;
d55e5bfc
RD
13875 }
13876 }
13877 {
0439c23b 13878 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13879 PyThreadState* __tstate = wxPyBeginAllowThreads();
13880 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
13881
13882 wxPyEndAllowThreads(__tstate);
110da5b0 13883 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13884 }
13885 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
13886 {
13887 if (temp2)
13888 delete arg2;
13889 }
13890 {
13891 if (temp3)
13892 delete arg3;
13893 }
13894 {
13895 if (temp7)
13896 delete arg7;
13897 }
13898 return resultobj;
13899 fail:
13900 {
13901 if (temp2)
13902 delete arg2;
13903 }
13904 {
13905 if (temp3)
13906 delete arg3;
13907 }
13908 {
13909 if (temp7)
13910 delete arg7;
13911 }
13912 return NULL;
13913}
13914
13915
c370783e 13916static PyObject *_wrap_DirDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13917 PyObject *resultobj = NULL;
d55e5bfc
RD
13918 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13919 wxString result;
13920 PyObject * obj0 = 0 ;
13921 char *kwnames[] = {
13922 (char *) "self", NULL
13923 };
13924
13925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
36ed4f51
RD
13926 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13927 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13928 {
13929 PyThreadState* __tstate = wxPyBeginAllowThreads();
13930 result = (arg1)->GetPath();
13931
13932 wxPyEndAllowThreads(__tstate);
13933 if (PyErr_Occurred()) SWIG_fail;
13934 }
13935 {
13936#if wxUSE_UNICODE
13937 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13938#else
13939 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13940#endif
13941 }
13942 return resultobj;
13943 fail:
13944 return NULL;
13945}
13946
13947
c370783e 13948static PyObject *_wrap_DirDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13949 PyObject *resultobj = NULL;
d55e5bfc
RD
13950 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13951 wxString result;
13952 PyObject * obj0 = 0 ;
13953 char *kwnames[] = {
13954 (char *) "self", NULL
13955 };
13956
13957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
36ed4f51
RD
13958 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13959 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13960 {
13961 PyThreadState* __tstate = wxPyBeginAllowThreads();
13962 result = (arg1)->GetMessage();
13963
13964 wxPyEndAllowThreads(__tstate);
13965 if (PyErr_Occurred()) SWIG_fail;
13966 }
13967 {
13968#if wxUSE_UNICODE
13969 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13970#else
13971 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13972#endif
13973 }
13974 return resultobj;
13975 fail:
13976 return NULL;
13977}
13978
13979
c370783e 13980static PyObject *_wrap_DirDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13981 PyObject *resultobj = NULL;
d55e5bfc
RD
13982 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13983 long result;
13984 PyObject * obj0 = 0 ;
13985 char *kwnames[] = {
13986 (char *) "self", NULL
13987 };
13988
13989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
36ed4f51
RD
13990 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13991 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13992 {
13993 PyThreadState* __tstate = wxPyBeginAllowThreads();
13994 result = (long)(arg1)->GetStyle();
13995
13996 wxPyEndAllowThreads(__tstate);
13997 if (PyErr_Occurred()) SWIG_fail;
13998 }
36ed4f51 13999 {
32fe5131 14000 resultobj = SWIG_From_long(static_cast<long >(result));
36ed4f51 14001 }
d55e5bfc
RD
14002 return resultobj;
14003 fail:
14004 return NULL;
14005}
14006
14007
c370783e 14008static PyObject *_wrap_DirDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14009 PyObject *resultobj = NULL;
d55e5bfc
RD
14010 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
14011 wxString *arg2 = 0 ;
b411df4a 14012 bool temp2 = false ;
d55e5bfc
RD
14013 PyObject * obj0 = 0 ;
14014 PyObject * obj1 = 0 ;
14015 char *kwnames[] = {
14016 (char *) "self",(char *) "message", NULL
14017 };
14018
14019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14020 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
14021 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14022 {
14023 arg2 = wxString_in_helper(obj1);
14024 if (arg2 == NULL) SWIG_fail;
b411df4a 14025 temp2 = true;
d55e5bfc
RD
14026 }
14027 {
14028 PyThreadState* __tstate = wxPyBeginAllowThreads();
14029 (arg1)->SetMessage((wxString const &)*arg2);
14030
14031 wxPyEndAllowThreads(__tstate);
14032 if (PyErr_Occurred()) SWIG_fail;
14033 }
14034 Py_INCREF(Py_None); resultobj = Py_None;
14035 {
14036 if (temp2)
14037 delete arg2;
14038 }
14039 return resultobj;
14040 fail:
14041 {
14042 if (temp2)
14043 delete arg2;
14044 }
14045 return NULL;
14046}
14047
14048
c370783e 14049static PyObject *_wrap_DirDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14050 PyObject *resultobj = NULL;
d55e5bfc
RD
14051 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
14052 wxString *arg2 = 0 ;
b411df4a 14053 bool temp2 = false ;
d55e5bfc
RD
14054 PyObject * obj0 = 0 ;
14055 PyObject * obj1 = 0 ;
14056 char *kwnames[] = {
14057 (char *) "self",(char *) "path", NULL
14058 };
14059
14060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14061 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
14062 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14063 {
14064 arg2 = wxString_in_helper(obj1);
14065 if (arg2 == NULL) SWIG_fail;
b411df4a 14066 temp2 = true;
d55e5bfc
RD
14067 }
14068 {
14069 PyThreadState* __tstate = wxPyBeginAllowThreads();
14070 (arg1)->SetPath((wxString const &)*arg2);
14071
14072 wxPyEndAllowThreads(__tstate);
14073 if (PyErr_Occurred()) SWIG_fail;
14074 }
14075 Py_INCREF(Py_None); resultobj = Py_None;
14076 {
14077 if (temp2)
14078 delete arg2;
14079 }
14080 return resultobj;
14081 fail:
14082 {
14083 if (temp2)
14084 delete arg2;
14085 }
14086 return NULL;
14087}
14088
14089
c370783e 14090static PyObject * DirDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14091 PyObject *obj;
14092 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14093 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
14094 Py_INCREF(obj);
14095 return Py_BuildValue((char *)"");
14096}
c370783e 14097static PyObject *_wrap_new_FileDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14098 PyObject *resultobj = NULL;
d55e5bfc
RD
14099 wxWindow *arg1 = (wxWindow *) 0 ;
14100 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
14101 wxString *arg2 = (wxString *) &arg2_defvalue ;
14102 wxString const &arg3_defvalue = wxPyEmptyString ;
14103 wxString *arg3 = (wxString *) &arg3_defvalue ;
14104 wxString const &arg4_defvalue = wxPyEmptyString ;
14105 wxString *arg4 = (wxString *) &arg4_defvalue ;
14106 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
14107 wxString *arg5 = (wxString *) &arg5_defvalue ;
14108 long arg6 = (long) 0 ;
14109 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14110 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14111 wxFileDialog *result;
b411df4a
RD
14112 bool temp2 = false ;
14113 bool temp3 = false ;
14114 bool temp4 = false ;
14115 bool temp5 = false ;
d55e5bfc
RD
14116 wxPoint temp7 ;
14117 PyObject * obj0 = 0 ;
14118 PyObject * obj1 = 0 ;
14119 PyObject * obj2 = 0 ;
14120 PyObject * obj3 = 0 ;
14121 PyObject * obj4 = 0 ;
14122 PyObject * obj5 = 0 ;
14123 PyObject * obj6 = 0 ;
14124 char *kwnames[] = {
14125 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
14126 };
14127
14128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
14129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14130 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14131 if (obj1) {
14132 {
14133 arg2 = wxString_in_helper(obj1);
14134 if (arg2 == NULL) SWIG_fail;
b411df4a 14135 temp2 = true;
d55e5bfc
RD
14136 }
14137 }
14138 if (obj2) {
14139 {
14140 arg3 = wxString_in_helper(obj2);
14141 if (arg3 == NULL) SWIG_fail;
b411df4a 14142 temp3 = true;
d55e5bfc
RD
14143 }
14144 }
14145 if (obj3) {
14146 {
14147 arg4 = wxString_in_helper(obj3);
14148 if (arg4 == NULL) SWIG_fail;
b411df4a 14149 temp4 = true;
d55e5bfc
RD
14150 }
14151 }
14152 if (obj4) {
14153 {
14154 arg5 = wxString_in_helper(obj4);
14155 if (arg5 == NULL) SWIG_fail;
b411df4a 14156 temp5 = true;
d55e5bfc
RD
14157 }
14158 }
14159 if (obj5) {
36ed4f51 14160 {
32fe5131 14161 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
14162 if (SWIG_arg_fail(6)) SWIG_fail;
14163 }
d55e5bfc
RD
14164 }
14165 if (obj6) {
14166 {
14167 arg7 = &temp7;
14168 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
14169 }
14170 }
14171 {
0439c23b 14172 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14173 PyThreadState* __tstate = wxPyBeginAllowThreads();
14174 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
14175
14176 wxPyEndAllowThreads(__tstate);
110da5b0 14177 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14178 }
14179 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
14180 {
14181 if (temp2)
14182 delete arg2;
14183 }
14184 {
14185 if (temp3)
14186 delete arg3;
14187 }
14188 {
14189 if (temp4)
14190 delete arg4;
14191 }
14192 {
14193 if (temp5)
14194 delete arg5;
14195 }
14196 return resultobj;
14197 fail:
14198 {
14199 if (temp2)
14200 delete arg2;
14201 }
14202 {
14203 if (temp3)
14204 delete arg3;
14205 }
14206 {
14207 if (temp4)
14208 delete arg4;
14209 }
14210 {
14211 if (temp5)
14212 delete arg5;
14213 }
14214 return NULL;
14215}
14216
14217
c370783e 14218static PyObject *_wrap_FileDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14219 PyObject *resultobj = NULL;
d55e5bfc
RD
14220 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14221 wxString *arg2 = 0 ;
b411df4a 14222 bool temp2 = false ;
d55e5bfc
RD
14223 PyObject * obj0 = 0 ;
14224 PyObject * obj1 = 0 ;
14225 char *kwnames[] = {
14226 (char *) "self",(char *) "message", NULL
14227 };
14228
14229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14230 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14231 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14232 {
14233 arg2 = wxString_in_helper(obj1);
14234 if (arg2 == NULL) SWIG_fail;
b411df4a 14235 temp2 = true;
d55e5bfc
RD
14236 }
14237 {
14238 PyThreadState* __tstate = wxPyBeginAllowThreads();
14239 (arg1)->SetMessage((wxString const &)*arg2);
14240
14241 wxPyEndAllowThreads(__tstate);
14242 if (PyErr_Occurred()) SWIG_fail;
14243 }
14244 Py_INCREF(Py_None); resultobj = Py_None;
14245 {
14246 if (temp2)
14247 delete arg2;
14248 }
14249 return resultobj;
14250 fail:
14251 {
14252 if (temp2)
14253 delete arg2;
14254 }
14255 return NULL;
14256}
14257
14258
c370783e 14259static PyObject *_wrap_FileDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14260 PyObject *resultobj = NULL;
d55e5bfc
RD
14261 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14262 wxString *arg2 = 0 ;
b411df4a 14263 bool temp2 = false ;
d55e5bfc
RD
14264 PyObject * obj0 = 0 ;
14265 PyObject * obj1 = 0 ;
14266 char *kwnames[] = {
14267 (char *) "self",(char *) "path", NULL
14268 };
14269
14270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14271 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14272 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14273 {
14274 arg2 = wxString_in_helper(obj1);
14275 if (arg2 == NULL) SWIG_fail;
b411df4a 14276 temp2 = true;
d55e5bfc
RD
14277 }
14278 {
14279 PyThreadState* __tstate = wxPyBeginAllowThreads();
14280 (arg1)->SetPath((wxString const &)*arg2);
14281
14282 wxPyEndAllowThreads(__tstate);
14283 if (PyErr_Occurred()) SWIG_fail;
14284 }
14285 Py_INCREF(Py_None); resultobj = Py_None;
14286 {
14287 if (temp2)
14288 delete arg2;
14289 }
14290 return resultobj;
14291 fail:
14292 {
14293 if (temp2)
14294 delete arg2;
14295 }
14296 return NULL;
14297}
14298
14299
c370783e 14300static PyObject *_wrap_FileDialog_SetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14301 PyObject *resultobj = NULL;
d55e5bfc
RD
14302 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14303 wxString *arg2 = 0 ;
b411df4a 14304 bool temp2 = false ;
d55e5bfc
RD
14305 PyObject * obj0 = 0 ;
14306 PyObject * obj1 = 0 ;
14307 char *kwnames[] = {
14308 (char *) "self",(char *) "dir", NULL
14309 };
14310
14311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14312 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14313 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14314 {
14315 arg2 = wxString_in_helper(obj1);
14316 if (arg2 == NULL) SWIG_fail;
b411df4a 14317 temp2 = true;
d55e5bfc
RD
14318 }
14319 {
14320 PyThreadState* __tstate = wxPyBeginAllowThreads();
14321 (arg1)->SetDirectory((wxString const &)*arg2);
14322
14323 wxPyEndAllowThreads(__tstate);
14324 if (PyErr_Occurred()) SWIG_fail;
14325 }
14326 Py_INCREF(Py_None); resultobj = Py_None;
14327 {
14328 if (temp2)
14329 delete arg2;
14330 }
14331 return resultobj;
14332 fail:
14333 {
14334 if (temp2)
14335 delete arg2;
14336 }
14337 return NULL;
14338}
14339
14340
c370783e 14341static PyObject *_wrap_FileDialog_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14342 PyObject *resultobj = NULL;
d55e5bfc
RD
14343 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14344 wxString *arg2 = 0 ;
b411df4a 14345 bool temp2 = false ;
d55e5bfc
RD
14346 PyObject * obj0 = 0 ;
14347 PyObject * obj1 = 0 ;
14348 char *kwnames[] = {
14349 (char *) "self",(char *) "name", NULL
14350 };
14351
14352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14353 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14354 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14355 {
14356 arg2 = wxString_in_helper(obj1);
14357 if (arg2 == NULL) SWIG_fail;
b411df4a 14358 temp2 = true;
d55e5bfc
RD
14359 }
14360 {
14361 PyThreadState* __tstate = wxPyBeginAllowThreads();
14362 (arg1)->SetFilename((wxString const &)*arg2);
14363
14364 wxPyEndAllowThreads(__tstate);
14365 if (PyErr_Occurred()) SWIG_fail;
14366 }
14367 Py_INCREF(Py_None); resultobj = Py_None;
14368 {
14369 if (temp2)
14370 delete arg2;
14371 }
14372 return resultobj;
14373 fail:
14374 {
14375 if (temp2)
14376 delete arg2;
14377 }
14378 return NULL;
14379}
14380
14381
c370783e 14382static PyObject *_wrap_FileDialog_SetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14383 PyObject *resultobj = NULL;
d55e5bfc
RD
14384 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14385 wxString *arg2 = 0 ;
b411df4a 14386 bool temp2 = false ;
d55e5bfc
RD
14387 PyObject * obj0 = 0 ;
14388 PyObject * obj1 = 0 ;
14389 char *kwnames[] = {
14390 (char *) "self",(char *) "wildCard", NULL
14391 };
14392
14393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14394 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14395 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14396 {
14397 arg2 = wxString_in_helper(obj1);
14398 if (arg2 == NULL) SWIG_fail;
b411df4a 14399 temp2 = true;
d55e5bfc
RD
14400 }
14401 {
14402 PyThreadState* __tstate = wxPyBeginAllowThreads();
14403 (arg1)->SetWildcard((wxString const &)*arg2);
14404
14405 wxPyEndAllowThreads(__tstate);
14406 if (PyErr_Occurred()) SWIG_fail;
14407 }
14408 Py_INCREF(Py_None); resultobj = Py_None;
14409 {
14410 if (temp2)
14411 delete arg2;
14412 }
14413 return resultobj;
14414 fail:
14415 {
14416 if (temp2)
14417 delete arg2;
14418 }
14419 return NULL;
14420}
14421
14422
c370783e 14423static PyObject *_wrap_FileDialog_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14424 PyObject *resultobj = NULL;
d55e5bfc
RD
14425 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14426 long arg2 ;
14427 PyObject * obj0 = 0 ;
14428 PyObject * obj1 = 0 ;
14429 char *kwnames[] = {
14430 (char *) "self",(char *) "style", NULL
14431 };
14432
14433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14435 if (SWIG_arg_fail(1)) SWIG_fail;
14436 {
32fe5131 14437 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
14438 if (SWIG_arg_fail(2)) SWIG_fail;
14439 }
d55e5bfc
RD
14440 {
14441 PyThreadState* __tstate = wxPyBeginAllowThreads();
14442 (arg1)->SetStyle(arg2);
14443
14444 wxPyEndAllowThreads(__tstate);
14445 if (PyErr_Occurred()) SWIG_fail;
14446 }
14447 Py_INCREF(Py_None); resultobj = Py_None;
14448 return resultobj;
14449 fail:
14450 return NULL;
14451}
14452
14453
c370783e 14454static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14455 PyObject *resultobj = NULL;
d55e5bfc
RD
14456 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14457 int arg2 ;
14458 PyObject * obj0 = 0 ;
14459 PyObject * obj1 = 0 ;
14460 char *kwnames[] = {
14461 (char *) "self",(char *) "filterIndex", NULL
14462 };
14463
14464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14465 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14466 if (SWIG_arg_fail(1)) SWIG_fail;
14467 {
32fe5131 14468 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
14469 if (SWIG_arg_fail(2)) SWIG_fail;
14470 }
d55e5bfc
RD
14471 {
14472 PyThreadState* __tstate = wxPyBeginAllowThreads();
14473 (arg1)->SetFilterIndex(arg2);
14474
14475 wxPyEndAllowThreads(__tstate);
14476 if (PyErr_Occurred()) SWIG_fail;
14477 }
14478 Py_INCREF(Py_None); resultobj = Py_None;
14479 return resultobj;
14480 fail:
14481 return NULL;
14482}
14483
14484
c370783e 14485static PyObject *_wrap_FileDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14486 PyObject *resultobj = NULL;
d55e5bfc
RD
14487 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14488 wxString result;
14489 PyObject * obj0 = 0 ;
14490 char *kwnames[] = {
14491 (char *) "self", NULL
14492 };
14493
14494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
36ed4f51
RD
14495 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14496 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14497 {
14498 PyThreadState* __tstate = wxPyBeginAllowThreads();
14499 result = ((wxFileDialog const *)arg1)->GetMessage();
14500
14501 wxPyEndAllowThreads(__tstate);
14502 if (PyErr_Occurred()) SWIG_fail;
14503 }
14504 {
14505#if wxUSE_UNICODE
14506 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14507#else
14508 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14509#endif
14510 }
14511 return resultobj;
14512 fail:
14513 return NULL;
14514}
14515
14516
c370783e 14517static PyObject *_wrap_FileDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14518 PyObject *resultobj = NULL;
d55e5bfc
RD
14519 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14520 wxString result;
14521 PyObject * obj0 = 0 ;
14522 char *kwnames[] = {
14523 (char *) "self", NULL
14524 };
14525
14526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
36ed4f51
RD
14527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14528 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14529 {
14530 PyThreadState* __tstate = wxPyBeginAllowThreads();
14531 result = ((wxFileDialog const *)arg1)->GetPath();
14532
14533 wxPyEndAllowThreads(__tstate);
14534 if (PyErr_Occurred()) SWIG_fail;
14535 }
14536 {
14537#if wxUSE_UNICODE
14538 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14539#else
14540 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14541#endif
14542 }
14543 return resultobj;
14544 fail:
14545 return NULL;
14546}
14547
14548
c370783e 14549static PyObject *_wrap_FileDialog_GetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14550 PyObject *resultobj = NULL;
d55e5bfc
RD
14551 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14552 wxString result;
14553 PyObject * obj0 = 0 ;
14554 char *kwnames[] = {
14555 (char *) "self", NULL
14556 };
14557
14558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
36ed4f51
RD
14559 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14560 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14561 {
14562 PyThreadState* __tstate = wxPyBeginAllowThreads();
14563 result = ((wxFileDialog const *)arg1)->GetDirectory();
14564
14565 wxPyEndAllowThreads(__tstate);
14566 if (PyErr_Occurred()) SWIG_fail;
14567 }
14568 {
14569#if wxUSE_UNICODE
14570 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14571#else
14572 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14573#endif
14574 }
14575 return resultobj;
14576 fail:
14577 return NULL;
14578}
14579
14580
c370783e 14581static PyObject *_wrap_FileDialog_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14582 PyObject *resultobj = NULL;
d55e5bfc
RD
14583 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14584 wxString result;
14585 PyObject * obj0 = 0 ;
14586 char *kwnames[] = {
14587 (char *) "self", NULL
14588 };
14589
14590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
36ed4f51
RD
14591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14592 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14593 {
14594 PyThreadState* __tstate = wxPyBeginAllowThreads();
14595 result = ((wxFileDialog const *)arg1)->GetFilename();
14596
14597 wxPyEndAllowThreads(__tstate);
14598 if (PyErr_Occurred()) SWIG_fail;
14599 }
14600 {
14601#if wxUSE_UNICODE
14602 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14603#else
14604 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14605#endif
14606 }
14607 return resultobj;
14608 fail:
14609 return NULL;
14610}
14611
14612
c370783e 14613static PyObject *_wrap_FileDialog_GetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14614 PyObject *resultobj = NULL;
d55e5bfc
RD
14615 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14616 wxString result;
14617 PyObject * obj0 = 0 ;
14618 char *kwnames[] = {
14619 (char *) "self", NULL
14620 };
14621
14622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
36ed4f51
RD
14623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14624 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14625 {
14626 PyThreadState* __tstate = wxPyBeginAllowThreads();
14627 result = ((wxFileDialog const *)arg1)->GetWildcard();
14628
14629 wxPyEndAllowThreads(__tstate);
14630 if (PyErr_Occurred()) SWIG_fail;
14631 }
14632 {
14633#if wxUSE_UNICODE
14634 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14635#else
14636 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14637#endif
14638 }
14639 return resultobj;
14640 fail:
14641 return NULL;
14642}
14643
14644
c370783e 14645static PyObject *_wrap_FileDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14646 PyObject *resultobj = NULL;
d55e5bfc
RD
14647 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14648 long result;
14649 PyObject * obj0 = 0 ;
14650 char *kwnames[] = {
14651 (char *) "self", NULL
14652 };
14653
14654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
36ed4f51
RD
14655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14656 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14657 {
14658 PyThreadState* __tstate = wxPyBeginAllowThreads();
14659 result = (long)((wxFileDialog const *)arg1)->GetStyle();
14660
14661 wxPyEndAllowThreads(__tstate);
14662 if (PyErr_Occurred()) SWIG_fail;
14663 }
36ed4f51 14664 {
32fe5131 14665 resultobj = SWIG_From_long(static_cast<long >(result));
36ed4f51 14666 }
d55e5bfc
RD
14667 return resultobj;
14668 fail:
14669 return NULL;
14670}
14671
14672
c370783e 14673static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14674 PyObject *resultobj = NULL;
d55e5bfc
RD
14675 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14676 int result;
14677 PyObject * obj0 = 0 ;
14678 char *kwnames[] = {
14679 (char *) "self", NULL
14680 };
14681
14682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
36ed4f51
RD
14683 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14684 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14685 {
14686 PyThreadState* __tstate = wxPyBeginAllowThreads();
14687 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
14688
14689 wxPyEndAllowThreads(__tstate);
14690 if (PyErr_Occurred()) SWIG_fail;
14691 }
36ed4f51 14692 {
32fe5131 14693 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 14694 }
d55e5bfc
RD
14695 return resultobj;
14696 fail:
14697 return NULL;
14698}
14699
14700
c370783e 14701static PyObject *_wrap_FileDialog_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14702 PyObject *resultobj = NULL;
d55e5bfc
RD
14703 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14704 PyObject *result;
14705 PyObject * obj0 = 0 ;
14706 char *kwnames[] = {
14707 (char *) "self", NULL
14708 };
14709
14710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
36ed4f51
RD
14711 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14712 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14713 {
14714 PyThreadState* __tstate = wxPyBeginAllowThreads();
14715 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
14716
14717 wxPyEndAllowThreads(__tstate);
14718 if (PyErr_Occurred()) SWIG_fail;
14719 }
14720 resultobj = result;
14721 return resultobj;
14722 fail:
14723 return NULL;
14724}
14725
14726
c370783e 14727static PyObject *_wrap_FileDialog_GetPaths(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14728 PyObject *resultobj = NULL;
d55e5bfc
RD
14729 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14730 PyObject *result;
14731 PyObject * obj0 = 0 ;
14732 char *kwnames[] = {
14733 (char *) "self", NULL
14734 };
14735
14736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
36ed4f51
RD
14737 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14738 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14739 {
14740 PyThreadState* __tstate = wxPyBeginAllowThreads();
14741 result = (PyObject *)wxFileDialog_GetPaths(arg1);
14742
14743 wxPyEndAllowThreads(__tstate);
14744 if (PyErr_Occurred()) SWIG_fail;
14745 }
14746 resultobj = result;
14747 return resultobj;
14748 fail:
14749 return NULL;
14750}
14751
14752
c370783e 14753static PyObject * FileDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14754 PyObject *obj;
14755 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14756 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
14757 Py_INCREF(obj);
14758 return Py_BuildValue((char *)"");
14759}
c370783e 14760static PyObject *_wrap_new_MultiChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14761 PyObject *resultobj = NULL;
d55e5bfc
RD
14762 wxWindow *arg1 = (wxWindow *) 0 ;
14763 wxString *arg2 = 0 ;
14764 wxString *arg3 = 0 ;
14765 int arg4 = (int) 0 ;
bfddbb17 14766 wxString *arg5 = (wxString *) NULL ;
d55e5bfc
RD
14767 long arg6 = (long) wxCHOICEDLG_STYLE ;
14768 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14769 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14770 wxMultiChoiceDialog *result;
b411df4a
RD
14771 bool temp2 = false ;
14772 bool temp3 = false ;
36ed4f51 14773 wxPoint temp7 ;
d55e5bfc
RD
14774 PyObject * obj0 = 0 ;
14775 PyObject * obj1 = 0 ;
14776 PyObject * obj2 = 0 ;
14777 PyObject * obj3 = 0 ;
14778 PyObject * obj4 = 0 ;
14779 PyObject * obj5 = 0 ;
14780 char *kwnames[] = {
14781 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14782 };
14783
14784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
14785 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14786 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14787 {
14788 arg2 = wxString_in_helper(obj1);
14789 if (arg2 == NULL) SWIG_fail;
b411df4a 14790 temp2 = true;
d55e5bfc
RD
14791 }
14792 {
14793 arg3 = wxString_in_helper(obj2);
14794 if (arg3 == NULL) SWIG_fail;
b411df4a 14795 temp3 = true;
d55e5bfc
RD
14796 }
14797 if (obj3) {
14798 {
14799 arg4 = PyList_Size(obj3);
14800 arg5 = wxString_LIST_helper(obj3);
14801 if (arg5 == NULL) SWIG_fail;
14802 }
14803 }
14804 if (obj4) {
36ed4f51 14805 {
32fe5131 14806 arg6 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
14807 if (SWIG_arg_fail(6)) SWIG_fail;
14808 }
d55e5bfc
RD
14809 }
14810 if (obj5) {
14811 {
36ed4f51 14812 arg7 = &temp7;
d55e5bfc
RD
14813 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
14814 }
14815 }
14816 {
0439c23b 14817 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14818 PyThreadState* __tstate = wxPyBeginAllowThreads();
14819 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
14820
14821 wxPyEndAllowThreads(__tstate);
110da5b0 14822 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14823 }
14824 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
14825 {
14826 if (temp2)
14827 delete arg2;
14828 }
14829 {
14830 if (temp3)
14831 delete arg3;
14832 }
14833 {
14834 if (arg5) delete [] arg5;
14835 }
14836 return resultobj;
14837 fail:
14838 {
14839 if (temp2)
14840 delete arg2;
14841 }
14842 {
14843 if (temp3)
14844 delete arg3;
14845 }
14846 {
14847 if (arg5) delete [] arg5;
14848 }
14849 return NULL;
14850}
14851
14852
c370783e 14853static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14854 PyObject *resultobj = NULL;
d55e5bfc
RD
14855 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
14856 wxArrayInt *arg2 = 0 ;
b411df4a 14857 bool temp2 = false ;
d55e5bfc
RD
14858 PyObject * obj0 = 0 ;
14859 PyObject * obj1 = 0 ;
14860 char *kwnames[] = {
14861 (char *) "self",(char *) "selections", NULL
14862 };
14863
14864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14865 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14866 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14867 {
14868 if (! PySequence_Check(obj1)) {
14869 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
14870 SWIG_fail;
14871 }
14872 arg2 = new wxArrayInt;
b411df4a 14873 temp2 = true;
d55e5bfc
RD
14874 int i, len=PySequence_Length(obj1);
14875 for (i=0; i<len; i++) {
14876 PyObject* item = PySequence_GetItem(obj1, i);
14877 PyObject* number = PyNumber_Int(item);
14878 arg2->Add(PyInt_AS_LONG(number));
14879 Py_DECREF(item);
14880 Py_DECREF(number);
14881 }
14882 }
14883 {
14884 PyThreadState* __tstate = wxPyBeginAllowThreads();
14885 (arg1)->SetSelections((wxArrayInt const &)*arg2);
14886
14887 wxPyEndAllowThreads(__tstate);
14888 if (PyErr_Occurred()) SWIG_fail;
14889 }
14890 Py_INCREF(Py_None); resultobj = Py_None;
14891 {
14892 if (temp2) delete arg2;
14893 }
14894 return resultobj;
14895 fail:
14896 {
14897 if (temp2) delete arg2;
14898 }
14899 return NULL;
14900}
14901
14902
c370783e 14903static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14904 PyObject *resultobj = NULL;
d55e5bfc
RD
14905 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
14906 PyObject *result;
14907 PyObject * obj0 = 0 ;
14908 char *kwnames[] = {
14909 (char *) "self", NULL
14910 };
14911
14912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
36ed4f51
RD
14913 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14914 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14915 {
14916 PyThreadState* __tstate = wxPyBeginAllowThreads();
14917 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
14918
14919 wxPyEndAllowThreads(__tstate);
14920 if (PyErr_Occurred()) SWIG_fail;
14921 }
14922 resultobj = result;
14923 return resultobj;
14924 fail:
14925 return NULL;
14926}
14927
14928
c370783e 14929static PyObject * MultiChoiceDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14930 PyObject *obj;
14931 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14932 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
14933 Py_INCREF(obj);
14934 return Py_BuildValue((char *)"");
14935}
c370783e 14936static PyObject *_wrap_new_SingleChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14937 PyObject *resultobj = NULL;
d55e5bfc
RD
14938 wxWindow *arg1 = (wxWindow *) 0 ;
14939 wxString *arg2 = 0 ;
14940 wxString *arg3 = 0 ;
14941 int arg4 ;
14942 wxString *arg5 = (wxString *) 0 ;
14943 long arg6 = (long) wxCHOICEDLG_STYLE ;
14944 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14945 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14946 wxSingleChoiceDialog *result;
b411df4a
RD
14947 bool temp2 = false ;
14948 bool temp3 = false ;
36ed4f51 14949 wxPoint temp7 ;
d55e5bfc
RD
14950 PyObject * obj0 = 0 ;
14951 PyObject * obj1 = 0 ;
14952 PyObject * obj2 = 0 ;
14953 PyObject * obj3 = 0 ;
14954 PyObject * obj4 = 0 ;
14955 PyObject * obj5 = 0 ;
14956 char *kwnames[] = {
14957 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14958 };
14959
14960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
14961 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14962 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14963 {
14964 arg2 = wxString_in_helper(obj1);
14965 if (arg2 == NULL) SWIG_fail;
b411df4a 14966 temp2 = true;
d55e5bfc
RD
14967 }
14968 {
14969 arg3 = wxString_in_helper(obj2);
14970 if (arg3 == NULL) SWIG_fail;
b411df4a 14971 temp3 = true;
d55e5bfc
RD
14972 }
14973 {
14974 arg4 = PyList_Size(obj3);
14975 arg5 = wxString_LIST_helper(obj3);
14976 if (arg5 == NULL) SWIG_fail;
14977 }
14978 if (obj4) {
36ed4f51 14979 {
32fe5131 14980 arg6 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
14981 if (SWIG_arg_fail(6)) SWIG_fail;
14982 }
d55e5bfc
RD
14983 }
14984 if (obj5) {
14985 {
36ed4f51 14986 arg7 = &temp7;
d55e5bfc
RD
14987 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
14988 }
14989 }
14990 {
0439c23b 14991 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14992 PyThreadState* __tstate = wxPyBeginAllowThreads();
14993 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
14994
14995 wxPyEndAllowThreads(__tstate);
110da5b0 14996 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14997 }
14998 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
14999 {
15000 if (temp2)
15001 delete arg2;
15002 }
15003 {
15004 if (temp3)
15005 delete arg3;
15006 }
15007 {
15008 if (arg5) delete [] arg5;
15009 }
15010 return resultobj;
15011 fail:
15012 {
15013 if (temp2)
15014 delete arg2;
15015 }
15016 {
15017 if (temp3)
15018 delete arg3;
15019 }
15020 {
15021 if (arg5) delete [] arg5;
15022 }
15023 return NULL;
15024}
15025
15026
c370783e 15027static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15028 PyObject *resultobj = NULL;
d55e5bfc
RD
15029 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
15030 int result;
15031 PyObject * obj0 = 0 ;
15032 char *kwnames[] = {
15033 (char *) "self", NULL
15034 };
15035
15036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
15037 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
15038 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15039 {
15040 PyThreadState* __tstate = wxPyBeginAllowThreads();
15041 result = (int)(arg1)->GetSelection();
15042
15043 wxPyEndAllowThreads(__tstate);
15044 if (PyErr_Occurred()) SWIG_fail;
15045 }
36ed4f51 15046 {
32fe5131 15047 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 15048 }
d55e5bfc
RD
15049 return resultobj;
15050 fail:
15051 return NULL;
15052}
15053
15054
c370783e 15055static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15056 PyObject *resultobj = NULL;
d55e5bfc
RD
15057 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
15058 wxString result;
15059 PyObject * obj0 = 0 ;
15060 char *kwnames[] = {
15061 (char *) "self", NULL
15062 };
15063
15064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
15065 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
15066 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15067 {
15068 PyThreadState* __tstate = wxPyBeginAllowThreads();
15069 result = (arg1)->GetStringSelection();
15070
15071 wxPyEndAllowThreads(__tstate);
15072 if (PyErr_Occurred()) SWIG_fail;
15073 }
15074 {
15075#if wxUSE_UNICODE
15076 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15077#else
15078 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15079#endif
15080 }
15081 return resultobj;
15082 fail:
15083 return NULL;
15084}
15085
15086
c370783e 15087static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15088 PyObject *resultobj = NULL;
d55e5bfc
RD
15089 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
15090 int arg2 ;
15091 PyObject * obj0 = 0 ;
15092 PyObject * obj1 = 0 ;
15093 char *kwnames[] = {
15094 (char *) "self",(char *) "sel", NULL
15095 };
15096
15097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15098 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
15099 if (SWIG_arg_fail(1)) SWIG_fail;
15100 {
32fe5131 15101 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
15102 if (SWIG_arg_fail(2)) SWIG_fail;
15103 }
d55e5bfc
RD
15104 {
15105 PyThreadState* __tstate = wxPyBeginAllowThreads();
15106 (arg1)->SetSelection(arg2);
15107
15108 wxPyEndAllowThreads(__tstate);
15109 if (PyErr_Occurred()) SWIG_fail;
15110 }
15111 Py_INCREF(Py_None); resultobj = Py_None;
15112 return resultobj;
15113 fail:
15114 return NULL;
15115}
15116
15117
c370783e 15118static PyObject * SingleChoiceDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15119 PyObject *obj;
15120 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15121 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
15122 Py_INCREF(obj);
15123 return Py_BuildValue((char *)"");
15124}
c370783e 15125static PyObject *_wrap_new_TextEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15126 PyObject *resultobj = NULL;
d55e5bfc
RD
15127 wxWindow *arg1 = (wxWindow *) 0 ;
15128 wxString *arg2 = 0 ;
15129 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
15130 wxString *arg3 = (wxString *) &arg3_defvalue ;
15131 wxString const &arg4_defvalue = wxPyEmptyString ;
15132 wxString *arg4 = (wxString *) &arg4_defvalue ;
070c48b4 15133 long arg5 = (long) wxTextEntryDialogStyle ;
d55e5bfc
RD
15134 wxPoint const &arg6_defvalue = wxDefaultPosition ;
15135 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
15136 wxTextEntryDialog *result;
b411df4a
RD
15137 bool temp2 = false ;
15138 bool temp3 = false ;
15139 bool temp4 = false ;
d55e5bfc
RD
15140 wxPoint temp6 ;
15141 PyObject * obj0 = 0 ;
15142 PyObject * obj1 = 0 ;
15143 PyObject * obj2 = 0 ;
15144 PyObject * obj3 = 0 ;
15145 PyObject * obj4 = 0 ;
15146 PyObject * obj5 = 0 ;
15147 char *kwnames[] = {
15148 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
15149 };
15150
15151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
15152 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15153 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15154 {
15155 arg2 = wxString_in_helper(obj1);
15156 if (arg2 == NULL) SWIG_fail;
b411df4a 15157 temp2 = true;
d55e5bfc
RD
15158 }
15159 if (obj2) {
15160 {
15161 arg3 = wxString_in_helper(obj2);
15162 if (arg3 == NULL) SWIG_fail;
b411df4a 15163 temp3 = true;
d55e5bfc
RD
15164 }
15165 }
15166 if (obj3) {
15167 {
15168 arg4 = wxString_in_helper(obj3);
15169 if (arg4 == NULL) SWIG_fail;
b411df4a 15170 temp4 = true;
d55e5bfc
RD
15171 }
15172 }
15173 if (obj4) {
36ed4f51 15174 {
32fe5131 15175 arg5 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
15176 if (SWIG_arg_fail(5)) SWIG_fail;
15177 }
d55e5bfc
RD
15178 }
15179 if (obj5) {
15180 {
15181 arg6 = &temp6;
15182 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
15183 }
15184 }
15185 {
0439c23b 15186 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15187 PyThreadState* __tstate = wxPyBeginAllowThreads();
15188 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
15189
15190 wxPyEndAllowThreads(__tstate);
110da5b0 15191 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15192 }
15193 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
15194 {
15195 if (temp2)
15196 delete arg2;
15197 }
15198 {
15199 if (temp3)
15200 delete arg3;
15201 }
15202 {
15203 if (temp4)
15204 delete arg4;
15205 }
15206 return resultobj;
15207 fail:
15208 {
15209 if (temp2)
15210 delete arg2;
15211 }
15212 {
15213 if (temp3)
15214 delete arg3;
15215 }
15216 {
15217 if (temp4)
15218 delete arg4;
15219 }
15220 return NULL;
15221}
15222
15223
c370783e 15224static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15225 PyObject *resultobj = NULL;
d55e5bfc
RD
15226 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
15227 wxString result;
15228 PyObject * obj0 = 0 ;
15229 char *kwnames[] = {
15230 (char *) "self", NULL
15231 };
15232
15233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
36ed4f51
RD
15234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_EXCEPTION | 0);
15235 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15236 {
15237 PyThreadState* __tstate = wxPyBeginAllowThreads();
15238 result = (arg1)->GetValue();
15239
15240 wxPyEndAllowThreads(__tstate);
15241 if (PyErr_Occurred()) SWIG_fail;
15242 }
15243 {
15244#if wxUSE_UNICODE
15245 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15246#else
15247 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15248#endif
15249 }
15250 return resultobj;
15251 fail:
15252 return NULL;
15253}
15254
15255
c370783e 15256static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15257 PyObject *resultobj = NULL;
d55e5bfc
RD
15258 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
15259 wxString *arg2 = 0 ;
b411df4a 15260 bool temp2 = false ;
d55e5bfc
RD
15261 PyObject * obj0 = 0 ;
15262 PyObject * obj1 = 0 ;
15263 char *kwnames[] = {
15264 (char *) "self",(char *) "value", NULL
15265 };
15266
15267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15268 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_EXCEPTION | 0);
15269 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15270 {
15271 arg2 = wxString_in_helper(obj1);
15272 if (arg2 == NULL) SWIG_fail;
b411df4a 15273 temp2 = true;
d55e5bfc
RD
15274 }
15275 {
15276 PyThreadState* __tstate = wxPyBeginAllowThreads();
15277 (arg1)->SetValue((wxString const &)*arg2);
15278
15279 wxPyEndAllowThreads(__tstate);
15280 if (PyErr_Occurred()) SWIG_fail;
15281 }
15282 Py_INCREF(Py_None); resultobj = Py_None;
15283 {
15284 if (temp2)
15285 delete arg2;
15286 }
15287 return resultobj;
15288 fail:
15289 {
15290 if (temp2)
15291 delete arg2;
15292 }
15293 return NULL;
15294}
15295
15296
c370783e 15297static PyObject * TextEntryDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15298 PyObject *obj;
15299 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15300 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
15301 Py_INCREF(obj);
15302 return Py_BuildValue((char *)"");
15303}
070c48b4
RD
15304static int _wrap_GetPasswordFromUserPromptStr_set(PyObject *) {
15305 PyErr_SetString(PyExc_TypeError,"Variable GetPasswordFromUserPromptStr is read-only.");
15306 return 1;
15307}
15308
15309
36ed4f51 15310static PyObject *_wrap_GetPasswordFromUserPromptStr_get(void) {
32fe5131 15311 PyObject *pyobj = NULL;
070c48b4
RD
15312
15313 {
15314#if wxUSE_UNICODE
15315 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
15316#else
15317 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
15318#endif
15319 }
15320 return pyobj;
15321}
15322
15323
15324static PyObject *_wrap_new_PasswordEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15325 PyObject *resultobj = NULL;
070c48b4
RD
15326 wxWindow *arg1 = (wxWindow *) 0 ;
15327 wxString *arg2 = 0 ;
15328 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
15329 wxString *arg3 = (wxString *) &arg3_defvalue ;
15330 wxString const &arg4_defvalue = wxPyEmptyString ;
15331 wxString *arg4 = (wxString *) &arg4_defvalue ;
15332 long arg5 = (long) wxTextEntryDialogStyle ;
15333 wxPoint const &arg6_defvalue = wxDefaultPosition ;
15334 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
15335 wxPasswordEntryDialog *result;
15336 bool temp2 = false ;
15337 bool temp3 = false ;
15338 bool temp4 = false ;
15339 wxPoint temp6 ;
15340 PyObject * obj0 = 0 ;
15341 PyObject * obj1 = 0 ;
15342 PyObject * obj2 = 0 ;
15343 PyObject * obj3 = 0 ;
15344 PyObject * obj4 = 0 ;
15345 PyObject * obj5 = 0 ;
15346 char *kwnames[] = {
15347 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
15348 };
15349
15350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
15351 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15352 if (SWIG_arg_fail(1)) SWIG_fail;
070c48b4
RD
15353 {
15354 arg2 = wxString_in_helper(obj1);
15355 if (arg2 == NULL) SWIG_fail;
15356 temp2 = true;
15357 }
15358 if (obj2) {
15359 {
15360 arg3 = wxString_in_helper(obj2);
15361 if (arg3 == NULL) SWIG_fail;
15362 temp3 = true;
15363 }
15364 }
15365 if (obj3) {
15366 {
15367 arg4 = wxString_in_helper(obj3);
15368 if (arg4 == NULL) SWIG_fail;
15369 temp4 = true;
15370 }
15371 }
15372 if (obj4) {
36ed4f51 15373 {
32fe5131 15374 arg5 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
15375 if (SWIG_arg_fail(5)) SWIG_fail;
15376 }
070c48b4
RD
15377 }
15378 if (obj5) {
15379 {
15380 arg6 = &temp6;
15381 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
15382 }
15383 }
15384 {
15385 PyThreadState* __tstate = wxPyBeginAllowThreads();
15386 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
15387
15388 wxPyEndAllowThreads(__tstate);
15389 if (PyErr_Occurred()) SWIG_fail;
15390 }
15391 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPasswordEntryDialog, 1);
15392 {
15393 if (temp2)
15394 delete arg2;
15395 }
15396 {
15397 if (temp3)
15398 delete arg3;
15399 }
15400 {
15401 if (temp4)
15402 delete arg4;
15403 }
15404 return resultobj;
15405 fail:
15406 {
15407 if (temp2)
15408 delete arg2;
15409 }
15410 {
15411 if (temp3)
15412 delete arg3;
15413 }
15414 {
15415 if (temp4)
15416 delete arg4;
15417 }
15418 return NULL;
15419}
15420
15421
15422static PyObject * PasswordEntryDialog_swigregister(PyObject *, PyObject *args) {
15423 PyObject *obj;
15424 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15425 SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog, obj);
15426 Py_INCREF(obj);
15427 return Py_BuildValue((char *)"");
15428}
c370783e 15429static PyObject *_wrap_new_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15430 PyObject *resultobj = NULL;
d55e5bfc
RD
15431 wxFontData *result;
15432 char *kwnames[] = {
15433 NULL
15434 };
15435
15436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
15437 {
15438 PyThreadState* __tstate = wxPyBeginAllowThreads();
15439 result = (wxFontData *)new wxFontData();
15440
15441 wxPyEndAllowThreads(__tstate);
15442 if (PyErr_Occurred()) SWIG_fail;
15443 }
15444 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
15445 return resultobj;
15446 fail:
15447 return NULL;
15448}
15449
15450
c370783e 15451static PyObject *_wrap_delete_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15452 PyObject *resultobj = NULL;
d55e5bfc
RD
15453 wxFontData *arg1 = (wxFontData *) 0 ;
15454 PyObject * obj0 = 0 ;
15455 char *kwnames[] = {
15456 (char *) "self", NULL
15457 };
15458
15459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
36ed4f51
RD
15460 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15461 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15462 {
15463 PyThreadState* __tstate = wxPyBeginAllowThreads();
15464 delete arg1;
15465
15466 wxPyEndAllowThreads(__tstate);
15467 if (PyErr_Occurred()) SWIG_fail;
15468 }
15469 Py_INCREF(Py_None); resultobj = Py_None;
15470 return resultobj;
15471 fail:
15472 return NULL;
15473}
15474
15475
c370783e 15476static PyObject *_wrap_FontData_EnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15477 PyObject *resultobj = NULL;
d55e5bfc
RD
15478 wxFontData *arg1 = (wxFontData *) 0 ;
15479 bool arg2 ;
15480 PyObject * obj0 = 0 ;
15481 PyObject * obj1 = 0 ;
15482 char *kwnames[] = {
15483 (char *) "self",(char *) "enable", NULL
15484 };
15485
15486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15487 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15488 if (SWIG_arg_fail(1)) SWIG_fail;
15489 {
32fe5131 15490 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
15491 if (SWIG_arg_fail(2)) SWIG_fail;
15492 }
d55e5bfc
RD
15493 {
15494 PyThreadState* __tstate = wxPyBeginAllowThreads();
15495 (arg1)->EnableEffects(arg2);
15496
15497 wxPyEndAllowThreads(__tstate);
15498 if (PyErr_Occurred()) SWIG_fail;
15499 }
15500 Py_INCREF(Py_None); resultobj = Py_None;
15501 return resultobj;
15502 fail:
15503 return NULL;
15504}
15505
15506
c370783e 15507static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15508 PyObject *resultobj = NULL;
d55e5bfc
RD
15509 wxFontData *arg1 = (wxFontData *) 0 ;
15510 bool result;
15511 PyObject * obj0 = 0 ;
15512 char *kwnames[] = {
15513 (char *) "self", NULL
15514 };
15515
15516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
36ed4f51
RD
15517 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15518 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15519 {
15520 PyThreadState* __tstate = wxPyBeginAllowThreads();
15521 result = (bool)(arg1)->GetAllowSymbols();
15522
15523 wxPyEndAllowThreads(__tstate);
15524 if (PyErr_Occurred()) SWIG_fail;
15525 }
15526 {
15527 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15528 }
15529 return resultobj;
15530 fail:
15531 return NULL;
15532}
15533
15534
c370783e 15535static PyObject *_wrap_FontData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15536 PyObject *resultobj = NULL;
d55e5bfc
RD
15537 wxFontData *arg1 = (wxFontData *) 0 ;
15538 wxColour result;
15539 PyObject * obj0 = 0 ;
15540 char *kwnames[] = {
15541 (char *) "self", NULL
15542 };
15543
15544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
15545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15546 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15547 {
15548 PyThreadState* __tstate = wxPyBeginAllowThreads();
15549 result = (arg1)->GetColour();
15550
15551 wxPyEndAllowThreads(__tstate);
15552 if (PyErr_Occurred()) SWIG_fail;
15553 }
15554 {
15555 wxColour * resultptr;
32fe5131 15556 resultptr = new wxColour(static_cast<wxColour & >(result));
d55e5bfc
RD
15557 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
15558 }
15559 return resultobj;
15560 fail:
15561 return NULL;
15562}
15563
15564
c370783e 15565static PyObject *_wrap_FontData_GetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15566 PyObject *resultobj = NULL;
d55e5bfc
RD
15567 wxFontData *arg1 = (wxFontData *) 0 ;
15568 wxFont result;
15569 PyObject * obj0 = 0 ;
15570 char *kwnames[] = {
15571 (char *) "self", NULL
15572 };
15573
15574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
36ed4f51
RD
15575 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15576 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15577 {
15578 PyThreadState* __tstate = wxPyBeginAllowThreads();
15579 result = (arg1)->GetChosenFont();
15580
15581 wxPyEndAllowThreads(__tstate);
15582 if (PyErr_Occurred()) SWIG_fail;
15583 }
15584 {
15585 wxFont * resultptr;
32fe5131 15586 resultptr = new wxFont(static_cast<wxFont & >(result));
d55e5bfc
RD
15587 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
15588 }
15589 return resultobj;
15590 fail:
15591 return NULL;
15592}
15593
15594
c370783e 15595static PyObject *_wrap_FontData_GetEnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15596 PyObject *resultobj = NULL;
d55e5bfc
RD
15597 wxFontData *arg1 = (wxFontData *) 0 ;
15598 bool result;
15599 PyObject * obj0 = 0 ;
15600 char *kwnames[] = {
15601 (char *) "self", NULL
15602 };
15603
15604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
36ed4f51
RD
15605 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15606 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15607 {
15608 PyThreadState* __tstate = wxPyBeginAllowThreads();
15609 result = (bool)(arg1)->GetEnableEffects();
15610
15611 wxPyEndAllowThreads(__tstate);
15612 if (PyErr_Occurred()) SWIG_fail;
15613 }
15614 {
15615 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15616 }
15617 return resultobj;
15618 fail:
15619 return NULL;
15620}
15621
15622
c370783e 15623static PyObject *_wrap_FontData_GetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15624 PyObject *resultobj = NULL;
d55e5bfc
RD
15625 wxFontData *arg1 = (wxFontData *) 0 ;
15626 wxFont result;
15627 PyObject * obj0 = 0 ;
15628 char *kwnames[] = {
15629 (char *) "self", NULL
15630 };
15631
15632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
36ed4f51
RD
15633 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15634 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15635 {
15636 PyThreadState* __tstate = wxPyBeginAllowThreads();
15637 result = (arg1)->GetInitialFont();
15638
15639 wxPyEndAllowThreads(__tstate);
15640 if (PyErr_Occurred()) SWIG_fail;
15641 }
15642 {
15643 wxFont * resultptr;
32fe5131 15644 resultptr = new wxFont(static_cast<wxFont & >(result));
d55e5bfc
RD
15645 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
15646 }
15647 return resultobj;
15648 fail:
15649 return NULL;
15650}
15651
15652
c370783e 15653static PyObject *_wrap_FontData_GetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15654 PyObject *resultobj = NULL;
d55e5bfc
RD
15655 wxFontData *arg1 = (wxFontData *) 0 ;
15656 bool result;
15657 PyObject * obj0 = 0 ;
15658 char *kwnames[] = {
15659 (char *) "self", NULL
15660 };
15661
15662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
36ed4f51
RD
15663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15664 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15665 {
15666 PyThreadState* __tstate = wxPyBeginAllowThreads();
15667 result = (bool)(arg1)->GetShowHelp();
15668
15669 wxPyEndAllowThreads(__tstate);
15670 if (PyErr_Occurred()) SWIG_fail;
15671 }
15672 {
15673 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15674 }
15675 return resultobj;
15676 fail:
15677 return NULL;
15678}
15679
15680
c370783e 15681static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15682 PyObject *resultobj = NULL;
d55e5bfc
RD
15683 wxFontData *arg1 = (wxFontData *) 0 ;
15684 bool arg2 ;
15685 PyObject * obj0 = 0 ;
15686 PyObject * obj1 = 0 ;
15687 char *kwnames[] = {
15688 (char *) "self",(char *) "allowSymbols", NULL
15689 };
15690
15691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15692 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15693 if (SWIG_arg_fail(1)) SWIG_fail;
15694 {
32fe5131 15695 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
15696 if (SWIG_arg_fail(2)) SWIG_fail;
15697 }
d55e5bfc
RD
15698 {
15699 PyThreadState* __tstate = wxPyBeginAllowThreads();
15700 (arg1)->SetAllowSymbols(arg2);
15701
15702 wxPyEndAllowThreads(__tstate);
15703 if (PyErr_Occurred()) SWIG_fail;
15704 }
15705 Py_INCREF(Py_None); resultobj = Py_None;
15706 return resultobj;
15707 fail:
15708 return NULL;
15709}
15710
15711
c370783e 15712static PyObject *_wrap_FontData_SetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15713 PyObject *resultobj = NULL;
d55e5bfc
RD
15714 wxFontData *arg1 = (wxFontData *) 0 ;
15715 wxFont *arg2 = 0 ;
15716 PyObject * obj0 = 0 ;
15717 PyObject * obj1 = 0 ;
15718 char *kwnames[] = {
15719 (char *) "self",(char *) "font", NULL
15720 };
15721
15722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15724 if (SWIG_arg_fail(1)) SWIG_fail;
15725 {
15726 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
15727 if (SWIG_arg_fail(2)) SWIG_fail;
15728 if (arg2 == NULL) {
15729 SWIG_null_ref("wxFont");
15730 }
15731 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
15732 }
15733 {
15734 PyThreadState* __tstate = wxPyBeginAllowThreads();
15735 (arg1)->SetChosenFont((wxFont const &)*arg2);
15736
15737 wxPyEndAllowThreads(__tstate);
15738 if (PyErr_Occurred()) SWIG_fail;
15739 }
15740 Py_INCREF(Py_None); resultobj = Py_None;
15741 return resultobj;
15742 fail:
15743 return NULL;
15744}
15745
15746
c370783e 15747static PyObject *_wrap_FontData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15748 PyObject *resultobj = NULL;
d55e5bfc
RD
15749 wxFontData *arg1 = (wxFontData *) 0 ;
15750 wxColour *arg2 = 0 ;
15751 wxColour temp2 ;
15752 PyObject * obj0 = 0 ;
15753 PyObject * obj1 = 0 ;
15754 char *kwnames[] = {
15755 (char *) "self",(char *) "colour", NULL
15756 };
15757
15758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15759 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15760 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15761 {
15762 arg2 = &temp2;
15763 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15764 }
15765 {
15766 PyThreadState* __tstate = wxPyBeginAllowThreads();
15767 (arg1)->SetColour((wxColour const &)*arg2);
15768
15769 wxPyEndAllowThreads(__tstate);
15770 if (PyErr_Occurred()) SWIG_fail;
15771 }
15772 Py_INCREF(Py_None); resultobj = Py_None;
15773 return resultobj;
15774 fail:
15775 return NULL;
15776}
15777
15778
c370783e 15779static PyObject *_wrap_FontData_SetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15780 PyObject *resultobj = NULL;
d55e5bfc
RD
15781 wxFontData *arg1 = (wxFontData *) 0 ;
15782 wxFont *arg2 = 0 ;
15783 PyObject * obj0 = 0 ;
15784 PyObject * obj1 = 0 ;
15785 char *kwnames[] = {
15786 (char *) "self",(char *) "font", NULL
15787 };
15788
15789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15790 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15791 if (SWIG_arg_fail(1)) SWIG_fail;
15792 {
15793 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
15794 if (SWIG_arg_fail(2)) SWIG_fail;
15795 if (arg2 == NULL) {
15796 SWIG_null_ref("wxFont");
15797 }
15798 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
15799 }
15800 {
15801 PyThreadState* __tstate = wxPyBeginAllowThreads();
15802 (arg1)->SetInitialFont((wxFont const &)*arg2);
15803
15804 wxPyEndAllowThreads(__tstate);
15805 if (PyErr_Occurred()) SWIG_fail;
15806 }
15807 Py_INCREF(Py_None); resultobj = Py_None;
15808 return resultobj;
15809 fail:
15810 return NULL;
15811}
15812
15813
c370783e 15814static PyObject *_wrap_FontData_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15815 PyObject *resultobj = NULL;
d55e5bfc
RD
15816 wxFontData *arg1 = (wxFontData *) 0 ;
15817 int arg2 ;
15818 int arg3 ;
15819 PyObject * obj0 = 0 ;
15820 PyObject * obj1 = 0 ;
15821 PyObject * obj2 = 0 ;
15822 char *kwnames[] = {
15823 (char *) "self",(char *) "min",(char *) "max", NULL
15824 };
15825
15826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
15827 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15828 if (SWIG_arg_fail(1)) SWIG_fail;
15829 {
32fe5131 15830 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
15831 if (SWIG_arg_fail(2)) SWIG_fail;
15832 }
15833 {
32fe5131 15834 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
15835 if (SWIG_arg_fail(3)) SWIG_fail;
15836 }
d55e5bfc
RD
15837 {
15838 PyThreadState* __tstate = wxPyBeginAllowThreads();
15839 (arg1)->SetRange(arg2,arg3);
15840
15841 wxPyEndAllowThreads(__tstate);
15842 if (PyErr_Occurred()) SWIG_fail;
15843 }
15844 Py_INCREF(Py_None); resultobj = Py_None;
15845 return resultobj;
15846 fail:
15847 return NULL;
15848}
15849
15850
c370783e 15851static PyObject *_wrap_FontData_SetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15852 PyObject *resultobj = NULL;
d55e5bfc
RD
15853 wxFontData *arg1 = (wxFontData *) 0 ;
15854 bool arg2 ;
15855 PyObject * obj0 = 0 ;
15856 PyObject * obj1 = 0 ;
15857 char *kwnames[] = {
15858 (char *) "self",(char *) "showHelp", NULL
15859 };
15860
15861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15862 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15863 if (SWIG_arg_fail(1)) SWIG_fail;
15864 {
32fe5131 15865 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
15866 if (SWIG_arg_fail(2)) SWIG_fail;
15867 }
d55e5bfc
RD
15868 {
15869 PyThreadState* __tstate = wxPyBeginAllowThreads();
15870 (arg1)->SetShowHelp(arg2);
15871
15872 wxPyEndAllowThreads(__tstate);
15873 if (PyErr_Occurred()) SWIG_fail;
15874 }
15875 Py_INCREF(Py_None); resultobj = Py_None;
15876 return resultobj;
15877 fail:
15878 return NULL;
15879}
15880
15881
c370783e 15882static PyObject * FontData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15883 PyObject *obj;
15884 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15885 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
15886 Py_INCREF(obj);
15887 return Py_BuildValue((char *)"");
15888}
c370783e 15889static PyObject *_wrap_new_FontDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15890 PyObject *resultobj = NULL;
d55e5bfc
RD
15891 wxWindow *arg1 = (wxWindow *) 0 ;
15892 wxFontData *arg2 = 0 ;
15893 wxFontDialog *result;
15894 PyObject * obj0 = 0 ;
15895 PyObject * obj1 = 0 ;
15896 char *kwnames[] = {
15897 (char *) "parent",(char *) "data", NULL
15898 };
15899
15900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15901 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15902 if (SWIG_arg_fail(1)) SWIG_fail;
15903 {
15904 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15905 if (SWIG_arg_fail(2)) SWIG_fail;
15906 if (arg2 == NULL) {
15907 SWIG_null_ref("wxFontData");
15908 }
15909 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
15910 }
15911 {
0439c23b 15912 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15913 PyThreadState* __tstate = wxPyBeginAllowThreads();
15914 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
15915
15916 wxPyEndAllowThreads(__tstate);
110da5b0 15917 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15918 }
15919 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
15920 return resultobj;
15921 fail:
15922 return NULL;
15923}
15924
15925
c370783e 15926static PyObject *_wrap_FontDialog_GetFontData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15927 PyObject *resultobj = NULL;
d55e5bfc
RD
15928 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
15929 wxFontData *result;
15930 PyObject * obj0 = 0 ;
15931 char *kwnames[] = {
32fe5131
RD
15932 (char *) "self", NULL
15933 };
15934
15935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
15936 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontDialog, SWIG_POINTER_EXCEPTION | 0);
15937 if (SWIG_arg_fail(1)) SWIG_fail;
15938 {
15939 PyThreadState* __tstate = wxPyBeginAllowThreads();
15940 {
15941 wxFontData &_result_ref = (arg1)->GetFontData();
15942 result = (wxFontData *) &_result_ref;
15943 }
15944
15945 wxPyEndAllowThreads(__tstate);
15946 if (PyErr_Occurred()) SWIG_fail;
15947 }
15948 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
15949 return resultobj;
15950 fail:
15951 return NULL;
15952}
15953
15954
15955static PyObject * FontDialog_swigregister(PyObject *, PyObject *args) {
15956 PyObject *obj;
15957 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15958 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
15959 Py_INCREF(obj);
15960 return Py_BuildValue((char *)"");
15961}
15962static PyObject *_wrap_GetFontFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
15963 PyObject *resultobj = NULL;
15964 wxWindow *arg1 = (wxWindow *) NULL ;
15965 wxFont const &arg2_defvalue = wxNullFont ;
15966 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
15967 wxString const &arg3_defvalue = wxPyEmptyString ;
15968 wxString *arg3 = (wxString *) &arg3_defvalue ;
15969 wxFont result;
15970 bool temp3 = false ;
15971 PyObject * obj0 = 0 ;
15972 PyObject * obj1 = 0 ;
15973 PyObject * obj2 = 0 ;
15974 char *kwnames[] = {
15975 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
d55e5bfc
RD
15976 };
15977
32fe5131
RD
15978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) goto fail;
15979 if (obj0) {
15980 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15981 if (SWIG_arg_fail(1)) SWIG_fail;
15982 }
15983 if (obj1) {
d55e5bfc 15984 {
32fe5131
RD
15985 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
15986 if (SWIG_arg_fail(2)) SWIG_fail;
15987 if (arg2 == NULL) {
15988 SWIG_null_ref("wxFont");
15989 }
15990 if (SWIG_arg_fail(2)) SWIG_fail;
15991 }
15992 }
15993 if (obj2) {
15994 {
15995 arg3 = wxString_in_helper(obj2);
15996 if (arg3 == NULL) SWIG_fail;
15997 temp3 = true;
d55e5bfc 15998 }
32fe5131
RD
15999 }
16000 {
16001 PyThreadState* __tstate = wxPyBeginAllowThreads();
16002 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
d55e5bfc
RD
16003
16004 wxPyEndAllowThreads(__tstate);
16005 if (PyErr_Occurred()) SWIG_fail;
16006 }
32fe5131
RD
16007 {
16008 wxFont * resultptr;
16009 resultptr = new wxFont(static_cast<wxFont & >(result));
16010 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
16011 }
16012 {
16013 if (temp3)
16014 delete arg3;
16015 }
d55e5bfc
RD
16016 return resultobj;
16017 fail:
32fe5131
RD
16018 {
16019 if (temp3)
16020 delete arg3;
16021 }
d55e5bfc
RD
16022 return NULL;
16023}
16024
16025
c370783e 16026static PyObject *_wrap_new_MessageDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16027 PyObject *resultobj = NULL;
d55e5bfc
RD
16028 wxWindow *arg1 = (wxWindow *) 0 ;
16029 wxString *arg2 = 0 ;
16030 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
16031 wxString *arg3 = (wxString *) &arg3_defvalue ;
16032 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
16033 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16034 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16035 wxMessageDialog *result;
b411df4a
RD
16036 bool temp2 = false ;
16037 bool temp3 = false ;
d55e5bfc
RD
16038 wxPoint temp5 ;
16039 PyObject * obj0 = 0 ;
16040 PyObject * obj1 = 0 ;
16041 PyObject * obj2 = 0 ;
16042 PyObject * obj3 = 0 ;
16043 PyObject * obj4 = 0 ;
16044 char *kwnames[] = {
16045 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
16046 };
16047
16048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
16049 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16050 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16051 {
16052 arg2 = wxString_in_helper(obj1);
16053 if (arg2 == NULL) SWIG_fail;
b411df4a 16054 temp2 = true;
d55e5bfc
RD
16055 }
16056 if (obj2) {
16057 {
16058 arg3 = wxString_in_helper(obj2);
16059 if (arg3 == NULL) SWIG_fail;
b411df4a 16060 temp3 = true;
d55e5bfc
RD
16061 }
16062 }
16063 if (obj3) {
36ed4f51 16064 {
32fe5131 16065 arg4 = static_cast<long >(SWIG_As_long(obj3));
36ed4f51
RD
16066 if (SWIG_arg_fail(4)) SWIG_fail;
16067 }
d55e5bfc
RD
16068 }
16069 if (obj4) {
16070 {
16071 arg5 = &temp5;
16072 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16073 }
16074 }
16075 {
0439c23b 16076 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
16077 PyThreadState* __tstate = wxPyBeginAllowThreads();
16078 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
16079
16080 wxPyEndAllowThreads(__tstate);
110da5b0 16081 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
16082 }
16083 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
16084 {
16085 if (temp2)
16086 delete arg2;
16087 }
16088 {
16089 if (temp3)
16090 delete arg3;
16091 }
16092 return resultobj;
16093 fail:
16094 {
16095 if (temp2)
16096 delete arg2;
16097 }
16098 {
16099 if (temp3)
16100 delete arg3;
16101 }
16102 return NULL;
16103}
16104
16105
c370783e 16106static PyObject * MessageDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16107 PyObject *obj;
16108 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16109 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
16110 Py_INCREF(obj);
16111 return Py_BuildValue((char *)"");
16112}
c370783e 16113static PyObject *_wrap_new_ProgressDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16114 PyObject *resultobj = NULL;
d55e5bfc
RD
16115 wxString *arg1 = 0 ;
16116 wxString *arg2 = 0 ;
16117 int arg3 = (int) 100 ;
16118 wxWindow *arg4 = (wxWindow *) NULL ;
16119 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
16120 wxProgressDialog *result;
b411df4a
RD
16121 bool temp1 = false ;
16122 bool temp2 = false ;
d55e5bfc
RD
16123 PyObject * obj0 = 0 ;
16124 PyObject * obj1 = 0 ;
16125 PyObject * obj2 = 0 ;
16126 PyObject * obj3 = 0 ;
16127 PyObject * obj4 = 0 ;
16128 char *kwnames[] = {
16129 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
16130 };
16131
16132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16133 {
16134 arg1 = wxString_in_helper(obj0);
16135 if (arg1 == NULL) SWIG_fail;
b411df4a 16136 temp1 = true;
d55e5bfc
RD
16137 }
16138 {
16139 arg2 = wxString_in_helper(obj1);
16140 if (arg2 == NULL) SWIG_fail;
b411df4a 16141 temp2 = true;
d55e5bfc
RD
16142 }
16143 if (obj2) {
36ed4f51 16144 {
32fe5131 16145 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
16146 if (SWIG_arg_fail(3)) SWIG_fail;
16147 }
d55e5bfc
RD
16148 }
16149 if (obj3) {
36ed4f51
RD
16150 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16151 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
16152 }
16153 if (obj4) {
36ed4f51 16154 {
32fe5131 16155 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
16156 if (SWIG_arg_fail(5)) SWIG_fail;
16157 }
d55e5bfc
RD
16158 }
16159 {
0439c23b 16160 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
16161 PyThreadState* __tstate = wxPyBeginAllowThreads();
16162 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
16163
16164 wxPyEndAllowThreads(__tstate);
110da5b0 16165 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
16166 }
16167 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
16168 {
16169 if (temp1)
16170 delete arg1;
16171 }
16172 {
16173 if (temp2)
16174 delete arg2;
16175 }
16176 return resultobj;
16177 fail:
16178 {
16179 if (temp1)
16180 delete arg1;
16181 }
16182 {
16183 if (temp2)
16184 delete arg2;
16185 }
16186 return NULL;
16187}
16188
16189
c370783e 16190static PyObject *_wrap_ProgressDialog_Update(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16191 PyObject *resultobj = NULL;
d55e5bfc
RD
16192 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
16193 int arg2 ;
16194 wxString const &arg3_defvalue = wxPyEmptyString ;
16195 wxString *arg3 = (wxString *) &arg3_defvalue ;
16196 bool result;
b411df4a 16197 bool temp3 = false ;
d55e5bfc
RD
16198 PyObject * obj0 = 0 ;
16199 PyObject * obj1 = 0 ;
16200 PyObject * obj2 = 0 ;
16201 char *kwnames[] = {
16202 (char *) "self",(char *) "value",(char *) "newmsg", NULL
16203 };
16204
16205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
16206 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0);
16207 if (SWIG_arg_fail(1)) SWIG_fail;
16208 {
32fe5131 16209 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
16210 if (SWIG_arg_fail(2)) SWIG_fail;
16211 }
d55e5bfc
RD
16212 if (obj2) {
16213 {
16214 arg3 = wxString_in_helper(obj2);
16215 if (arg3 == NULL) SWIG_fail;
b411df4a 16216 temp3 = true;
d55e5bfc
RD
16217 }
16218 }
16219 {
16220 PyThreadState* __tstate = wxPyBeginAllowThreads();
16221 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
16222
16223 wxPyEndAllowThreads(__tstate);
16224 if (PyErr_Occurred()) SWIG_fail;
16225 }
16226 {
16227 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16228 }
16229 {
16230 if (temp3)
16231 delete arg3;
16232 }
16233 return resultobj;
16234 fail:
16235 {
16236 if (temp3)
16237 delete arg3;
16238 }
16239 return NULL;
16240}
16241
16242
c370783e 16243static PyObject *_wrap_ProgressDialog_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16244 PyObject *resultobj = NULL;
d55e5bfc
RD
16245 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
16246 PyObject * obj0 = 0 ;
16247 char *kwnames[] = {
16248 (char *) "self", NULL
16249 };
16250
16251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
36ed4f51
RD
16252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0);
16253 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16254 {
16255 PyThreadState* __tstate = wxPyBeginAllowThreads();
16256 (arg1)->Resume();
16257
16258 wxPyEndAllowThreads(__tstate);
16259 if (PyErr_Occurred()) SWIG_fail;
16260 }
16261 Py_INCREF(Py_None); resultobj = Py_None;
16262 return resultobj;
16263 fail:
16264 return NULL;
16265}
16266
16267
c370783e 16268static PyObject * ProgressDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16269 PyObject *obj;
16270 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16271 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
16272 Py_INCREF(obj);
16273 return Py_BuildValue((char *)"");
16274}
c370783e 16275static PyObject *_wrap_new_FindDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16276 PyObject *resultobj = NULL;
d55e5bfc
RD
16277 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16278 int arg2 = (int) 0 ;
16279 wxFindDialogEvent *result;
16280 PyObject * obj0 = 0 ;
16281 PyObject * obj1 = 0 ;
16282 char *kwnames[] = {
16283 (char *) "commandType",(char *) "id", NULL
16284 };
16285
16286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
16287 if (obj0) {
36ed4f51 16288 {
32fe5131 16289 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
36ed4f51
RD
16290 if (SWIG_arg_fail(1)) SWIG_fail;
16291 }
d55e5bfc
RD
16292 }
16293 if (obj1) {
36ed4f51 16294 {
32fe5131 16295 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
16296 if (SWIG_arg_fail(2)) SWIG_fail;
16297 }
d55e5bfc
RD
16298 }
16299 {
16300 PyThreadState* __tstate = wxPyBeginAllowThreads();
16301 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
16302
16303 wxPyEndAllowThreads(__tstate);
16304 if (PyErr_Occurred()) SWIG_fail;
16305 }
16306 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
16307 return resultobj;
16308 fail:
16309 return NULL;
16310}
16311
16312
c370783e 16313static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16314 PyObject *resultobj = NULL;
d55e5bfc
RD
16315 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16316 int result;
16317 PyObject * obj0 = 0 ;
16318 char *kwnames[] = {
16319 (char *) "self", NULL
16320 };
16321
16322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
36ed4f51
RD
16323 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16324 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16325 {
16326 PyThreadState* __tstate = wxPyBeginAllowThreads();
16327 result = (int)(arg1)->GetFlags();
16328
16329 wxPyEndAllowThreads(__tstate);
16330 if (PyErr_Occurred()) SWIG_fail;
16331 }
36ed4f51 16332 {
32fe5131 16333 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 16334 }
d55e5bfc
RD
16335 return resultobj;
16336 fail:
16337 return NULL;
16338}
16339
16340
c370783e 16341static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16342 PyObject *resultobj = NULL;
d55e5bfc
RD
16343 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16344 wxString *result;
16345 PyObject * obj0 = 0 ;
16346 char *kwnames[] = {
16347 (char *) "self", NULL
16348 };
16349
16350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
36ed4f51
RD
16351 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16352 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16353 {
16354 PyThreadState* __tstate = wxPyBeginAllowThreads();
16355 {
16356 wxString const &_result_ref = (arg1)->GetFindString();
16357 result = (wxString *) &_result_ref;
16358 }
16359
16360 wxPyEndAllowThreads(__tstate);
16361 if (PyErr_Occurred()) SWIG_fail;
16362 }
16363 {
16364#if wxUSE_UNICODE
16365 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16366#else
16367 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16368#endif
16369 }
16370 return resultobj;
16371 fail:
16372 return NULL;
16373}
16374
16375
c370783e 16376static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16377 PyObject *resultobj = NULL;
d55e5bfc
RD
16378 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16379 wxString *result;
16380 PyObject * obj0 = 0 ;
16381 char *kwnames[] = {
16382 (char *) "self", NULL
16383 };
16384
16385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
36ed4f51
RD
16386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16387 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16388 {
16389 PyThreadState* __tstate = wxPyBeginAllowThreads();
16390 {
16391 wxString const &_result_ref = (arg1)->GetReplaceString();
16392 result = (wxString *) &_result_ref;
16393 }
16394
16395 wxPyEndAllowThreads(__tstate);
16396 if (PyErr_Occurred()) SWIG_fail;
16397 }
16398 {
16399#if wxUSE_UNICODE
16400 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16401#else
16402 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16403#endif
16404 }
16405 return resultobj;
16406 fail:
16407 return NULL;
16408}
16409
16410
c370783e 16411static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16412 PyObject *resultobj = NULL;
d55e5bfc
RD
16413 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16414 wxFindReplaceDialog *result;
16415 PyObject * obj0 = 0 ;
16416 char *kwnames[] = {
16417 (char *) "self", NULL
16418 };
16419
16420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
36ed4f51
RD
16421 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16422 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16423 {
16424 PyThreadState* __tstate = wxPyBeginAllowThreads();
16425 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
16426
16427 wxPyEndAllowThreads(__tstate);
16428 if (PyErr_Occurred()) SWIG_fail;
16429 }
16430 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
16431 return resultobj;
16432 fail:
16433 return NULL;
16434}
16435
16436
c370783e 16437static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16438 PyObject *resultobj = NULL;
d55e5bfc
RD
16439 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16440 int arg2 ;
16441 PyObject * obj0 = 0 ;
16442 PyObject * obj1 = 0 ;
16443 char *kwnames[] = {
16444 (char *) "self",(char *) "flags", NULL
16445 };
16446
16447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16448 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16449 if (SWIG_arg_fail(1)) SWIG_fail;
16450 {
32fe5131 16451 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
16452 if (SWIG_arg_fail(2)) SWIG_fail;
16453 }
d55e5bfc
RD
16454 {
16455 PyThreadState* __tstate = wxPyBeginAllowThreads();
16456 (arg1)->SetFlags(arg2);
16457
16458 wxPyEndAllowThreads(__tstate);
16459 if (PyErr_Occurred()) SWIG_fail;
16460 }
16461 Py_INCREF(Py_None); resultobj = Py_None;
16462 return resultobj;
16463 fail:
16464 return NULL;
16465}
16466
16467
c370783e 16468static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16469 PyObject *resultobj = NULL;
d55e5bfc
RD
16470 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16471 wxString *arg2 = 0 ;
b411df4a 16472 bool temp2 = false ;
d55e5bfc
RD
16473 PyObject * obj0 = 0 ;
16474 PyObject * obj1 = 0 ;
16475 char *kwnames[] = {
16476 (char *) "self",(char *) "str", NULL
16477 };
16478
16479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16481 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16482 {
16483 arg2 = wxString_in_helper(obj1);
16484 if (arg2 == NULL) SWIG_fail;
b411df4a 16485 temp2 = true;
d55e5bfc
RD
16486 }
16487 {
16488 PyThreadState* __tstate = wxPyBeginAllowThreads();
16489 (arg1)->SetFindString((wxString const &)*arg2);
16490
16491 wxPyEndAllowThreads(__tstate);
16492 if (PyErr_Occurred()) SWIG_fail;
16493 }
16494 Py_INCREF(Py_None); resultobj = Py_None;
16495 {
16496 if (temp2)
16497 delete arg2;
16498 }
16499 return resultobj;
16500 fail:
16501 {
16502 if (temp2)
16503 delete arg2;
16504 }
16505 return NULL;
16506}
16507
16508
c370783e 16509static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16510 PyObject *resultobj = NULL;
d55e5bfc
RD
16511 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16512 wxString *arg2 = 0 ;
b411df4a 16513 bool temp2 = false ;
d55e5bfc
RD
16514 PyObject * obj0 = 0 ;
16515 PyObject * obj1 = 0 ;
16516 char *kwnames[] = {
16517 (char *) "self",(char *) "str", NULL
16518 };
16519
16520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16521 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16522 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16523 {
16524 arg2 = wxString_in_helper(obj1);
16525 if (arg2 == NULL) SWIG_fail;
b411df4a 16526 temp2 = true;
d55e5bfc
RD
16527 }
16528 {
16529 PyThreadState* __tstate = wxPyBeginAllowThreads();
16530 (arg1)->SetReplaceString((wxString const &)*arg2);
16531
16532 wxPyEndAllowThreads(__tstate);
16533 if (PyErr_Occurred()) SWIG_fail;
16534 }
16535 Py_INCREF(Py_None); resultobj = Py_None;
16536 {
16537 if (temp2)
16538 delete arg2;
16539 }
16540 return resultobj;
16541 fail:
16542 {
16543 if (temp2)
16544 delete arg2;
16545 }
16546 return NULL;
16547}
16548
16549
c370783e 16550static PyObject * FindDialogEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16551 PyObject *obj;
16552 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16553 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
16554 Py_INCREF(obj);
16555 return Py_BuildValue((char *)"");
16556}
c370783e 16557static PyObject *_wrap_new_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16558 PyObject *resultobj = NULL;
d55e5bfc
RD
16559 int arg1 = (int) 0 ;
16560 wxFindReplaceData *result;
16561 PyObject * obj0 = 0 ;
16562 char *kwnames[] = {
16563 (char *) "flags", NULL
16564 };
16565
16566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
16567 if (obj0) {
36ed4f51 16568 {
32fe5131 16569 arg1 = static_cast<int >(SWIG_As_int(obj0));
36ed4f51
RD
16570 if (SWIG_arg_fail(1)) SWIG_fail;
16571 }
d55e5bfc
RD
16572 }
16573 {
16574 PyThreadState* __tstate = wxPyBeginAllowThreads();
16575 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
16576
16577 wxPyEndAllowThreads(__tstate);
16578 if (PyErr_Occurred()) SWIG_fail;
16579 }
16580 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
16581 return resultobj;
16582 fail:
16583 return NULL;
16584}
16585
16586
c370783e 16587static PyObject *_wrap_delete_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16588 PyObject *resultobj = NULL;
d55e5bfc
RD
16589 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16590 PyObject * obj0 = 0 ;
16591 char *kwnames[] = {
16592 (char *) "self", NULL
16593 };
16594
16595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
36ed4f51
RD
16596 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16597 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16598 {
16599 PyThreadState* __tstate = wxPyBeginAllowThreads();
16600 delete arg1;
16601
16602 wxPyEndAllowThreads(__tstate);
16603 if (PyErr_Occurred()) SWIG_fail;
16604 }
16605 Py_INCREF(Py_None); resultobj = Py_None;
16606 return resultobj;
16607 fail:
16608 return NULL;
16609}
16610
16611
c370783e 16612static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16613 PyObject *resultobj = NULL;
d55e5bfc
RD
16614 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16615 wxString *result;
16616 PyObject * obj0 = 0 ;
16617 char *kwnames[] = {
16618 (char *) "self", NULL
16619 };
16620
16621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
36ed4f51
RD
16622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16623 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16624 {
16625 PyThreadState* __tstate = wxPyBeginAllowThreads();
16626 {
16627 wxString const &_result_ref = (arg1)->GetFindString();
16628 result = (wxString *) &_result_ref;
16629 }
16630
16631 wxPyEndAllowThreads(__tstate);
16632 if (PyErr_Occurred()) SWIG_fail;
16633 }
16634 {
16635#if wxUSE_UNICODE
16636 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16637#else
16638 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16639#endif
16640 }
16641 return resultobj;
16642 fail:
16643 return NULL;
16644}
16645
16646
c370783e 16647static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16648 PyObject *resultobj = NULL;
d55e5bfc
RD
16649 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16650 wxString *result;
16651 PyObject * obj0 = 0 ;
16652 char *kwnames[] = {
16653 (char *) "self", NULL
16654 };
16655
16656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
36ed4f51
RD
16657 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16658 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16659 {
16660 PyThreadState* __tstate = wxPyBeginAllowThreads();
16661 {
16662 wxString const &_result_ref = (arg1)->GetReplaceString();
16663 result = (wxString *) &_result_ref;
16664 }
16665
16666 wxPyEndAllowThreads(__tstate);
16667 if (PyErr_Occurred()) SWIG_fail;
16668 }
16669 {
16670#if wxUSE_UNICODE
16671 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16672#else
16673 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16674#endif
16675 }
16676 return resultobj;
16677 fail:
16678 return NULL;
16679}
16680
16681
c370783e 16682static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16683 PyObject *resultobj = NULL;
d55e5bfc
RD
16684 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16685 int result;
16686 PyObject * obj0 = 0 ;
16687 char *kwnames[] = {
16688 (char *) "self", NULL
16689 };
16690
16691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
36ed4f51
RD
16692 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16693 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16694 {
16695 PyThreadState* __tstate = wxPyBeginAllowThreads();
16696 result = (int)(arg1)->GetFlags();
16697
16698 wxPyEndAllowThreads(__tstate);
16699 if (PyErr_Occurred()) SWIG_fail;
16700 }
36ed4f51 16701 {
32fe5131 16702 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 16703 }
d55e5bfc
RD
16704 return resultobj;
16705 fail:
16706 return NULL;
16707}
16708
16709
c370783e 16710static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16711 PyObject *resultobj = NULL;
d55e5bfc
RD
16712 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16713 int arg2 ;
16714 PyObject * obj0 = 0 ;
16715 PyObject * obj1 = 0 ;
16716 char *kwnames[] = {
16717 (char *) "self",(char *) "flags", NULL
16718 };
16719
16720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16721 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16722 if (SWIG_arg_fail(1)) SWIG_fail;
16723 {
32fe5131 16724 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
16725 if (SWIG_arg_fail(2)) SWIG_fail;
16726 }
d55e5bfc
RD
16727 {
16728 PyThreadState* __tstate = wxPyBeginAllowThreads();
16729 (arg1)->SetFlags(arg2);
16730
16731 wxPyEndAllowThreads(__tstate);
16732 if (PyErr_Occurred()) SWIG_fail;
16733 }
16734 Py_INCREF(Py_None); resultobj = Py_None;
16735 return resultobj;
16736 fail:
16737 return NULL;
16738}
16739
16740
c370783e 16741static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16742 PyObject *resultobj = NULL;
d55e5bfc
RD
16743 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16744 wxString *arg2 = 0 ;
b411df4a 16745 bool temp2 = false ;
d55e5bfc
RD
16746 PyObject * obj0 = 0 ;
16747 PyObject * obj1 = 0 ;
16748 char *kwnames[] = {
16749 (char *) "self",(char *) "str", NULL
16750 };
16751
16752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16753 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16754 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16755 {
16756 arg2 = wxString_in_helper(obj1);
16757 if (arg2 == NULL) SWIG_fail;
b411df4a 16758 temp2 = true;
d55e5bfc
RD
16759 }
16760 {
16761 PyThreadState* __tstate = wxPyBeginAllowThreads();
16762 (arg1)->SetFindString((wxString const &)*arg2);
16763
16764 wxPyEndAllowThreads(__tstate);
16765 if (PyErr_Occurred()) SWIG_fail;
16766 }
16767 Py_INCREF(Py_None); resultobj = Py_None;
16768 {
16769 if (temp2)
16770 delete arg2;
16771 }
16772 return resultobj;
16773 fail:
16774 {
16775 if (temp2)
16776 delete arg2;
16777 }
16778 return NULL;
16779}
16780
16781
c370783e 16782static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16783 PyObject *resultobj = NULL;
d55e5bfc
RD
16784 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16785 wxString *arg2 = 0 ;
b411df4a 16786 bool temp2 = false ;
d55e5bfc
RD
16787 PyObject * obj0 = 0 ;
16788 PyObject * obj1 = 0 ;
16789 char *kwnames[] = {
16790 (char *) "self",(char *) "str", NULL
16791 };
16792
16793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16794 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16795 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16796 {
16797 arg2 = wxString_in_helper(obj1);
16798 if (arg2 == NULL) SWIG_fail;
b411df4a 16799 temp2 = true;
d55e5bfc
RD
16800 }
16801 {
16802 PyThreadState* __tstate = wxPyBeginAllowThreads();
16803 (arg1)->SetReplaceString((wxString const &)*arg2);
16804
16805 wxPyEndAllowThreads(__tstate);
16806 if (PyErr_Occurred()) SWIG_fail;
16807 }
16808 Py_INCREF(Py_None); resultobj = Py_None;
16809 {
16810 if (temp2)
16811 delete arg2;
16812 }
16813 return resultobj;
16814 fail:
16815 {
16816 if (temp2)
16817 delete arg2;
16818 }
16819 return NULL;
16820}
16821
16822
c370783e 16823static PyObject * FindReplaceData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16824 PyObject *obj;
16825 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16826 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
16827 Py_INCREF(obj);
16828 return Py_BuildValue((char *)"");
16829}
c370783e 16830static PyObject *_wrap_new_FindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16831 PyObject *resultobj = NULL;
d55e5bfc
RD
16832 wxWindow *arg1 = (wxWindow *) 0 ;
16833 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
16834 wxString *arg3 = 0 ;
16835 int arg4 = (int) 0 ;
16836 wxFindReplaceDialog *result;
b411df4a 16837 bool temp3 = false ;
d55e5bfc
RD
16838 PyObject * obj0 = 0 ;
16839 PyObject * obj1 = 0 ;
16840 PyObject * obj2 = 0 ;
16841 PyObject * obj3 = 0 ;
16842 char *kwnames[] = {
16843 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16844 };
16845
16846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
16847 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16848 if (SWIG_arg_fail(1)) SWIG_fail;
16849 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16850 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
16851 {
16852 arg3 = wxString_in_helper(obj2);
16853 if (arg3 == NULL) SWIG_fail;
b411df4a 16854 temp3 = true;
d55e5bfc
RD
16855 }
16856 if (obj3) {
36ed4f51 16857 {
32fe5131 16858 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
16859 if (SWIG_arg_fail(4)) SWIG_fail;
16860 }
d55e5bfc
RD
16861 }
16862 {
0439c23b 16863 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
16864 PyThreadState* __tstate = wxPyBeginAllowThreads();
16865 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
16866
16867 wxPyEndAllowThreads(__tstate);
110da5b0 16868 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
16869 }
16870 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
16871 {
16872 if (temp3)
16873 delete arg3;
16874 }
16875 return resultobj;
16876 fail:
16877 {
16878 if (temp3)
16879 delete arg3;
16880 }
16881 return NULL;
16882}
16883
16884
c370783e 16885static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16886 PyObject *resultobj = NULL;
d55e5bfc
RD
16887 wxFindReplaceDialog *result;
16888 char *kwnames[] = {
16889 NULL
16890 };
16891
16892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
16893 {
0439c23b 16894 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
16895 PyThreadState* __tstate = wxPyBeginAllowThreads();
16896 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
16897
16898 wxPyEndAllowThreads(__tstate);
110da5b0 16899 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
16900 }
16901 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
16902 return resultobj;
16903 fail:
16904 return NULL;
16905}
16906
16907
c370783e 16908static PyObject *_wrap_FindReplaceDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16909 PyObject *resultobj = NULL;
d55e5bfc
RD
16910 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
16911 wxWindow *arg2 = (wxWindow *) 0 ;
16912 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
16913 wxString *arg4 = 0 ;
16914 int arg5 = (int) 0 ;
16915 bool result;
b411df4a 16916 bool temp4 = false ;
d55e5bfc
RD
16917 PyObject * obj0 = 0 ;
16918 PyObject * obj1 = 0 ;
16919 PyObject * obj2 = 0 ;
16920 PyObject * obj3 = 0 ;
16921 PyObject * obj4 = 0 ;
16922 char *kwnames[] = {
16923 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16924 };
16925
16926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
16927 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
16928 if (SWIG_arg_fail(1)) SWIG_fail;
16929 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16930 if (SWIG_arg_fail(2)) SWIG_fail;
16931 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16932 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
16933 {
16934 arg4 = wxString_in_helper(obj3);
16935 if (arg4 == NULL) SWIG_fail;
b411df4a 16936 temp4 = true;
d55e5bfc
RD
16937 }
16938 if (obj4) {
36ed4f51 16939 {
32fe5131 16940 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
16941 if (SWIG_arg_fail(5)) SWIG_fail;
16942 }
d55e5bfc
RD
16943 }
16944 {
16945 PyThreadState* __tstate = wxPyBeginAllowThreads();
16946 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
16947
16948 wxPyEndAllowThreads(__tstate);
16949 if (PyErr_Occurred()) SWIG_fail;
16950 }
16951 {
16952 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16953 }
16954 {
16955 if (temp4)
16956 delete arg4;
16957 }
16958 return resultobj;
16959 fail:
16960 {
16961 if (temp4)
16962 delete arg4;
16963 }
16964 return NULL;
16965}
16966
16967
c370783e 16968static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16969 PyObject *resultobj = NULL;
d55e5bfc
RD
16970 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
16971 wxFindReplaceData *result;
16972 PyObject * obj0 = 0 ;
16973 char *kwnames[] = {
16974 (char *) "self", NULL
16975 };
16976
16977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
36ed4f51
RD
16978 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
16979 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16980 {
16981 PyThreadState* __tstate = wxPyBeginAllowThreads();
16982 result = (wxFindReplaceData *)(arg1)->GetData();
16983
16984 wxPyEndAllowThreads(__tstate);
16985 if (PyErr_Occurred()) SWIG_fail;
16986 }
16987 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
16988 return resultobj;
16989 fail:
16990 return NULL;
16991}
16992
16993
c370783e 16994static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16995 PyObject *resultobj = NULL;
d55e5bfc
RD
16996 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
16997 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
16998 PyObject * obj0 = 0 ;
16999 PyObject * obj1 = 0 ;
17000 char *kwnames[] = {
17001 (char *) "self",(char *) "data", NULL
17002 };
17003
17004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
17005 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
17006 if (SWIG_arg_fail(1)) SWIG_fail;
17007 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
17008 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
17009 {
17010 PyThreadState* __tstate = wxPyBeginAllowThreads();
17011 (arg1)->SetData(arg2);
17012
17013 wxPyEndAllowThreads(__tstate);
17014 if (PyErr_Occurred()) SWIG_fail;
17015 }
17016 Py_INCREF(Py_None); resultobj = Py_None;
17017 return resultobj;
17018 fail:
17019 return NULL;
17020}
17021
17022
c370783e 17023static PyObject * FindReplaceDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17024 PyObject *obj;
17025 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17026 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
17027 Py_INCREF(obj);
17028 return Py_BuildValue((char *)"");
17029}
c370783e 17030static PyObject *_wrap_new_MDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17031 PyObject *resultobj = NULL;
d55e5bfc 17032 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
17033 int arg2 = (int) (int)-1 ;
17034 wxString const &arg3_defvalue = wxPyEmptyString ;
17035 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
17036 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17037 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17038 wxSize const &arg5_defvalue = wxDefaultSize ;
17039 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17040 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
17041 wxString const &arg7_defvalue = wxPyFrameNameStr ;
17042 wxString *arg7 = (wxString *) &arg7_defvalue ;
17043 wxMDIParentFrame *result;
b411df4a 17044 bool temp3 = false ;
d55e5bfc
RD
17045 wxPoint temp4 ;
17046 wxSize temp5 ;
b411df4a 17047 bool temp7 = false ;
d55e5bfc
RD
17048 PyObject * obj0 = 0 ;
17049 PyObject * obj1 = 0 ;
17050 PyObject * obj2 = 0 ;
17051 PyObject * obj3 = 0 ;
17052 PyObject * obj4 = 0 ;
17053 PyObject * obj5 = 0 ;
17054 PyObject * obj6 = 0 ;
17055 char *kwnames[] = {
17056 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17057 };
17058
bfddbb17 17059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
17060 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17061 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 17062 if (obj1) {
36ed4f51 17063 {
32fe5131 17064 arg2 = static_cast<int const >(SWIG_As_int(obj1));
36ed4f51
RD
17065 if (SWIG_arg_fail(2)) SWIG_fail;
17066 }
bfddbb17
RD
17067 }
17068 if (obj2) {
17069 {
17070 arg3 = wxString_in_helper(obj2);
17071 if (arg3 == NULL) SWIG_fail;
b411df4a 17072 temp3 = true;
bfddbb17 17073 }
d55e5bfc
RD
17074 }
17075 if (obj3) {
17076 {
17077 arg4 = &temp4;
17078 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17079 }
17080 }
17081 if (obj4) {
17082 {
17083 arg5 = &temp5;
17084 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17085 }
17086 }
17087 if (obj5) {
36ed4f51 17088 {
32fe5131 17089 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
17090 if (SWIG_arg_fail(6)) SWIG_fail;
17091 }
d55e5bfc
RD
17092 }
17093 if (obj6) {
17094 {
17095 arg7 = wxString_in_helper(obj6);
17096 if (arg7 == NULL) SWIG_fail;
b411df4a 17097 temp7 = true;
d55e5bfc
RD
17098 }
17099 }
17100 {
0439c23b 17101 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17102 PyThreadState* __tstate = wxPyBeginAllowThreads();
17103 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17104
17105 wxPyEndAllowThreads(__tstate);
110da5b0 17106 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
17107 }
17108 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
17109 {
17110 if (temp3)
17111 delete arg3;
17112 }
17113 {
17114 if (temp7)
17115 delete arg7;
17116 }
17117 return resultobj;
17118 fail:
17119 {
17120 if (temp3)
17121 delete arg3;
17122 }
17123 {
17124 if (temp7)
17125 delete arg7;
17126 }
17127 return NULL;
17128}
17129
17130
c370783e 17131static PyObject *_wrap_new_PreMDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17132 PyObject *resultobj = NULL;
d55e5bfc
RD
17133 wxMDIParentFrame *result;
17134 char *kwnames[] = {
17135 NULL
17136 };
17137
17138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
17139 {
0439c23b 17140 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17141 PyThreadState* __tstate = wxPyBeginAllowThreads();
17142 result = (wxMDIParentFrame *)new wxMDIParentFrame();
17143
17144 wxPyEndAllowThreads(__tstate);
110da5b0 17145 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
17146 }
17147 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
17148 return resultobj;
17149 fail:
17150 return NULL;
17151}
17152
17153
c370783e 17154static PyObject *_wrap_MDIParentFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17155 PyObject *resultobj = NULL;
d55e5bfc
RD
17156 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17157 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
17158 int arg3 = (int) (int)-1 ;
17159 wxString const &arg4_defvalue = wxPyEmptyString ;
17160 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
17161 wxPoint const &arg5_defvalue = wxDefaultPosition ;
17162 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
17163 wxSize const &arg6_defvalue = wxDefaultSize ;
17164 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17165 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
17166 wxString const &arg8_defvalue = wxPyFrameNameStr ;
17167 wxString *arg8 = (wxString *) &arg8_defvalue ;
17168 bool result;
b411df4a 17169 bool temp4 = false ;
d55e5bfc
RD
17170 wxPoint temp5 ;
17171 wxSize temp6 ;
b411df4a 17172 bool temp8 = false ;
d55e5bfc
RD
17173 PyObject * obj0 = 0 ;
17174 PyObject * obj1 = 0 ;
17175 PyObject * obj2 = 0 ;
17176 PyObject * obj3 = 0 ;
17177 PyObject * obj4 = 0 ;
17178 PyObject * obj5 = 0 ;
17179 PyObject * obj6 = 0 ;
17180 PyObject * obj7 = 0 ;
17181 char *kwnames[] = {
17182 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17183 };
17184
bfddbb17 17185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
17186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17187 if (SWIG_arg_fail(1)) SWIG_fail;
17188 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17189 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 17190 if (obj2) {
36ed4f51 17191 {
32fe5131 17192 arg3 = static_cast<int const >(SWIG_As_int(obj2));
36ed4f51
RD
17193 if (SWIG_arg_fail(3)) SWIG_fail;
17194 }
bfddbb17
RD
17195 }
17196 if (obj3) {
17197 {
17198 arg4 = wxString_in_helper(obj3);
17199 if (arg4 == NULL) SWIG_fail;
b411df4a 17200 temp4 = true;
bfddbb17 17201 }
d55e5bfc
RD
17202 }
17203 if (obj4) {
17204 {
17205 arg5 = &temp5;
17206 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
17207 }
17208 }
17209 if (obj5) {
17210 {
17211 arg6 = &temp6;
17212 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
17213 }
17214 }
17215 if (obj6) {
36ed4f51 17216 {
32fe5131 17217 arg7 = static_cast<long >(SWIG_As_long(obj6));
36ed4f51
RD
17218 if (SWIG_arg_fail(7)) SWIG_fail;
17219 }
d55e5bfc
RD
17220 }
17221 if (obj7) {
17222 {
17223 arg8 = wxString_in_helper(obj7);
17224 if (arg8 == NULL) SWIG_fail;
b411df4a 17225 temp8 = true;
d55e5bfc
RD
17226 }
17227 }
17228 {
17229 PyThreadState* __tstate = wxPyBeginAllowThreads();
17230 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
17231
17232 wxPyEndAllowThreads(__tstate);
17233 if (PyErr_Occurred()) SWIG_fail;
17234 }
17235 {
17236 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17237 }
17238 {
17239 if (temp4)
17240 delete arg4;
17241 }
17242 {
17243 if (temp8)
17244 delete arg8;
17245 }
17246 return resultobj;
17247 fail:
17248 {
17249 if (temp4)
17250 delete arg4;
17251 }
17252 {
17253 if (temp8)
17254 delete arg8;
17255 }
17256 return NULL;
17257}
17258
17259
c370783e 17260static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17261 PyObject *resultobj = NULL;
d55e5bfc
RD
17262 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17263 PyObject * obj0 = 0 ;
17264 char *kwnames[] = {
17265 (char *) "self", NULL
17266 };
17267
17268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
36ed4f51
RD
17269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17270 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17271 {
17272 PyThreadState* __tstate = wxPyBeginAllowThreads();
17273 (arg1)->ActivateNext();
17274
17275 wxPyEndAllowThreads(__tstate);
17276 if (PyErr_Occurred()) SWIG_fail;
17277 }
17278 Py_INCREF(Py_None); resultobj = Py_None;
17279 return resultobj;
17280 fail:
17281 return NULL;
17282}
17283
17284
c370783e 17285static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17286 PyObject *resultobj = NULL;
d55e5bfc
RD
17287 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17288 PyObject * obj0 = 0 ;
17289 char *kwnames[] = {
17290 (char *) "self", NULL
17291 };
17292
17293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
36ed4f51
RD
17294 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17295 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17296 {
17297 PyThreadState* __tstate = wxPyBeginAllowThreads();
17298 (arg1)->ActivatePrevious();
17299
17300 wxPyEndAllowThreads(__tstate);
17301 if (PyErr_Occurred()) SWIG_fail;
17302 }
17303 Py_INCREF(Py_None); resultobj = Py_None;
17304 return resultobj;
17305 fail:
17306 return NULL;
17307}
17308
17309
c370783e 17310static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17311 PyObject *resultobj = NULL;
d55e5bfc
RD
17312 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17313 PyObject * obj0 = 0 ;
17314 char *kwnames[] = {
17315 (char *) "self", NULL
17316 };
17317
17318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
36ed4f51
RD
17319 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17320 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17321 {
17322 PyThreadState* __tstate = wxPyBeginAllowThreads();
17323 (arg1)->ArrangeIcons();
17324
17325 wxPyEndAllowThreads(__tstate);
17326 if (PyErr_Occurred()) SWIG_fail;
17327 }
17328 Py_INCREF(Py_None); resultobj = Py_None;
17329 return resultobj;
17330 fail:
17331 return NULL;
17332}
17333
17334
c370783e 17335static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17336 PyObject *resultobj = NULL;
d55e5bfc
RD
17337 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17338 PyObject * obj0 = 0 ;
17339 char *kwnames[] = {
17340 (char *) "self", NULL
17341 };
17342
17343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
36ed4f51
RD
17344 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17345 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17346 {
17347 PyThreadState* __tstate = wxPyBeginAllowThreads();
17348 (arg1)->Cascade();
17349
17350 wxPyEndAllowThreads(__tstate);
17351 if (PyErr_Occurred()) SWIG_fail;
17352 }
17353 Py_INCREF(Py_None); resultobj = Py_None;
17354 return resultobj;
17355 fail:
17356 return NULL;
17357}
17358
17359
c370783e 17360static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17361 PyObject *resultobj = NULL;
d55e5bfc
RD
17362 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17363 wxMDIChildFrame *result;
17364 PyObject * obj0 = 0 ;
17365 char *kwnames[] = {
17366 (char *) "self", NULL
17367 };
17368
17369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
36ed4f51
RD
17370 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17371 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17372 {
17373 PyThreadState* __tstate = wxPyBeginAllowThreads();
17374 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
17375
17376 wxPyEndAllowThreads(__tstate);
17377 if (PyErr_Occurred()) SWIG_fail;
17378 }
17379 {
412d302d 17380 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
17381 }
17382 return resultobj;
17383 fail:
17384 return NULL;
17385}
17386
17387
c370783e 17388static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17389 PyObject *resultobj = NULL;
d55e5bfc
RD
17390 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17391 wxMDIClientWindow *result;
17392 PyObject * obj0 = 0 ;
17393 char *kwnames[] = {
17394 (char *) "self", NULL
17395 };
17396
17397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
17398 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17399 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17400 {
17401 PyThreadState* __tstate = wxPyBeginAllowThreads();
17402 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
17403
17404 wxPyEndAllowThreads(__tstate);
17405 if (PyErr_Occurred()) SWIG_fail;
17406 }
17407 {
412d302d 17408 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
17409 }
17410 return resultobj;
17411 fail:
17412 return NULL;
17413}
17414
17415
c370783e 17416static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17417 PyObject *resultobj = NULL;
d55e5bfc
RD
17418 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17419 wxWindow *result;
17420 PyObject * obj0 = 0 ;
17421 char *kwnames[] = {
17422 (char *) "self", NULL
17423 };
17424
17425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
36ed4f51
RD
17426 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17427 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17428 {
17429 PyThreadState* __tstate = wxPyBeginAllowThreads();
17430 result = (wxWindow *)(arg1)->GetToolBar();
17431
17432 wxPyEndAllowThreads(__tstate);
17433 if (PyErr_Occurred()) SWIG_fail;
17434 }
17435 {
412d302d 17436 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
17437 }
17438 return resultobj;
17439 fail:
17440 return NULL;
17441}
17442
17443
c370783e 17444static PyObject *_wrap_MDIParentFrame_Tile(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17445 PyObject *resultobj = NULL;
d55e5bfc 17446 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
3837a853 17447 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
d55e5bfc 17448 PyObject * obj0 = 0 ;
3837a853 17449 PyObject * obj1 = 0 ;
d55e5bfc 17450 char *kwnames[] = {
3837a853 17451 (char *) "self",(char *) "orient", NULL
d55e5bfc
RD
17452 };
17453
3837a853 17454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
17455 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17456 if (SWIG_arg_fail(1)) SWIG_fail;
3837a853
RD
17457 if (obj1) {
17458 {
32fe5131 17459 arg2 = static_cast<wxOrientation >(SWIG_As_int(obj1));
3837a853
RD
17460 if (SWIG_arg_fail(2)) SWIG_fail;
17461 }
17462 }
d55e5bfc
RD
17463 {
17464 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 17465 (arg1)->Tile(arg2);
d55e5bfc
RD
17466
17467 wxPyEndAllowThreads(__tstate);
17468 if (PyErr_Occurred()) SWIG_fail;
17469 }
17470 Py_INCREF(Py_None); resultobj = Py_None;
17471 return resultobj;
17472 fail:
17473 return NULL;
17474}
17475
17476
c370783e 17477static PyObject * MDIParentFrame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17478 PyObject *obj;
17479 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17480 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
17481 Py_INCREF(obj);
17482 return Py_BuildValue((char *)"");
17483}
c370783e 17484static PyObject *_wrap_new_MDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17485 PyObject *resultobj = NULL;
d55e5bfc 17486 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
bfddbb17
RD
17487 int arg2 = (int) (int)-1 ;
17488 wxString const &arg3_defvalue = wxPyEmptyString ;
17489 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
17490 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17491 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17492 wxSize const &arg5_defvalue = wxDefaultSize ;
17493 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17494 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
17495 wxString const &arg7_defvalue = wxPyFrameNameStr ;
17496 wxString *arg7 = (wxString *) &arg7_defvalue ;
17497 wxMDIChildFrame *result;
b411df4a 17498 bool temp3 = false ;
d55e5bfc
RD
17499 wxPoint temp4 ;
17500 wxSize temp5 ;
b411df4a 17501 bool temp7 = false ;
d55e5bfc
RD
17502 PyObject * obj0 = 0 ;
17503 PyObject * obj1 = 0 ;
17504 PyObject * obj2 = 0 ;
17505 PyObject * obj3 = 0 ;
17506 PyObject * obj4 = 0 ;
17507 PyObject * obj5 = 0 ;
17508 PyObject * obj6 = 0 ;
17509 char *kwnames[] = {
17510 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17511 };
17512
bfddbb17 17513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
17514 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17515 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 17516 if (obj1) {
36ed4f51 17517 {
32fe5131 17518 arg2 = static_cast<int const >(SWIG_As_int(obj1));
36ed4f51
RD
17519 if (SWIG_arg_fail(2)) SWIG_fail;
17520 }
bfddbb17
RD
17521 }
17522 if (obj2) {
17523 {
17524 arg3 = wxString_in_helper(obj2);
17525 if (arg3 == NULL) SWIG_fail;
b411df4a 17526 temp3 = true;
bfddbb17 17527 }
d55e5bfc
RD
17528 }
17529 if (obj3) {
17530 {
17531 arg4 = &temp4;
17532 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17533 }
17534 }
17535 if (obj4) {
17536 {
17537 arg5 = &temp5;
17538 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17539 }
17540 }
17541 if (obj5) {
36ed4f51 17542 {
32fe5131 17543 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
17544 if (SWIG_arg_fail(6)) SWIG_fail;
17545 }
d55e5bfc
RD
17546 }
17547 if (obj6) {
17548 {
17549 arg7 = wxString_in_helper(obj6);
17550 if (arg7 == NULL) SWIG_fail;
b411df4a 17551 temp7 = true;
d55e5bfc
RD
17552 }
17553 }
17554 {
0439c23b 17555 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17556 PyThreadState* __tstate = wxPyBeginAllowThreads();
17557 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17558
17559 wxPyEndAllowThreads(__tstate);
110da5b0 17560 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 17561 }
b0f7404b 17562 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
d55e5bfc
RD
17563 {
17564 if (temp3)
17565 delete arg3;
17566 }
17567 {
17568 if (temp7)
17569 delete arg7;
17570 }
17571 return resultobj;
17572 fail:
17573 {
17574 if (temp3)
17575 delete arg3;
17576 }
17577 {
17578 if (temp7)
17579 delete arg7;
17580 }
17581 return NULL;
17582}
17583
17584
c370783e 17585static PyObject *_wrap_new_PreMDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17586 PyObject *resultobj = NULL;
d55e5bfc
RD
17587 wxMDIChildFrame *result;
17588 char *kwnames[] = {
17589 NULL
17590 };
17591
17592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
17593 {
0439c23b 17594 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17595 PyThreadState* __tstate = wxPyBeginAllowThreads();
17596 result = (wxMDIChildFrame *)new wxMDIChildFrame();
17597
17598 wxPyEndAllowThreads(__tstate);
110da5b0 17599 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 17600 }
b0f7404b 17601 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
d55e5bfc
RD
17602 return resultobj;
17603 fail:
17604 return NULL;
17605}
17606
17607
c370783e 17608static PyObject *_wrap_MDIChildFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17609 PyObject *resultobj = NULL;
d55e5bfc
RD
17610 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17611 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
bfddbb17
RD
17612 int arg3 = (int) (int)-1 ;
17613 wxString const &arg4_defvalue = wxPyEmptyString ;
17614 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
17615 wxPoint const &arg5_defvalue = wxDefaultPosition ;
17616 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
17617 wxSize const &arg6_defvalue = wxDefaultSize ;
17618 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17619 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
17620 wxString const &arg8_defvalue = wxPyFrameNameStr ;
17621 wxString *arg8 = (wxString *) &arg8_defvalue ;
17622 bool result;
b411df4a 17623 bool temp4 = false ;
d55e5bfc
RD
17624 wxPoint temp5 ;
17625 wxSize temp6 ;
b411df4a 17626 bool temp8 = false ;
d55e5bfc
RD
17627 PyObject * obj0 = 0 ;
17628 PyObject * obj1 = 0 ;
17629 PyObject * obj2 = 0 ;
17630 PyObject * obj3 = 0 ;
17631 PyObject * obj4 = 0 ;
17632 PyObject * obj5 = 0 ;
17633 PyObject * obj6 = 0 ;
17634 PyObject * obj7 = 0 ;
17635 char *kwnames[] = {
17636 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17637 };
17638
bfddbb17 17639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
17640 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17641 if (SWIG_arg_fail(1)) SWIG_fail;
17642 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17643 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 17644 if (obj2) {
36ed4f51 17645 {
32fe5131 17646 arg3 = static_cast<int const >(SWIG_As_int(obj2));
36ed4f51
RD
17647 if (SWIG_arg_fail(3)) SWIG_fail;
17648 }
bfddbb17
RD
17649 }
17650 if (obj3) {
17651 {
17652 arg4 = wxString_in_helper(obj3);
17653 if (arg4 == NULL) SWIG_fail;
b411df4a 17654 temp4 = true;
bfddbb17 17655 }
d55e5bfc
RD
17656 }
17657 if (obj4) {
17658 {
17659 arg5 = &temp5;
17660 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
17661 }
17662 }
17663 if (obj5) {
17664 {
17665 arg6 = &temp6;
17666 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
17667 }
17668 }
17669 if (obj6) {
36ed4f51 17670 {
32fe5131 17671 arg7 = static_cast<long >(SWIG_As_long(obj6));
36ed4f51
RD
17672 if (SWIG_arg_fail(7)) SWIG_fail;
17673 }
d55e5bfc
RD
17674 }
17675 if (obj7) {
17676 {
17677 arg8 = wxString_in_helper(obj7);
17678 if (arg8 == NULL) SWIG_fail;
b411df4a 17679 temp8 = true;
d55e5bfc
RD
17680 }
17681 }
17682 {
17683 PyThreadState* __tstate = wxPyBeginAllowThreads();
17684 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
17685
17686 wxPyEndAllowThreads(__tstate);
17687 if (PyErr_Occurred()) SWIG_fail;
17688 }
17689 {
17690 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17691 }
17692 {
17693 if (temp4)
17694 delete arg4;
17695 }
17696 {
17697 if (temp8)
17698 delete arg8;
17699 }
17700 return resultobj;
17701 fail:
17702 {
17703 if (temp4)
17704 delete arg4;
17705 }
17706 {
17707 if (temp8)
17708 delete arg8;
17709 }
17710 return NULL;
17711}
17712
17713
c370783e 17714static PyObject *_wrap_MDIChildFrame_Activate(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17715 PyObject *resultobj = NULL;
d55e5bfc
RD
17716 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17717 PyObject * obj0 = 0 ;
17718 char *kwnames[] = {
17719 (char *) "self", NULL
17720 };
17721
17722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
36ed4f51
RD
17723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17724 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17725 {
17726 PyThreadState* __tstate = wxPyBeginAllowThreads();
17727 (arg1)->Activate();
17728
17729 wxPyEndAllowThreads(__tstate);
17730 if (PyErr_Occurred()) SWIG_fail;
17731 }
17732 Py_INCREF(Py_None); resultobj = Py_None;
17733 return resultobj;
17734 fail:
17735 return NULL;
17736}
17737
17738
c370783e 17739static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17740 PyObject *resultobj = NULL;
d55e5bfc 17741 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
5cbf236d 17742 bool arg2 = (bool) true ;
d55e5bfc
RD
17743 PyObject * obj0 = 0 ;
17744 PyObject * obj1 = 0 ;
17745 char *kwnames[] = {
17746 (char *) "self",(char *) "maximize", NULL
17747 };
17748
5cbf236d 17749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
17750 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17751 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d 17752 if (obj1) {
36ed4f51 17753 {
32fe5131 17754 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
17755 if (SWIG_arg_fail(2)) SWIG_fail;
17756 }
5cbf236d 17757 }
d55e5bfc
RD
17758 {
17759 PyThreadState* __tstate = wxPyBeginAllowThreads();
17760 (arg1)->Maximize(arg2);
17761
17762 wxPyEndAllowThreads(__tstate);
17763 if (PyErr_Occurred()) SWIG_fail;
17764 }
17765 Py_INCREF(Py_None); resultobj = Py_None;
17766 return resultobj;
17767 fail:
17768 return NULL;
17769}
17770
17771
c370783e 17772static PyObject *_wrap_MDIChildFrame_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17773 PyObject *resultobj = NULL;
d55e5bfc
RD
17774 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17775 PyObject * obj0 = 0 ;
17776 char *kwnames[] = {
17777 (char *) "self", NULL
17778 };
17779
17780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
36ed4f51
RD
17781 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17782 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17783 {
17784 PyThreadState* __tstate = wxPyBeginAllowThreads();
17785 (arg1)->Restore();
17786
17787 wxPyEndAllowThreads(__tstate);
17788 if (PyErr_Occurred()) SWIG_fail;
17789 }
17790 Py_INCREF(Py_None); resultobj = Py_None;
17791 return resultobj;
17792 fail:
17793 return NULL;
17794}
17795
17796
c370783e 17797static PyObject * MDIChildFrame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17798 PyObject *obj;
17799 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17800 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
17801 Py_INCREF(obj);
17802 return Py_BuildValue((char *)"");
17803}
c370783e 17804static PyObject *_wrap_new_MDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17805 PyObject *resultobj = NULL;
d55e5bfc
RD
17806 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17807 long arg2 = (long) 0 ;
17808 wxMDIClientWindow *result;
17809 PyObject * obj0 = 0 ;
17810 PyObject * obj1 = 0 ;
17811 char *kwnames[] = {
17812 (char *) "parent",(char *) "style", NULL
17813 };
17814
17815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
17816 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17817 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 17818 if (obj1) {
36ed4f51 17819 {
32fe5131 17820 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
17821 if (SWIG_arg_fail(2)) SWIG_fail;
17822 }
d55e5bfc
RD
17823 }
17824 {
0439c23b 17825 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17826 PyThreadState* __tstate = wxPyBeginAllowThreads();
17827 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
17828
17829 wxPyEndAllowThreads(__tstate);
110da5b0 17830 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 17831 }
b0f7404b 17832 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
d55e5bfc
RD
17833 return resultobj;
17834 fail:
17835 return NULL;
17836}
17837
17838
c370783e 17839static PyObject *_wrap_new_PreMDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17840 PyObject *resultobj = NULL;
d55e5bfc
RD
17841 wxMDIClientWindow *result;
17842 char *kwnames[] = {
17843 NULL
17844 };
17845
17846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
17847 {
0439c23b 17848 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17849 PyThreadState* __tstate = wxPyBeginAllowThreads();
17850 result = (wxMDIClientWindow *)new wxMDIClientWindow();
17851
17852 wxPyEndAllowThreads(__tstate);
110da5b0 17853 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 17854 }
b0f7404b 17855 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
d55e5bfc
RD
17856 return resultobj;
17857 fail:
17858 return NULL;
17859}
17860
17861
c370783e 17862static PyObject *_wrap_MDIClientWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17863 PyObject *resultobj = NULL;
d55e5bfc
RD
17864 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
17865 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
17866 long arg3 = (long) 0 ;
17867 bool result;
17868 PyObject * obj0 = 0 ;
17869 PyObject * obj1 = 0 ;
17870 PyObject * obj2 = 0 ;
17871 char *kwnames[] = {
17872 (char *) "self",(char *) "parent",(char *) "style", NULL
17873 };
17874
17875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
17876 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_EXCEPTION | 0);
17877 if (SWIG_arg_fail(1)) SWIG_fail;
17878 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17879 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 17880 if (obj2) {
36ed4f51 17881 {
32fe5131 17882 arg3 = static_cast<long >(SWIG_As_long(obj2));
36ed4f51
RD
17883 if (SWIG_arg_fail(3)) SWIG_fail;
17884 }
d55e5bfc
RD
17885 }
17886 {
17887 PyThreadState* __tstate = wxPyBeginAllowThreads();
17888 result = (bool)(arg1)->Create(arg2,arg3);
17889
17890 wxPyEndAllowThreads(__tstate);
17891 if (PyErr_Occurred()) SWIG_fail;
17892 }
17893 {
17894 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17895 }
17896 return resultobj;
17897 fail:
17898 return NULL;
17899}
17900
17901
c370783e 17902static PyObject * MDIClientWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17903 PyObject *obj;
17904 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17905 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
17906 Py_INCREF(obj);
17907 return Py_BuildValue((char *)"");
17908}
c370783e 17909static PyObject *_wrap_new_PyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17910 PyObject *resultobj = NULL;
d55e5bfc 17911 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 17912 int arg2 = (int) (int)-1 ;
d55e5bfc
RD
17913 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17914 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17915 wxSize const &arg4_defvalue = wxDefaultSize ;
17916 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17917 long arg5 = (long) 0 ;
17918 wxString const &arg6_defvalue = wxPyPanelNameStr ;
17919 wxString *arg6 = (wxString *) &arg6_defvalue ;
17920 wxPyWindow *result;
17921 wxPoint temp3 ;
17922 wxSize temp4 ;
b411df4a 17923 bool temp6 = false ;
d55e5bfc
RD
17924 PyObject * obj0 = 0 ;
17925 PyObject * obj1 = 0 ;
17926 PyObject * obj2 = 0 ;
17927 PyObject * obj3 = 0 ;
17928 PyObject * obj4 = 0 ;
17929 PyObject * obj5 = 0 ;
17930 char *kwnames[] = {
17931 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17932 };
17933
bfddbb17 17934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
17935 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17936 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 17937 if (obj1) {
36ed4f51 17938 {
32fe5131 17939 arg2 = static_cast<int const >(SWIG_As_int(obj1));
36ed4f51
RD
17940 if (SWIG_arg_fail(2)) SWIG_fail;
17941 }
bfddbb17 17942 }
d55e5bfc
RD
17943 if (obj2) {
17944 {
17945 arg3 = &temp3;
17946 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17947 }
17948 }
17949 if (obj3) {
17950 {
17951 arg4 = &temp4;
17952 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17953 }
17954 }
17955 if (obj4) {
36ed4f51 17956 {
32fe5131 17957 arg5 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
17958 if (SWIG_arg_fail(5)) SWIG_fail;
17959 }
d55e5bfc
RD
17960 }
17961 if (obj5) {
17962 {
17963 arg6 = wxString_in_helper(obj5);
17964 if (arg6 == NULL) SWIG_fail;
b411df4a 17965 temp6 = true;
d55e5bfc
RD
17966 }
17967 }
17968 {
0439c23b 17969 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17970 PyThreadState* __tstate = wxPyBeginAllowThreads();
17971 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17972
17973 wxPyEndAllowThreads(__tstate);
110da5b0 17974 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
17975 }
17976 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
17977 {
17978 if (temp6)
17979 delete arg6;
17980 }
17981 return resultobj;
17982 fail:
17983 {
17984 if (temp6)
17985 delete arg6;
17986 }
17987 return NULL;
17988}
17989
17990
c370783e 17991static PyObject *_wrap_new_PrePyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17992 PyObject *resultobj = NULL;
d55e5bfc
RD
17993 wxPyWindow *result;
17994 char *kwnames[] = {
17995 NULL
17996 };
17997
17998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
17999 {
0439c23b 18000 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
18001 PyThreadState* __tstate = wxPyBeginAllowThreads();
18002 result = (wxPyWindow *)new wxPyWindow();
18003
18004 wxPyEndAllowThreads(__tstate);
110da5b0 18005 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
18006 }
18007 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
18008 return resultobj;
18009 fail:
18010 return NULL;
18011}
18012
18013
c370783e 18014static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18015 PyObject *resultobj = NULL;
d55e5bfc
RD
18016 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18017 PyObject *arg2 = (PyObject *) 0 ;
18018 PyObject *arg3 = (PyObject *) 0 ;
18019 PyObject * obj0 = 0 ;
18020 PyObject * obj1 = 0 ;
18021 PyObject * obj2 = 0 ;
18022 char *kwnames[] = {
18023 (char *) "self",(char *) "self",(char *) "_class", NULL
18024 };
18025
18026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
18027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18028 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18029 arg2 = obj1;
18030 arg3 = obj2;
18031 {
18032 PyThreadState* __tstate = wxPyBeginAllowThreads();
18033 (arg1)->_setCallbackInfo(arg2,arg3);
18034
18035 wxPyEndAllowThreads(__tstate);
18036 if (PyErr_Occurred()) SWIG_fail;
18037 }
18038 Py_INCREF(Py_None); resultobj = Py_None;
18039 return resultobj;
18040 fail:
18041 return NULL;
18042}
18043
18044
c370783e 18045static PyObject *_wrap_PyWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18046 PyObject *resultobj = NULL;
a5ee0656
RD
18047 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18048 wxSize *arg2 = 0 ;
18049 wxSize temp2 ;
18050 PyObject * obj0 = 0 ;
18051 PyObject * obj1 = 0 ;
18052 char *kwnames[] = {
18053 (char *) "self",(char *) "size", NULL
18054 };
18055
18056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
18057 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18058 if (SWIG_arg_fail(1)) SWIG_fail;
a5ee0656
RD
18059 {
18060 arg2 = &temp2;
18061 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18062 }
18063 {
18064 PyThreadState* __tstate = wxPyBeginAllowThreads();
18065 (arg1)->SetBestSize((wxSize const &)*arg2);
18066
18067 wxPyEndAllowThreads(__tstate);
18068 if (PyErr_Occurred()) SWIG_fail;
18069 }
18070 Py_INCREF(Py_None); resultobj = Py_None;
18071 return resultobj;
18072 fail:
18073 return NULL;
18074}
18075
18076
976dbff5 18077static PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18078 PyObject *resultobj = NULL;
976dbff5
RD
18079 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18080 wxDC *arg2 = (wxDC *) 0 ;
18081 bool result;
18082 PyObject * obj0 = 0 ;
18083 PyObject * obj1 = 0 ;
18084 char *kwnames[] = {
18085 (char *) "self",(char *) "dc", NULL
18086 };
18087
18088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail;
18089 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18090 if (SWIG_arg_fail(1)) SWIG_fail;
18091 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
18092 if (SWIG_arg_fail(2)) SWIG_fail;
18093 {
18094 PyThreadState* __tstate = wxPyBeginAllowThreads();
18095 result = (bool)(arg1)->DoEraseBackground(arg2);
18096
18097 wxPyEndAllowThreads(__tstate);
18098 if (PyErr_Occurred()) SWIG_fail;
18099 }
18100 {
18101 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18102 }
18103 return resultobj;
18104 fail:
18105 return NULL;
18106}
18107
18108
c370783e 18109static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18110 PyObject *resultobj = NULL;
d55e5bfc
RD
18111 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18112 int arg2 ;
18113 int arg3 ;
18114 int arg4 ;
18115 int arg5 ;
18116 PyObject * obj0 = 0 ;
18117 PyObject * obj1 = 0 ;
18118 PyObject * obj2 = 0 ;
18119 PyObject * obj3 = 0 ;
18120 PyObject * obj4 = 0 ;
18121 char *kwnames[] = {
18122 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18123 };
18124
18125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
18126 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18127 if (SWIG_arg_fail(1)) SWIG_fail;
18128 {
32fe5131 18129 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
18130 if (SWIG_arg_fail(2)) SWIG_fail;
18131 }
18132 {
32fe5131 18133 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
18134 if (SWIG_arg_fail(3)) SWIG_fail;
18135 }
18136 {
32fe5131 18137 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
18138 if (SWIG_arg_fail(4)) SWIG_fail;
18139 }
18140 {
32fe5131 18141 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
18142 if (SWIG_arg_fail(5)) SWIG_fail;
18143 }
d55e5bfc
RD
18144 {
18145 PyThreadState* __tstate = wxPyBeginAllowThreads();
18146 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
18147
18148 wxPyEndAllowThreads(__tstate);
18149 if (PyErr_Occurred()) SWIG_fail;
18150 }
18151 Py_INCREF(Py_None); resultobj = Py_None;
18152 return resultobj;
18153 fail:
18154 return NULL;
18155}
18156
18157
c370783e 18158static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18159 PyObject *resultobj = NULL;
d55e5bfc
RD
18160 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18161 int arg2 ;
18162 int arg3 ;
18163 int arg4 ;
18164 int arg5 ;
18165 int arg6 = (int) wxSIZE_AUTO ;
18166 PyObject * obj0 = 0 ;
18167 PyObject * obj1 = 0 ;
18168 PyObject * obj2 = 0 ;
18169 PyObject * obj3 = 0 ;
18170 PyObject * obj4 = 0 ;
18171 PyObject * obj5 = 0 ;
18172 char *kwnames[] = {
18173 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
18174 };
18175
18176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
18177 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18178 if (SWIG_arg_fail(1)) SWIG_fail;
18179 {
32fe5131 18180 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
18181 if (SWIG_arg_fail(2)) SWIG_fail;
18182 }
18183 {
32fe5131 18184 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
18185 if (SWIG_arg_fail(3)) SWIG_fail;
18186 }
18187 {
32fe5131 18188 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
18189 if (SWIG_arg_fail(4)) SWIG_fail;
18190 }
18191 {
32fe5131 18192 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
18193 if (SWIG_arg_fail(5)) SWIG_fail;
18194 }
d55e5bfc 18195 if (obj5) {
36ed4f51 18196 {
32fe5131 18197 arg6 = static_cast<int >(SWIG_As_int(obj5));
36ed4f51
RD
18198 if (SWIG_arg_fail(6)) SWIG_fail;
18199 }
d55e5bfc
RD
18200 }
18201 {
18202 PyThreadState* __tstate = wxPyBeginAllowThreads();
18203 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
18204
18205 wxPyEndAllowThreads(__tstate);
18206 if (PyErr_Occurred()) SWIG_fail;
18207 }
18208 Py_INCREF(Py_None); resultobj = Py_None;
18209 return resultobj;
18210 fail:
18211 return NULL;
18212}
18213
18214
c370783e 18215static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18216 PyObject *resultobj = NULL;
d55e5bfc
RD
18217 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18218 int arg2 ;
18219 int arg3 ;
18220 PyObject * obj0 = 0 ;
18221 PyObject * obj1 = 0 ;
18222 PyObject * obj2 = 0 ;
18223 char *kwnames[] = {
18224 (char *) "self",(char *) "width",(char *) "height", NULL
18225 };
18226
18227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
18228 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18229 if (SWIG_arg_fail(1)) SWIG_fail;
18230 {
32fe5131 18231 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
18232 if (SWIG_arg_fail(2)) SWIG_fail;
18233 }
18234 {
32fe5131 18235 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
18236 if (SWIG_arg_fail(3)) SWIG_fail;
18237 }
d55e5bfc
RD
18238 {
18239 PyThreadState* __tstate = wxPyBeginAllowThreads();
18240 (arg1)->base_DoSetClientSize(arg2,arg3);
18241
18242 wxPyEndAllowThreads(__tstate);
18243 if (PyErr_Occurred()) SWIG_fail;
18244 }
18245 Py_INCREF(Py_None); resultobj = Py_None;
18246 return resultobj;
18247 fail:
18248 return NULL;
18249}
18250
18251
c370783e 18252static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18253 PyObject *resultobj = NULL;
d55e5bfc
RD
18254 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18255 int arg2 ;
18256 int arg3 ;
18257 PyObject * obj0 = 0 ;
18258 PyObject * obj1 = 0 ;
18259 PyObject * obj2 = 0 ;
18260 char *kwnames[] = {
18261 (char *) "self",(char *) "x",(char *) "y", NULL
18262 };
18263
18264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
18265 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18266 if (SWIG_arg_fail(1)) SWIG_fail;
18267 {
32fe5131 18268 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
18269 if (SWIG_arg_fail(2)) SWIG_fail;
18270 }
18271 {
32fe5131 18272 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
18273 if (SWIG_arg_fail(3)) SWIG_fail;
18274 }
d55e5bfc
RD
18275 {
18276 PyThreadState* __tstate = wxPyBeginAllowThreads();
18277 (arg1)->base_DoSetVirtualSize(arg2,arg3);
18278
18279 wxPyEndAllowThreads(__tstate);
18280 if (PyErr_Occurred()) SWIG_fail;
18281 }
18282 Py_INCREF(Py_None); resultobj = Py_None;
18283 return resultobj;
18284 fail:
18285 return NULL;
18286}
18287
18288
c370783e 18289static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18290 PyObject *resultobj = NULL;
d55e5bfc
RD
18291 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18292 int *arg2 = (int *) 0 ;
18293 int *arg3 = (int *) 0 ;
18294 int temp2 ;
c370783e 18295 int res2 = 0 ;
d55e5bfc 18296 int temp3 ;
c370783e 18297 int res3 = 0 ;
d55e5bfc
RD
18298 PyObject * obj0 = 0 ;
18299 char *kwnames[] = {
18300 (char *) "self", NULL
18301 };
18302
c370783e
RD
18303 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18304 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 18305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
18306 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18307 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18308 {
18309 PyThreadState* __tstate = wxPyBeginAllowThreads();
18310 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
18311
18312 wxPyEndAllowThreads(__tstate);
18313 if (PyErr_Occurred()) SWIG_fail;
18314 }
18315 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
18316 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18317 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18318 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18319 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
18320 return resultobj;
18321 fail:
18322 return NULL;
18323}
18324
18325
c370783e 18326static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18327 PyObject *resultobj = NULL;
d55e5bfc
RD
18328 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18329 int *arg2 = (int *) 0 ;
18330 int *arg3 = (int *) 0 ;
18331 int temp2 ;
c370783e 18332 int res2 = 0 ;
d55e5bfc 18333 int temp3 ;
c370783e 18334 int res3 = 0 ;
d55e5bfc
RD
18335 PyObject * obj0 = 0 ;
18336 char *kwnames[] = {
18337 (char *) "self", NULL
18338 };
18339
c370783e
RD
18340 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18341 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 18342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
18343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18344 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18345 {
18346 PyThreadState* __tstate = wxPyBeginAllowThreads();
18347 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
18348
18349 wxPyEndAllowThreads(__tstate);
18350 if (PyErr_Occurred()) SWIG_fail;
18351 }
18352 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
18353 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18354 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18355 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18356 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
18357 return resultobj;
18358 fail:
18359 return NULL;
18360}
18361
18362
c370783e 18363static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18364 PyObject *resultobj = NULL;
d55e5bfc
RD
18365 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18366 int *arg2 = (int *) 0 ;
18367 int *arg3 = (int *) 0 ;
18368 int temp2 ;
c370783e 18369 int res2 = 0 ;
d55e5bfc 18370 int temp3 ;
c370783e 18371 int res3 = 0 ;
d55e5bfc
RD
18372 PyObject * obj0 = 0 ;
18373 char *kwnames[] = {
18374 (char *) "self", NULL
18375 };
18376
c370783e
RD
18377 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18378 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 18379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
36ed4f51
RD
18380 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18381 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18382 {
18383 PyThreadState* __tstate = wxPyBeginAllowThreads();
18384 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
18385
18386 wxPyEndAllowThreads(__tstate);
18387 if (PyErr_Occurred()) SWIG_fail;
18388 }
18389 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
18390 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18391 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18392 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18393 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
18394 return resultobj;
18395 fail:
18396 return NULL;
18397}
18398
18399
c370783e 18400static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18401 PyObject *resultobj = NULL;
d55e5bfc
RD
18402 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18403 wxSize result;
18404 PyObject * obj0 = 0 ;
18405 char *kwnames[] = {
18406 (char *) "self", NULL
18407 };
18408
18409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
18410 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18411 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18412 {
18413 PyThreadState* __tstate = wxPyBeginAllowThreads();
18414 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
18415
18416 wxPyEndAllowThreads(__tstate);
18417 if (PyErr_Occurred()) SWIG_fail;
18418 }
18419 {
18420 wxSize * resultptr;
32fe5131 18421 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
18422 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18423 }
18424 return resultobj;
18425 fail:
18426 return NULL;
18427}
18428
18429
c370783e 18430static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18431 PyObject *resultobj = NULL;
d55e5bfc
RD
18432 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18433 wxSize result;
18434 PyObject * obj0 = 0 ;
18435 char *kwnames[] = {
18436 (char *) "self", NULL
18437 };
18438
18439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
18440 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18441 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18442 {
18443 PyThreadState* __tstate = wxPyBeginAllowThreads();
18444 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
18445
18446 wxPyEndAllowThreads(__tstate);
18447 if (PyErr_Occurred()) SWIG_fail;
18448 }
18449 {
18450 wxSize * resultptr;
32fe5131 18451 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
18452 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18453 }
18454 return resultobj;
18455 fail:
18456 return NULL;
18457}
18458
18459
c370783e 18460static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18461 PyObject *resultobj = NULL;
d55e5bfc
RD
18462 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18463 PyObject * obj0 = 0 ;
18464 char *kwnames[] = {
18465 (char *) "self", NULL
18466 };
18467
18468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
36ed4f51
RD
18469 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18470 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18471 {
18472 PyThreadState* __tstate = wxPyBeginAllowThreads();
18473 (arg1)->base_InitDialog();
18474
18475 wxPyEndAllowThreads(__tstate);
18476 if (PyErr_Occurred()) SWIG_fail;
18477 }
18478 Py_INCREF(Py_None); resultobj = Py_None;
18479 return resultobj;
18480 fail:
18481 return NULL;
18482}
18483
18484
c370783e 18485static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18486 PyObject *resultobj = NULL;
d55e5bfc
RD
18487 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18488 bool result;
18489 PyObject * obj0 = 0 ;
18490 char *kwnames[] = {
18491 (char *) "self", NULL
18492 };
18493
18494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
18495 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18496 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18497 {
18498 PyThreadState* __tstate = wxPyBeginAllowThreads();
18499 result = (bool)(arg1)->base_TransferDataToWindow();
18500
18501 wxPyEndAllowThreads(__tstate);
18502 if (PyErr_Occurred()) SWIG_fail;
18503 }
18504 {
18505 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18506 }
18507 return resultobj;
18508 fail:
18509 return NULL;
18510}
18511
18512
c370783e 18513static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18514 PyObject *resultobj = NULL;
d55e5bfc
RD
18515 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18516 bool result;
18517 PyObject * obj0 = 0 ;
18518 char *kwnames[] = {
18519 (char *) "self", NULL
18520 };
18521
18522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
18523 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18524 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18525 {
18526 PyThreadState* __tstate = wxPyBeginAllowThreads();
18527 result = (bool)(arg1)->base_TransferDataFromWindow();
18528
18529 wxPyEndAllowThreads(__tstate);
18530 if (PyErr_Occurred()) SWIG_fail;
18531 }
18532 {
18533 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18534 }
18535 return resultobj;
18536 fail:
18537 return NULL;
18538}
18539
18540
c370783e 18541static PyObject *_wrap_PyWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18542 PyObject *resultobj = NULL;
d55e5bfc
RD
18543 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18544 bool result;
18545 PyObject * obj0 = 0 ;
18546 char *kwnames[] = {
18547 (char *) "self", NULL
18548 };
18549
18550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
36ed4f51
RD
18551 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18552 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18553 {
18554 PyThreadState* __tstate = wxPyBeginAllowThreads();
18555 result = (bool)(arg1)->base_Validate();
18556
18557 wxPyEndAllowThreads(__tstate);
18558 if (PyErr_Occurred()) SWIG_fail;
18559 }
18560 {
18561 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18562 }
18563 return resultobj;
18564 fail:
18565 return NULL;
18566}
18567
18568
c370783e 18569static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18570 PyObject *resultobj = NULL;
d55e5bfc
RD
18571 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18572 bool result;
18573 PyObject * obj0 = 0 ;
18574 char *kwnames[] = {
18575 (char *) "self", NULL
18576 };
18577
18578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
36ed4f51
RD
18579 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18580 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18581 {
18582 PyThreadState* __tstate = wxPyBeginAllowThreads();
18583 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
18584
18585 wxPyEndAllowThreads(__tstate);
18586 if (PyErr_Occurred()) SWIG_fail;
18587 }
18588 {
18589 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18590 }
18591 return resultobj;
18592 fail:
18593 return NULL;
18594}
18595
18596
c370783e 18597static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18598 PyObject *resultobj = NULL;
d55e5bfc
RD
18599 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18600 bool result;
18601 PyObject * obj0 = 0 ;
18602 char *kwnames[] = {
18603 (char *) "self", NULL
18604 };
18605
18606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
36ed4f51
RD
18607 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18608 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18609 {
18610 PyThreadState* __tstate = wxPyBeginAllowThreads();
18611 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
18612
18613 wxPyEndAllowThreads(__tstate);
18614 if (PyErr_Occurred()) SWIG_fail;
18615 }
18616 {
18617 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18618 }
18619 return resultobj;
18620 fail:
18621 return NULL;
18622}
18623
18624
c370783e 18625static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18626 PyObject *resultobj = NULL;
d55e5bfc
RD
18627 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18628 wxSize result;
18629 PyObject * obj0 = 0 ;
18630 char *kwnames[] = {
18631 (char *) "self", NULL
18632 };
18633
18634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
18635 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18636 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18637 {
18638 PyThreadState* __tstate = wxPyBeginAllowThreads();
18639 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
18640
18641 wxPyEndAllowThreads(__tstate);
18642 if (PyErr_Occurred()) SWIG_fail;
18643 }
18644 {
18645 wxSize * resultptr;
32fe5131 18646 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
18647 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18648 }
18649 return resultobj;
18650 fail:
18651 return NULL;
18652}
18653
18654
c370783e 18655static PyObject *_wrap_PyWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18656 PyObject *resultobj = NULL;
d55e5bfc
RD
18657 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18658 wxWindow *arg2 = (wxWindow *) 0 ;
18659 PyObject * obj0 = 0 ;
18660 PyObject * obj1 = 0 ;
18661 char *kwnames[] = {
18662 (char *) "self",(char *) "child", NULL
18663 };
18664
18665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
18666 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18667 if (SWIG_arg_fail(1)) SWIG_fail;
18668 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18669 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
18670 {
18671 PyThreadState* __tstate = wxPyBeginAllowThreads();
18672 (arg1)->base_AddChild(arg2);
18673
18674 wxPyEndAllowThreads(__tstate);
18675 if (PyErr_Occurred()) SWIG_fail;
18676 }
18677 Py_INCREF(Py_None); resultobj = Py_None;
18678 return resultobj;
18679 fail:
18680 return NULL;
18681}
18682
18683
c370783e 18684static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18685 PyObject *resultobj = NULL;
d55e5bfc
RD
18686 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18687 wxWindow *arg2 = (wxWindow *) 0 ;
18688 PyObject * obj0 = 0 ;
18689 PyObject * obj1 = 0 ;
18690 char *kwnames[] = {
18691 (char *) "self",(char *) "child", NULL
18692 };
18693
18694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
18695 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18696 if (SWIG_arg_fail(1)) SWIG_fail;
18697 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18698 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
18699 {
18700 PyThreadState* __tstate = wxPyBeginAllowThreads();
18701 (arg1)->base_RemoveChild(arg2);
18702
18703 wxPyEndAllowThreads(__tstate);
18704 if (PyErr_Occurred()) SWIG_fail;
18705 }
18706 Py_INCREF(Py_None); resultobj = Py_None;
18707 return resultobj;
18708 fail:
18709 return NULL;
18710}
18711
18712
c370783e 18713static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18714 PyObject *resultobj = NULL;
d55e5bfc
RD
18715 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18716 bool result;
18717 PyObject * obj0 = 0 ;
18718 char *kwnames[] = {
18719 (char *) "self", NULL
18720 };
18721
18722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
36ed4f51
RD
18723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18724 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18725 {
18726 PyThreadState* __tstate = wxPyBeginAllowThreads();
a5ee0656 18727 result = (bool)((wxPyWindow const *)arg1)->base_ShouldInheritColours();
d55e5bfc
RD
18728
18729 wxPyEndAllowThreads(__tstate);
18730 if (PyErr_Occurred()) SWIG_fail;
18731 }
18732 {
18733 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18734 }
18735 return resultobj;
18736 fail:
18737 return NULL;
18738}
18739
18740
c370783e 18741static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18742 PyObject *resultobj = NULL;
a5ee0656
RD
18743 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18744 wxVisualAttributes result;
18745 PyObject * obj0 = 0 ;
18746 char *kwnames[] = {
18747 (char *) "self", NULL
18748 };
18749
18750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
36ed4f51
RD
18751 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18752 if (SWIG_arg_fail(1)) SWIG_fail;
a5ee0656
RD
18753 {
18754 PyThreadState* __tstate = wxPyBeginAllowThreads();
18755 result = (arg1)->base_GetDefaultAttributes();
18756
18757 wxPyEndAllowThreads(__tstate);
18758 if (PyErr_Occurred()) SWIG_fail;
18759 }
18760 {
18761 wxVisualAttributes * resultptr;
32fe5131 18762 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
a5ee0656
RD
18763 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
18764 }
18765 return resultobj;
18766 fail:
18767 return NULL;
18768}
18769
18770
8d38bd1d 18771static PyObject *_wrap_PyWindow_base_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18772 PyObject *resultobj = NULL;
8d38bd1d
RD
18773 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18774 PyObject * obj0 = 0 ;
18775 char *kwnames[] = {
18776 (char *) "self", NULL
18777 };
18778
18779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_OnInternalIdle",kwnames,&obj0)) goto fail;
18780 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18781 if (SWIG_arg_fail(1)) SWIG_fail;
18782 {
18783 PyThreadState* __tstate = wxPyBeginAllowThreads();
18784 (arg1)->base_OnInternalIdle();
18785
18786 wxPyEndAllowThreads(__tstate);
18787 if (PyErr_Occurred()) SWIG_fail;
18788 }
18789 Py_INCREF(Py_None); resultobj = Py_None;
18790 return resultobj;
18791 fail:
18792 return NULL;
18793}
18794
18795
c370783e 18796static PyObject * PyWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
18797 PyObject *obj;
18798 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18799 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
18800 Py_INCREF(obj);
18801 return Py_BuildValue((char *)"");
18802}
c370783e 18803static PyObject *_wrap_new_PyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18804 PyObject *resultobj = NULL;
d55e5bfc 18805 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 18806 int arg2 = (int) (int)-1 ;
d55e5bfc
RD
18807 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18808 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18809 wxSize const &arg4_defvalue = wxDefaultSize ;
18810 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18811 long arg5 = (long) 0 ;
18812 wxString const &arg6_defvalue = wxPyPanelNameStr ;
18813 wxString *arg6 = (wxString *) &arg6_defvalue ;
18814 wxPyPanel *result;
18815 wxPoint temp3 ;
18816 wxSize temp4 ;
b411df4a 18817 bool temp6 = false ;
d55e5bfc
RD
18818 PyObject * obj0 = 0 ;
18819 PyObject * obj1 = 0 ;
18820 PyObject * obj2 = 0 ;
18821 PyObject * obj3 = 0 ;
18822 PyObject * obj4 = 0 ;
18823 PyObject * obj5 = 0 ;
18824 char *kwnames[] = {
18825 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18826 };
18827
bfddbb17 18828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
18829 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18830 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 18831 if (obj1) {
36ed4f51 18832 {
32fe5131 18833 arg2 = static_cast<int const >(SWIG_As_int(obj1));
36ed4f51
RD
18834 if (SWIG_arg_fail(2)) SWIG_fail;
18835 }
bfddbb17 18836 }
d55e5bfc
RD
18837 if (obj2) {
18838 {
18839 arg3 = &temp3;
18840 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18841 }
18842 }
18843 if (obj3) {
18844 {
18845 arg4 = &temp4;
18846 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18847 }
18848 }
18849 if (obj4) {
36ed4f51 18850 {
32fe5131 18851 arg5 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
18852 if (SWIG_arg_fail(5)) SWIG_fail;
18853 }
d55e5bfc
RD
18854 }
18855 if (obj5) {
18856 {
18857 arg6 = wxString_in_helper(obj5);
18858 if (arg6 == NULL) SWIG_fail;
b411df4a 18859 temp6 = true;
d55e5bfc
RD
18860 }
18861 }
18862 {
0439c23b 18863 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
18864 PyThreadState* __tstate = wxPyBeginAllowThreads();
18865 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18866
18867 wxPyEndAllowThreads(__tstate);
110da5b0 18868 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
18869 }
18870 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
18871 {
18872 if (temp6)
18873 delete arg6;
18874 }
18875 return resultobj;
18876 fail:
18877 {
18878 if (temp6)
18879 delete arg6;
18880 }
18881 return NULL;
18882}
18883
18884
c370783e 18885static PyObject *_wrap_new_PrePyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18886 PyObject *resultobj = NULL;
d55e5bfc
RD
18887 wxPyPanel *result;
18888 char *kwnames[] = {
18889 NULL
18890 };
18891
18892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
18893 {
0439c23b 18894 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
18895 PyThreadState* __tstate = wxPyBeginAllowThreads();
18896 result = (wxPyPanel *)new wxPyPanel();
18897
18898 wxPyEndAllowThreads(__tstate);
110da5b0 18899 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
18900 }
18901 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
18902 return resultobj;
18903 fail:
18904 return NULL;
18905}
18906
18907
c370783e 18908static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18909 PyObject *resultobj = NULL;
d55e5bfc
RD
18910 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18911 PyObject *arg2 = (PyObject *) 0 ;
18912 PyObject *arg3 = (PyObject *) 0 ;
18913 PyObject * obj0 = 0 ;
18914 PyObject * obj1 = 0 ;
18915 PyObject * obj2 = 0 ;
18916 char *kwnames[] = {
18917 (char *) "self",(char *) "self",(char *) "_class", NULL
18918 };
18919
18920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
18921 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18922 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18923 arg2 = obj1;
18924 arg3 = obj2;
18925 {
18926 PyThreadState* __tstate = wxPyBeginAllowThreads();
18927 (arg1)->_setCallbackInfo(arg2,arg3);
18928
18929 wxPyEndAllowThreads(__tstate);
18930 if (PyErr_Occurred()) SWIG_fail;
18931 }
18932 Py_INCREF(Py_None); resultobj = Py_None;
18933 return resultobj;
18934 fail:
18935 return NULL;
18936}
18937
18938
c370783e 18939static PyObject *_wrap_PyPanel_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18940 PyObject *resultobj = NULL;
a5ee0656
RD
18941 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18942 wxSize *arg2 = 0 ;
18943 wxSize temp2 ;
18944 PyObject * obj0 = 0 ;
18945 PyObject * obj1 = 0 ;
18946 char *kwnames[] = {
18947 (char *) "self",(char *) "size", NULL
18948 };
18949
18950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
18951 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18952 if (SWIG_arg_fail(1)) SWIG_fail;
a5ee0656
RD
18953 {
18954 arg2 = &temp2;
18955 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18956 }
18957 {
18958 PyThreadState* __tstate = wxPyBeginAllowThreads();
18959 (arg1)->SetBestSize((wxSize const &)*arg2);
18960
18961 wxPyEndAllowThreads(__tstate);
18962 if (PyErr_Occurred()) SWIG_fail;
18963 }
18964 Py_INCREF(Py_None); resultobj = Py_None;
18965 return resultobj;
18966 fail:
18967 return NULL;
18968}
18969
18970
976dbff5 18971static PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18972 PyObject *resultobj = NULL;
976dbff5
RD
18973 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18974 wxDC *arg2 = (wxDC *) 0 ;
18975 bool result;
18976 PyObject * obj0 = 0 ;
18977 PyObject * obj1 = 0 ;
18978 char *kwnames[] = {
18979 (char *) "self",(char *) "dc", NULL
18980 };
18981
18982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail;
18983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18984 if (SWIG_arg_fail(1)) SWIG_fail;
18985 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
18986 if (SWIG_arg_fail(2)) SWIG_fail;
18987 {
18988 PyThreadState* __tstate = wxPyBeginAllowThreads();
18989 result = (bool)(arg1)->DoEraseBackground(arg2);
18990
18991 wxPyEndAllowThreads(__tstate);
18992 if (PyErr_Occurred()) SWIG_fail;
18993 }
18994 {
18995 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18996 }
18997 return resultobj;
18998 fail:
18999 return NULL;
19000}
19001
19002
c370783e 19003static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19004 PyObject *resultobj = NULL;
d55e5bfc
RD
19005 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19006 int arg2 ;
19007 int arg3 ;
19008 int arg4 ;
19009 int arg5 ;
19010 PyObject * obj0 = 0 ;
19011 PyObject * obj1 = 0 ;
19012 PyObject * obj2 = 0 ;
19013 PyObject * obj3 = 0 ;
19014 PyObject * obj4 = 0 ;
19015 char *kwnames[] = {
19016 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19017 };
19018
19019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
19020 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19021 if (SWIG_arg_fail(1)) SWIG_fail;
19022 {
32fe5131 19023 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
19024 if (SWIG_arg_fail(2)) SWIG_fail;
19025 }
19026 {
32fe5131 19027 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
19028 if (SWIG_arg_fail(3)) SWIG_fail;
19029 }
19030 {
32fe5131 19031 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
19032 if (SWIG_arg_fail(4)) SWIG_fail;
19033 }
19034 {
32fe5131 19035 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
19036 if (SWIG_arg_fail(5)) SWIG_fail;
19037 }
d55e5bfc
RD
19038 {
19039 PyThreadState* __tstate = wxPyBeginAllowThreads();
19040 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
19041
19042 wxPyEndAllowThreads(__tstate);
19043 if (PyErr_Occurred()) SWIG_fail;
19044 }
19045 Py_INCREF(Py_None); resultobj = Py_None;
19046 return resultobj;
19047 fail:
19048 return NULL;
19049}
19050
19051
c370783e 19052static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19053 PyObject *resultobj = NULL;
d55e5bfc
RD
19054 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19055 int arg2 ;
19056 int arg3 ;
19057 int arg4 ;
19058 int arg5 ;
19059 int arg6 = (int) wxSIZE_AUTO ;
19060 PyObject * obj0 = 0 ;
19061 PyObject * obj1 = 0 ;
19062 PyObject * obj2 = 0 ;
19063 PyObject * obj3 = 0 ;
19064 PyObject * obj4 = 0 ;
19065 PyObject * obj5 = 0 ;
19066 char *kwnames[] = {
19067 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19068 };
19069
19070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
19071 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19072 if (SWIG_arg_fail(1)) SWIG_fail;
19073 {
32fe5131 19074 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
19075 if (SWIG_arg_fail(2)) SWIG_fail;
19076 }
19077 {
32fe5131 19078 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
19079 if (SWIG_arg_fail(3)) SWIG_fail;
19080 }
19081 {
32fe5131 19082 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
19083 if (SWIG_arg_fail(4)) SWIG_fail;
19084 }
19085 {
32fe5131 19086 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
19087 if (SWIG_arg_fail(5)) SWIG_fail;
19088 }
d55e5bfc 19089 if (obj5) {
36ed4f51 19090 {
32fe5131 19091 arg6 = static_cast<int >(SWIG_As_int(obj5));
36ed4f51
RD
19092 if (SWIG_arg_fail(6)) SWIG_fail;
19093 }
d55e5bfc
RD
19094 }
19095 {
19096 PyThreadState* __tstate = wxPyBeginAllowThreads();
19097 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
19098
19099 wxPyEndAllowThreads(__tstate);
19100 if (PyErr_Occurred()) SWIG_fail;
19101 }
19102 Py_INCREF(Py_None); resultobj = Py_None;
19103 return resultobj;
19104 fail:
19105 return NULL;
19106}
19107
19108
c370783e 19109static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19110 PyObject *resultobj = NULL;
d55e5bfc
RD
19111 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19112 int arg2 ;
19113 int arg3 ;
19114 PyObject * obj0 = 0 ;
19115 PyObject * obj1 = 0 ;
19116 PyObject * obj2 = 0 ;
19117 char *kwnames[] = {
19118 (char *) "self",(char *) "width",(char *) "height", NULL
19119 };
19120
19121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
19122 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19123 if (SWIG_arg_fail(1)) SWIG_fail;
19124 {
32fe5131 19125 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
19126 if (SWIG_arg_fail(2)) SWIG_fail;
19127 }
19128 {
32fe5131 19129 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
19130 if (SWIG_arg_fail(3)) SWIG_fail;
19131 }
d55e5bfc
RD
19132 {
19133 PyThreadState* __tstate = wxPyBeginAllowThreads();
19134 (arg1)->base_DoSetClientSize(arg2,arg3);
19135
19136 wxPyEndAllowThreads(__tstate);
19137 if (PyErr_Occurred()) SWIG_fail;
19138 }
19139 Py_INCREF(Py_None); resultobj = Py_None;
19140 return resultobj;
19141 fail:
19142 return NULL;
19143}
19144
19145
c370783e 19146static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19147 PyObject *resultobj = NULL;
d55e5bfc
RD
19148 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19149 int arg2 ;
19150 int arg3 ;
19151 PyObject * obj0 = 0 ;
19152 PyObject * obj1 = 0 ;
19153 PyObject * obj2 = 0 ;
19154 char *kwnames[] = {
19155 (char *) "self",(char *) "x",(char *) "y", NULL
19156 };
19157
19158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
19159 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19160 if (SWIG_arg_fail(1)) SWIG_fail;
19161 {
32fe5131 19162 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
19163 if (SWIG_arg_fail(2)) SWIG_fail;
19164 }
19165 {
32fe5131 19166 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
19167 if (SWIG_arg_fail(3)) SWIG_fail;
19168 }
d55e5bfc
RD
19169 {
19170 PyThreadState* __tstate = wxPyBeginAllowThreads();
19171 (arg1)->base_DoSetVirtualSize(arg2,arg3);
19172
19173 wxPyEndAllowThreads(__tstate);
19174 if (PyErr_Occurred()) SWIG_fail;
19175 }
19176 Py_INCREF(Py_None); resultobj = Py_None;
19177 return resultobj;
19178 fail:
19179 return NULL;
19180}
19181
19182
c370783e 19183static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19184 PyObject *resultobj = NULL;
d55e5bfc
RD
19185 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19186 int *arg2 = (int *) 0 ;
19187 int *arg3 = (int *) 0 ;
19188 int temp2 ;
c370783e 19189 int res2 = 0 ;
d55e5bfc 19190 int temp3 ;
c370783e 19191 int res3 = 0 ;
d55e5bfc
RD
19192 PyObject * obj0 = 0 ;
19193 char *kwnames[] = {
19194 (char *) "self", NULL
19195 };
19196
c370783e
RD
19197 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19198 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 19199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
19200 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19201 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19202 {
19203 PyThreadState* __tstate = wxPyBeginAllowThreads();
19204 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
19205
19206 wxPyEndAllowThreads(__tstate);
19207 if (PyErr_Occurred()) SWIG_fail;
19208 }
19209 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
19210 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19211 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19212 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19213 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
19214 return resultobj;
19215 fail:
19216 return NULL;
19217}
19218
19219
c370783e 19220static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19221 PyObject *resultobj = NULL;
d55e5bfc
RD
19222 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19223 int *arg2 = (int *) 0 ;
19224 int *arg3 = (int *) 0 ;
19225 int temp2 ;
c370783e 19226 int res2 = 0 ;
d55e5bfc 19227 int temp3 ;
c370783e 19228 int res3 = 0 ;
d55e5bfc
RD
19229 PyObject * obj0 = 0 ;
19230 char *kwnames[] = {
19231 (char *) "self", NULL
19232 };
19233
c370783e
RD
19234 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19235 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 19236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
19237 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19238 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19239 {
19240 PyThreadState* __tstate = wxPyBeginAllowThreads();
19241 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
19242
19243 wxPyEndAllowThreads(__tstate);
19244 if (PyErr_Occurred()) SWIG_fail;
19245 }
19246 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
19247 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19248 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19249 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19250 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
19251 return resultobj;
19252 fail:
19253 return NULL;
19254}
19255
19256
c370783e 19257static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19258 PyObject *resultobj = NULL;
d55e5bfc
RD
19259 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19260 int *arg2 = (int *) 0 ;
19261 int *arg3 = (int *) 0 ;
19262 int temp2 ;
c370783e 19263 int res2 = 0 ;
d55e5bfc 19264 int temp3 ;
c370783e 19265 int res3 = 0 ;
d55e5bfc
RD
19266 PyObject * obj0 = 0 ;
19267 char *kwnames[] = {
19268 (char *) "self", NULL
19269 };
19270
c370783e
RD
19271 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19272 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 19273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
36ed4f51
RD
19274 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19275 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19276 {
19277 PyThreadState* __tstate = wxPyBeginAllowThreads();
19278 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
19279
19280 wxPyEndAllowThreads(__tstate);
19281 if (PyErr_Occurred()) SWIG_fail;
19282 }
19283 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
19284 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19285 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19286 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19287 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
19288 return resultobj;
19289 fail:
19290 return NULL;
19291}
19292
19293
c370783e 19294static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19295 PyObject *resultobj = NULL;
d55e5bfc
RD
19296 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19297 wxSize result;
19298 PyObject * obj0 = 0 ;
19299 char *kwnames[] = {
19300 (char *) "self", NULL
19301 };
19302
19303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
19304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19305 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19306 {
19307 PyThreadState* __tstate = wxPyBeginAllowThreads();
19308 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
19309
19310 wxPyEndAllowThreads(__tstate);
19311 if (PyErr_Occurred()) SWIG_fail;
19312 }
19313 {
19314 wxSize * resultptr;
32fe5131 19315 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
19316 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19317 }
19318 return resultobj;
19319 fail:
19320 return NULL;
19321}
19322
19323
c370783e 19324static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19325 PyObject *resultobj = NULL;
d55e5bfc
RD
19326 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19327 wxSize result;
19328 PyObject * obj0 = 0 ;
19329 char *kwnames[] = {
19330 (char *) "self", NULL
19331 };
19332
19333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
19334 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19335 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19336 {
19337 PyThreadState* __tstate = wxPyBeginAllowThreads();
19338 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
19339
19340 wxPyEndAllowThreads(__tstate);
19341 if (PyErr_Occurred()) SWIG_fail;
19342 }
19343 {
19344 wxSize * resultptr;
32fe5131 19345 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
19346 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19347 }
19348 return resultobj;
19349 fail:
19350 return NULL;
19351}
19352
19353
c370783e 19354static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19355 PyObject *resultobj = NULL;
d55e5bfc
RD
19356 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19357 PyObject * obj0 = 0 ;
19358 char *kwnames[] = {
19359 (char *) "self", NULL
19360 };
19361
19362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
36ed4f51
RD
19363 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19364 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19365 {
19366 PyThreadState* __tstate = wxPyBeginAllowThreads();
19367 (arg1)->base_InitDialog();
19368
19369 wxPyEndAllowThreads(__tstate);
19370 if (PyErr_Occurred()) SWIG_fail;
19371 }
19372 Py_INCREF(Py_None); resultobj = Py_None;
19373 return resultobj;
19374 fail:
19375 return NULL;
19376}
19377
19378
c370783e 19379static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19380 PyObject *resultobj = NULL;
d55e5bfc
RD
19381 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19382 bool result;
19383 PyObject * obj0 = 0 ;
19384 char *kwnames[] = {
19385 (char *) "self", NULL
19386 };
19387
19388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
19389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19390 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19391 {
19392 PyThreadState* __tstate = wxPyBeginAllowThreads();
19393 result = (bool)(arg1)->base_TransferDataToWindow();
19394
19395 wxPyEndAllowThreads(__tstate);
19396 if (PyErr_Occurred()) SWIG_fail;
19397 }
19398 {
19399 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19400 }
19401 return resultobj;
19402 fail:
19403 return NULL;
19404}
19405
19406
c370783e 19407static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19408 PyObject *resultobj = NULL;
d55e5bfc
RD
19409 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19410 bool result;
19411 PyObject * obj0 = 0 ;
19412 char *kwnames[] = {
19413 (char *) "self", NULL
19414 };
19415
19416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
19417 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19418 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19419 {
19420 PyThreadState* __tstate = wxPyBeginAllowThreads();
19421 result = (bool)(arg1)->base_TransferDataFromWindow();
19422
19423 wxPyEndAllowThreads(__tstate);
19424 if (PyErr_Occurred()) SWIG_fail;
19425 }
19426 {
19427 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19428 }
19429 return resultobj;
19430 fail:
19431 return NULL;
19432}
19433
19434
c370783e 19435static PyObject *_wrap_PyPanel_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19436 PyObject *resultobj = NULL;
d55e5bfc
RD
19437 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19438 bool result;
19439 PyObject * obj0 = 0 ;
19440 char *kwnames[] = {
19441 (char *) "self", NULL
19442 };
19443
19444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
36ed4f51
RD
19445 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19446 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19447 {
19448 PyThreadState* __tstate = wxPyBeginAllowThreads();
19449 result = (bool)(arg1)->base_Validate();
19450
19451 wxPyEndAllowThreads(__tstate);
19452 if (PyErr_Occurred()) SWIG_fail;
19453 }
19454 {
19455 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19456 }
19457 return resultobj;
19458 fail:
19459 return NULL;
19460}
19461
19462
c370783e 19463static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19464 PyObject *resultobj = NULL;
d55e5bfc
RD
19465 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19466 bool result;
19467 PyObject * obj0 = 0 ;
19468 char *kwnames[] = {
19469 (char *) "self", NULL
19470 };
19471
19472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
36ed4f51
RD
19473 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19474 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19475 {
19476 PyThreadState* __tstate = wxPyBeginAllowThreads();
19477 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
19478
19479 wxPyEndAllowThreads(__tstate);
19480 if (PyErr_Occurred()) SWIG_fail;
19481 }
19482 {
19483 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19484 }
19485 return resultobj;
19486 fail:
19487 return NULL;
19488}
19489
19490
c370783e 19491static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19492 PyObject *resultobj = NULL;
d55e5bfc
RD
19493 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19494 bool result;
19495 PyObject * obj0 = 0 ;
19496 char *kwnames[] = {
19497 (char *) "self", NULL
19498 };
19499
19500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
36ed4f51
RD
19501 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19502 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19503 {
19504 PyThreadState* __tstate = wxPyBeginAllowThreads();
19505 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
19506
19507 wxPyEndAllowThreads(__tstate);
19508 if (PyErr_Occurred()) SWIG_fail;
19509 }
19510 {
19511 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19512 }
19513 return resultobj;
19514 fail:
19515 return NULL;
19516}
19517
19518
c370783e 19519static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19520 PyObject *resultobj = NULL;
d55e5bfc
RD
19521 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19522 wxSize result;
19523 PyObject * obj0 = 0 ;
19524 char *kwnames[] = {
19525 (char *) "self", NULL
19526 };
19527
19528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
19529 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19530 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19531 {
19532 PyThreadState* __tstate = wxPyBeginAllowThreads();
19533 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
19534
19535 wxPyEndAllowThreads(__tstate);
19536 if (PyErr_Occurred()) SWIG_fail;
19537 }
19538 {
19539 wxSize * resultptr;
32fe5131 19540 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
19541 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19542 }
19543 return resultobj;
19544 fail:
19545 return NULL;
19546}
19547
19548
c370783e 19549static PyObject *_wrap_PyPanel_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19550 PyObject *resultobj = NULL;
d55e5bfc
RD
19551 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19552 wxWindow *arg2 = (wxWindow *) 0 ;
19553 PyObject * obj0 = 0 ;
19554 PyObject * obj1 = 0 ;
19555 char *kwnames[] = {
19556 (char *) "self",(char *) "child", NULL
19557 };
19558
19559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19560 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19561 if (SWIG_arg_fail(1)) SWIG_fail;
19562 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19563 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
19564 {
19565 PyThreadState* __tstate = wxPyBeginAllowThreads();
19566 (arg1)->base_AddChild(arg2);
19567
19568 wxPyEndAllowThreads(__tstate);
19569 if (PyErr_Occurred()) SWIG_fail;
19570 }
19571 Py_INCREF(Py_None); resultobj = Py_None;
19572 return resultobj;
19573 fail:
19574 return NULL;
19575}
19576
19577
c370783e 19578static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19579 PyObject *resultobj = NULL;
d55e5bfc
RD
19580 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19581 wxWindow *arg2 = (wxWindow *) 0 ;
19582 PyObject * obj0 = 0 ;
19583 PyObject * obj1 = 0 ;
19584 char *kwnames[] = {
19585 (char *) "self",(char *) "child", NULL
19586 };
19587
19588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19589 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19590 if (SWIG_arg_fail(1)) SWIG_fail;
19591 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19592 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
19593 {
19594 PyThreadState* __tstate = wxPyBeginAllowThreads();
19595 (arg1)->base_RemoveChild(arg2);
19596
19597 wxPyEndAllowThreads(__tstate);
19598 if (PyErr_Occurred()) SWIG_fail;
19599 }
19600 Py_INCREF(Py_None); resultobj = Py_None;
19601 return resultobj;
19602 fail:
19603 return NULL;
19604}
19605
19606
c370783e 19607static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19608 PyObject *resultobj = NULL;
d55e5bfc
RD
19609 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19610 bool result;
19611 PyObject * obj0 = 0 ;
19612 char *kwnames[] = {
19613 (char *) "self", NULL
19614 };
19615
19616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
36ed4f51
RD
19617 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19618 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19619 {
19620 PyThreadState* __tstate = wxPyBeginAllowThreads();
a5ee0656 19621 result = (bool)((wxPyPanel const *)arg1)->base_ShouldInheritColours();
d55e5bfc
RD
19622
19623 wxPyEndAllowThreads(__tstate);
19624 if (PyErr_Occurred()) SWIG_fail;
19625 }
19626 {
19627 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19628 }
19629 return resultobj;
19630 fail:
19631 return NULL;
19632}
19633
19634
c370783e 19635static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19636 PyObject *resultobj = NULL;
a5ee0656
RD
19637 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19638 wxVisualAttributes result;
19639 PyObject * obj0 = 0 ;
19640 char *kwnames[] = {
19641 (char *) "self", NULL
19642 };
19643
19644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
36ed4f51
RD
19645 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19646 if (SWIG_arg_fail(1)) SWIG_fail;
a5ee0656
RD
19647 {
19648 PyThreadState* __tstate = wxPyBeginAllowThreads();
19649 result = (arg1)->base_GetDefaultAttributes();
19650
19651 wxPyEndAllowThreads(__tstate);
19652 if (PyErr_Occurred()) SWIG_fail;
19653 }
19654 {
19655 wxVisualAttributes * resultptr;
32fe5131 19656 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
a5ee0656
RD
19657 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
19658 }
19659 return resultobj;
19660 fail:
19661 return NULL;
19662}
19663
19664
8d38bd1d 19665static PyObject *_wrap_PyPanel_base_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19666 PyObject *resultobj = NULL;
8d38bd1d
RD
19667 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19668 PyObject * obj0 = 0 ;
19669 char *kwnames[] = {
19670 (char *) "self", NULL
19671 };
19672
19673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_OnInternalIdle",kwnames,&obj0)) goto fail;
19674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19675 if (SWIG_arg_fail(1)) SWIG_fail;
19676 {
19677 PyThreadState* __tstate = wxPyBeginAllowThreads();
19678 (arg1)->base_OnInternalIdle();
19679
19680 wxPyEndAllowThreads(__tstate);
19681 if (PyErr_Occurred()) SWIG_fail;
19682 }
19683 Py_INCREF(Py_None); resultobj = Py_None;
19684 return resultobj;
19685 fail:
19686 return NULL;
19687}
19688
19689
c370783e 19690static PyObject * PyPanel_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
19691 PyObject *obj;
19692 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19693 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
19694 Py_INCREF(obj);
19695 return Py_BuildValue((char *)"");
19696}
c370783e 19697static PyObject *_wrap_new_PyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19698 PyObject *resultobj = NULL;
d55e5bfc 19699 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 19700 int arg2 = (int) (int)-1 ;
d55e5bfc
RD
19701 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19702 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19703 wxSize const &arg4_defvalue = wxDefaultSize ;
19704 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19705 long arg5 = (long) 0 ;
19706 wxString const &arg6_defvalue = wxPyPanelNameStr ;
19707 wxString *arg6 = (wxString *) &arg6_defvalue ;
19708 wxPyScrolledWindow *result;
19709 wxPoint temp3 ;
19710 wxSize temp4 ;
b411df4a 19711 bool temp6 = false ;
d55e5bfc
RD
19712 PyObject * obj0 = 0 ;
19713 PyObject * obj1 = 0 ;
19714 PyObject * obj2 = 0 ;
19715 PyObject * obj3 = 0 ;
19716 PyObject * obj4 = 0 ;
19717 PyObject * obj5 = 0 ;
19718 char *kwnames[] = {
19719 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19720 };
19721
bfddbb17 19722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
19723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19724 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 19725 if (obj1) {
36ed4f51 19726 {
32fe5131 19727 arg2 = static_cast<int const >(SWIG_As_int(obj1));
36ed4f51
RD
19728 if (SWIG_arg_fail(2)) SWIG_fail;
19729 }
bfddbb17 19730 }
d55e5bfc
RD
19731 if (obj2) {
19732 {
19733 arg3 = &temp3;
19734 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19735 }
19736 }
19737 if (obj3) {
19738 {
19739 arg4 = &temp4;
19740 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19741 }
19742 }
19743 if (obj4) {
36ed4f51 19744 {
32fe5131 19745 arg5 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
19746 if (SWIG_arg_fail(5)) SWIG_fail;
19747 }
d55e5bfc
RD
19748 }
19749 if (obj5) {
19750 {
19751 arg6 = wxString_in_helper(obj5);
19752 if (arg6 == NULL) SWIG_fail;
b411df4a 19753 temp6 = true;
d55e5bfc
RD
19754 }
19755 }
19756 {
0439c23b 19757 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
19758 PyThreadState* __tstate = wxPyBeginAllowThreads();
19759 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
19760
19761 wxPyEndAllowThreads(__tstate);
110da5b0 19762 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
19763 }
19764 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
19765 {
19766 if (temp6)
19767 delete arg6;
19768 }
19769 return resultobj;
19770 fail:
19771 {
19772 if (temp6)
19773 delete arg6;
19774 }
19775 return NULL;
19776}
19777
19778
c370783e 19779static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19780 PyObject *resultobj = NULL;
d55e5bfc
RD
19781 wxPyScrolledWindow *result;
19782 char *kwnames[] = {
19783 NULL
19784 };
19785
19786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
19787 {
0439c23b 19788 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
19789 PyThreadState* __tstate = wxPyBeginAllowThreads();
19790 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
19791
19792 wxPyEndAllowThreads(__tstate);
110da5b0 19793 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
19794 }
19795 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
19796 return resultobj;
19797 fail:
19798 return NULL;
19799}
19800
19801
c370783e 19802static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19803 PyObject *resultobj = NULL;
d55e5bfc
RD
19804 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19805 PyObject *arg2 = (PyObject *) 0 ;
19806 PyObject *arg3 = (PyObject *) 0 ;
19807 PyObject * obj0 = 0 ;
19808 PyObject * obj1 = 0 ;
19809 PyObject * obj2 = 0 ;
19810 char *kwnames[] = {
19811 (char *) "self",(char *) "self",(char *) "_class", NULL
19812 };
19813
19814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
19815 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19816 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19817 arg2 = obj1;
19818 arg3 = obj2;
19819 {
19820 PyThreadState* __tstate = wxPyBeginAllowThreads();
19821 (arg1)->_setCallbackInfo(arg2,arg3);
19822
19823 wxPyEndAllowThreads(__tstate);
19824 if (PyErr_Occurred()) SWIG_fail;
19825 }
19826 Py_INCREF(Py_None); resultobj = Py_None;
19827 return resultobj;
19828 fail:
19829 return NULL;
19830}
19831
19832
c370783e 19833static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19834 PyObject *resultobj = NULL;
a5ee0656
RD
19835 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19836 wxSize *arg2 = 0 ;
19837 wxSize temp2 ;
19838 PyObject * obj0 = 0 ;
19839 PyObject * obj1 = 0 ;
19840 char *kwnames[] = {
19841 (char *) "self",(char *) "size", NULL
19842 };
19843
19844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19845 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19846 if (SWIG_arg_fail(1)) SWIG_fail;
a5ee0656
RD
19847 {
19848 arg2 = &temp2;
19849 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19850 }
19851 {
19852 PyThreadState* __tstate = wxPyBeginAllowThreads();
19853 (arg1)->SetBestSize((wxSize const &)*arg2);
19854
19855 wxPyEndAllowThreads(__tstate);
19856 if (PyErr_Occurred()) SWIG_fail;
19857 }
19858 Py_INCREF(Py_None); resultobj = Py_None;
19859 return resultobj;
19860 fail:
19861 return NULL;
19862}
19863
19864
976dbff5 19865static PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19866 PyObject *resultobj = NULL;
976dbff5
RD
19867 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19868 wxDC *arg2 = (wxDC *) 0 ;
19869 bool result;
19870 PyObject * obj0 = 0 ;
19871 PyObject * obj1 = 0 ;
19872 char *kwnames[] = {
19873 (char *) "self",(char *) "dc", NULL
19874 };
19875
19876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail;
19877 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19878 if (SWIG_arg_fail(1)) SWIG_fail;
19879 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
19880 if (SWIG_arg_fail(2)) SWIG_fail;
19881 {
19882 PyThreadState* __tstate = wxPyBeginAllowThreads();
19883 result = (bool)(arg1)->DoEraseBackground(arg2);
19884
19885 wxPyEndAllowThreads(__tstate);
19886 if (PyErr_Occurred()) SWIG_fail;
19887 }
19888 {
19889 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19890 }
19891 return resultobj;
19892 fail:
19893 return NULL;
19894}
19895
19896
c370783e 19897static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19898 PyObject *resultobj = NULL;
d55e5bfc
RD
19899 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19900 int arg2 ;
19901 int arg3 ;
19902 int arg4 ;
19903 int arg5 ;
19904 PyObject * obj0 = 0 ;
19905 PyObject * obj1 = 0 ;
19906 PyObject * obj2 = 0 ;
19907 PyObject * obj3 = 0 ;
19908 PyObject * obj4 = 0 ;
19909 char *kwnames[] = {
19910 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19911 };
19912
19913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
19914 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19915 if (SWIG_arg_fail(1)) SWIG_fail;
19916 {
32fe5131 19917 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
19918 if (SWIG_arg_fail(2)) SWIG_fail;
19919 }
19920 {
32fe5131 19921 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
19922 if (SWIG_arg_fail(3)) SWIG_fail;
19923 }
19924 {
32fe5131 19925 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
19926 if (SWIG_arg_fail(4)) SWIG_fail;
19927 }
19928 {
32fe5131 19929 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
19930 if (SWIG_arg_fail(5)) SWIG_fail;
19931 }
d55e5bfc
RD
19932 {
19933 PyThreadState* __tstate = wxPyBeginAllowThreads();
19934 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
19935
19936 wxPyEndAllowThreads(__tstate);
19937 if (PyErr_Occurred()) SWIG_fail;
19938 }
19939 Py_INCREF(Py_None); resultobj = Py_None;
19940 return resultobj;
19941 fail:
19942 return NULL;
19943}
19944
19945
c370783e 19946static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19947 PyObject *resultobj = NULL;
d55e5bfc
RD
19948 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19949 int arg2 ;
19950 int arg3 ;
19951 int arg4 ;
19952 int arg5 ;
19953 int arg6 = (int) wxSIZE_AUTO ;
19954 PyObject * obj0 = 0 ;
19955 PyObject * obj1 = 0 ;
19956 PyObject * obj2 = 0 ;
19957 PyObject * obj3 = 0 ;
19958 PyObject * obj4 = 0 ;
19959 PyObject * obj5 = 0 ;
19960 char *kwnames[] = {
19961 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19962 };
19963
19964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
19965 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19966 if (SWIG_arg_fail(1)) SWIG_fail;
19967 {
32fe5131 19968 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
19969 if (SWIG_arg_fail(2)) SWIG_fail;
19970 }
19971 {
32fe5131 19972 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
19973 if (SWIG_arg_fail(3)) SWIG_fail;
19974 }
19975 {
32fe5131 19976 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
19977 if (SWIG_arg_fail(4)) SWIG_fail;
19978 }
19979 {
32fe5131 19980 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
19981 if (SWIG_arg_fail(5)) SWIG_fail;
19982 }
d55e5bfc 19983 if (obj5) {
36ed4f51 19984 {
32fe5131 19985 arg6 = static_cast<int >(SWIG_As_int(obj5));
36ed4f51
RD
19986 if (SWIG_arg_fail(6)) SWIG_fail;
19987 }
d55e5bfc
RD
19988 }
19989 {
19990 PyThreadState* __tstate = wxPyBeginAllowThreads();
19991 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
19992
19993 wxPyEndAllowThreads(__tstate);
19994 if (PyErr_Occurred()) SWIG_fail;
19995 }
19996 Py_INCREF(Py_None); resultobj = Py_None;
19997 return resultobj;
19998 fail:
19999 return NULL;
20000}
20001
20002
c370783e 20003static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20004 PyObject *resultobj = NULL;
d55e5bfc
RD
20005 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20006 int arg2 ;
20007 int arg3 ;
20008 PyObject * obj0 = 0 ;
20009 PyObject * obj1 = 0 ;
20010 PyObject * obj2 = 0 ;
20011 char *kwnames[] = {
20012 (char *) "self",(char *) "width",(char *) "height", NULL
20013 };
20014
20015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
20016 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20017 if (SWIG_arg_fail(1)) SWIG_fail;
20018 {
32fe5131 20019 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
20020 if (SWIG_arg_fail(2)) SWIG_fail;
20021 }
20022 {
32fe5131 20023 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
20024 if (SWIG_arg_fail(3)) SWIG_fail;
20025 }
d55e5bfc
RD
20026 {
20027 PyThreadState* __tstate = wxPyBeginAllowThreads();
20028 (arg1)->base_DoSetClientSize(arg2,arg3);
20029
20030 wxPyEndAllowThreads(__tstate);
20031 if (PyErr_Occurred()) SWIG_fail;
20032 }
20033 Py_INCREF(Py_None); resultobj = Py_None;
20034 return resultobj;
20035 fail:
20036 return NULL;
20037}
20038
20039
c370783e 20040static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20041 PyObject *resultobj = NULL;
d55e5bfc
RD
20042 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20043 int arg2 ;
20044 int arg3 ;
20045 PyObject * obj0 = 0 ;
20046 PyObject * obj1 = 0 ;
20047 PyObject * obj2 = 0 ;
20048 char *kwnames[] = {
20049 (char *) "self",(char *) "x",(char *) "y", NULL
20050 };
20051
20052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
20053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20054 if (SWIG_arg_fail(1)) SWIG_fail;
20055 {
32fe5131 20056 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
20057 if (SWIG_arg_fail(2)) SWIG_fail;
20058 }
20059 {
32fe5131 20060 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
20061 if (SWIG_arg_fail(3)) SWIG_fail;
20062 }
d55e5bfc
RD
20063 {
20064 PyThreadState* __tstate = wxPyBeginAllowThreads();
20065 (arg1)->base_DoSetVirtualSize(arg2,arg3);
20066
20067 wxPyEndAllowThreads(__tstate);
20068 if (PyErr_Occurred()) SWIG_fail;
20069 }
20070 Py_INCREF(Py_None); resultobj = Py_None;
20071 return resultobj;
20072 fail:
20073 return NULL;
20074}
20075
20076
c370783e 20077static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20078 PyObject *resultobj = NULL;
d55e5bfc
RD
20079 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20080 int *arg2 = (int *) 0 ;
20081 int *arg3 = (int *) 0 ;
20082 int temp2 ;
c370783e 20083 int res2 = 0 ;
d55e5bfc 20084 int temp3 ;
c370783e 20085 int res3 = 0 ;
d55e5bfc
RD
20086 PyObject * obj0 = 0 ;
20087 char *kwnames[] = {
20088 (char *) "self", NULL
20089 };
20090
c370783e
RD
20091 arg2 = &temp2; res2 = SWIG_NEWOBJ;
20092 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 20093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
20094 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20095 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20096 {
20097 PyThreadState* __tstate = wxPyBeginAllowThreads();
20098 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
20099
20100 wxPyEndAllowThreads(__tstate);
20101 if (PyErr_Occurred()) SWIG_fail;
20102 }
20103 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
20104 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
20105 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
20106 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
20107 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
20108 return resultobj;
20109 fail:
20110 return NULL;
20111}
20112
20113
c370783e 20114static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20115 PyObject *resultobj = NULL;
d55e5bfc
RD
20116 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20117 int *arg2 = (int *) 0 ;
20118 int *arg3 = (int *) 0 ;
20119 int temp2 ;
c370783e 20120 int res2 = 0 ;
d55e5bfc 20121 int temp3 ;
c370783e 20122 int res3 = 0 ;
d55e5bfc
RD
20123 PyObject * obj0 = 0 ;
20124 char *kwnames[] = {
20125 (char *) "self", NULL
20126 };
20127
c370783e
RD
20128 arg2 = &temp2; res2 = SWIG_NEWOBJ;
20129 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 20130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
20131 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20132 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20133 {
20134 PyThreadState* __tstate = wxPyBeginAllowThreads();
20135 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
20136
20137 wxPyEndAllowThreads(__tstate);
20138 if (PyErr_Occurred()) SWIG_fail;
20139 }
20140 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
20141 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
20142 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
20143 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
20144 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
20145 return resultobj;
20146 fail:
20147 return NULL;
20148}
20149
20150
c370783e 20151static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20152 PyObject *resultobj = NULL;
d55e5bfc
RD
20153 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20154 int *arg2 = (int *) 0 ;
20155 int *arg3 = (int *) 0 ;
20156 int temp2 ;
c370783e 20157 int res2 = 0 ;
d55e5bfc 20158 int temp3 ;
c370783e 20159 int res3 = 0 ;
d55e5bfc
RD
20160 PyObject * obj0 = 0 ;
20161 char *kwnames[] = {
20162 (char *) "self", NULL
20163 };
20164
c370783e
RD
20165 arg2 = &temp2; res2 = SWIG_NEWOBJ;
20166 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 20167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
36ed4f51
RD
20168 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20169 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20170 {
20171 PyThreadState* __tstate = wxPyBeginAllowThreads();
20172 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
20173
20174 wxPyEndAllowThreads(__tstate);
20175 if (PyErr_Occurred()) SWIG_fail;
20176 }
20177 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
20178 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
20179 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
20180 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
20181 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
20182 return resultobj;
20183 fail:
20184 return NULL;
20185}
20186
20187
c370783e 20188static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20189 PyObject *resultobj = NULL;
d55e5bfc
RD
20190 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20191 wxSize result;
20192 PyObject * obj0 = 0 ;
20193 char *kwnames[] = {
20194 (char *) "self", NULL
20195 };
20196
20197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
20198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20199 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20200 {
20201 PyThreadState* __tstate = wxPyBeginAllowThreads();
20202 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
20203
20204 wxPyEndAllowThreads(__tstate);
20205 if (PyErr_Occurred()) SWIG_fail;
20206 }
20207 {
20208 wxSize * resultptr;
32fe5131 20209 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
20210 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20211 }
20212 return resultobj;
20213 fail:
20214 return NULL;
20215}
20216
20217
c370783e 20218static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20219 PyObject *resultobj = NULL;
d55e5bfc
RD
20220 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20221 wxSize result;
20222 PyObject * obj0 = 0 ;
20223 char *kwnames[] = {
20224 (char *) "self", NULL
20225 };
20226
20227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
20228 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20229 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20230 {
20231 PyThreadState* __tstate = wxPyBeginAllowThreads();
20232 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
20233
20234 wxPyEndAllowThreads(__tstate);
20235 if (PyErr_Occurred()) SWIG_fail;
20236 }
20237 {
20238 wxSize * resultptr;
32fe5131 20239 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
20240 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20241 }
20242 return resultobj;
20243 fail:
20244 return NULL;
20245}
20246
20247
c370783e 20248static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20249 PyObject *resultobj = NULL;
d55e5bfc
RD
20250 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20251 PyObject * obj0 = 0 ;
20252 char *kwnames[] = {
20253 (char *) "self", NULL
20254 };
20255
20256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
36ed4f51
RD
20257 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20258 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20259 {
20260 PyThreadState* __tstate = wxPyBeginAllowThreads();
20261 (arg1)->base_InitDialog();
20262
20263 wxPyEndAllowThreads(__tstate);
20264 if (PyErr_Occurred()) SWIG_fail;
20265 }
20266 Py_INCREF(Py_None); resultobj = Py_None;
20267 return resultobj;
20268 fail:
20269 return NULL;
20270}
20271
20272
c370783e 20273static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20274 PyObject *resultobj = NULL;
d55e5bfc
RD
20275 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20276 bool result;
20277 PyObject * obj0 = 0 ;
20278 char *kwnames[] = {
20279 (char *) "self", NULL
20280 };
20281
20282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
20283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20284 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20285 {
20286 PyThreadState* __tstate = wxPyBeginAllowThreads();
20287 result = (bool)(arg1)->base_TransferDataToWindow();
20288
20289 wxPyEndAllowThreads(__tstate);
20290 if (PyErr_Occurred()) SWIG_fail;
20291 }
20292 {
20293 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20294 }
20295 return resultobj;
20296 fail:
20297 return NULL;
20298}
20299
20300
c370783e 20301static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20302 PyObject *resultobj = NULL;
d55e5bfc
RD
20303 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20304 bool result;
20305 PyObject * obj0 = 0 ;
20306 char *kwnames[] = {
20307 (char *) "self", NULL
20308 };
20309
20310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
20311 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20312 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20313 {
20314 PyThreadState* __tstate = wxPyBeginAllowThreads();
20315 result = (bool)(arg1)->base_TransferDataFromWindow();
20316
20317 wxPyEndAllowThreads(__tstate);
20318 if (PyErr_Occurred()) SWIG_fail;
20319 }
20320 {
20321 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20322 }
20323 return resultobj;
20324 fail:
20325 return NULL;
20326}
20327
20328
c370783e 20329static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20330 PyObject *resultobj = NULL;
d55e5bfc
RD
20331 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20332 bool result;
20333 PyObject * obj0 = 0 ;
20334 char *kwnames[] = {
20335 (char *) "self", NULL
20336 };
20337
20338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
36ed4f51
RD
20339 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20340 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20341 {
20342 PyThreadState* __tstate = wxPyBeginAllowThreads();
20343 result = (bool)(arg1)->base_Validate();
20344
20345 wxPyEndAllowThreads(__tstate);
20346 if (PyErr_Occurred()) SWIG_fail;
20347 }
20348 {
20349 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20350 }
20351 return resultobj;
20352 fail:
20353 return NULL;
20354}
20355
20356
c370783e 20357static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20358 PyObject *resultobj = NULL;
d55e5bfc
RD
20359 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20360 bool result;
20361 PyObject * obj0 = 0 ;
20362 char *kwnames[] = {
20363 (char *) "self", NULL
20364 };
20365
20366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
36ed4f51
RD
20367 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20368 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20369 {
20370 PyThreadState* __tstate = wxPyBeginAllowThreads();
20371 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
20372
20373 wxPyEndAllowThreads(__tstate);
20374 if (PyErr_Occurred()) SWIG_fail;
20375 }
20376 {
20377 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20378 }
20379 return resultobj;
20380 fail:
20381 return NULL;
20382}
20383
20384
c370783e 20385static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20386 PyObject *resultobj = NULL;
d55e5bfc
RD
20387 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20388 bool result;
20389 PyObject * obj0 = 0 ;
20390 char *kwnames[] = {
20391 (char *) "self", NULL
20392 };
20393
20394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
36ed4f51
RD
20395 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20396 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20397 {
20398 PyThreadState* __tstate = wxPyBeginAllowThreads();
20399 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
20400
20401 wxPyEndAllowThreads(__tstate);
20402 if (PyErr_Occurred()) SWIG_fail;
20403 }
20404 {
20405 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20406 }
20407 return resultobj;
20408 fail:
20409 return NULL;
20410}
20411
20412
c370783e 20413static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20414 PyObject *resultobj = NULL;
d55e5bfc
RD
20415 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20416 wxSize result;
20417 PyObject * obj0 = 0 ;
20418 char *kwnames[] = {
20419 (char *) "self", NULL
20420 };
20421
20422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
20423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20424 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20425 {
20426 PyThreadState* __tstate = wxPyBeginAllowThreads();
20427 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
20428
20429 wxPyEndAllowThreads(__tstate);
20430 if (PyErr_Occurred()) SWIG_fail;
20431 }
20432 {
20433 wxSize * resultptr;
32fe5131 20434 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
20435 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20436 }
20437 return resultobj;
20438 fail:
20439 return NULL;
20440}
20441
20442
c370783e 20443static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20444 PyObject *resultobj = NULL;
d55e5bfc
RD
20445 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20446 wxWindow *arg2 = (wxWindow *) 0 ;
20447 PyObject * obj0 = 0 ;
20448 PyObject * obj1 = 0 ;
20449 char *kwnames[] = {
20450 (char *) "self",(char *) "child", NULL
20451 };
20452
20453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20454 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20455 if (SWIG_arg_fail(1)) SWIG_fail;
20456 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
20457 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
20458 {
20459 PyThreadState* __tstate = wxPyBeginAllowThreads();
20460 (arg1)->base_AddChild(arg2);
20461
20462 wxPyEndAllowThreads(__tstate);
20463 if (PyErr_Occurred()) SWIG_fail;
20464 }
20465 Py_INCREF(Py_None); resultobj = Py_None;
20466 return resultobj;
20467 fail:
20468 return NULL;
20469}
20470
20471
c370783e 20472static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20473 PyObject *resultobj = NULL;
d55e5bfc
RD
20474 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20475 wxWindow *arg2 = (wxWindow *) 0 ;
20476 PyObject * obj0 = 0 ;
20477 PyObject * obj1 = 0 ;
20478 char *kwnames[] = {
20479 (char *) "self",(char *) "child", NULL
20480 };
20481
20482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20483 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20484 if (SWIG_arg_fail(1)) SWIG_fail;
20485 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
20486 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
20487 {
20488 PyThreadState* __tstate = wxPyBeginAllowThreads();
20489 (arg1)->base_RemoveChild(arg2);
20490
20491 wxPyEndAllowThreads(__tstate);
20492 if (PyErr_Occurred()) SWIG_fail;
20493 }
20494 Py_INCREF(Py_None); resultobj = Py_None;
20495 return resultobj;
20496 fail:
20497 return NULL;
20498}
20499
20500
c370783e 20501static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20502 PyObject *resultobj = NULL;
d55e5bfc
RD
20503 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20504 bool result;
20505 PyObject * obj0 = 0 ;
20506 char *kwnames[] = {
20507 (char *) "self", NULL
20508 };
20509
20510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
36ed4f51
RD
20511 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20512 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20513 {
20514 PyThreadState* __tstate = wxPyBeginAllowThreads();
a5ee0656 20515 result = (bool)((wxPyScrolledWindow const *)arg1)->base_ShouldInheritColours();
d55e5bfc
RD
20516
20517 wxPyEndAllowThreads(__tstate);
20518 if (PyErr_Occurred()) SWIG_fail;
20519 }
20520 {
20521 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20522 }
20523 return resultobj;
20524 fail:
20525 return NULL;
20526}
20527
20528
c370783e 20529static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20530 PyObject *resultobj = NULL;
a5ee0656
RD
20531 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20532 wxVisualAttributes result;
20533 PyObject * obj0 = 0 ;
20534 char *kwnames[] = {
20535 (char *) "self", NULL
20536 };
20537
20538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
36ed4f51
RD
20539 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20540 if (SWIG_arg_fail(1)) SWIG_fail;
a5ee0656
RD
20541 {
20542 PyThreadState* __tstate = wxPyBeginAllowThreads();
20543 result = (arg1)->base_GetDefaultAttributes();
20544
20545 wxPyEndAllowThreads(__tstate);
20546 if (PyErr_Occurred()) SWIG_fail;
20547 }
20548 {
20549 wxVisualAttributes * resultptr;
32fe5131 20550 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
a5ee0656
RD
20551 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
20552 }
20553 return resultobj;
20554 fail:
20555 return NULL;
20556}
20557
20558
8d38bd1d 20559static PyObject *_wrap_PyScrolledWindow_base_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20560 PyObject *resultobj = NULL;
8d38bd1d
RD
20561 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20562 PyObject * obj0 = 0 ;
20563 char *kwnames[] = {
20564 (char *) "self", NULL
20565 };
20566
20567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_OnInternalIdle",kwnames,&obj0)) goto fail;
20568 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20569 if (SWIG_arg_fail(1)) SWIG_fail;
20570 {
20571 PyThreadState* __tstate = wxPyBeginAllowThreads();
20572 (arg1)->base_OnInternalIdle();
20573
20574 wxPyEndAllowThreads(__tstate);
20575 if (PyErr_Occurred()) SWIG_fail;
20576 }
20577 Py_INCREF(Py_None); resultobj = Py_None;
20578 return resultobj;
20579 fail:
20580 return NULL;
20581}
20582
20583
c370783e 20584static PyObject * PyScrolledWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
20585 PyObject *obj;
20586 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20587 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
20588 Py_INCREF(obj);
20589 return Py_BuildValue((char *)"");
20590}
c370783e 20591static int _wrap_PrintoutTitleStr_set(PyObject *) {
d55e5bfc
RD
20592 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
20593 return 1;
20594}
20595
20596
36ed4f51 20597static PyObject *_wrap_PrintoutTitleStr_get(void) {
32fe5131 20598 PyObject *pyobj = NULL;
d55e5bfc
RD
20599
20600 {
20601#if wxUSE_UNICODE
20602 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
20603#else
20604 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
20605#endif
20606 }
20607 return pyobj;
20608}
20609
20610
c370783e 20611static int _wrap_PreviewCanvasNameStr_set(PyObject *) {
d55e5bfc
RD
20612 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
20613 return 1;
20614}
20615
20616
36ed4f51 20617static PyObject *_wrap_PreviewCanvasNameStr_get(void) {
32fe5131 20618 PyObject *pyobj = NULL;
d55e5bfc
RD
20619
20620 {
20621#if wxUSE_UNICODE
20622 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
20623#else
20624 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
20625#endif
20626 }
20627 return pyobj;
20628}
20629
20630
c370783e 20631static PyObject *_wrap_new_PrintData__SWIG_0(PyObject *, PyObject *args) {
32fe5131 20632 PyObject *resultobj = NULL;
d55e5bfc 20633 wxPrintData *result;
d55e5bfc 20634
09c21d3b 20635 if(!PyArg_ParseTuple(args,(char *)":new_PrintData")) goto fail;
d55e5bfc
RD
20636 {
20637 PyThreadState* __tstate = wxPyBeginAllowThreads();
20638 result = (wxPrintData *)new wxPrintData();
20639
20640 wxPyEndAllowThreads(__tstate);
20641 if (PyErr_Occurred()) SWIG_fail;
20642 }
20643 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
20644 return resultobj;
20645 fail:
20646 return NULL;
20647}
20648
20649
c370783e 20650static PyObject *_wrap_new_PrintData__SWIG_1(PyObject *, PyObject *args) {
32fe5131 20651 PyObject *resultobj = NULL;
09c21d3b
RD
20652 wxPrintData *arg1 = 0 ;
20653 wxPrintData *result;
20654 PyObject * obj0 = 0 ;
20655
20656 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintData",&obj0)) goto fail;
36ed4f51
RD
20657 {
20658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20659 if (SWIG_arg_fail(1)) SWIG_fail;
20660 if (arg1 == NULL) {
20661 SWIG_null_ref("wxPrintData");
20662 }
20663 if (SWIG_arg_fail(1)) SWIG_fail;
09c21d3b
RD
20664 }
20665 {
20666 PyThreadState* __tstate = wxPyBeginAllowThreads();
20667 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
20668
20669 wxPyEndAllowThreads(__tstate);
20670 if (PyErr_Occurred()) SWIG_fail;
20671 }
20672 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
20673 return resultobj;
20674 fail:
20675 return NULL;
20676}
20677
20678
20679static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
20680 int argc;
20681 PyObject *argv[2];
20682 int ii;
20683
20684 argc = PyObject_Length(args);
20685 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
20686 argv[ii] = PyTuple_GetItem(args,ii);
20687 }
20688 if (argc == 0) {
20689 return _wrap_new_PrintData__SWIG_0(self,args);
20690 }
20691 if (argc == 1) {
20692 int _v;
20693 {
36ed4f51 20694 void *ptr = 0;
09c21d3b
RD
20695 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
20696 _v = 0;
20697 PyErr_Clear();
20698 } else {
36ed4f51 20699 _v = (ptr != 0);
09c21d3b
RD
20700 }
20701 }
20702 if (_v) {
20703 return _wrap_new_PrintData__SWIG_1(self,args);
20704 }
20705 }
20706
36ed4f51 20707 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
09c21d3b
RD
20708 return NULL;
20709}
20710
20711
c370783e 20712static PyObject *_wrap_delete_PrintData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20713 PyObject *resultobj = NULL;
d55e5bfc
RD
20714 wxPrintData *arg1 = (wxPrintData *) 0 ;
20715 PyObject * obj0 = 0 ;
20716 char *kwnames[] = {
20717 (char *) "self", NULL
20718 };
20719
20720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
36ed4f51
RD
20721 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20722 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20723 {
20724 PyThreadState* __tstate = wxPyBeginAllowThreads();
20725 delete arg1;
20726
20727 wxPyEndAllowThreads(__tstate);
20728 if (PyErr_Occurred()) SWIG_fail;
20729 }
20730 Py_INCREF(Py_None); resultobj = Py_None;
20731 return resultobj;
20732 fail:
20733 return NULL;
20734}
20735
20736
c370783e 20737static PyObject *_wrap_PrintData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20738 PyObject *resultobj = NULL;
d55e5bfc
RD
20739 wxPrintData *arg1 = (wxPrintData *) 0 ;
20740 int result;
20741 PyObject * obj0 = 0 ;
20742 char *kwnames[] = {
20743 (char *) "self", NULL
20744 };
20745
20746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
36ed4f51
RD
20747 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20748 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20749 {
20750 PyThreadState* __tstate = wxPyBeginAllowThreads();
20751 result = (int)(arg1)->GetNoCopies();
20752
20753 wxPyEndAllowThreads(__tstate);
20754 if (PyErr_Occurred()) SWIG_fail;
20755 }
36ed4f51 20756 {
32fe5131 20757 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 20758 }
d55e5bfc
RD
20759 return resultobj;
20760 fail:
20761 return NULL;
20762}
20763
20764
c370783e 20765static PyObject *_wrap_PrintData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20766 PyObject *resultobj = NULL;
d55e5bfc
RD
20767 wxPrintData *arg1 = (wxPrintData *) 0 ;
20768 bool result;
20769 PyObject * obj0 = 0 ;
20770 char *kwnames[] = {
20771 (char *) "self", NULL
20772 };
20773
20774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
36ed4f51
RD
20775 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20776 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20777 {
20778 PyThreadState* __tstate = wxPyBeginAllowThreads();
20779 result = (bool)(arg1)->GetCollate();
20780
20781 wxPyEndAllowThreads(__tstate);
20782 if (PyErr_Occurred()) SWIG_fail;
20783 }
20784 {
20785 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20786 }
20787 return resultobj;
20788 fail:
20789 return NULL;
20790}
20791
20792
c370783e 20793static PyObject *_wrap_PrintData_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20794 PyObject *resultobj = NULL;
d55e5bfc
RD
20795 wxPrintData *arg1 = (wxPrintData *) 0 ;
20796 int result;
20797 PyObject * obj0 = 0 ;
20798 char *kwnames[] = {
20799 (char *) "self", NULL
20800 };
20801
20802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
36ed4f51
RD
20803 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20804 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20805 {
20806 PyThreadState* __tstate = wxPyBeginAllowThreads();
20807 result = (int)(arg1)->GetOrientation();
20808
20809 wxPyEndAllowThreads(__tstate);
20810 if (PyErr_Occurred()) SWIG_fail;
20811 }
36ed4f51 20812 {
32fe5131 20813 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 20814 }
d55e5bfc
RD
20815 return resultobj;
20816 fail:
20817 return NULL;
20818}
20819
20820
c370783e 20821static PyObject *_wrap_PrintData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20822 PyObject *resultobj = NULL;
d55e5bfc
RD
20823 wxPrintData *arg1 = (wxPrintData *) 0 ;
20824 bool result;
20825 PyObject * obj0 = 0 ;
20826 char *kwnames[] = {
20827 (char *) "self", NULL
20828 };
20829
20830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
36ed4f51
RD
20831 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20832 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20833 {
20834 PyThreadState* __tstate = wxPyBeginAllowThreads();
20835 result = (bool)(arg1)->Ok();
20836
20837 wxPyEndAllowThreads(__tstate);
20838 if (PyErr_Occurred()) SWIG_fail;
20839 }
20840 {
20841 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20842 }
20843 return resultobj;
20844 fail:
20845 return NULL;
20846}
20847
20848
c370783e 20849static PyObject *_wrap_PrintData_GetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20850 PyObject *resultobj = NULL;
d55e5bfc
RD
20851 wxPrintData *arg1 = (wxPrintData *) 0 ;
20852 wxString *result;
20853 PyObject * obj0 = 0 ;
20854 char *kwnames[] = {
20855 (char *) "self", NULL
20856 };
20857
20858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
36ed4f51
RD
20859 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20860 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20861 {
20862 PyThreadState* __tstate = wxPyBeginAllowThreads();
20863 {
20864 wxString const &_result_ref = (arg1)->GetPrinterName();
20865 result = (wxString *) &_result_ref;
20866 }
20867
20868 wxPyEndAllowThreads(__tstate);
20869 if (PyErr_Occurred()) SWIG_fail;
20870 }
20871 {
20872#if wxUSE_UNICODE
20873 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20874#else
20875 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20876#endif
20877 }
20878 return resultobj;
20879 fail:
20880 return NULL;
20881}
20882
20883
c370783e 20884static PyObject *_wrap_PrintData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20885 PyObject *resultobj = NULL;
d55e5bfc
RD
20886 wxPrintData *arg1 = (wxPrintData *) 0 ;
20887 bool result;
20888 PyObject * obj0 = 0 ;
20889 char *kwnames[] = {
20890 (char *) "self", NULL
20891 };
20892
20893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
20894 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20895 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20896 {
20897 PyThreadState* __tstate = wxPyBeginAllowThreads();
20898 result = (bool)(arg1)->GetColour();
20899
20900 wxPyEndAllowThreads(__tstate);
20901 if (PyErr_Occurred()) SWIG_fail;
20902 }
20903 {
20904 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20905 }
20906 return resultobj;
20907 fail:
20908 return NULL;
20909}
20910
20911
c370783e 20912static PyObject *_wrap_PrintData_GetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20913 PyObject *resultobj = NULL;
d55e5bfc 20914 wxPrintData *arg1 = (wxPrintData *) 0 ;
36ed4f51 20915 wxDuplexMode result;
d55e5bfc
RD
20916 PyObject * obj0 = 0 ;
20917 char *kwnames[] = {
20918 (char *) "self", NULL
20919 };
20920
20921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
36ed4f51
RD
20922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20923 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20924 {
20925 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 20926 result = (wxDuplexMode)(arg1)->GetDuplex();
d55e5bfc
RD
20927
20928 wxPyEndAllowThreads(__tstate);
20929 if (PyErr_Occurred()) SWIG_fail;
20930 }
36ed4f51 20931 resultobj = SWIG_From_int((result));
d55e5bfc
RD
20932 return resultobj;
20933 fail:
20934 return NULL;
20935}
20936
20937
c370783e 20938static PyObject *_wrap_PrintData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20939 PyObject *resultobj = NULL;
d55e5bfc 20940 wxPrintData *arg1 = (wxPrintData *) 0 ;
36ed4f51 20941 wxPaperSize result;
d55e5bfc
RD
20942 PyObject * obj0 = 0 ;
20943 char *kwnames[] = {
20944 (char *) "self", NULL
20945 };
20946
20947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
36ed4f51
RD
20948 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20949 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20950 {
20951 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 20952 result = (wxPaperSize)(arg1)->GetPaperId();
d55e5bfc
RD
20953
20954 wxPyEndAllowThreads(__tstate);
20955 if (PyErr_Occurred()) SWIG_fail;
20956 }
36ed4f51 20957 resultobj = SWIG_From_int((result));
d55e5bfc
RD
20958 return resultobj;
20959 fail:
20960 return NULL;
20961}
20962
20963
c370783e 20964static PyObject *_wrap_PrintData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20965 PyObject *resultobj = NULL;
d55e5bfc
RD
20966 wxPrintData *arg1 = (wxPrintData *) 0 ;
20967 wxSize *result;
20968 PyObject * obj0 = 0 ;
20969 char *kwnames[] = {
20970 (char *) "self", NULL
20971 };
20972
20973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
20974 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20975 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20976 {
20977 PyThreadState* __tstate = wxPyBeginAllowThreads();
20978 {
20979 wxSize const &_result_ref = (arg1)->GetPaperSize();
20980 result = (wxSize *) &_result_ref;
20981 }
20982
20983 wxPyEndAllowThreads(__tstate);
20984 if (PyErr_Occurred()) SWIG_fail;
20985 }
20986 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
20987 return resultobj;
20988 fail:
20989 return NULL;
20990}
20991
20992
c370783e 20993static PyObject *_wrap_PrintData_GetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20994 PyObject *resultobj = NULL;
d55e5bfc
RD
20995 wxPrintData *arg1 = (wxPrintData *) 0 ;
20996 int result;
20997 PyObject * obj0 = 0 ;
20998 char *kwnames[] = {
20999 (char *) "self", NULL
21000 };
21001
21002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
36ed4f51
RD
21003 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21004 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21005 {
21006 PyThreadState* __tstate = wxPyBeginAllowThreads();
21007 result = (int)(arg1)->GetQuality();
21008
21009 wxPyEndAllowThreads(__tstate);
21010 if (PyErr_Occurred()) SWIG_fail;
21011 }
36ed4f51 21012 {
32fe5131 21013 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 21014 }
d55e5bfc
RD
21015 return resultobj;
21016 fail:
21017 return NULL;
21018}
21019
21020
b411df4a 21021static PyObject *_wrap_PrintData_GetBin(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21022 PyObject *resultobj = NULL;
b411df4a 21023 wxPrintData *arg1 = (wxPrintData *) 0 ;
36ed4f51 21024 wxPrintBin result;
b411df4a
RD
21025 PyObject * obj0 = 0 ;
21026 char *kwnames[] = {
21027 (char *) "self", NULL
21028 };
21029
21030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetBin",kwnames,&obj0)) goto fail;
36ed4f51
RD
21031 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21032 if (SWIG_arg_fail(1)) SWIG_fail;
b411df4a
RD
21033 {
21034 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 21035 result = (wxPrintBin)(arg1)->GetBin();
b411df4a
RD
21036
21037 wxPyEndAllowThreads(__tstate);
21038 if (PyErr_Occurred()) SWIG_fail;
21039 }
36ed4f51 21040 resultobj = SWIG_From_int((result));
b411df4a
RD
21041 return resultobj;
21042 fail:
21043 return NULL;
21044}
21045
21046
070c48b4 21047static PyObject *_wrap_PrintData_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21048 PyObject *resultobj = NULL;
070c48b4 21049 wxPrintData *arg1 = (wxPrintData *) 0 ;
36ed4f51 21050 wxPrintMode result;
070c48b4
RD
21051 PyObject * obj0 = 0 ;
21052 char *kwnames[] = {
21053 (char *) "self", NULL
21054 };
21055
21056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
36ed4f51
RD
21057 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21058 if (SWIG_arg_fail(1)) SWIG_fail;
070c48b4
RD
21059 {
21060 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 21061 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
070c48b4
RD
21062
21063 wxPyEndAllowThreads(__tstate);
21064 if (PyErr_Occurred()) SWIG_fail;
21065 }
36ed4f51 21066 resultobj = SWIG_From_int((result));
070c48b4
RD
21067 return resultobj;
21068 fail:
21069 return NULL;
21070}
21071
21072
c370783e 21073static PyObject *_wrap_PrintData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21074 PyObject *resultobj = NULL;
d55e5bfc
RD
21075 wxPrintData *arg1 = (wxPrintData *) 0 ;
21076 int arg2 ;
21077 PyObject * obj0 = 0 ;
21078 PyObject * obj1 = 0 ;
21079 char *kwnames[] = {
21080 (char *) "self",(char *) "v", NULL
21081 };
21082
21083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21084 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21085 if (SWIG_arg_fail(1)) SWIG_fail;
21086 {
32fe5131 21087 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
21088 if (SWIG_arg_fail(2)) SWIG_fail;
21089 }
d55e5bfc
RD
21090 {
21091 PyThreadState* __tstate = wxPyBeginAllowThreads();
21092 (arg1)->SetNoCopies(arg2);
21093
21094 wxPyEndAllowThreads(__tstate);
21095 if (PyErr_Occurred()) SWIG_fail;
21096 }
21097 Py_INCREF(Py_None); resultobj = Py_None;
21098 return resultobj;
21099 fail:
21100 return NULL;
21101}
21102
21103
c370783e 21104static PyObject *_wrap_PrintData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21105 PyObject *resultobj = NULL;
d55e5bfc
RD
21106 wxPrintData *arg1 = (wxPrintData *) 0 ;
21107 bool arg2 ;
21108 PyObject * obj0 = 0 ;
21109 PyObject * obj1 = 0 ;
21110 char *kwnames[] = {
21111 (char *) "self",(char *) "flag", NULL
21112 };
21113
21114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21115 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21116 if (SWIG_arg_fail(1)) SWIG_fail;
21117 {
32fe5131 21118 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
21119 if (SWIG_arg_fail(2)) SWIG_fail;
21120 }
d55e5bfc
RD
21121 {
21122 PyThreadState* __tstate = wxPyBeginAllowThreads();
21123 (arg1)->SetCollate(arg2);
21124
21125 wxPyEndAllowThreads(__tstate);
21126 if (PyErr_Occurred()) SWIG_fail;
21127 }
21128 Py_INCREF(Py_None); resultobj = Py_None;
21129 return resultobj;
21130 fail:
21131 return NULL;
21132}
21133
21134
c370783e 21135static PyObject *_wrap_PrintData_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21136 PyObject *resultobj = NULL;
d55e5bfc
RD
21137 wxPrintData *arg1 = (wxPrintData *) 0 ;
21138 int arg2 ;
21139 PyObject * obj0 = 0 ;
21140 PyObject * obj1 = 0 ;
21141 char *kwnames[] = {
21142 (char *) "self",(char *) "orient", NULL
21143 };
21144
21145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21146 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21147 if (SWIG_arg_fail(1)) SWIG_fail;
21148 {
32fe5131 21149 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
21150 if (SWIG_arg_fail(2)) SWIG_fail;
21151 }
d55e5bfc
RD
21152 {
21153 PyThreadState* __tstate = wxPyBeginAllowThreads();
21154 (arg1)->SetOrientation(arg2);
21155
21156 wxPyEndAllowThreads(__tstate);
21157 if (PyErr_Occurred()) SWIG_fail;
21158 }
21159 Py_INCREF(Py_None); resultobj = Py_None;
21160 return resultobj;
21161 fail:
21162 return NULL;
21163}
21164
21165
c370783e 21166static PyObject *_wrap_PrintData_SetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21167 PyObject *resultobj = NULL;
d55e5bfc
RD
21168 wxPrintData *arg1 = (wxPrintData *) 0 ;
21169 wxString *arg2 = 0 ;
b411df4a 21170 bool temp2 = false ;
d55e5bfc
RD
21171 PyObject * obj0 = 0 ;
21172 PyObject * obj1 = 0 ;
21173 char *kwnames[] = {
21174 (char *) "self",(char *) "name", NULL
21175 };
21176
21177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
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 arg2 = wxString_in_helper(obj1);
21182 if (arg2 == NULL) SWIG_fail;
b411df4a 21183 temp2 = true;
d55e5bfc
RD
21184 }
21185 {
21186 PyThreadState* __tstate = wxPyBeginAllowThreads();
21187 (arg1)->SetPrinterName((wxString const &)*arg2);
21188
21189 wxPyEndAllowThreads(__tstate);
21190 if (PyErr_Occurred()) SWIG_fail;
21191 }
21192 Py_INCREF(Py_None); resultobj = Py_None;
21193 {
21194 if (temp2)
21195 delete arg2;
21196 }
21197 return resultobj;
21198 fail:
21199 {
21200 if (temp2)
21201 delete arg2;
21202 }
21203 return NULL;
21204}
21205
21206
c370783e 21207static PyObject *_wrap_PrintData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21208 PyObject *resultobj = NULL;
d55e5bfc
RD
21209 wxPrintData *arg1 = (wxPrintData *) 0 ;
21210 bool arg2 ;
21211 PyObject * obj0 = 0 ;
21212 PyObject * obj1 = 0 ;
21213 char *kwnames[] = {
21214 (char *) "self",(char *) "colour", NULL
21215 };
21216
21217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21218 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21219 if (SWIG_arg_fail(1)) SWIG_fail;
21220 {
32fe5131 21221 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
21222 if (SWIG_arg_fail(2)) SWIG_fail;
21223 }
d55e5bfc
RD
21224 {
21225 PyThreadState* __tstate = wxPyBeginAllowThreads();
21226 (arg1)->SetColour(arg2);
21227
21228 wxPyEndAllowThreads(__tstate);
21229 if (PyErr_Occurred()) SWIG_fail;
21230 }
21231 Py_INCREF(Py_None); resultobj = Py_None;
21232 return resultobj;
21233 fail:
21234 return NULL;
21235}
21236
21237
c370783e 21238static PyObject *_wrap_PrintData_SetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21239 PyObject *resultobj = NULL;
d55e5bfc 21240 wxPrintData *arg1 = (wxPrintData *) 0 ;
36ed4f51 21241 wxDuplexMode arg2 ;
d55e5bfc
RD
21242 PyObject * obj0 = 0 ;
21243 PyObject * obj1 = 0 ;
21244 char *kwnames[] = {
21245 (char *) "self",(char *) "duplex", NULL
21246 };
21247
21248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21249 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21250 if (SWIG_arg_fail(1)) SWIG_fail;
21251 {
32fe5131 21252 arg2 = static_cast<wxDuplexMode >(SWIG_As_int(obj1));
36ed4f51
RD
21253 if (SWIG_arg_fail(2)) SWIG_fail;
21254 }
d55e5bfc
RD
21255 {
21256 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 21257 (arg1)->SetDuplex(arg2);
d55e5bfc
RD
21258
21259 wxPyEndAllowThreads(__tstate);
21260 if (PyErr_Occurred()) SWIG_fail;
21261 }
21262 Py_INCREF(Py_None); resultobj = Py_None;
21263 return resultobj;
21264 fail:
21265 return NULL;
21266}
21267
21268
c370783e 21269static PyObject *_wrap_PrintData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21270 PyObject *resultobj = NULL;
d55e5bfc 21271 wxPrintData *arg1 = (wxPrintData *) 0 ;
36ed4f51 21272 wxPaperSize arg2 ;
d55e5bfc
RD
21273 PyObject * obj0 = 0 ;
21274 PyObject * obj1 = 0 ;
21275 char *kwnames[] = {
21276 (char *) "self",(char *) "sizeId", NULL
21277 };
21278
21279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21280 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21281 if (SWIG_arg_fail(1)) SWIG_fail;
21282 {
32fe5131 21283 arg2 = static_cast<wxPaperSize >(SWIG_As_int(obj1));
36ed4f51
RD
21284 if (SWIG_arg_fail(2)) SWIG_fail;
21285 }
d55e5bfc
RD
21286 {
21287 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 21288 (arg1)->SetPaperId(arg2);
d55e5bfc
RD
21289
21290 wxPyEndAllowThreads(__tstate);
21291 if (PyErr_Occurred()) SWIG_fail;
21292 }
21293 Py_INCREF(Py_None); resultobj = Py_None;
21294 return resultobj;
21295 fail:
21296 return NULL;
21297}
21298
21299
c370783e 21300static PyObject *_wrap_PrintData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21301 PyObject *resultobj = NULL;
d55e5bfc
RD
21302 wxPrintData *arg1 = (wxPrintData *) 0 ;
21303 wxSize *arg2 = 0 ;
21304 wxSize temp2 ;
21305 PyObject * obj0 = 0 ;
21306 PyObject * obj1 = 0 ;
21307 char *kwnames[] = {
21308 (char *) "self",(char *) "sz", NULL
21309 };
21310
21311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21312 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21313 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21314 {
21315 arg2 = &temp2;
21316 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21317 }
21318 {
21319 PyThreadState* __tstate = wxPyBeginAllowThreads();
21320 (arg1)->SetPaperSize((wxSize const &)*arg2);
21321
21322 wxPyEndAllowThreads(__tstate);
21323 if (PyErr_Occurred()) SWIG_fail;
21324 }
21325 Py_INCREF(Py_None); resultobj = Py_None;
21326 return resultobj;
21327 fail:
21328 return NULL;
21329}
21330
21331
c370783e 21332static PyObject *_wrap_PrintData_SetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21333 PyObject *resultobj = NULL;
d55e5bfc
RD
21334 wxPrintData *arg1 = (wxPrintData *) 0 ;
21335 int arg2 ;
21336 PyObject * obj0 = 0 ;
21337 PyObject * obj1 = 0 ;
21338 char *kwnames[] = {
21339 (char *) "self",(char *) "quality", NULL
21340 };
21341
21342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21344 if (SWIG_arg_fail(1)) SWIG_fail;
21345 {
32fe5131 21346 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
21347 if (SWIG_arg_fail(2)) SWIG_fail;
21348 }
d55e5bfc
RD
21349 {
21350 PyThreadState* __tstate = wxPyBeginAllowThreads();
21351 (arg1)->SetQuality(arg2);
21352
21353 wxPyEndAllowThreads(__tstate);
21354 if (PyErr_Occurred()) SWIG_fail;
21355 }
21356 Py_INCREF(Py_None); resultobj = Py_None;
21357 return resultobj;
21358 fail:
21359 return NULL;
21360}
21361
21362
b411df4a 21363static PyObject *_wrap_PrintData_SetBin(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21364 PyObject *resultobj = NULL;
b411df4a 21365 wxPrintData *arg1 = (wxPrintData *) 0 ;
36ed4f51 21366 wxPrintBin arg2 ;
b411df4a
RD
21367 PyObject * obj0 = 0 ;
21368 PyObject * obj1 = 0 ;
21369 char *kwnames[] = {
21370 (char *) "self",(char *) "bin", NULL
21371 };
21372
21373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21374 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21375 if (SWIG_arg_fail(1)) SWIG_fail;
21376 {
32fe5131 21377 arg2 = static_cast<wxPrintBin >(SWIG_As_int(obj1));
36ed4f51
RD
21378 if (SWIG_arg_fail(2)) SWIG_fail;
21379 }
b411df4a
RD
21380 {
21381 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 21382 (arg1)->SetBin(arg2);
b411df4a
RD
21383
21384 wxPyEndAllowThreads(__tstate);
21385 if (PyErr_Occurred()) SWIG_fail;
21386 }
21387 Py_INCREF(Py_None); resultobj = Py_None;
21388 return resultobj;
21389 fail:
21390 return NULL;
21391}
21392
21393
070c48b4 21394static PyObject *_wrap_PrintData_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21395 PyObject *resultobj = NULL;
d55e5bfc 21396 wxPrintData *arg1 = (wxPrintData *) 0 ;
36ed4f51 21397 wxPrintMode arg2 ;
070c48b4
RD
21398 PyObject * obj0 = 0 ;
21399 PyObject * obj1 = 0 ;
21400 char *kwnames[] = {
21401 (char *) "self",(char *) "printMode", NULL
21402 };
21403
21404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21406 if (SWIG_arg_fail(1)) SWIG_fail;
21407 {
32fe5131 21408 arg2 = static_cast<wxPrintMode >(SWIG_As_int(obj1));
36ed4f51
RD
21409 if (SWIG_arg_fail(2)) SWIG_fail;
21410 }
070c48b4
RD
21411 {
21412 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 21413 (arg1)->SetPrintMode(arg2);
070c48b4
RD
21414
21415 wxPyEndAllowThreads(__tstate);
21416 if (PyErr_Occurred()) SWIG_fail;
21417 }
21418 Py_INCREF(Py_None); resultobj = Py_None;
21419 return resultobj;
21420 fail:
21421 return NULL;
21422}
21423
21424
21425static PyObject *_wrap_PrintData_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21426 PyObject *resultobj = NULL;
070c48b4
RD
21427 wxPrintData *arg1 = (wxPrintData *) 0 ;
21428 wxString result;
d55e5bfc
RD
21429 PyObject * obj0 = 0 ;
21430 char *kwnames[] = {
21431 (char *) "self", NULL
21432 };
21433
070c48b4 21434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
36ed4f51
RD
21435 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21436 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21437 {
21438 PyThreadState* __tstate = wxPyBeginAllowThreads();
070c48b4 21439 result = ((wxPrintData const *)arg1)->GetFilename();
d55e5bfc
RD
21440
21441 wxPyEndAllowThreads(__tstate);
21442 if (PyErr_Occurred()) SWIG_fail;
21443 }
21444 {
21445#if wxUSE_UNICODE
070c48b4 21446 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d55e5bfc 21447#else
070c48b4 21448 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d55e5bfc
RD
21449#endif
21450 }
21451 return resultobj;
21452 fail:
21453 return NULL;
21454}
21455
21456
070c48b4 21457static PyObject *_wrap_PrintData_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21458 PyObject *resultobj = NULL;
070c48b4
RD
21459 wxPrintData *arg1 = (wxPrintData *) 0 ;
21460 wxString *arg2 = 0 ;
21461 bool temp2 = false ;
21462 PyObject * obj0 = 0 ;
21463 PyObject * obj1 = 0 ;
21464 char *kwnames[] = {
21465 (char *) "self",(char *) "filename", NULL
21466 };
21467
21468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21469 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21470 if (SWIG_arg_fail(1)) SWIG_fail;
070c48b4
RD
21471 {
21472 arg2 = wxString_in_helper(obj1);
21473 if (arg2 == NULL) SWIG_fail;
21474 temp2 = true;
21475 }
21476 {
21477 PyThreadState* __tstate = wxPyBeginAllowThreads();
21478 (arg1)->SetFilename((wxString const &)*arg2);
21479
21480 wxPyEndAllowThreads(__tstate);
21481 if (PyErr_Occurred()) SWIG_fail;
21482 }
21483 Py_INCREF(Py_None); resultobj = Py_None;
21484 {
21485 if (temp2)
21486 delete arg2;
21487 }
21488 return resultobj;
21489 fail:
21490 {
21491 if (temp2)
21492 delete arg2;
21493 }
21494 return NULL;
21495}
21496
21497
7fbf8399 21498static PyObject *_wrap_PrintData_GetPrivData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21499 PyObject *resultobj = NULL;
7fbf8399
RD
21500 wxPrintData *arg1 = (wxPrintData *) 0 ;
21501 PyObject *result;
21502 PyObject * obj0 = 0 ;
21503 char *kwnames[] = {
21504 (char *) "self", NULL
21505 };
21506
21507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrivData",kwnames,&obj0)) goto fail;
21508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21509 if (SWIG_arg_fail(1)) SWIG_fail;
21510 {
21511 PyThreadState* __tstate = wxPyBeginAllowThreads();
21512 result = (PyObject *)wxPrintData_GetPrivData(arg1);
21513
21514 wxPyEndAllowThreads(__tstate);
21515 if (PyErr_Occurred()) SWIG_fail;
21516 }
21517 resultobj = result;
21518 return resultobj;
21519 fail:
21520 return NULL;
21521}
21522
21523
21524static PyObject *_wrap_PrintData_SetPrivData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21525 PyObject *resultobj = NULL;
7fbf8399
RD
21526 wxPrintData *arg1 = (wxPrintData *) 0 ;
21527 PyObject *arg2 = (PyObject *) 0 ;
21528 PyObject * obj0 = 0 ;
21529 PyObject * obj1 = 0 ;
21530 char *kwnames[] = {
21531 (char *) "self",(char *) "data", NULL
21532 };
21533
21534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) goto fail;
21535 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21536 if (SWIG_arg_fail(1)) SWIG_fail;
21537 arg2 = obj1;
21538 {
21539 PyThreadState* __tstate = wxPyBeginAllowThreads();
21540 wxPrintData_SetPrivData(arg1,arg2);
21541
21542 wxPyEndAllowThreads(__tstate);
21543 if (PyErr_Occurred()) SWIG_fail;
21544 }
21545 Py_INCREF(Py_None); resultobj = Py_None;
21546 return resultobj;
21547 fail:
21548 return NULL;
21549}
21550
21551
c370783e 21552static PyObject * PrintData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
21553 PyObject *obj;
21554 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21555 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
21556 Py_INCREF(obj);
21557 return Py_BuildValue((char *)"");
21558}
c370783e 21559static PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *, PyObject *args) {
32fe5131 21560 PyObject *resultobj = NULL;
d55e5bfc 21561 wxPageSetupDialogData *result;
d55e5bfc 21562
09c21d3b 21563 if(!PyArg_ParseTuple(args,(char *)":new_PageSetupDialogData")) goto fail;
d55e5bfc
RD
21564 {
21565 PyThreadState* __tstate = wxPyBeginAllowThreads();
21566 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
21567
21568 wxPyEndAllowThreads(__tstate);
21569 if (PyErr_Occurred()) SWIG_fail;
21570 }
21571 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
21572 return resultobj;
21573 fail:
21574 return NULL;
21575}
21576
21577
c370783e 21578static PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *, PyObject *args) {
32fe5131 21579 PyObject *resultobj = NULL;
09c21d3b
RD
21580 wxPageSetupDialogData *arg1 = 0 ;
21581 wxPageSetupDialogData *result;
21582 PyObject * obj0 = 0 ;
21583
21584 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
36ed4f51
RD
21585 {
21586 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21587 if (SWIG_arg_fail(1)) SWIG_fail;
21588 if (arg1 == NULL) {
21589 SWIG_null_ref("wxPageSetupDialogData");
21590 }
21591 if (SWIG_arg_fail(1)) SWIG_fail;
09c21d3b
RD
21592 }
21593 {
21594 PyThreadState* __tstate = wxPyBeginAllowThreads();
21595 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
21596
21597 wxPyEndAllowThreads(__tstate);
21598 if (PyErr_Occurred()) SWIG_fail;
21599 }
21600 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
21601 return resultobj;
21602 fail:
21603 return NULL;
21604}
21605
21606
fef4c27a 21607static PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *, PyObject *args) {
32fe5131 21608 PyObject *resultobj = NULL;
fef4c27a
RD
21609 wxPrintData *arg1 = 0 ;
21610 wxPageSetupDialogData *result;
21611 PyObject * obj0 = 0 ;
21612
21613 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
21614 {
21615 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21616 if (SWIG_arg_fail(1)) SWIG_fail;
21617 if (arg1 == NULL) {
21618 SWIG_null_ref("wxPrintData");
21619 }
21620 if (SWIG_arg_fail(1)) SWIG_fail;
21621 }
21622 {
21623 PyThreadState* __tstate = wxPyBeginAllowThreads();
21624 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
21625
21626 wxPyEndAllowThreads(__tstate);
21627 if (PyErr_Occurred()) SWIG_fail;
21628 }
21629 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
21630 return resultobj;
21631 fail:
21632 return NULL;
21633}
21634
21635
09c21d3b
RD
21636static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
21637 int argc;
21638 PyObject *argv[2];
21639 int ii;
21640
21641 argc = PyObject_Length(args);
21642 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
21643 argv[ii] = PyTuple_GetItem(args,ii);
21644 }
21645 if (argc == 0) {
21646 return _wrap_new_PageSetupDialogData__SWIG_0(self,args);
21647 }
21648 if (argc == 1) {
21649 int _v;
21650 {
36ed4f51 21651 void *ptr = 0;
09c21d3b
RD
21652 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPageSetupDialogData, 0) == -1) {
21653 _v = 0;
21654 PyErr_Clear();
21655 } else {
36ed4f51 21656 _v = (ptr != 0);
09c21d3b
RD
21657 }
21658 }
21659 if (_v) {
21660 return _wrap_new_PageSetupDialogData__SWIG_1(self,args);
21661 }
21662 }
fef4c27a
RD
21663 if (argc == 1) {
21664 int _v;
21665 {
21666 void *ptr = 0;
21667 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
21668 _v = 0;
21669 PyErr_Clear();
21670 } else {
21671 _v = (ptr != 0);
21672 }
21673 }
21674 if (_v) {
21675 return _wrap_new_PageSetupDialogData__SWIG_2(self,args);
21676 }
21677 }
09c21d3b 21678
36ed4f51 21679 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
09c21d3b
RD
21680 return NULL;
21681}
21682
21683
c370783e 21684static PyObject *_wrap_delete_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21685 PyObject *resultobj = NULL;
d55e5bfc
RD
21686 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21687 PyObject * obj0 = 0 ;
21688 char *kwnames[] = {
21689 (char *) "self", NULL
21690 };
21691
21692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
36ed4f51
RD
21693 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21694 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21695 {
21696 PyThreadState* __tstate = wxPyBeginAllowThreads();
21697 delete arg1;
21698
21699 wxPyEndAllowThreads(__tstate);
21700 if (PyErr_Occurred()) SWIG_fail;
21701 }
21702 Py_INCREF(Py_None); resultobj = Py_None;
21703 return resultobj;
21704 fail:
21705 return NULL;
21706}
21707
21708
c370783e 21709static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21710 PyObject *resultobj = NULL;
d55e5bfc
RD
21711 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21712 bool arg2 ;
21713 PyObject * obj0 = 0 ;
21714 PyObject * obj1 = 0 ;
21715 char *kwnames[] = {
21716 (char *) "self",(char *) "flag", NULL
21717 };
21718
21719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21720 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21721 if (SWIG_arg_fail(1)) SWIG_fail;
21722 {
32fe5131 21723 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
21724 if (SWIG_arg_fail(2)) SWIG_fail;
21725 }
d55e5bfc
RD
21726 {
21727 PyThreadState* __tstate = wxPyBeginAllowThreads();
21728 (arg1)->EnableHelp(arg2);
21729
21730 wxPyEndAllowThreads(__tstate);
21731 if (PyErr_Occurred()) SWIG_fail;
21732 }
21733 Py_INCREF(Py_None); resultobj = Py_None;
21734 return resultobj;
21735 fail:
21736 return NULL;
21737}
21738
21739
c370783e 21740static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21741 PyObject *resultobj = NULL;
d55e5bfc
RD
21742 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21743 bool arg2 ;
21744 PyObject * obj0 = 0 ;
21745 PyObject * obj1 = 0 ;
21746 char *kwnames[] = {
21747 (char *) "self",(char *) "flag", NULL
21748 };
21749
21750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21751 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21752 if (SWIG_arg_fail(1)) SWIG_fail;
21753 {
32fe5131 21754 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
21755 if (SWIG_arg_fail(2)) SWIG_fail;
21756 }
d55e5bfc
RD
21757 {
21758 PyThreadState* __tstate = wxPyBeginAllowThreads();
21759 (arg1)->EnableMargins(arg2);
21760
21761 wxPyEndAllowThreads(__tstate);
21762 if (PyErr_Occurred()) SWIG_fail;
21763 }
21764 Py_INCREF(Py_None); resultobj = Py_None;
21765 return resultobj;
21766 fail:
21767 return NULL;
21768}
21769
21770
c370783e 21771static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21772 PyObject *resultobj = NULL;
d55e5bfc
RD
21773 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21774 bool arg2 ;
21775 PyObject * obj0 = 0 ;
21776 PyObject * obj1 = 0 ;
21777 char *kwnames[] = {
21778 (char *) "self",(char *) "flag", NULL
21779 };
21780
21781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21782 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21783 if (SWIG_arg_fail(1)) SWIG_fail;
21784 {
32fe5131 21785 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
21786 if (SWIG_arg_fail(2)) SWIG_fail;
21787 }
d55e5bfc
RD
21788 {
21789 PyThreadState* __tstate = wxPyBeginAllowThreads();
21790 (arg1)->EnableOrientation(arg2);
21791
21792 wxPyEndAllowThreads(__tstate);
21793 if (PyErr_Occurred()) SWIG_fail;
21794 }
21795 Py_INCREF(Py_None); resultobj = Py_None;
21796 return resultobj;
21797 fail:
21798 return NULL;
21799}
21800
21801
c370783e 21802static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21803 PyObject *resultobj = NULL;
d55e5bfc
RD
21804 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21805 bool arg2 ;
21806 PyObject * obj0 = 0 ;
21807 PyObject * obj1 = 0 ;
21808 char *kwnames[] = {
21809 (char *) "self",(char *) "flag", NULL
21810 };
21811
21812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21813 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21814 if (SWIG_arg_fail(1)) SWIG_fail;
21815 {
32fe5131 21816 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
21817 if (SWIG_arg_fail(2)) SWIG_fail;
21818 }
d55e5bfc
RD
21819 {
21820 PyThreadState* __tstate = wxPyBeginAllowThreads();
21821 (arg1)->EnablePaper(arg2);
21822
21823 wxPyEndAllowThreads(__tstate);
21824 if (PyErr_Occurred()) SWIG_fail;
21825 }
21826 Py_INCREF(Py_None); resultobj = Py_None;
21827 return resultobj;
21828 fail:
21829 return NULL;
21830}
21831
21832
c370783e 21833static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21834 PyObject *resultobj = NULL;
d55e5bfc
RD
21835 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21836 bool arg2 ;
21837 PyObject * obj0 = 0 ;
21838 PyObject * obj1 = 0 ;
21839 char *kwnames[] = {
21840 (char *) "self",(char *) "flag", NULL
21841 };
21842
21843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21844 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21845 if (SWIG_arg_fail(1)) SWIG_fail;
21846 {
32fe5131 21847 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
21848 if (SWIG_arg_fail(2)) SWIG_fail;
21849 }
d55e5bfc
RD
21850 {
21851 PyThreadState* __tstate = wxPyBeginAllowThreads();
21852 (arg1)->EnablePrinter(arg2);
21853
21854 wxPyEndAllowThreads(__tstate);
21855 if (PyErr_Occurred()) SWIG_fail;
21856 }
21857 Py_INCREF(Py_None); resultobj = Py_None;
21858 return resultobj;
21859 fail:
21860 return NULL;
21861}
21862
21863
c370783e 21864static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21865 PyObject *resultobj = NULL;
d55e5bfc
RD
21866 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21867 bool result;
21868 PyObject * obj0 = 0 ;
21869 char *kwnames[] = {
21870 (char *) "self", NULL
21871 };
21872
21873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
36ed4f51
RD
21874 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21875 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21876 {
21877 PyThreadState* __tstate = wxPyBeginAllowThreads();
21878 result = (bool)(arg1)->GetDefaultMinMargins();
21879
21880 wxPyEndAllowThreads(__tstate);
21881 if (PyErr_Occurred()) SWIG_fail;
21882 }
21883 {
21884 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21885 }
21886 return resultobj;
21887 fail:
21888 return NULL;
21889}
21890
21891
c370783e 21892static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21893 PyObject *resultobj = NULL;
d55e5bfc
RD
21894 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21895 bool result;
21896 PyObject * obj0 = 0 ;
21897 char *kwnames[] = {
21898 (char *) "self", NULL
21899 };
21900
21901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
36ed4f51
RD
21902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21903 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21904 {
21905 PyThreadState* __tstate = wxPyBeginAllowThreads();
21906 result = (bool)(arg1)->GetEnableMargins();
21907
21908 wxPyEndAllowThreads(__tstate);
21909 if (PyErr_Occurred()) SWIG_fail;
21910 }
21911 {
21912 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21913 }
21914 return resultobj;
21915 fail:
21916 return NULL;
21917}
21918
21919
c370783e 21920static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21921 PyObject *resultobj = NULL;
d55e5bfc
RD
21922 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21923 bool result;
21924 PyObject * obj0 = 0 ;
21925 char *kwnames[] = {
21926 (char *) "self", NULL
21927 };
21928
21929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
36ed4f51
RD
21930 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21931 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21932 {
21933 PyThreadState* __tstate = wxPyBeginAllowThreads();
21934 result = (bool)(arg1)->GetEnableOrientation();
21935
21936 wxPyEndAllowThreads(__tstate);
21937 if (PyErr_Occurred()) SWIG_fail;
21938 }
21939 {
21940 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21941 }
21942 return resultobj;
21943 fail:
21944 return NULL;
21945}
21946
21947
c370783e 21948static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21949 PyObject *resultobj = NULL;
d55e5bfc
RD
21950 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21951 bool result;
21952 PyObject * obj0 = 0 ;
21953 char *kwnames[] = {
21954 (char *) "self", NULL
21955 };
21956
21957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
36ed4f51
RD
21958 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21959 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21960 {
21961 PyThreadState* __tstate = wxPyBeginAllowThreads();
21962 result = (bool)(arg1)->GetEnablePaper();
21963
21964 wxPyEndAllowThreads(__tstate);
21965 if (PyErr_Occurred()) SWIG_fail;
21966 }
21967 {
21968 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21969 }
21970 return resultobj;
21971 fail:
21972 return NULL;
21973}
21974
21975
c370783e 21976static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21977 PyObject *resultobj = NULL;
d55e5bfc
RD
21978 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21979 bool result;
21980 PyObject * obj0 = 0 ;
21981 char *kwnames[] = {
21982 (char *) "self", NULL
21983 };
21984
21985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
36ed4f51
RD
21986 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21987 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21988 {
21989 PyThreadState* __tstate = wxPyBeginAllowThreads();
21990 result = (bool)(arg1)->GetEnablePrinter();
21991
21992 wxPyEndAllowThreads(__tstate);
21993 if (PyErr_Occurred()) SWIG_fail;
21994 }
21995 {
21996 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21997 }
21998 return resultobj;
21999 fail:
22000 return NULL;
22001}
22002
22003
c370783e 22004static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22005 PyObject *resultobj = NULL;
d55e5bfc
RD
22006 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22007 bool result;
22008 PyObject * obj0 = 0 ;
22009 char *kwnames[] = {
22010 (char *) "self", NULL
22011 };
22012
22013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
36ed4f51
RD
22014 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22015 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22016 {
22017 PyThreadState* __tstate = wxPyBeginAllowThreads();
22018 result = (bool)(arg1)->GetEnableHelp();
22019
22020 wxPyEndAllowThreads(__tstate);
22021 if (PyErr_Occurred()) SWIG_fail;
22022 }
22023 {
22024 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22025 }
22026 return resultobj;
22027 fail:
22028 return NULL;
22029}
22030
22031
c370783e 22032static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22033 PyObject *resultobj = NULL;
d55e5bfc
RD
22034 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22035 bool result;
22036 PyObject * obj0 = 0 ;
22037 char *kwnames[] = {
22038 (char *) "self", NULL
22039 };
22040
22041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
36ed4f51
RD
22042 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22043 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22044 {
22045 PyThreadState* __tstate = wxPyBeginAllowThreads();
22046 result = (bool)(arg1)->GetDefaultInfo();
22047
22048 wxPyEndAllowThreads(__tstate);
22049 if (PyErr_Occurred()) SWIG_fail;
22050 }
22051 {
22052 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22053 }
22054 return resultobj;
22055 fail:
22056 return NULL;
22057}
22058
22059
c370783e 22060static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22061 PyObject *resultobj = NULL;
d55e5bfc
RD
22062 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22063 wxPoint result;
22064 PyObject * obj0 = 0 ;
22065 char *kwnames[] = {
22066 (char *) "self", NULL
22067 };
22068
22069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
36ed4f51
RD
22070 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22071 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22072 {
22073 PyThreadState* __tstate = wxPyBeginAllowThreads();
22074 result = (arg1)->GetMarginTopLeft();
22075
22076 wxPyEndAllowThreads(__tstate);
22077 if (PyErr_Occurred()) SWIG_fail;
22078 }
22079 {
22080 wxPoint * resultptr;
32fe5131 22081 resultptr = new wxPoint(static_cast<wxPoint & >(result));
d55e5bfc
RD
22082 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22083 }
22084 return resultobj;
22085 fail:
22086 return NULL;
22087}
22088
22089
c370783e 22090static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22091 PyObject *resultobj = NULL;
d55e5bfc
RD
22092 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22093 wxPoint result;
22094 PyObject * obj0 = 0 ;
22095 char *kwnames[] = {
22096 (char *) "self", NULL
22097 };
22098
22099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
36ed4f51
RD
22100 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22101 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22102 {
22103 PyThreadState* __tstate = wxPyBeginAllowThreads();
22104 result = (arg1)->GetMarginBottomRight();
22105
22106 wxPyEndAllowThreads(__tstate);
22107 if (PyErr_Occurred()) SWIG_fail;
22108 }
22109 {
22110 wxPoint * resultptr;
32fe5131 22111 resultptr = new wxPoint(static_cast<wxPoint & >(result));
d55e5bfc
RD
22112 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22113 }
22114 return resultobj;
22115 fail:
22116 return NULL;
22117}
22118
22119
c370783e 22120static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22121 PyObject *resultobj = NULL;
d55e5bfc
RD
22122 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22123 wxPoint result;
22124 PyObject * obj0 = 0 ;
22125 char *kwnames[] = {
22126 (char *) "self", NULL
22127 };
22128
22129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
36ed4f51
RD
22130 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22131 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22132 {
22133 PyThreadState* __tstate = wxPyBeginAllowThreads();
22134 result = (arg1)->GetMinMarginTopLeft();
22135
22136 wxPyEndAllowThreads(__tstate);
22137 if (PyErr_Occurred()) SWIG_fail;
22138 }
22139 {
22140 wxPoint * resultptr;
32fe5131 22141 resultptr = new wxPoint(static_cast<wxPoint & >(result));
d55e5bfc
RD
22142 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22143 }
22144 return resultobj;
22145 fail:
22146 return NULL;
22147}
22148
22149
c370783e 22150static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22151 PyObject *resultobj = NULL;
d55e5bfc
RD
22152 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22153 wxPoint result;
22154 PyObject * obj0 = 0 ;
22155 char *kwnames[] = {
22156 (char *) "self", NULL
22157 };
22158
22159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
36ed4f51
RD
22160 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22161 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22162 {
22163 PyThreadState* __tstate = wxPyBeginAllowThreads();
22164 result = (arg1)->GetMinMarginBottomRight();
22165
22166 wxPyEndAllowThreads(__tstate);
22167 if (PyErr_Occurred()) SWIG_fail;
22168 }
22169 {
22170 wxPoint * resultptr;
32fe5131 22171 resultptr = new wxPoint(static_cast<wxPoint & >(result));
d55e5bfc
RD
22172 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22173 }
22174 return resultobj;
22175 fail:
22176 return NULL;
22177}
22178
22179
c370783e 22180static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22181 PyObject *resultobj = NULL;
d55e5bfc 22182 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
36ed4f51 22183 wxPaperSize result;
d55e5bfc
RD
22184 PyObject * obj0 = 0 ;
22185 char *kwnames[] = {
22186 (char *) "self", NULL
22187 };
22188
22189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
36ed4f51
RD
22190 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22191 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22192 {
22193 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 22194 result = (wxPaperSize)(arg1)->GetPaperId();
d55e5bfc
RD
22195
22196 wxPyEndAllowThreads(__tstate);
22197 if (PyErr_Occurred()) SWIG_fail;
22198 }
36ed4f51 22199 resultobj = SWIG_From_int((result));
d55e5bfc
RD
22200 return resultobj;
22201 fail:
22202 return NULL;
22203}
22204
22205
c370783e 22206static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22207 PyObject *resultobj = NULL;
d55e5bfc
RD
22208 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22209 wxSize result;
22210 PyObject * obj0 = 0 ;
22211 char *kwnames[] = {
22212 (char *) "self", NULL
22213 };
22214
22215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
22216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22217 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22218 {
22219 PyThreadState* __tstate = wxPyBeginAllowThreads();
22220 result = (arg1)->GetPaperSize();
22221
22222 wxPyEndAllowThreads(__tstate);
22223 if (PyErr_Occurred()) SWIG_fail;
22224 }
22225 {
22226 wxSize * resultptr;
32fe5131 22227 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
22228 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
22229 }
22230 return resultobj;
22231 fail:
22232 return NULL;
22233}
22234
22235
c370783e 22236static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22237 PyObject *resultobj = NULL;
d55e5bfc
RD
22238 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22239 wxPrintData *result;
22240 PyObject * obj0 = 0 ;
22241 char *kwnames[] = {
22242 (char *) "self", NULL
22243 };
22244
22245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
36ed4f51
RD
22246 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22247 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22248 {
22249 PyThreadState* __tstate = wxPyBeginAllowThreads();
22250 {
22251 wxPrintData &_result_ref = (arg1)->GetPrintData();
22252 result = (wxPrintData *) &_result_ref;
22253 }
22254
22255 wxPyEndAllowThreads(__tstate);
22256 if (PyErr_Occurred()) SWIG_fail;
22257 }
22258 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
22259 return resultobj;
22260 fail:
22261 return NULL;
22262}
22263
22264
c370783e 22265static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22266 PyObject *resultobj = NULL;
d55e5bfc
RD
22267 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22268 bool result;
22269 PyObject * obj0 = 0 ;
22270 char *kwnames[] = {
22271 (char *) "self", NULL
22272 };
22273
22274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
36ed4f51
RD
22275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22276 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22277 {
22278 PyThreadState* __tstate = wxPyBeginAllowThreads();
22279 result = (bool)(arg1)->Ok();
22280
22281 wxPyEndAllowThreads(__tstate);
22282 if (PyErr_Occurred()) SWIG_fail;
22283 }
22284 {
22285 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22286 }
22287 return resultobj;
22288 fail:
22289 return NULL;
22290}
22291
22292
c370783e 22293static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22294 PyObject *resultobj = NULL;
d55e5bfc
RD
22295 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22296 bool arg2 ;
22297 PyObject * obj0 = 0 ;
22298 PyObject * obj1 = 0 ;
22299 char *kwnames[] = {
22300 (char *) "self",(char *) "flag", NULL
22301 };
22302
22303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22305 if (SWIG_arg_fail(1)) SWIG_fail;
22306 {
32fe5131 22307 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
22308 if (SWIG_arg_fail(2)) SWIG_fail;
22309 }
d55e5bfc
RD
22310 {
22311 PyThreadState* __tstate = wxPyBeginAllowThreads();
22312 (arg1)->SetDefaultInfo(arg2);
22313
22314 wxPyEndAllowThreads(__tstate);
22315 if (PyErr_Occurred()) SWIG_fail;
22316 }
22317 Py_INCREF(Py_None); resultobj = Py_None;
22318 return resultobj;
22319 fail:
22320 return NULL;
22321}
22322
22323
c370783e 22324static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22325 PyObject *resultobj = NULL;
d55e5bfc
RD
22326 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22327 bool arg2 ;
22328 PyObject * obj0 = 0 ;
22329 PyObject * obj1 = 0 ;
22330 char *kwnames[] = {
22331 (char *) "self",(char *) "flag", NULL
22332 };
22333
22334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22335 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22336 if (SWIG_arg_fail(1)) SWIG_fail;
22337 {
32fe5131 22338 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
22339 if (SWIG_arg_fail(2)) SWIG_fail;
22340 }
d55e5bfc
RD
22341 {
22342 PyThreadState* __tstate = wxPyBeginAllowThreads();
22343 (arg1)->SetDefaultMinMargins(arg2);
22344
22345 wxPyEndAllowThreads(__tstate);
22346 if (PyErr_Occurred()) SWIG_fail;
22347 }
22348 Py_INCREF(Py_None); resultobj = Py_None;
22349 return resultobj;
22350 fail:
22351 return NULL;
22352}
22353
22354
c370783e 22355static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22356 PyObject *resultobj = NULL;
d55e5bfc
RD
22357 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22358 wxPoint *arg2 = 0 ;
22359 wxPoint temp2 ;
22360 PyObject * obj0 = 0 ;
22361 PyObject * obj1 = 0 ;
22362 char *kwnames[] = {
22363 (char *) "self",(char *) "pt", NULL
22364 };
22365
22366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22367 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22368 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22369 {
22370 arg2 = &temp2;
22371 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22372 }
22373 {
22374 PyThreadState* __tstate = wxPyBeginAllowThreads();
22375 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
22376
22377 wxPyEndAllowThreads(__tstate);
22378 if (PyErr_Occurred()) SWIG_fail;
22379 }
22380 Py_INCREF(Py_None); resultobj = Py_None;
22381 return resultobj;
22382 fail:
22383 return NULL;
22384}
22385
22386
c370783e 22387static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22388 PyObject *resultobj = NULL;
d55e5bfc
RD
22389 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22390 wxPoint *arg2 = 0 ;
22391 wxPoint temp2 ;
22392 PyObject * obj0 = 0 ;
22393 PyObject * obj1 = 0 ;
22394 char *kwnames[] = {
22395 (char *) "self",(char *) "pt", NULL
22396 };
22397
22398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22400 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22401 {
22402 arg2 = &temp2;
22403 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22404 }
22405 {
22406 PyThreadState* __tstate = wxPyBeginAllowThreads();
22407 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
22408
22409 wxPyEndAllowThreads(__tstate);
22410 if (PyErr_Occurred()) SWIG_fail;
22411 }
22412 Py_INCREF(Py_None); resultobj = Py_None;
22413 return resultobj;
22414 fail:
22415 return NULL;
22416}
22417
22418
c370783e 22419static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22420 PyObject *resultobj = NULL;
d55e5bfc
RD
22421 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22422 wxPoint *arg2 = 0 ;
22423 wxPoint temp2 ;
22424 PyObject * obj0 = 0 ;
22425 PyObject * obj1 = 0 ;
22426 char *kwnames[] = {
22427 (char *) "self",(char *) "pt", NULL
22428 };
22429
22430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22431 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22432 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22433 {
22434 arg2 = &temp2;
22435 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22436 }
22437 {
22438 PyThreadState* __tstate = wxPyBeginAllowThreads();
22439 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
22440
22441 wxPyEndAllowThreads(__tstate);
22442 if (PyErr_Occurred()) SWIG_fail;
22443 }
22444 Py_INCREF(Py_None); resultobj = Py_None;
22445 return resultobj;
22446 fail:
22447 return NULL;
22448}
22449
22450
c370783e 22451static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22452 PyObject *resultobj = NULL;
d55e5bfc
RD
22453 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22454 wxPoint *arg2 = 0 ;
22455 wxPoint temp2 ;
22456 PyObject * obj0 = 0 ;
22457 PyObject * obj1 = 0 ;
22458 char *kwnames[] = {
22459 (char *) "self",(char *) "pt", NULL
22460 };
22461
22462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22463 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22464 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22465 {
22466 arg2 = &temp2;
22467 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22468 }
22469 {
22470 PyThreadState* __tstate = wxPyBeginAllowThreads();
22471 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
22472
22473 wxPyEndAllowThreads(__tstate);
22474 if (PyErr_Occurred()) SWIG_fail;
22475 }
22476 Py_INCREF(Py_None); resultobj = Py_None;
22477 return resultobj;
22478 fail:
22479 return NULL;
22480}
22481
22482
c370783e 22483static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22484 PyObject *resultobj = NULL;
d55e5bfc 22485 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
36ed4f51 22486 wxPaperSize arg2 ;
d55e5bfc
RD
22487 PyObject * obj0 = 0 ;
22488 PyObject * obj1 = 0 ;
22489 char *kwnames[] = {
22490 (char *) "self",(char *) "id", NULL
22491 };
22492
22493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22494 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22495 if (SWIG_arg_fail(1)) SWIG_fail;
22496 {
32fe5131 22497 arg2 = static_cast<wxPaperSize >(SWIG_As_int(obj1));
36ed4f51
RD
22498 if (SWIG_arg_fail(2)) SWIG_fail;
22499 }
d55e5bfc
RD
22500 {
22501 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 22502 (arg1)->SetPaperId(arg2);
d55e5bfc
RD
22503
22504 wxPyEndAllowThreads(__tstate);
22505 if (PyErr_Occurred()) SWIG_fail;
22506 }
22507 Py_INCREF(Py_None); resultobj = Py_None;
22508 return resultobj;
22509 fail:
22510 return NULL;
22511}
22512
22513
c370783e 22514static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22515 PyObject *resultobj = NULL;
d55e5bfc
RD
22516 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22517 wxSize *arg2 = 0 ;
22518 wxSize temp2 ;
22519 PyObject * obj0 = 0 ;
22520 PyObject * obj1 = 0 ;
22521 char *kwnames[] = {
22522 (char *) "self",(char *) "size", NULL
22523 };
22524
22525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22526 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22527 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22528 {
22529 arg2 = &temp2;
22530 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22531 }
22532 {
22533 PyThreadState* __tstate = wxPyBeginAllowThreads();
22534 (arg1)->SetPaperSize((wxSize const &)*arg2);
22535
22536 wxPyEndAllowThreads(__tstate);
22537 if (PyErr_Occurred()) SWIG_fail;
22538 }
22539 Py_INCREF(Py_None); resultobj = Py_None;
22540 return resultobj;
22541 fail:
22542 return NULL;
22543}
22544
22545
c370783e 22546static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22547 PyObject *resultobj = NULL;
d55e5bfc
RD
22548 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22549 wxPrintData *arg2 = 0 ;
22550 PyObject * obj0 = 0 ;
22551 PyObject * obj1 = 0 ;
22552 char *kwnames[] = {
22553 (char *) "self",(char *) "printData", NULL
22554 };
22555
22556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22557 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22558 if (SWIG_arg_fail(1)) SWIG_fail;
22559 {
22560 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
22561 if (SWIG_arg_fail(2)) SWIG_fail;
22562 if (arg2 == NULL) {
22563 SWIG_null_ref("wxPrintData");
22564 }
22565 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22566 }
22567 {
22568 PyThreadState* __tstate = wxPyBeginAllowThreads();
22569 (arg1)->SetPrintData((wxPrintData const &)*arg2);
22570
22571 wxPyEndAllowThreads(__tstate);
22572 if (PyErr_Occurred()) SWIG_fail;
22573 }
22574 Py_INCREF(Py_None); resultobj = Py_None;
22575 return resultobj;
22576 fail:
22577 return NULL;
22578}
22579
22580
fef4c27a 22581static PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22582 PyObject *resultobj = NULL;
fef4c27a
RD
22583 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22584 PyObject * obj0 = 0 ;
22585 char *kwnames[] = {
22586 (char *) "self", NULL
22587 };
22588
22589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_CalculateIdFromPaperSize",kwnames,&obj0)) goto fail;
22590 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22591 if (SWIG_arg_fail(1)) SWIG_fail;
22592 {
22593 PyThreadState* __tstate = wxPyBeginAllowThreads();
22594 (arg1)->CalculateIdFromPaperSize();
22595
22596 wxPyEndAllowThreads(__tstate);
22597 if (PyErr_Occurred()) SWIG_fail;
22598 }
22599 Py_INCREF(Py_None); resultobj = Py_None;
22600 return resultobj;
22601 fail:
22602 return NULL;
22603}
22604
22605
22606static PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22607 PyObject *resultobj = NULL;
fef4c27a
RD
22608 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22609 PyObject * obj0 = 0 ;
22610 char *kwnames[] = {
22611 (char *) "self", NULL
22612 };
22613
22614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_CalculatePaperSizeFromId",kwnames,&obj0)) goto fail;
22615 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22616 if (SWIG_arg_fail(1)) SWIG_fail;
22617 {
22618 PyThreadState* __tstate = wxPyBeginAllowThreads();
22619 (arg1)->CalculatePaperSizeFromId();
22620
22621 wxPyEndAllowThreads(__tstate);
22622 if (PyErr_Occurred()) SWIG_fail;
22623 }
22624 Py_INCREF(Py_None); resultobj = Py_None;
22625 return resultobj;
22626 fail:
22627 return NULL;
22628}
22629
22630
c370783e 22631static PyObject * PageSetupDialogData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
22632 PyObject *obj;
22633 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22634 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
22635 Py_INCREF(obj);
22636 return Py_BuildValue((char *)"");
22637}
c370783e 22638static PyObject *_wrap_new_PageSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22639 PyObject *resultobj = NULL;
d55e5bfc
RD
22640 wxWindow *arg1 = (wxWindow *) 0 ;
22641 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
22642 wxPageSetupDialog *result;
22643 PyObject * obj0 = 0 ;
22644 PyObject * obj1 = 0 ;
22645 char *kwnames[] = {
22646 (char *) "parent",(char *) "data", NULL
22647 };
22648
22649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22650 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
22651 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 22652 if (obj1) {
36ed4f51
RD
22653 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22654 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22655 }
22656 {
0439c23b 22657 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
22658 PyThreadState* __tstate = wxPyBeginAllowThreads();
22659 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
22660
22661 wxPyEndAllowThreads(__tstate);
110da5b0 22662 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
22663 }
22664 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
22665 return resultobj;
22666 fail:
22667 return NULL;
22668}
22669
22670
c370783e 22671static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22672 PyObject *resultobj = NULL;
d55e5bfc
RD
22673 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
22674 wxPageSetupDialogData *result;
22675 PyObject * obj0 = 0 ;
22676 char *kwnames[] = {
22677 (char *) "self", NULL
22678 };
22679
22680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
36ed4f51
RD
22681 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
22682 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22683 {
22684 PyThreadState* __tstate = wxPyBeginAllowThreads();
22685 {
22686 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
22687 result = (wxPageSetupDialogData *) &_result_ref;
22688 }
22689
22690 wxPyEndAllowThreads(__tstate);
22691 if (PyErr_Occurred()) SWIG_fail;
22692 }
22693 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
22694 return resultobj;
22695 fail:
22696 return NULL;
22697}
22698
22699
6e0de3df 22700static PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22701 PyObject *resultobj = NULL;
6e0de3df
RD
22702 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
22703 wxPageSetupDialogData *result;
22704 PyObject * obj0 = 0 ;
22705 char *kwnames[] = {
22706 (char *) "self", NULL
22707 };
22708
22709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames,&obj0)) goto fail;
36ed4f51
RD
22710 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
22711 if (SWIG_arg_fail(1)) SWIG_fail;
6e0de3df
RD
22712 {
22713 PyThreadState* __tstate = wxPyBeginAllowThreads();
22714 {
22715 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
22716 result = (wxPageSetupDialogData *) &_result_ref;
22717 }
22718
22719 wxPyEndAllowThreads(__tstate);
22720 if (PyErr_Occurred()) SWIG_fail;
22721 }
22722 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
22723 return resultobj;
22724 fail:
22725 return NULL;
22726}
22727
22728
c370783e 22729static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22730 PyObject *resultobj = NULL;
d55e5bfc
RD
22731 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
22732 int result;
22733 PyObject * obj0 = 0 ;
22734 char *kwnames[] = {
22735 (char *) "self", NULL
22736 };
22737
22738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
36ed4f51
RD
22739 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
22740 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22741 {
22742 PyThreadState* __tstate = wxPyBeginAllowThreads();
22743 result = (int)(arg1)->ShowModal();
22744
22745 wxPyEndAllowThreads(__tstate);
22746 if (PyErr_Occurred()) SWIG_fail;
22747 }
36ed4f51 22748 {
32fe5131 22749 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 22750 }
d55e5bfc
RD
22751 return resultobj;
22752 fail:
22753 return NULL;
22754}
22755
22756
c370783e 22757static PyObject * PageSetupDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
22758 PyObject *obj;
22759 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22760 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
22761 Py_INCREF(obj);
22762 return Py_BuildValue((char *)"");
22763}
c370783e 22764static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *, PyObject *args) {
32fe5131 22765 PyObject *resultobj = NULL;
d55e5bfc
RD
22766 wxPrintDialogData *result;
22767
22768 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
22769 {
22770 PyThreadState* __tstate = wxPyBeginAllowThreads();
22771 result = (wxPrintDialogData *)new wxPrintDialogData();
22772
22773 wxPyEndAllowThreads(__tstate);
22774 if (PyErr_Occurred()) SWIG_fail;
22775 }
22776 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
22777 return resultobj;
22778 fail:
22779 return NULL;
22780}
22781
22782
c370783e 22783static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *, PyObject *args) {
32fe5131 22784 PyObject *resultobj = NULL;
d55e5bfc
RD
22785 wxPrintData *arg1 = 0 ;
22786 wxPrintDialogData *result;
22787 PyObject * obj0 = 0 ;
22788
22789 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
36ed4f51
RD
22790 {
22791 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
22792 if (SWIG_arg_fail(1)) SWIG_fail;
22793 if (arg1 == NULL) {
22794 SWIG_null_ref("wxPrintData");
22795 }
22796 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22797 }
22798 {
22799 PyThreadState* __tstate = wxPyBeginAllowThreads();
22800 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
22801
22802 wxPyEndAllowThreads(__tstate);
22803 if (PyErr_Occurred()) SWIG_fail;
22804 }
22805 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
22806 return resultobj;
22807 fail:
22808 return NULL;
22809}
22810
22811
fef4c27a 22812static PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *, PyObject *args) {
32fe5131 22813 PyObject *resultobj = NULL;
fef4c27a
RD
22814 wxPrintDialogData *arg1 = 0 ;
22815 wxPrintDialogData *result;
22816 PyObject * obj0 = 0 ;
22817
22818 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
22819 {
22820 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
22821 if (SWIG_arg_fail(1)) SWIG_fail;
22822 if (arg1 == NULL) {
22823 SWIG_null_ref("wxPrintDialogData");
22824 }
22825 if (SWIG_arg_fail(1)) SWIG_fail;
22826 }
22827 {
22828 PyThreadState* __tstate = wxPyBeginAllowThreads();
22829 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
22830
22831 wxPyEndAllowThreads(__tstate);
22832 if (PyErr_Occurred()) SWIG_fail;
22833 }
22834 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
22835 return resultobj;
22836 fail:
22837 return NULL;
22838}
22839
22840
d55e5bfc
RD
22841static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
22842 int argc;
22843 PyObject *argv[2];
22844 int ii;
22845
22846 argc = PyObject_Length(args);
22847 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
22848 argv[ii] = PyTuple_GetItem(args,ii);
22849 }
22850 if (argc == 0) {
22851 return _wrap_new_PrintDialogData__SWIG_0(self,args);
22852 }
22853 if (argc == 1) {
22854 int _v;
22855 {
36ed4f51 22856 void *ptr = 0;
d55e5bfc
RD
22857 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
22858 _v = 0;
22859 PyErr_Clear();
22860 } else {
36ed4f51 22861 _v = (ptr != 0);
d55e5bfc
RD
22862 }
22863 }
22864 if (_v) {
22865 return _wrap_new_PrintDialogData__SWIG_1(self,args);
22866 }
22867 }
fef4c27a
RD
22868 if (argc == 1) {
22869 int _v;
22870 {
22871 void *ptr = 0;
22872 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
22873 _v = 0;
22874 PyErr_Clear();
22875 } else {
22876 _v = (ptr != 0);
22877 }
22878 }
22879 if (_v) {
22880 return _wrap_new_PrintDialogData__SWIG_2(self,args);
22881 }
22882 }
d55e5bfc 22883
36ed4f51 22884 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
d55e5bfc
RD
22885 return NULL;
22886}
22887
22888
c370783e 22889static PyObject *_wrap_delete_PrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22890 PyObject *resultobj = NULL;
d55e5bfc
RD
22891 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
22892 PyObject * obj0 = 0 ;
22893 char *kwnames[] = {
22894 (char *) "self", NULL
22895 };
22896
22897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
36ed4f51
RD
22898 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
22899 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22900 {
22901 PyThreadState* __tstate = wxPyBeginAllowThreads();
22902 delete arg1;
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
c370783e 22914static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22915 PyObject *resultobj = NULL;
d55e5bfc
RD
22916 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
22917 int result;
22918 PyObject * obj0 = 0 ;
22919 char *kwnames[] = {
22920 (char *) "self", NULL
22921 };
22922
22923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
36ed4f51
RD
22924 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
22925 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22926 {
22927 PyThreadState* __tstate = wxPyBeginAllowThreads();
22928 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
22929
22930 wxPyEndAllowThreads(__tstate);
22931 if (PyErr_Occurred()) SWIG_fail;
22932 }
36ed4f51 22933 {
32fe5131 22934 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 22935 }
d55e5bfc
RD
22936 return resultobj;
22937 fail:
22938 return NULL;
22939}
22940
22941
c370783e 22942static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22943 PyObject *resultobj = NULL;
d55e5bfc
RD
22944 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
22945 int result;
22946 PyObject * obj0 = 0 ;
22947 char *kwnames[] = {
22948 (char *) "self", NULL
22949 };
22950
22951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
36ed4f51
RD
22952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
22953 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22954 {
22955 PyThreadState* __tstate = wxPyBeginAllowThreads();
22956 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
22957
22958 wxPyEndAllowThreads(__tstate);
22959 if (PyErr_Occurred()) SWIG_fail;
22960 }
36ed4f51 22961 {
32fe5131 22962 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 22963 }
d55e5bfc
RD
22964 return resultobj;
22965 fail:
22966 return NULL;
22967}
22968
22969
c370783e 22970static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22971 PyObject *resultobj = NULL;
d55e5bfc
RD
22972 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
22973 int result;
22974 PyObject * obj0 = 0 ;
22975 char *kwnames[] = {
22976 (char *) "self", NULL
22977 };
22978
22979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
36ed4f51
RD
22980 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
22981 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22982 {
22983 PyThreadState* __tstate = wxPyBeginAllowThreads();
22984 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
22985
22986 wxPyEndAllowThreads(__tstate);
22987 if (PyErr_Occurred()) SWIG_fail;
22988 }
36ed4f51 22989 {
32fe5131 22990 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 22991 }
d55e5bfc
RD
22992 return resultobj;
22993 fail:
22994 return NULL;
22995}
22996
22997
c370783e 22998static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22999 PyObject *resultobj = NULL;
d55e5bfc
RD
23000 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23001 int result;
23002 PyObject * obj0 = 0 ;
23003 char *kwnames[] = {
23004 (char *) "self", NULL
23005 };
23006
23007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
36ed4f51
RD
23008 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23009 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23010 {
23011 PyThreadState* __tstate = wxPyBeginAllowThreads();
23012 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
23013
23014 wxPyEndAllowThreads(__tstate);
23015 if (PyErr_Occurred()) SWIG_fail;
23016 }
36ed4f51 23017 {
32fe5131 23018 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 23019 }
d55e5bfc
RD
23020 return resultobj;
23021 fail:
23022 return NULL;
23023}
23024
23025
c370783e 23026static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23027 PyObject *resultobj = NULL;
d55e5bfc
RD
23028 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23029 int result;
23030 PyObject * obj0 = 0 ;
23031 char *kwnames[] = {
23032 (char *) "self", NULL
23033 };
23034
23035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
36ed4f51
RD
23036 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23037 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23038 {
23039 PyThreadState* __tstate = wxPyBeginAllowThreads();
23040 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
23041
23042 wxPyEndAllowThreads(__tstate);
23043 if (PyErr_Occurred()) SWIG_fail;
23044 }
36ed4f51 23045 {
32fe5131 23046 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 23047 }
d55e5bfc
RD
23048 return resultobj;
23049 fail:
23050 return NULL;
23051}
23052
23053
c370783e 23054static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23055 PyObject *resultobj = NULL;
d55e5bfc
RD
23056 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23057 bool result;
23058 PyObject * obj0 = 0 ;
23059 char *kwnames[] = {
23060 (char *) "self", NULL
23061 };
23062
23063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
36ed4f51
RD
23064 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23065 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23066 {
23067 PyThreadState* __tstate = wxPyBeginAllowThreads();
23068 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
23069
23070 wxPyEndAllowThreads(__tstate);
23071 if (PyErr_Occurred()) SWIG_fail;
23072 }
23073 {
23074 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23075 }
23076 return resultobj;
23077 fail:
23078 return NULL;
23079}
23080
23081
c370783e 23082static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23083 PyObject *resultobj = NULL;
d55e5bfc
RD
23084 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23085 bool result;
23086 PyObject * obj0 = 0 ;
23087 char *kwnames[] = {
23088 (char *) "self", NULL
23089 };
23090
23091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
23092 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23093 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23094 {
23095 PyThreadState* __tstate = wxPyBeginAllowThreads();
23096 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
23097
23098 wxPyEndAllowThreads(__tstate);
23099 if (PyErr_Occurred()) SWIG_fail;
23100 }
23101 {
23102 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23103 }
23104 return resultobj;
23105 fail:
23106 return NULL;
23107}
23108
23109
c370783e 23110static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23111 PyObject *resultobj = NULL;
d55e5bfc
RD
23112 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23113 bool result;
23114 PyObject * obj0 = 0 ;
23115 char *kwnames[] = {
23116 (char *) "self", NULL
23117 };
23118
23119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
36ed4f51
RD
23120 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23121 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23122 {
23123 PyThreadState* __tstate = wxPyBeginAllowThreads();
23124 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
23125
23126 wxPyEndAllowThreads(__tstate);
23127 if (PyErr_Occurred()) SWIG_fail;
23128 }
23129 {
23130 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23131 }
23132 return resultobj;
23133 fail:
23134 return NULL;
23135}
23136
23137
c370783e 23138static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23139 PyObject *resultobj = NULL;
d55e5bfc
RD
23140 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23141 bool result;
23142 PyObject * obj0 = 0 ;
23143 char *kwnames[] = {
23144 (char *) "self", NULL
23145 };
23146
23147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
36ed4f51
RD
23148 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23149 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23150 {
23151 PyThreadState* __tstate = wxPyBeginAllowThreads();
23152 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
23153
23154 wxPyEndAllowThreads(__tstate);
23155 if (PyErr_Occurred()) SWIG_fail;
23156 }
23157 {
23158 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23159 }
23160 return resultobj;
23161 fail:
23162 return NULL;
23163}
23164
23165
c370783e 23166static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23167 PyObject *resultobj = NULL;
d55e5bfc
RD
23168 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23169 int arg2 ;
23170 PyObject * obj0 = 0 ;
23171 PyObject * obj1 = 0 ;
23172 char *kwnames[] = {
23173 (char *) "self",(char *) "v", NULL
23174 };
23175
23176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23177 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23178 if (SWIG_arg_fail(1)) SWIG_fail;
23179 {
32fe5131 23180 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
23181 if (SWIG_arg_fail(2)) SWIG_fail;
23182 }
d55e5bfc
RD
23183 {
23184 PyThreadState* __tstate = wxPyBeginAllowThreads();
23185 (arg1)->SetFromPage(arg2);
23186
23187 wxPyEndAllowThreads(__tstate);
23188 if (PyErr_Occurred()) SWIG_fail;
23189 }
23190 Py_INCREF(Py_None); resultobj = Py_None;
23191 return resultobj;
23192 fail:
23193 return NULL;
23194}
23195
23196
c370783e 23197static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23198 PyObject *resultobj = NULL;
d55e5bfc
RD
23199 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23200 int arg2 ;
23201 PyObject * obj0 = 0 ;
23202 PyObject * obj1 = 0 ;
23203 char *kwnames[] = {
23204 (char *) "self",(char *) "v", NULL
23205 };
23206
23207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23208 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23209 if (SWIG_arg_fail(1)) SWIG_fail;
23210 {
32fe5131 23211 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
23212 if (SWIG_arg_fail(2)) SWIG_fail;
23213 }
d55e5bfc
RD
23214 {
23215 PyThreadState* __tstate = wxPyBeginAllowThreads();
23216 (arg1)->SetToPage(arg2);
23217
23218 wxPyEndAllowThreads(__tstate);
23219 if (PyErr_Occurred()) SWIG_fail;
23220 }
23221 Py_INCREF(Py_None); resultobj = Py_None;
23222 return resultobj;
23223 fail:
23224 return NULL;
23225}
23226
23227
c370783e 23228static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23229 PyObject *resultobj = NULL;
d55e5bfc
RD
23230 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23231 int arg2 ;
23232 PyObject * obj0 = 0 ;
23233 PyObject * obj1 = 0 ;
23234 char *kwnames[] = {
23235 (char *) "self",(char *) "v", NULL
23236 };
23237
23238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23239 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23240 if (SWIG_arg_fail(1)) SWIG_fail;
23241 {
32fe5131 23242 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
23243 if (SWIG_arg_fail(2)) SWIG_fail;
23244 }
d55e5bfc
RD
23245 {
23246 PyThreadState* __tstate = wxPyBeginAllowThreads();
23247 (arg1)->SetMinPage(arg2);
23248
23249 wxPyEndAllowThreads(__tstate);
23250 if (PyErr_Occurred()) SWIG_fail;
23251 }
23252 Py_INCREF(Py_None); resultobj = Py_None;
23253 return resultobj;
23254 fail:
23255 return NULL;
23256}
23257
23258
c370783e 23259static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23260 PyObject *resultobj = NULL;
d55e5bfc
RD
23261 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23262 int arg2 ;
23263 PyObject * obj0 = 0 ;
23264 PyObject * obj1 = 0 ;
23265 char *kwnames[] = {
23266 (char *) "self",(char *) "v", NULL
23267 };
23268
23269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23270 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23271 if (SWIG_arg_fail(1)) SWIG_fail;
23272 {
32fe5131 23273 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
23274 if (SWIG_arg_fail(2)) SWIG_fail;
23275 }
d55e5bfc
RD
23276 {
23277 PyThreadState* __tstate = wxPyBeginAllowThreads();
23278 (arg1)->SetMaxPage(arg2);
23279
23280 wxPyEndAllowThreads(__tstate);
23281 if (PyErr_Occurred()) SWIG_fail;
23282 }
23283 Py_INCREF(Py_None); resultobj = Py_None;
23284 return resultobj;
23285 fail:
23286 return NULL;
23287}
23288
23289
c370783e 23290static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23291 PyObject *resultobj = NULL;
d55e5bfc
RD
23292 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23293 int arg2 ;
23294 PyObject * obj0 = 0 ;
23295 PyObject * obj1 = 0 ;
23296 char *kwnames[] = {
23297 (char *) "self",(char *) "v", NULL
23298 };
23299
23300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23302 if (SWIG_arg_fail(1)) SWIG_fail;
23303 {
32fe5131 23304 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
23305 if (SWIG_arg_fail(2)) SWIG_fail;
23306 }
d55e5bfc
RD
23307 {
23308 PyThreadState* __tstate = wxPyBeginAllowThreads();
23309 (arg1)->SetNoCopies(arg2);
23310
23311 wxPyEndAllowThreads(__tstate);
23312 if (PyErr_Occurred()) SWIG_fail;
23313 }
23314 Py_INCREF(Py_None); resultobj = Py_None;
23315 return resultobj;
23316 fail:
23317 return NULL;
23318}
23319
23320
c370783e 23321static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23322 PyObject *resultobj = NULL;
d55e5bfc
RD
23323 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23324 bool arg2 ;
23325 PyObject * obj0 = 0 ;
23326 PyObject * obj1 = 0 ;
23327 char *kwnames[] = {
23328 (char *) "self",(char *) "flag", NULL
23329 };
23330
23331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23333 if (SWIG_arg_fail(1)) SWIG_fail;
23334 {
32fe5131 23335 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
23336 if (SWIG_arg_fail(2)) SWIG_fail;
23337 }
d55e5bfc
RD
23338 {
23339 PyThreadState* __tstate = wxPyBeginAllowThreads();
23340 (arg1)->SetAllPages(arg2);
23341
23342 wxPyEndAllowThreads(__tstate);
23343 if (PyErr_Occurred()) SWIG_fail;
23344 }
23345 Py_INCREF(Py_None); resultobj = Py_None;
23346 return resultobj;
23347 fail:
23348 return NULL;
23349}
23350
23351
c370783e 23352static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23353 PyObject *resultobj = NULL;
d55e5bfc
RD
23354 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23355 bool arg2 ;
23356 PyObject * obj0 = 0 ;
23357 PyObject * obj1 = 0 ;
23358 char *kwnames[] = {
23359 (char *) "self",(char *) "flag", NULL
23360 };
23361
23362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23363 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23364 if (SWIG_arg_fail(1)) SWIG_fail;
23365 {
32fe5131 23366 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
23367 if (SWIG_arg_fail(2)) SWIG_fail;
23368 }
d55e5bfc
RD
23369 {
23370 PyThreadState* __tstate = wxPyBeginAllowThreads();
23371 (arg1)->SetSelection(arg2);
23372
23373 wxPyEndAllowThreads(__tstate);
23374 if (PyErr_Occurred()) SWIG_fail;
23375 }
23376 Py_INCREF(Py_None); resultobj = Py_None;
23377 return resultobj;
23378 fail:
23379 return NULL;
23380}
23381
23382
c370783e 23383static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23384 PyObject *resultobj = NULL;
d55e5bfc
RD
23385 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23386 bool arg2 ;
23387 PyObject * obj0 = 0 ;
23388 PyObject * obj1 = 0 ;
23389 char *kwnames[] = {
23390 (char *) "self",(char *) "flag", NULL
23391 };
23392
23393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23394 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23395 if (SWIG_arg_fail(1)) SWIG_fail;
23396 {
32fe5131 23397 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
23398 if (SWIG_arg_fail(2)) SWIG_fail;
23399 }
d55e5bfc
RD
23400 {
23401 PyThreadState* __tstate = wxPyBeginAllowThreads();
23402 (arg1)->SetCollate(arg2);
23403
23404 wxPyEndAllowThreads(__tstate);
23405 if (PyErr_Occurred()) SWIG_fail;
23406 }
23407 Py_INCREF(Py_None); resultobj = Py_None;
23408 return resultobj;
23409 fail:
23410 return NULL;
23411}
23412
23413
c370783e 23414static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23415 PyObject *resultobj = NULL;
d55e5bfc
RD
23416 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23417 bool arg2 ;
23418 PyObject * obj0 = 0 ;
23419 PyObject * obj1 = 0 ;
23420 char *kwnames[] = {
23421 (char *) "self",(char *) "flag", NULL
23422 };
23423
23424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23426 if (SWIG_arg_fail(1)) SWIG_fail;
23427 {
32fe5131 23428 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
23429 if (SWIG_arg_fail(2)) SWIG_fail;
23430 }
d55e5bfc
RD
23431 {
23432 PyThreadState* __tstate = wxPyBeginAllowThreads();
23433 (arg1)->SetPrintToFile(arg2);
23434
23435 wxPyEndAllowThreads(__tstate);
23436 if (PyErr_Occurred()) SWIG_fail;
23437 }
23438 Py_INCREF(Py_None); resultobj = Py_None;
23439 return resultobj;
23440 fail:
23441 return NULL;
23442}
23443
23444
c370783e 23445static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23446 PyObject *resultobj = NULL;
d55e5bfc
RD
23447 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23448 bool arg2 ;
23449 PyObject * obj0 = 0 ;
23450 PyObject * obj1 = 0 ;
23451 char *kwnames[] = {
23452 (char *) "self",(char *) "flag", NULL
23453 };
23454
23455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23456 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23457 if (SWIG_arg_fail(1)) SWIG_fail;
23458 {
32fe5131 23459 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
23460 if (SWIG_arg_fail(2)) SWIG_fail;
23461 }
d55e5bfc
RD
23462 {
23463 PyThreadState* __tstate = wxPyBeginAllowThreads();
23464 (arg1)->EnablePrintToFile(arg2);
23465
23466 wxPyEndAllowThreads(__tstate);
23467 if (PyErr_Occurred()) SWIG_fail;
23468 }
23469 Py_INCREF(Py_None); resultobj = Py_None;
23470 return resultobj;
23471 fail:
23472 return NULL;
23473}
23474
23475
c370783e 23476static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23477 PyObject *resultobj = NULL;
d55e5bfc
RD
23478 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23479 bool arg2 ;
23480 PyObject * obj0 = 0 ;
23481 PyObject * obj1 = 0 ;
23482 char *kwnames[] = {
23483 (char *) "self",(char *) "flag", NULL
23484 };
23485
23486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23487 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23488 if (SWIG_arg_fail(1)) SWIG_fail;
23489 {
32fe5131 23490 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
23491 if (SWIG_arg_fail(2)) SWIG_fail;
23492 }
d55e5bfc
RD
23493 {
23494 PyThreadState* __tstate = wxPyBeginAllowThreads();
23495 (arg1)->EnableSelection(arg2);
23496
23497 wxPyEndAllowThreads(__tstate);
23498 if (PyErr_Occurred()) SWIG_fail;
23499 }
23500 Py_INCREF(Py_None); resultobj = Py_None;
23501 return resultobj;
23502 fail:
23503 return NULL;
23504}
23505
23506
c370783e 23507static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23508 PyObject *resultobj = NULL;
d55e5bfc
RD
23509 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23510 bool arg2 ;
23511 PyObject * obj0 = 0 ;
23512 PyObject * obj1 = 0 ;
23513 char *kwnames[] = {
23514 (char *) "self",(char *) "flag", NULL
23515 };
23516
23517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23518 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23519 if (SWIG_arg_fail(1)) SWIG_fail;
23520 {
32fe5131 23521 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
23522 if (SWIG_arg_fail(2)) SWIG_fail;
23523 }
d55e5bfc
RD
23524 {
23525 PyThreadState* __tstate = wxPyBeginAllowThreads();
23526 (arg1)->EnablePageNumbers(arg2);
23527
23528 wxPyEndAllowThreads(__tstate);
23529 if (PyErr_Occurred()) SWIG_fail;
23530 }
23531 Py_INCREF(Py_None); resultobj = Py_None;
23532 return resultobj;
23533 fail:
23534 return NULL;
23535}
23536
23537
c370783e 23538static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23539 PyObject *resultobj = NULL;
d55e5bfc
RD
23540 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23541 bool arg2 ;
23542 PyObject * obj0 = 0 ;
23543 PyObject * obj1 = 0 ;
23544 char *kwnames[] = {
23545 (char *) "self",(char *) "flag", NULL
23546 };
23547
23548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23550 if (SWIG_arg_fail(1)) SWIG_fail;
23551 {
32fe5131 23552 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
23553 if (SWIG_arg_fail(2)) SWIG_fail;
23554 }
d55e5bfc
RD
23555 {
23556 PyThreadState* __tstate = wxPyBeginAllowThreads();
23557 (arg1)->EnableHelp(arg2);
23558
23559 wxPyEndAllowThreads(__tstate);
23560 if (PyErr_Occurred()) SWIG_fail;
23561 }
23562 Py_INCREF(Py_None); resultobj = Py_None;
23563 return resultobj;
23564 fail:
23565 return NULL;
23566}
23567
23568
c370783e 23569static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 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_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
36ed4f51
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)->GetEnablePrintToFile();
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
c370783e 23597static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23598 PyObject *resultobj = NULL;
d55e5bfc
RD
23599 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23600 bool result;
23601 PyObject * obj0 = 0 ;
23602 char *kwnames[] = {
23603 (char *) "self", NULL
23604 };
23605
23606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
23607 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23608 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23609 {
23610 PyThreadState* __tstate = wxPyBeginAllowThreads();
23611 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
23612
23613 wxPyEndAllowThreads(__tstate);
23614 if (PyErr_Occurred()) SWIG_fail;
23615 }
23616 {
23617 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23618 }
23619 return resultobj;
23620 fail:
23621 return NULL;
23622}
23623
23624
c370783e 23625static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23626 PyObject *resultobj = NULL;
d55e5bfc
RD
23627 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23628 bool result;
23629 PyObject * obj0 = 0 ;
23630 char *kwnames[] = {
23631 (char *) "self", NULL
23632 };
23633
23634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
36ed4f51
RD
23635 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23636 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23637 {
23638 PyThreadState* __tstate = wxPyBeginAllowThreads();
23639 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
23640
23641 wxPyEndAllowThreads(__tstate);
23642 if (PyErr_Occurred()) SWIG_fail;
23643 }
23644 {
23645 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23646 }
23647 return resultobj;
23648 fail:
23649 return NULL;
23650}
23651
23652
c370783e 23653static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23654 PyObject *resultobj = NULL;
d55e5bfc
RD
23655 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23656 bool result;
23657 PyObject * obj0 = 0 ;
23658 char *kwnames[] = {
23659 (char *) "self", NULL
23660 };
23661
23662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
36ed4f51
RD
23663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23664 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23665 {
23666 PyThreadState* __tstate = wxPyBeginAllowThreads();
23667 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
23668
23669 wxPyEndAllowThreads(__tstate);
23670 if (PyErr_Occurred()) SWIG_fail;
23671 }
23672 {
23673 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23674 }
23675 return resultobj;
23676 fail:
23677 return NULL;
23678}
23679
23680
c370783e 23681static PyObject *_wrap_PrintDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23682 PyObject *resultobj = NULL;
d55e5bfc
RD
23683 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23684 bool result;
23685 PyObject * obj0 = 0 ;
23686 char *kwnames[] = {
23687 (char *) "self", NULL
23688 };
23689
23690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
36ed4f51
RD
23691 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23692 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23693 {
23694 PyThreadState* __tstate = wxPyBeginAllowThreads();
23695 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
23696
23697 wxPyEndAllowThreads(__tstate);
23698 if (PyErr_Occurred()) SWIG_fail;
23699 }
23700 {
23701 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23702 }
23703 return resultobj;
23704 fail:
23705 return NULL;
23706}
23707
23708
c370783e 23709static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23710 PyObject *resultobj = NULL;
d55e5bfc
RD
23711 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23712 wxPrintData *result;
23713 PyObject * obj0 = 0 ;
23714 char *kwnames[] = {
23715 (char *) "self", NULL
23716 };
23717
23718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
36ed4f51
RD
23719 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23720 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23721 {
23722 PyThreadState* __tstate = wxPyBeginAllowThreads();
23723 {
23724 wxPrintData &_result_ref = (arg1)->GetPrintData();
23725 result = (wxPrintData *) &_result_ref;
23726 }
23727
23728 wxPyEndAllowThreads(__tstate);
23729 if (PyErr_Occurred()) SWIG_fail;
23730 }
23731 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
23732 return resultobj;
23733 fail:
23734 return NULL;
23735}
23736
23737
c370783e 23738static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23739 PyObject *resultobj = NULL;
d55e5bfc
RD
23740 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23741 wxPrintData *arg2 = 0 ;
23742 PyObject * obj0 = 0 ;
23743 PyObject * obj1 = 0 ;
23744 char *kwnames[] = {
23745 (char *) "self",(char *) "printData", NULL
23746 };
23747
23748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23749 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23750 if (SWIG_arg_fail(1)) SWIG_fail;
23751 {
23752 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
23753 if (SWIG_arg_fail(2)) SWIG_fail;
23754 if (arg2 == NULL) {
23755 SWIG_null_ref("wxPrintData");
23756 }
23757 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23758 }
23759 {
23760 PyThreadState* __tstate = wxPyBeginAllowThreads();
23761 (arg1)->SetPrintData((wxPrintData const &)*arg2);
23762
23763 wxPyEndAllowThreads(__tstate);
23764 if (PyErr_Occurred()) SWIG_fail;
23765 }
23766 Py_INCREF(Py_None); resultobj = Py_None;
23767 return resultobj;
23768 fail:
23769 return NULL;
23770}
23771
23772
c370783e 23773static PyObject * PrintDialogData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
23774 PyObject *obj;
23775 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23776 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
23777 Py_INCREF(obj);
23778 return Py_BuildValue((char *)"");
23779}
c370783e 23780static PyObject *_wrap_new_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23781 PyObject *resultobj = NULL;
d55e5bfc
RD
23782 wxWindow *arg1 = (wxWindow *) 0 ;
23783 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
23784 wxPrintDialog *result;
23785 PyObject * obj0 = 0 ;
23786 PyObject * obj1 = 0 ;
23787 char *kwnames[] = {
23788 (char *) "parent",(char *) "data", NULL
23789 };
23790
23791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23793 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 23794 if (obj1) {
36ed4f51
RD
23795 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23796 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23797 }
23798 {
0439c23b 23799 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
23800 PyThreadState* __tstate = wxPyBeginAllowThreads();
23801 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
23802
23803 wxPyEndAllowThreads(__tstate);
110da5b0 23804 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
23805 }
23806 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
23807 return resultobj;
23808 fail:
23809 return NULL;
23810}
23811
23812
070c48b4 23813static PyObject *_wrap_PrintDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23814 PyObject *resultobj = NULL;
070c48b4
RD
23815 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
23816 int result;
23817 PyObject * obj0 = 0 ;
23818 char *kwnames[] = {
23819 (char *) "self", NULL
23820 };
23821
23822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
36ed4f51
RD
23823 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
23824 if (SWIG_arg_fail(1)) SWIG_fail;
070c48b4
RD
23825 {
23826 PyThreadState* __tstate = wxPyBeginAllowThreads();
23827 result = (int)(arg1)->ShowModal();
23828
23829 wxPyEndAllowThreads(__tstate);
23830 if (PyErr_Occurred()) SWIG_fail;
23831 }
36ed4f51 23832 {
32fe5131 23833 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 23834 }
070c48b4
RD
23835 return resultobj;
23836 fail:
23837 return NULL;
23838}
23839
23840
c370783e 23841static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23842 PyObject *resultobj = NULL;
d55e5bfc
RD
23843 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
23844 wxPrintDialogData *result;
23845 PyObject * obj0 = 0 ;
23846 char *kwnames[] = {
23847 (char *) "self", NULL
23848 };
23849
23850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
36ed4f51
RD
23851 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
23852 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23853 {
23854 PyThreadState* __tstate = wxPyBeginAllowThreads();
23855 {
23856 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
23857 result = (wxPrintDialogData *) &_result_ref;
23858 }
23859
23860 wxPyEndAllowThreads(__tstate);
23861 if (PyErr_Occurred()) SWIG_fail;
23862 }
23863 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
23864 return resultobj;
23865 fail:
23866 return NULL;
23867}
23868
23869
070c48b4 23870static PyObject *_wrap_PrintDialog_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23871 PyObject *resultobj = NULL;
d55e5bfc 23872 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
070c48b4 23873 wxPrintData *result;
d55e5bfc
RD
23874 PyObject * obj0 = 0 ;
23875 char *kwnames[] = {
23876 (char *) "self", NULL
23877 };
23878
070c48b4 23879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintData",kwnames,&obj0)) goto fail;
36ed4f51
RD
23880 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
23881 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23882 {
23883 PyThreadState* __tstate = wxPyBeginAllowThreads();
070c48b4
RD
23884 {
23885 wxPrintData &_result_ref = (arg1)->GetPrintData();
23886 result = (wxPrintData *) &_result_ref;
23887 }
d55e5bfc
RD
23888
23889 wxPyEndAllowThreads(__tstate);
23890 if (PyErr_Occurred()) SWIG_fail;
23891 }
070c48b4 23892 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
d55e5bfc
RD
23893 return resultobj;
23894 fail:
23895 return NULL;
23896}
23897
23898
070c48b4 23899static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23900 PyObject *resultobj = NULL;
d55e5bfc 23901 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
070c48b4 23902 wxDC *result;
d55e5bfc
RD
23903 PyObject * obj0 = 0 ;
23904 char *kwnames[] = {
23905 (char *) "self", NULL
23906 };
23907
070c48b4 23908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
36ed4f51
RD
23909 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
23910 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23911 {
23912 PyThreadState* __tstate = wxPyBeginAllowThreads();
070c48b4 23913 result = (wxDC *)(arg1)->GetPrintDC();
d55e5bfc
RD
23914
23915 wxPyEndAllowThreads(__tstate);
23916 if (PyErr_Occurred()) SWIG_fail;
23917 }
070c48b4
RD
23918 {
23919 resultobj = wxPyMake_wxObject(result, 1);
23920 }
d55e5bfc
RD
23921 return resultobj;
23922 fail:
23923 return NULL;
23924}
23925
23926
c370783e 23927static PyObject * PrintDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
23928 PyObject *obj;
23929 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23930 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
23931 Py_INCREF(obj);
23932 return Py_BuildValue((char *)"");
23933}
c370783e 23934static PyObject *_wrap_new_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23935 PyObject *resultobj = NULL;
d55e5bfc
RD
23936 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
23937 wxPrinter *result;
23938 PyObject * obj0 = 0 ;
23939 char *kwnames[] = {
23940 (char *) "data", NULL
23941 };
23942
23943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
23944 if (obj0) {
36ed4f51
RD
23945 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23946 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23947 }
23948 {
0439c23b 23949 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
23950 PyThreadState* __tstate = wxPyBeginAllowThreads();
23951 result = (wxPrinter *)new wxPrinter(arg1);
23952
23953 wxPyEndAllowThreads(__tstate);
110da5b0 23954 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
23955 }
23956 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
23957 return resultobj;
23958 fail:
23959 return NULL;
23960}
23961
23962
c370783e 23963static PyObject *_wrap_delete_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23964 PyObject *resultobj = NULL;
d55e5bfc
RD
23965 wxPrinter *arg1 = (wxPrinter *) 0 ;
23966 PyObject * obj0 = 0 ;
23967 char *kwnames[] = {
23968 (char *) "self", NULL
23969 };
23970
23971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
36ed4f51
RD
23972 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
23973 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23974 {
23975 PyThreadState* __tstate = wxPyBeginAllowThreads();
23976 delete arg1;
23977
23978 wxPyEndAllowThreads(__tstate);
23979 if (PyErr_Occurred()) SWIG_fail;
23980 }
23981 Py_INCREF(Py_None); resultobj = Py_None;
23982 return resultobj;
23983 fail:
23984 return NULL;
23985}
23986
23987
c370783e 23988static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23989 PyObject *resultobj = NULL;
d55e5bfc
RD
23990 wxPrinter *arg1 = (wxPrinter *) 0 ;
23991 wxWindow *arg2 = (wxWindow *) 0 ;
23992 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
070c48b4 23993 wxWindow *result;
d55e5bfc
RD
23994 PyObject * obj0 = 0 ;
23995 PyObject * obj1 = 0 ;
23996 PyObject * obj2 = 0 ;
23997 char *kwnames[] = {
23998 (char *) "self",(char *) "parent",(char *) "printout", NULL
23999 };
24000
24001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24002 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24003 if (SWIG_arg_fail(1)) SWIG_fail;
24004 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24005 if (SWIG_arg_fail(2)) SWIG_fail;
24006 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24007 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
24008 {
24009 PyThreadState* __tstate = wxPyBeginAllowThreads();
070c48b4 24010 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
d55e5bfc
RD
24011
24012 wxPyEndAllowThreads(__tstate);
24013 if (PyErr_Occurred()) SWIG_fail;
24014 }
d55e5bfc 24015 {
070c48b4 24016 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc 24017 }
d55e5bfc
RD
24018 return resultobj;
24019 fail:
24020 return NULL;
24021}
24022
24023
070c48b4 24024static PyObject *_wrap_Printer_ReportError(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24025 PyObject *resultobj = NULL;
d55e5bfc
RD
24026 wxPrinter *arg1 = (wxPrinter *) 0 ;
24027 wxWindow *arg2 = (wxWindow *) 0 ;
24028 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
070c48b4
RD
24029 wxString *arg4 = 0 ;
24030 bool temp4 = false ;
d55e5bfc
RD
24031 PyObject * obj0 = 0 ;
24032 PyObject * obj1 = 0 ;
24033 PyObject * obj2 = 0 ;
24034 PyObject * obj3 = 0 ;
24035 char *kwnames[] = {
070c48b4 24036 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
d55e5bfc
RD
24037 };
24038
070c48b4 24039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
24040 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24041 if (SWIG_arg_fail(1)) SWIG_fail;
24042 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24043 if (SWIG_arg_fail(2)) SWIG_fail;
24044 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24045 if (SWIG_arg_fail(3)) SWIG_fail;
070c48b4
RD
24046 {
24047 arg4 = wxString_in_helper(obj3);
24048 if (arg4 == NULL) SWIG_fail;
24049 temp4 = true;
d55e5bfc
RD
24050 }
24051 {
24052 PyThreadState* __tstate = wxPyBeginAllowThreads();
070c48b4 24053 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
d55e5bfc
RD
24054
24055 wxPyEndAllowThreads(__tstate);
24056 if (PyErr_Occurred()) SWIG_fail;
24057 }
070c48b4 24058 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc 24059 {
070c48b4
RD
24060 if (temp4)
24061 delete arg4;
d55e5bfc
RD
24062 }
24063 return resultobj;
24064 fail:
070c48b4
RD
24065 {
24066 if (temp4)
24067 delete arg4;
24068 }
d55e5bfc
RD
24069 return NULL;
24070}
24071
24072
070c48b4 24073static PyObject *_wrap_Printer_Setup(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24074 PyObject *resultobj = NULL;
d55e5bfc
RD
24075 wxPrinter *arg1 = (wxPrinter *) 0 ;
24076 wxWindow *arg2 = (wxWindow *) 0 ;
070c48b4 24077 bool result;
d55e5bfc
RD
24078 PyObject * obj0 = 0 ;
24079 PyObject * obj1 = 0 ;
24080 char *kwnames[] = {
24081 (char *) "self",(char *) "parent", NULL
24082 };
24083
070c48b4 24084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24086 if (SWIG_arg_fail(1)) SWIG_fail;
24087 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24088 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24089 {
24090 PyThreadState* __tstate = wxPyBeginAllowThreads();
070c48b4 24091 result = (bool)(arg1)->Setup(arg2);
d55e5bfc
RD
24092
24093 wxPyEndAllowThreads(__tstate);
24094 if (PyErr_Occurred()) SWIG_fail;
24095 }
24096 {
070c48b4 24097 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d55e5bfc
RD
24098 }
24099 return resultobj;
24100 fail:
24101 return NULL;
24102}
24103
24104
070c48b4 24105static PyObject *_wrap_Printer_Print(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24106 PyObject *resultobj = NULL;
d55e5bfc
RD
24107 wxPrinter *arg1 = (wxPrinter *) 0 ;
24108 wxWindow *arg2 = (wxWindow *) 0 ;
24109 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
070c48b4
RD
24110 bool arg4 = (bool) true ;
24111 bool result;
d55e5bfc
RD
24112 PyObject * obj0 = 0 ;
24113 PyObject * obj1 = 0 ;
24114 PyObject * obj2 = 0 ;
24115 PyObject * obj3 = 0 ;
24116 char *kwnames[] = {
070c48b4 24117 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
d55e5bfc
RD
24118 };
24119
070c48b4 24120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
24121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24122 if (SWIG_arg_fail(1)) SWIG_fail;
24123 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24124 if (SWIG_arg_fail(2)) SWIG_fail;
24125 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24126 if (SWIG_arg_fail(3)) SWIG_fail;
070c48b4 24127 if (obj3) {
36ed4f51 24128 {
32fe5131 24129 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
36ed4f51
RD
24130 if (SWIG_arg_fail(4)) SWIG_fail;
24131 }
d55e5bfc
RD
24132 }
24133 {
24134 PyThreadState* __tstate = wxPyBeginAllowThreads();
070c48b4 24135 result = (bool)(arg1)->Print(arg2,arg3,arg4);
d55e5bfc
RD
24136
24137 wxPyEndAllowThreads(__tstate);
24138 if (PyErr_Occurred()) SWIG_fail;
24139 }
d55e5bfc 24140 {
070c48b4 24141 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d55e5bfc
RD
24142 }
24143 return resultobj;
24144 fail:
d55e5bfc
RD
24145 return NULL;
24146}
24147
24148
070c48b4 24149static PyObject *_wrap_Printer_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24150 PyObject *resultobj = NULL;
d55e5bfc
RD
24151 wxPrinter *arg1 = (wxPrinter *) 0 ;
24152 wxWindow *arg2 = (wxWindow *) 0 ;
070c48b4 24153 wxDC *result;
d55e5bfc
RD
24154 PyObject * obj0 = 0 ;
24155 PyObject * obj1 = 0 ;
24156 char *kwnames[] = {
24157 (char *) "self",(char *) "parent", NULL
24158 };
24159
070c48b4 24160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24162 if (SWIG_arg_fail(1)) SWIG_fail;
24163 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24164 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24165 {
24166 PyThreadState* __tstate = wxPyBeginAllowThreads();
070c48b4 24167 result = (wxDC *)(arg1)->PrintDialog(arg2);
d55e5bfc
RD
24168
24169 wxPyEndAllowThreads(__tstate);
24170 if (PyErr_Occurred()) SWIG_fail;
24171 }
24172 {
070c48b4 24173 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
24174 }
24175 return resultobj;
24176 fail:
24177 return NULL;
24178}
24179
24180
070c48b4 24181static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24182 PyObject *resultobj = NULL;
070c48b4
RD
24183 wxPrinter *arg1 = (wxPrinter *) 0 ;
24184 wxPrintDialogData *result;
24185 PyObject * obj0 = 0 ;
24186 char *kwnames[] = {
24187 (char *) "self", NULL
24188 };
24189
24190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
36ed4f51
RD
24191 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24192 if (SWIG_arg_fail(1)) SWIG_fail;
070c48b4
RD
24193 {
24194 PyThreadState* __tstate = wxPyBeginAllowThreads();
24195 {
24196 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
24197 result = (wxPrintDialogData *) &_result_ref;
24198 }
24199
24200 wxPyEndAllowThreads(__tstate);
24201 if (PyErr_Occurred()) SWIG_fail;
24202 }
24203 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
24204 return resultobj;
24205 fail:
24206 return NULL;
24207}
24208
24209
c370783e 24210static PyObject *_wrap_Printer_GetAbort(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24211 PyObject *resultobj = NULL;
d55e5bfc
RD
24212 wxPrinter *arg1 = (wxPrinter *) 0 ;
24213 bool result;
24214 PyObject * obj0 = 0 ;
24215 char *kwnames[] = {
24216 (char *) "self", NULL
24217 };
24218
24219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
36ed4f51
RD
24220 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24221 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24222 {
24223 PyThreadState* __tstate = wxPyBeginAllowThreads();
24224 result = (bool)(arg1)->GetAbort();
24225
24226 wxPyEndAllowThreads(__tstate);
24227 if (PyErr_Occurred()) SWIG_fail;
24228 }
24229 {
24230 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24231 }
24232 return resultobj;
24233 fail:
24234 return NULL;
24235}
24236
24237
c370783e 24238static PyObject *_wrap_Printer_GetLastError(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24239 PyObject *resultobj = NULL;
36ed4f51 24240 wxPrinterError result;
d55e5bfc
RD
24241 char *kwnames[] = {
24242 NULL
24243 };
24244
24245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
24246 {
24247 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 24248 result = (wxPrinterError)wxPrinter::GetLastError();
d55e5bfc
RD
24249
24250 wxPyEndAllowThreads(__tstate);
24251 if (PyErr_Occurred()) SWIG_fail;
24252 }
36ed4f51 24253 resultobj = SWIG_From_int((result));
d55e5bfc
RD
24254 return resultobj;
24255 fail:
24256 return NULL;
24257}
24258
24259
c370783e 24260static PyObject * Printer_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
24261 PyObject *obj;
24262 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24263 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
24264 Py_INCREF(obj);
24265 return Py_BuildValue((char *)"");
24266}
c370783e 24267static PyObject *_wrap_new_Printout(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24268 PyObject *resultobj = NULL;
d55e5bfc
RD
24269 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
24270 wxString *arg1 = (wxString *) &arg1_defvalue ;
24271 wxPyPrintout *result;
b411df4a 24272 bool temp1 = false ;
d55e5bfc
RD
24273 PyObject * obj0 = 0 ;
24274 char *kwnames[] = {
24275 (char *) "title", NULL
24276 };
24277
24278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
24279 if (obj0) {
24280 {
24281 arg1 = wxString_in_helper(obj0);
24282 if (arg1 == NULL) SWIG_fail;
b411df4a 24283 temp1 = true;
d55e5bfc
RD
24284 }
24285 }
24286 {
0439c23b 24287 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
24288 PyThreadState* __tstate = wxPyBeginAllowThreads();
24289 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
24290
24291 wxPyEndAllowThreads(__tstate);
110da5b0 24292 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
24293 }
24294 {
412d302d 24295 resultobj = wxPyMake_wxObject(result, 1);
d55e5bfc
RD
24296 }
24297 {
24298 if (temp1)
24299 delete arg1;
24300 }
24301 return resultobj;
24302 fail:
24303 {
24304 if (temp1)
24305 delete arg1;
24306 }
24307 return NULL;
24308}
24309
24310
c370783e 24311static PyObject *_wrap_Printout__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24312 PyObject *resultobj = NULL;
d55e5bfc
RD
24313 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24314 PyObject *arg2 = (PyObject *) 0 ;
24315 PyObject *arg3 = (PyObject *) 0 ;
24316 PyObject * obj0 = 0 ;
24317 PyObject * obj1 = 0 ;
24318 PyObject * obj2 = 0 ;
24319 char *kwnames[] = {
24320 (char *) "self",(char *) "self",(char *) "_class", NULL
24321 };
24322
24323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24324 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24325 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24326 arg2 = obj1;
24327 arg3 = obj2;
24328 {
24329 PyThreadState* __tstate = wxPyBeginAllowThreads();
24330 (arg1)->_setCallbackInfo(arg2,arg3);
24331
24332 wxPyEndAllowThreads(__tstate);
24333 if (PyErr_Occurred()) SWIG_fail;
24334 }
24335 Py_INCREF(Py_None); resultobj = Py_None;
24336 return resultobj;
24337 fail:
24338 return NULL;
24339}
24340
24341
c370783e 24342static PyObject *_wrap_Printout_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24343 PyObject *resultobj = NULL;
d55e5bfc
RD
24344 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24345 wxString result;
24346 PyObject * obj0 = 0 ;
24347 char *kwnames[] = {
24348 (char *) "self", NULL
24349 };
24350
24351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
36ed4f51
RD
24352 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24353 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24354 {
24355 PyThreadState* __tstate = wxPyBeginAllowThreads();
24356 result = ((wxPyPrintout const *)arg1)->GetTitle();
24357
24358 wxPyEndAllowThreads(__tstate);
24359 if (PyErr_Occurred()) SWIG_fail;
24360 }
24361 {
24362#if wxUSE_UNICODE
24363 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24364#else
24365 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24366#endif
24367 }
24368 return resultobj;
24369 fail:
24370 return NULL;
24371}
24372
24373
c370783e 24374static PyObject *_wrap_Printout_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24375 PyObject *resultobj = NULL;
d55e5bfc
RD
24376 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24377 wxDC *result;
24378 PyObject * obj0 = 0 ;
24379 char *kwnames[] = {
24380 (char *) "self", NULL
24381 };
24382
24383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
36ed4f51
RD
24384 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24385 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24386 {
24387 PyThreadState* __tstate = wxPyBeginAllowThreads();
24388 result = (wxDC *)(arg1)->GetDC();
24389
24390 wxPyEndAllowThreads(__tstate);
24391 if (PyErr_Occurred()) SWIG_fail;
24392 }
24393 {
412d302d 24394 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
24395 }
24396 return resultobj;
24397 fail:
24398 return NULL;
24399}
24400
24401
c370783e 24402static PyObject *_wrap_Printout_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24403 PyObject *resultobj = NULL;
d55e5bfc
RD
24404 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24405 wxDC *arg2 = (wxDC *) 0 ;
24406 PyObject * obj0 = 0 ;
24407 PyObject * obj1 = 0 ;
24408 char *kwnames[] = {
24409 (char *) "self",(char *) "dc", NULL
24410 };
24411
24412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24413 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24414 if (SWIG_arg_fail(1)) SWIG_fail;
24415 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
24416 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24417 {
24418 PyThreadState* __tstate = wxPyBeginAllowThreads();
24419 (arg1)->SetDC(arg2);
24420
24421 wxPyEndAllowThreads(__tstate);
24422 if (PyErr_Occurred()) SWIG_fail;
24423 }
24424 Py_INCREF(Py_None); resultobj = Py_None;
24425 return resultobj;
24426 fail:
24427 return NULL;
24428}
24429
24430
c370783e 24431static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24432 PyObject *resultobj = NULL;
d55e5bfc
RD
24433 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24434 int arg2 ;
24435 int arg3 ;
24436 PyObject * obj0 = 0 ;
24437 PyObject * obj1 = 0 ;
24438 PyObject * obj2 = 0 ;
24439 char *kwnames[] = {
24440 (char *) "self",(char *) "w",(char *) "h", NULL
24441 };
24442
24443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24445 if (SWIG_arg_fail(1)) SWIG_fail;
24446 {
32fe5131 24447 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
24448 if (SWIG_arg_fail(2)) SWIG_fail;
24449 }
24450 {
32fe5131 24451 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
24452 if (SWIG_arg_fail(3)) SWIG_fail;
24453 }
d55e5bfc
RD
24454 {
24455 PyThreadState* __tstate = wxPyBeginAllowThreads();
24456 (arg1)->SetPageSizePixels(arg2,arg3);
24457
24458 wxPyEndAllowThreads(__tstate);
24459 if (PyErr_Occurred()) SWIG_fail;
24460 }
24461 Py_INCREF(Py_None); resultobj = Py_None;
24462 return resultobj;
24463 fail:
24464 return NULL;
24465}
24466
24467
c370783e 24468static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24469 PyObject *resultobj = NULL;
d55e5bfc
RD
24470 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24471 int *arg2 = (int *) 0 ;
24472 int *arg3 = (int *) 0 ;
24473 int temp2 ;
c370783e 24474 int res2 = 0 ;
d55e5bfc 24475 int temp3 ;
c370783e 24476 int res3 = 0 ;
d55e5bfc
RD
24477 PyObject * obj0 = 0 ;
24478 char *kwnames[] = {
24479 (char *) "self", NULL
24480 };
24481
c370783e
RD
24482 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24483 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 24484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
36ed4f51
RD
24485 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24486 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24487 {
24488 PyThreadState* __tstate = wxPyBeginAllowThreads();
24489 (arg1)->GetPageSizePixels(arg2,arg3);
24490
24491 wxPyEndAllowThreads(__tstate);
24492 if (PyErr_Occurred()) SWIG_fail;
24493 }
24494 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
24495 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24496 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24497 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24498 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
24499 return resultobj;
24500 fail:
24501 return NULL;
24502}
24503
24504
c370783e 24505static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24506 PyObject *resultobj = NULL;
d55e5bfc
RD
24507 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24508 int arg2 ;
24509 int arg3 ;
24510 PyObject * obj0 = 0 ;
24511 PyObject * obj1 = 0 ;
24512 PyObject * obj2 = 0 ;
24513 char *kwnames[] = {
24514 (char *) "self",(char *) "w",(char *) "h", NULL
24515 };
24516
24517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24518 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24519 if (SWIG_arg_fail(1)) SWIG_fail;
24520 {
32fe5131 24521 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
24522 if (SWIG_arg_fail(2)) SWIG_fail;
24523 }
24524 {
32fe5131 24525 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
24526 if (SWIG_arg_fail(3)) SWIG_fail;
24527 }
d55e5bfc
RD
24528 {
24529 PyThreadState* __tstate = wxPyBeginAllowThreads();
24530 (arg1)->SetPageSizeMM(arg2,arg3);
24531
24532 wxPyEndAllowThreads(__tstate);
24533 if (PyErr_Occurred()) SWIG_fail;
24534 }
24535 Py_INCREF(Py_None); resultobj = Py_None;
24536 return resultobj;
24537 fail:
24538 return NULL;
24539}
24540
24541
c370783e 24542static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24543 PyObject *resultobj = NULL;
d55e5bfc
RD
24544 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24545 int *arg2 = (int *) 0 ;
24546 int *arg3 = (int *) 0 ;
24547 int temp2 ;
c370783e 24548 int res2 = 0 ;
d55e5bfc 24549 int temp3 ;
c370783e 24550 int res3 = 0 ;
d55e5bfc
RD
24551 PyObject * obj0 = 0 ;
24552 char *kwnames[] = {
24553 (char *) "self", NULL
24554 };
24555
c370783e
RD
24556 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24557 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 24558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
36ed4f51
RD
24559 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24560 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24561 {
24562 PyThreadState* __tstate = wxPyBeginAllowThreads();
24563 (arg1)->GetPageSizeMM(arg2,arg3);
24564
24565 wxPyEndAllowThreads(__tstate);
24566 if (PyErr_Occurred()) SWIG_fail;
24567 }
24568 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
24569 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24570 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24571 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24572 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
24573 return resultobj;
24574 fail:
24575 return NULL;
24576}
24577
24578
c370783e 24579static PyObject *_wrap_Printout_SetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24580 PyObject *resultobj = NULL;
d55e5bfc
RD
24581 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24582 int arg2 ;
24583 int arg3 ;
24584 PyObject * obj0 = 0 ;
24585 PyObject * obj1 = 0 ;
24586 PyObject * obj2 = 0 ;
24587 char *kwnames[] = {
24588 (char *) "self",(char *) "x",(char *) "y", NULL
24589 };
24590
24591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24592 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24593 if (SWIG_arg_fail(1)) SWIG_fail;
24594 {
32fe5131 24595 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
24596 if (SWIG_arg_fail(2)) SWIG_fail;
24597 }
24598 {
32fe5131 24599 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
24600 if (SWIG_arg_fail(3)) SWIG_fail;
24601 }
d55e5bfc
RD
24602 {
24603 PyThreadState* __tstate = wxPyBeginAllowThreads();
24604 (arg1)->SetPPIScreen(arg2,arg3);
24605
24606 wxPyEndAllowThreads(__tstate);
24607 if (PyErr_Occurred()) SWIG_fail;
24608 }
24609 Py_INCREF(Py_None); resultobj = Py_None;
24610 return resultobj;
24611 fail:
24612 return NULL;
24613}
24614
24615
c370783e 24616static PyObject *_wrap_Printout_GetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24617 PyObject *resultobj = NULL;
d55e5bfc
RD
24618 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24619 int *arg2 = (int *) 0 ;
24620 int *arg3 = (int *) 0 ;
24621 int temp2 ;
c370783e 24622 int res2 = 0 ;
d55e5bfc 24623 int temp3 ;
c370783e 24624 int res3 = 0 ;
d55e5bfc
RD
24625 PyObject * obj0 = 0 ;
24626 char *kwnames[] = {
24627 (char *) "self", NULL
24628 };
24629
c370783e
RD
24630 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24631 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 24632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
36ed4f51
RD
24633 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24634 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24635 {
24636 PyThreadState* __tstate = wxPyBeginAllowThreads();
24637 (arg1)->GetPPIScreen(arg2,arg3);
24638
24639 wxPyEndAllowThreads(__tstate);
24640 if (PyErr_Occurred()) SWIG_fail;
24641 }
24642 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
24643 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24644 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24645 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24646 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
24647 return resultobj;
24648 fail:
24649 return NULL;
24650}
24651
24652
c370783e 24653static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24654 PyObject *resultobj = NULL;
d55e5bfc
RD
24655 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24656 int arg2 ;
24657 int arg3 ;
24658 PyObject * obj0 = 0 ;
24659 PyObject * obj1 = 0 ;
24660 PyObject * obj2 = 0 ;
24661 char *kwnames[] = {
24662 (char *) "self",(char *) "x",(char *) "y", NULL
24663 };
24664
24665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24666 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24667 if (SWIG_arg_fail(1)) SWIG_fail;
24668 {
32fe5131 24669 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
24670 if (SWIG_arg_fail(2)) SWIG_fail;
24671 }
24672 {
32fe5131 24673 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
24674 if (SWIG_arg_fail(3)) SWIG_fail;
24675 }
d55e5bfc
RD
24676 {
24677 PyThreadState* __tstate = wxPyBeginAllowThreads();
24678 (arg1)->SetPPIPrinter(arg2,arg3);
24679
24680 wxPyEndAllowThreads(__tstate);
24681 if (PyErr_Occurred()) SWIG_fail;
24682 }
24683 Py_INCREF(Py_None); resultobj = Py_None;
24684 return resultobj;
24685 fail:
24686 return NULL;
24687}
24688
24689
c370783e 24690static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24691 PyObject *resultobj = NULL;
d55e5bfc
RD
24692 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24693 int *arg2 = (int *) 0 ;
24694 int *arg3 = (int *) 0 ;
24695 int temp2 ;
c370783e 24696 int res2 = 0 ;
d55e5bfc 24697 int temp3 ;
c370783e 24698 int res3 = 0 ;
d55e5bfc
RD
24699 PyObject * obj0 = 0 ;
24700 char *kwnames[] = {
24701 (char *) "self", NULL
24702 };
24703
c370783e
RD
24704 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24705 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 24706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
36ed4f51
RD
24707 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24708 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24709 {
24710 PyThreadState* __tstate = wxPyBeginAllowThreads();
24711 (arg1)->GetPPIPrinter(arg2,arg3);
24712
24713 wxPyEndAllowThreads(__tstate);
24714 if (PyErr_Occurred()) SWIG_fail;
24715 }
24716 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
24717 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24718 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24719 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24720 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
24721 return resultobj;
24722 fail:
24723 return NULL;
24724}
24725
24726
c370783e 24727static PyObject *_wrap_Printout_IsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24728 PyObject *resultobj = NULL;
d55e5bfc
RD
24729 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24730 bool result;
24731 PyObject * obj0 = 0 ;
24732 char *kwnames[] = {
24733 (char *) "self", NULL
24734 };
24735
24736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
36ed4f51
RD
24737 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24738 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24739 {
24740 PyThreadState* __tstate = wxPyBeginAllowThreads();
24741 result = (bool)(arg1)->IsPreview();
24742
24743 wxPyEndAllowThreads(__tstate);
24744 if (PyErr_Occurred()) SWIG_fail;
24745 }
24746 {
24747 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24748 }
24749 return resultobj;
24750 fail:
24751 return NULL;
24752}
24753
24754
c370783e 24755static PyObject *_wrap_Printout_SetIsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24756 PyObject *resultobj = NULL;
d55e5bfc
RD
24757 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24758 bool arg2 ;
24759 PyObject * obj0 = 0 ;
24760 PyObject * obj1 = 0 ;
24761 char *kwnames[] = {
24762 (char *) "self",(char *) "p", NULL
24763 };
24764
24765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24767 if (SWIG_arg_fail(1)) SWIG_fail;
24768 {
32fe5131 24769 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
24770 if (SWIG_arg_fail(2)) SWIG_fail;
24771 }
d55e5bfc
RD
24772 {
24773 PyThreadState* __tstate = wxPyBeginAllowThreads();
24774 (arg1)->SetIsPreview(arg2);
24775
24776 wxPyEndAllowThreads(__tstate);
24777 if (PyErr_Occurred()) SWIG_fail;
24778 }
24779 Py_INCREF(Py_None); resultobj = Py_None;
24780 return resultobj;
24781 fail:
24782 return NULL;
24783}
24784
24785
c370783e 24786static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24787 PyObject *resultobj = NULL;
d55e5bfc
RD
24788 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24789 int arg2 ;
24790 int arg3 ;
24791 bool result;
24792 PyObject * obj0 = 0 ;
24793 PyObject * obj1 = 0 ;
24794 PyObject * obj2 = 0 ;
24795 char *kwnames[] = {
24796 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
24797 };
24798
24799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24800 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24801 if (SWIG_arg_fail(1)) SWIG_fail;
24802 {
32fe5131 24803 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
24804 if (SWIG_arg_fail(2)) SWIG_fail;
24805 }
24806 {
32fe5131 24807 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
24808 if (SWIG_arg_fail(3)) SWIG_fail;
24809 }
d55e5bfc
RD
24810 {
24811 PyThreadState* __tstate = wxPyBeginAllowThreads();
24812 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
24813
24814 wxPyEndAllowThreads(__tstate);
24815 if (PyErr_Occurred()) SWIG_fail;
24816 }
24817 {
24818 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24819 }
24820 return resultobj;
24821 fail:
24822 return NULL;
24823}
24824
24825
c370783e 24826static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24827 PyObject *resultobj = NULL;
d55e5bfc
RD
24828 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24829 PyObject * obj0 = 0 ;
24830 char *kwnames[] = {
24831 (char *) "self", NULL
24832 };
24833
24834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
36ed4f51
RD
24835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24836 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24837 {
24838 PyThreadState* __tstate = wxPyBeginAllowThreads();
24839 (arg1)->base_OnEndDocument();
24840
24841 wxPyEndAllowThreads(__tstate);
24842 if (PyErr_Occurred()) SWIG_fail;
24843 }
24844 Py_INCREF(Py_None); resultobj = Py_None;
24845 return resultobj;
24846 fail:
24847 return NULL;
24848}
24849
24850
c370783e 24851static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24852 PyObject *resultobj = NULL;
d55e5bfc
RD
24853 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24854 PyObject * obj0 = 0 ;
24855 char *kwnames[] = {
24856 (char *) "self", NULL
24857 };
24858
24859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
36ed4f51
RD
24860 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24861 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24862 {
24863 PyThreadState* __tstate = wxPyBeginAllowThreads();
24864 (arg1)->base_OnBeginPrinting();
24865
24866 wxPyEndAllowThreads(__tstate);
24867 if (PyErr_Occurred()) SWIG_fail;
24868 }
24869 Py_INCREF(Py_None); resultobj = Py_None;
24870 return resultobj;
24871 fail:
24872 return NULL;
24873}
24874
24875
c370783e 24876static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24877 PyObject *resultobj = NULL;
d55e5bfc
RD
24878 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24879 PyObject * obj0 = 0 ;
24880 char *kwnames[] = {
24881 (char *) "self", NULL
24882 };
24883
24884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
36ed4f51
RD
24885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24886 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24887 {
24888 PyThreadState* __tstate = wxPyBeginAllowThreads();
24889 (arg1)->base_OnEndPrinting();
24890
24891 wxPyEndAllowThreads(__tstate);
24892 if (PyErr_Occurred()) SWIG_fail;
24893 }
24894 Py_INCREF(Py_None); resultobj = Py_None;
24895 return resultobj;
24896 fail:
24897 return NULL;
24898}
24899
24900
c370783e 24901static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24902 PyObject *resultobj = NULL;
d55e5bfc
RD
24903 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24904 PyObject * obj0 = 0 ;
24905 char *kwnames[] = {
24906 (char *) "self", NULL
24907 };
24908
24909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
36ed4f51
RD
24910 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24911 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24912 {
24913 PyThreadState* __tstate = wxPyBeginAllowThreads();
24914 (arg1)->base_OnPreparePrinting();
24915
24916 wxPyEndAllowThreads(__tstate);
24917 if (PyErr_Occurred()) SWIG_fail;
24918 }
24919 Py_INCREF(Py_None); resultobj = Py_None;
24920 return resultobj;
24921 fail:
24922 return NULL;
24923}
24924
24925
c370783e 24926static PyObject *_wrap_Printout_base_HasPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24927 PyObject *resultobj = NULL;
d55e5bfc
RD
24928 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24929 int arg2 ;
24930 bool result;
24931 PyObject * obj0 = 0 ;
24932 PyObject * obj1 = 0 ;
24933 char *kwnames[] = {
24934 (char *) "self",(char *) "page", NULL
24935 };
24936
24937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24938 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24939 if (SWIG_arg_fail(1)) SWIG_fail;
24940 {
32fe5131 24941 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
24942 if (SWIG_arg_fail(2)) SWIG_fail;
24943 }
d55e5bfc
RD
24944 {
24945 PyThreadState* __tstate = wxPyBeginAllowThreads();
24946 result = (bool)(arg1)->base_HasPage(arg2);
24947
24948 wxPyEndAllowThreads(__tstate);
24949 if (PyErr_Occurred()) SWIG_fail;
24950 }
24951 {
24952 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24953 }
24954 return resultobj;
24955 fail:
24956 return NULL;
24957}
24958
24959
c370783e 24960static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24961 PyObject *resultobj = NULL;
d55e5bfc
RD
24962 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24963 int *arg2 = (int *) 0 ;
24964 int *arg3 = (int *) 0 ;
24965 int *arg4 = (int *) 0 ;
24966 int *arg5 = (int *) 0 ;
24967 int temp2 ;
c370783e 24968 int res2 = 0 ;
d55e5bfc 24969 int temp3 ;
c370783e 24970 int res3 = 0 ;
d55e5bfc 24971 int temp4 ;
c370783e 24972 int res4 = 0 ;
d55e5bfc 24973 int temp5 ;
c370783e 24974 int res5 = 0 ;
d55e5bfc
RD
24975 PyObject * obj0 = 0 ;
24976 char *kwnames[] = {
24977 (char *) "self", NULL
24978 };
24979
c370783e
RD
24980 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24981 arg3 = &temp3; res3 = SWIG_NEWOBJ;
24982 arg4 = &temp4; res4 = SWIG_NEWOBJ;
24983 arg5 = &temp5; res5 = SWIG_NEWOBJ;
d55e5bfc 24984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
36ed4f51
RD
24985 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24986 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24987 {
24988 PyThreadState* __tstate = wxPyBeginAllowThreads();
24989 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
24990
24991 wxPyEndAllowThreads(__tstate);
24992 if (PyErr_Occurred()) SWIG_fail;
24993 }
24994 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
24995 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24996 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24997 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24998 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
24999 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
25000 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
25001 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
25002 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
25003 return resultobj;
25004 fail:
25005 return NULL;
25006}
25007
25008
c370783e 25009static PyObject * Printout_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
25010 PyObject *obj;
25011 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25012 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
25013 Py_INCREF(obj);
25014 return Py_BuildValue((char *)"");
25015}
c370783e 25016static PyObject *_wrap_new_PreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25017 PyObject *resultobj = NULL;
d55e5bfc
RD
25018 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25019 wxWindow *arg2 = (wxWindow *) 0 ;
25020 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25021 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25022 wxSize const &arg4_defvalue = wxDefaultSize ;
25023 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25024 long arg5 = (long) 0 ;
25025 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
25026 wxString *arg6 = (wxString *) &arg6_defvalue ;
25027 wxPreviewCanvas *result;
25028 wxPoint temp3 ;
25029 wxSize temp4 ;
b411df4a 25030 bool temp6 = false ;
d55e5bfc
RD
25031 PyObject * obj0 = 0 ;
25032 PyObject * obj1 = 0 ;
25033 PyObject * obj2 = 0 ;
25034 PyObject * obj3 = 0 ;
25035 PyObject * obj4 = 0 ;
25036 PyObject * obj5 = 0 ;
25037 char *kwnames[] = {
25038 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25039 };
25040
25041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
25042 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25043 if (SWIG_arg_fail(1)) SWIG_fail;
25044 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25045 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25046 if (obj2) {
25047 {
25048 arg3 = &temp3;
25049 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25050 }
25051 }
25052 if (obj3) {
25053 {
25054 arg4 = &temp4;
25055 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25056 }
25057 }
25058 if (obj4) {
36ed4f51 25059 {
32fe5131 25060 arg5 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
25061 if (SWIG_arg_fail(5)) SWIG_fail;
25062 }
d55e5bfc
RD
25063 }
25064 if (obj5) {
25065 {
25066 arg6 = wxString_in_helper(obj5);
25067 if (arg6 == NULL) SWIG_fail;
b411df4a 25068 temp6 = true;
d55e5bfc
RD
25069 }
25070 }
25071 {
0439c23b 25072 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
25073 PyThreadState* __tstate = wxPyBeginAllowThreads();
25074 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
25075
25076 wxPyEndAllowThreads(__tstate);
110da5b0 25077 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
25078 }
25079 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
25080 {
25081 if (temp6)
25082 delete arg6;
25083 }
25084 return resultobj;
25085 fail:
25086 {
25087 if (temp6)
25088 delete arg6;
25089 }
25090 return NULL;
25091}
25092
25093
c370783e 25094static PyObject * PreviewCanvas_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
25095 PyObject *obj;
25096 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25097 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
25098 Py_INCREF(obj);
25099 return Py_BuildValue((char *)"");
25100}
c370783e 25101static PyObject *_wrap_new_PreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25102 PyObject *resultobj = NULL;
d55e5bfc
RD
25103 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25104 wxFrame *arg2 = (wxFrame *) 0 ;
25105 wxString *arg3 = 0 ;
25106 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25107 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25108 wxSize const &arg5_defvalue = wxDefaultSize ;
25109 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25110 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
25111 wxString const &arg7_defvalue = wxPyFrameNameStr ;
25112 wxString *arg7 = (wxString *) &arg7_defvalue ;
25113 wxPreviewFrame *result;
b411df4a 25114 bool temp3 = false ;
d55e5bfc
RD
25115 wxPoint temp4 ;
25116 wxSize temp5 ;
b411df4a 25117 bool temp7 = false ;
d55e5bfc
RD
25118 PyObject * obj0 = 0 ;
25119 PyObject * obj1 = 0 ;
25120 PyObject * obj2 = 0 ;
25121 PyObject * obj3 = 0 ;
25122 PyObject * obj4 = 0 ;
25123 PyObject * obj5 = 0 ;
25124 PyObject * obj6 = 0 ;
25125 char *kwnames[] = {
25126 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25127 };
25128
25129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
25130 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25131 if (SWIG_arg_fail(1)) SWIG_fail;
25132 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
25133 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25134 {
25135 arg3 = wxString_in_helper(obj2);
25136 if (arg3 == NULL) SWIG_fail;
b411df4a 25137 temp3 = true;
d55e5bfc
RD
25138 }
25139 if (obj3) {
25140 {
25141 arg4 = &temp4;
25142 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25143 }
25144 }
25145 if (obj4) {
25146 {
25147 arg5 = &temp5;
25148 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25149 }
25150 }
25151 if (obj5) {
36ed4f51 25152 {
32fe5131 25153 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
25154 if (SWIG_arg_fail(6)) SWIG_fail;
25155 }
d55e5bfc
RD
25156 }
25157 if (obj6) {
25158 {
25159 arg7 = wxString_in_helper(obj6);
25160 if (arg7 == NULL) SWIG_fail;
b411df4a 25161 temp7 = true;
d55e5bfc
RD
25162 }
25163 }
25164 {
0439c23b 25165 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
25166 PyThreadState* __tstate = wxPyBeginAllowThreads();
25167 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25168
25169 wxPyEndAllowThreads(__tstate);
110da5b0 25170 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
25171 }
25172 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
25173 {
25174 if (temp3)
25175 delete arg3;
25176 }
25177 {
25178 if (temp7)
25179 delete arg7;
25180 }
25181 return resultobj;
25182 fail:
25183 {
25184 if (temp3)
25185 delete arg3;
25186 }
25187 {
25188 if (temp7)
25189 delete arg7;
25190 }
25191 return NULL;
25192}
25193
25194
c370783e 25195static PyObject *_wrap_PreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25196 PyObject *resultobj = NULL;
d55e5bfc
RD
25197 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25198 PyObject * obj0 = 0 ;
25199 char *kwnames[] = {
25200 (char *) "self", NULL
25201 };
25202
25203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
36ed4f51
RD
25204 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25205 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25206 {
25207 PyThreadState* __tstate = wxPyBeginAllowThreads();
25208 (arg1)->Initialize();
25209
25210 wxPyEndAllowThreads(__tstate);
25211 if (PyErr_Occurred()) SWIG_fail;
25212 }
25213 Py_INCREF(Py_None); resultobj = Py_None;
25214 return resultobj;
25215 fail:
25216 return NULL;
25217}
25218
25219
c370783e 25220static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25221 PyObject *resultobj = NULL;
d55e5bfc
RD
25222 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25223 PyObject * obj0 = 0 ;
25224 char *kwnames[] = {
25225 (char *) "self", NULL
25226 };
25227
25228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
36ed4f51
RD
25229 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25230 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25231 {
25232 PyThreadState* __tstate = wxPyBeginAllowThreads();
25233 (arg1)->CreateControlBar();
25234
25235 wxPyEndAllowThreads(__tstate);
25236 if (PyErr_Occurred()) SWIG_fail;
25237 }
25238 Py_INCREF(Py_None); resultobj = Py_None;
25239 return resultobj;
25240 fail:
25241 return NULL;
25242}
25243
25244
c370783e 25245static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25246 PyObject *resultobj = NULL;
d55e5bfc
RD
25247 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25248 PyObject * obj0 = 0 ;
25249 char *kwnames[] = {
25250 (char *) "self", NULL
25251 };
25252
25253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
36ed4f51
RD
25254 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25255 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25256 {
25257 PyThreadState* __tstate = wxPyBeginAllowThreads();
25258 (arg1)->CreateCanvas();
25259
25260 wxPyEndAllowThreads(__tstate);
25261 if (PyErr_Occurred()) SWIG_fail;
25262 }
25263 Py_INCREF(Py_None); resultobj = Py_None;
25264 return resultobj;
25265 fail:
25266 return NULL;
25267}
25268
25269
c370783e 25270static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25271 PyObject *resultobj = NULL;
d55e5bfc
RD
25272 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25273 wxPreviewControlBar *result;
25274 PyObject * obj0 = 0 ;
25275 char *kwnames[] = {
25276 (char *) "self", NULL
25277 };
25278
25279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
36ed4f51
RD
25280 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25281 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25282 {
25283 PyThreadState* __tstate = wxPyBeginAllowThreads();
25284 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
25285
25286 wxPyEndAllowThreads(__tstate);
25287 if (PyErr_Occurred()) SWIG_fail;
25288 }
25289 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
25290 return resultobj;
25291 fail:
25292 return NULL;
25293}
25294
25295
c370783e 25296static PyObject * PreviewFrame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
25297 PyObject *obj;
25298 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25299 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
25300 Py_INCREF(obj);
25301 return Py_BuildValue((char *)"");
25302}
c370783e 25303static PyObject *_wrap_new_PreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25304 PyObject *resultobj = NULL;
d55e5bfc
RD
25305 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25306 long arg2 ;
25307 wxWindow *arg3 = (wxWindow *) 0 ;
25308 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25309 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25310 wxSize const &arg5_defvalue = wxDefaultSize ;
25311 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25312 long arg6 = (long) wxTAB_TRAVERSAL ;
25313 wxString const &arg7_defvalue = wxPyPanelNameStr ;
25314 wxString *arg7 = (wxString *) &arg7_defvalue ;
25315 wxPreviewControlBar *result;
25316 wxPoint temp4 ;
25317 wxSize temp5 ;
b411df4a 25318 bool temp7 = false ;
d55e5bfc
RD
25319 PyObject * obj0 = 0 ;
25320 PyObject * obj1 = 0 ;
25321 PyObject * obj2 = 0 ;
25322 PyObject * obj3 = 0 ;
25323 PyObject * obj4 = 0 ;
25324 PyObject * obj5 = 0 ;
25325 PyObject * obj6 = 0 ;
25326 char *kwnames[] = {
25327 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25328 };
25329
25330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
25331 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25332 if (SWIG_arg_fail(1)) SWIG_fail;
25333 {
32fe5131 25334 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
25335 if (SWIG_arg_fail(2)) SWIG_fail;
25336 }
25337 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25338 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
25339 if (obj3) {
25340 {
25341 arg4 = &temp4;
25342 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25343 }
25344 }
25345 if (obj4) {
25346 {
25347 arg5 = &temp5;
25348 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25349 }
25350 }
25351 if (obj5) {
36ed4f51 25352 {
32fe5131 25353 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
25354 if (SWIG_arg_fail(6)) SWIG_fail;
25355 }
d55e5bfc
RD
25356 }
25357 if (obj6) {
25358 {
25359 arg7 = wxString_in_helper(obj6);
25360 if (arg7 == NULL) SWIG_fail;
b411df4a 25361 temp7 = true;
d55e5bfc
RD
25362 }
25363 }
25364 {
0439c23b 25365 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
25366 PyThreadState* __tstate = wxPyBeginAllowThreads();
25367 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25368
25369 wxPyEndAllowThreads(__tstate);
110da5b0 25370 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
25371 }
25372 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
25373 {
25374 if (temp7)
25375 delete arg7;
25376 }
25377 return resultobj;
25378 fail:
25379 {
25380 if (temp7)
25381 delete arg7;
25382 }
25383 return NULL;
25384}
25385
25386
c370783e 25387static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25388 PyObject *resultobj = NULL;
d55e5bfc
RD
25389 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25390 int result;
25391 PyObject * obj0 = 0 ;
25392 char *kwnames[] = {
25393 (char *) "self", NULL
25394 };
25395
25396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
36ed4f51
RD
25397 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25398 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25399 {
25400 PyThreadState* __tstate = wxPyBeginAllowThreads();
25401 result = (int)(arg1)->GetZoomControl();
25402
25403 wxPyEndAllowThreads(__tstate);
25404 if (PyErr_Occurred()) SWIG_fail;
25405 }
36ed4f51 25406 {
32fe5131 25407 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 25408 }
d55e5bfc
RD
25409 return resultobj;
25410 fail:
25411 return NULL;
25412}
25413
25414
c370783e 25415static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25416 PyObject *resultobj = NULL;
d55e5bfc
RD
25417 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25418 int arg2 ;
25419 PyObject * obj0 = 0 ;
25420 PyObject * obj1 = 0 ;
25421 char *kwnames[] = {
25422 (char *) "self",(char *) "zoom", NULL
25423 };
25424
25425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25426 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25427 if (SWIG_arg_fail(1)) SWIG_fail;
25428 {
32fe5131 25429 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
25430 if (SWIG_arg_fail(2)) SWIG_fail;
25431 }
d55e5bfc
RD
25432 {
25433 PyThreadState* __tstate = wxPyBeginAllowThreads();
25434 (arg1)->SetZoomControl(arg2);
25435
25436 wxPyEndAllowThreads(__tstate);
25437 if (PyErr_Occurred()) SWIG_fail;
25438 }
25439 Py_INCREF(Py_None); resultobj = Py_None;
25440 return resultobj;
25441 fail:
25442 return NULL;
25443}
25444
25445
c370783e 25446static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25447 PyObject *resultobj = NULL;
d55e5bfc
RD
25448 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25449 wxPrintPreview *result;
25450 PyObject * obj0 = 0 ;
25451 char *kwnames[] = {
25452 (char *) "self", NULL
25453 };
25454
25455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
36ed4f51
RD
25456 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25457 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25458 {
25459 PyThreadState* __tstate = wxPyBeginAllowThreads();
25460 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
25461
25462 wxPyEndAllowThreads(__tstate);
25463 if (PyErr_Occurred()) SWIG_fail;
25464 }
25465 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
25466 return resultobj;
25467 fail:
25468 return NULL;
25469}
25470
25471
c370783e 25472static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25473 PyObject *resultobj = NULL;
d55e5bfc
RD
25474 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25475 PyObject * obj0 = 0 ;
25476 char *kwnames[] = {
25477 (char *) "self", NULL
25478 };
25479
25480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
36ed4f51
RD
25481 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25482 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25483 {
25484 PyThreadState* __tstate = wxPyBeginAllowThreads();
25485 (arg1)->OnNext();
25486
25487 wxPyEndAllowThreads(__tstate);
25488 if (PyErr_Occurred()) SWIG_fail;
25489 }
25490 Py_INCREF(Py_None); resultobj = Py_None;
25491 return resultobj;
25492 fail:
25493 return NULL;
25494}
25495
25496
c370783e 25497static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25498 PyObject *resultobj = NULL;
d55e5bfc
RD
25499 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25500 PyObject * obj0 = 0 ;
25501 char *kwnames[] = {
25502 (char *) "self", NULL
25503 };
25504
25505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
36ed4f51
RD
25506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25507 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25508 {
25509 PyThreadState* __tstate = wxPyBeginAllowThreads();
25510 (arg1)->OnPrevious();
25511
25512 wxPyEndAllowThreads(__tstate);
25513 if (PyErr_Occurred()) SWIG_fail;
25514 }
25515 Py_INCREF(Py_None); resultobj = Py_None;
25516 return resultobj;
25517 fail:
25518 return NULL;
25519}
25520
25521
c370783e 25522static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25523 PyObject *resultobj = NULL;
d55e5bfc
RD
25524 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25525 PyObject * obj0 = 0 ;
25526 char *kwnames[] = {
25527 (char *) "self", NULL
25528 };
25529
25530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
36ed4f51
RD
25531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25532 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25533 {
25534 PyThreadState* __tstate = wxPyBeginAllowThreads();
25535 (arg1)->OnFirst();
25536
25537 wxPyEndAllowThreads(__tstate);
25538 if (PyErr_Occurred()) SWIG_fail;
25539 }
25540 Py_INCREF(Py_None); resultobj = Py_None;
25541 return resultobj;
25542 fail:
25543 return NULL;
25544}
25545
25546
c370783e 25547static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25548 PyObject *resultobj = NULL;
d55e5bfc
RD
25549 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25550 PyObject * obj0 = 0 ;
25551 char *kwnames[] = {
25552 (char *) "self", NULL
25553 };
25554
25555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
36ed4f51
RD
25556 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25557 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25558 {
25559 PyThreadState* __tstate = wxPyBeginAllowThreads();
25560 (arg1)->OnLast();
25561
25562 wxPyEndAllowThreads(__tstate);
25563 if (PyErr_Occurred()) SWIG_fail;
25564 }
25565 Py_INCREF(Py_None); resultobj = Py_None;
25566 return resultobj;
25567 fail:
25568 return NULL;
25569}
25570
25571
c370783e 25572static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25573 PyObject *resultobj = NULL;
d55e5bfc
RD
25574 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25575 PyObject * obj0 = 0 ;
25576 char *kwnames[] = {
25577 (char *) "self", NULL
25578 };
25579
25580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
36ed4f51
RD
25581 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25582 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25583 {
25584 PyThreadState* __tstate = wxPyBeginAllowThreads();
25585 (arg1)->OnGoto();
25586
25587 wxPyEndAllowThreads(__tstate);
25588 if (PyErr_Occurred()) SWIG_fail;
25589 }
25590 Py_INCREF(Py_None); resultobj = Py_None;
25591 return resultobj;
25592 fail:
25593 return NULL;
25594}
25595
25596
c370783e 25597static PyObject * PreviewControlBar_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
25598 PyObject *obj;
25599 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25600 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
25601 Py_INCREF(obj);
25602 return Py_BuildValue((char *)"");
25603}
c370783e 25604static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *, PyObject *args) {
32fe5131 25605 PyObject *resultobj = NULL;
d55e5bfc
RD
25606 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25607 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
32fe5131 25608 wxPrintDialogData *arg3 = (wxPrintDialogData *) 0 ;
d55e5bfc
RD
25609 wxPrintPreview *result;
25610 PyObject * obj0 = 0 ;
25611 PyObject * obj1 = 0 ;
25612 PyObject * obj2 = 0 ;
25613
32fe5131 25614 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
25615 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25616 if (SWIG_arg_fail(1)) SWIG_fail;
25617 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25618 if (SWIG_arg_fail(2)) SWIG_fail;
32fe5131
RD
25619 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
25620 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc 25621 {
0439c23b 25622 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
25623 PyThreadState* __tstate = wxPyBeginAllowThreads();
25624 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
25625
25626 wxPyEndAllowThreads(__tstate);
110da5b0 25627 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
25628 }
25629 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
25630 return resultobj;
25631 fail:
25632 return NULL;
25633}
25634
25635
c370783e 25636static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *, PyObject *args) {
32fe5131
RD
25637 PyObject *resultobj = NULL;
25638 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25639 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
25640 wxPrintPreview *result;
25641 PyObject * obj0 = 0 ;
25642 PyObject * obj1 = 0 ;
25643
25644 if(!PyArg_ParseTuple(args,(char *)"OO:new_PrintPreview",&obj0,&obj1)) goto fail;
25645 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25646 if (SWIG_arg_fail(1)) SWIG_fail;
25647 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25648 if (SWIG_arg_fail(2)) SWIG_fail;
25649 {
25650 if (!wxPyCheckForApp()) SWIG_fail;
25651 PyThreadState* __tstate = wxPyBeginAllowThreads();
25652 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2);
25653
25654 wxPyEndAllowThreads(__tstate);
25655 if (PyErr_Occurred()) SWIG_fail;
25656 }
25657 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
25658 return resultobj;
25659 fail:
25660 return NULL;
25661}
25662
25663
25664static PyObject *_wrap_new_PrintPreview__SWIG_2(PyObject *, PyObject *args) {
25665 PyObject *resultobj = NULL;
d55e5bfc
RD
25666 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25667 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
25668 wxPrintData *arg3 = (wxPrintData *) 0 ;
25669 wxPrintPreview *result;
25670 PyObject * obj0 = 0 ;
25671 PyObject * obj1 = 0 ;
25672 PyObject * obj2 = 0 ;
25673
25674 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
25675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25676 if (SWIG_arg_fail(1)) SWIG_fail;
25677 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25678 if (SWIG_arg_fail(2)) SWIG_fail;
25679 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
25680 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc 25681 {
0439c23b 25682 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
25683 PyThreadState* __tstate = wxPyBeginAllowThreads();
25684 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
25685
25686 wxPyEndAllowThreads(__tstate);
110da5b0 25687 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
25688 }
25689 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
25690 return resultobj;
25691 fail:
25692 return NULL;
25693}
25694
25695
25696static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
25697 int argc;
25698 PyObject *argv[4];
25699 int ii;
25700
25701 argc = PyObject_Length(args);
25702 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
25703 argv[ii] = PyTuple_GetItem(args,ii);
25704 }
32fe5131 25705 if (argc == 2) {
d55e5bfc
RD
25706 int _v;
25707 {
25708 void *ptr;
25709 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25710 _v = 0;
25711 PyErr_Clear();
25712 } else {
25713 _v = 1;
25714 }
25715 }
25716 if (_v) {
25717 {
25718 void *ptr;
25719 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25720 _v = 0;
25721 PyErr_Clear();
25722 } else {
25723 _v = 1;
25724 }
25725 }
25726 if (_v) {
32fe5131
RD
25727 return _wrap_new_PrintPreview__SWIG_1(self,args);
25728 }
25729 }
25730 }
25731 if (argc == 3) {
25732 int _v;
25733 {
25734 void *ptr;
25735 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25736 _v = 0;
25737 PyErr_Clear();
25738 } else {
25739 _v = 1;
25740 }
25741 }
25742 if (_v) {
25743 {
25744 void *ptr;
25745 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25746 _v = 0;
25747 PyErr_Clear();
25748 } else {
25749 _v = 1;
d55e5bfc 25750 }
32fe5131
RD
25751 }
25752 if (_v) {
d55e5bfc
RD
25753 {
25754 void *ptr;
25755 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
25756 _v = 0;
25757 PyErr_Clear();
25758 } else {
25759 _v = 1;
25760 }
25761 }
25762 if (_v) {
25763 return _wrap_new_PrintPreview__SWIG_0(self,args);
25764 }
25765 }
25766 }
25767 }
25768 if (argc == 3) {
25769 int _v;
25770 {
25771 void *ptr;
25772 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25773 _v = 0;
25774 PyErr_Clear();
25775 } else {
25776 _v = 1;
25777 }
25778 }
25779 if (_v) {
25780 {
25781 void *ptr;
25782 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25783 _v = 0;
25784 PyErr_Clear();
25785 } else {
25786 _v = 1;
25787 }
25788 }
25789 if (_v) {
25790 {
25791 void *ptr;
25792 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
25793 _v = 0;
25794 PyErr_Clear();
25795 } else {
25796 _v = 1;
25797 }
25798 }
25799 if (_v) {
32fe5131 25800 return _wrap_new_PrintPreview__SWIG_2(self,args);
d55e5bfc
RD
25801 }
25802 }
25803 }
25804 }
25805
36ed4f51 25806 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
d55e5bfc
RD
25807 return NULL;
25808}
25809
25810
c370783e 25811static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25812 PyObject *resultobj = NULL;
d55e5bfc
RD
25813 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25814 int arg2 ;
25815 bool result;
25816 PyObject * obj0 = 0 ;
25817 PyObject * obj1 = 0 ;
25818 char *kwnames[] = {
25819 (char *) "self",(char *) "pageNum", NULL
25820 };
25821
25822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25823 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25824 if (SWIG_arg_fail(1)) SWIG_fail;
25825 {
32fe5131 25826 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
25827 if (SWIG_arg_fail(2)) SWIG_fail;
25828 }
d55e5bfc
RD
25829 {
25830 PyThreadState* __tstate = wxPyBeginAllowThreads();
25831 result = (bool)(arg1)->SetCurrentPage(arg2);
25832
25833 wxPyEndAllowThreads(__tstate);
25834 if (PyErr_Occurred()) SWIG_fail;
25835 }
25836 {
25837 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25838 }
25839 return resultobj;
25840 fail:
25841 return NULL;
25842}
25843
25844
c370783e 25845static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25846 PyObject *resultobj = NULL;
d55e5bfc
RD
25847 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25848 int result;
25849 PyObject * obj0 = 0 ;
25850 char *kwnames[] = {
25851 (char *) "self", NULL
25852 };
25853
25854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
36ed4f51
RD
25855 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25856 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25857 {
25858 PyThreadState* __tstate = wxPyBeginAllowThreads();
25859 result = (int)(arg1)->GetCurrentPage();
25860
25861 wxPyEndAllowThreads(__tstate);
25862 if (PyErr_Occurred()) SWIG_fail;
25863 }
36ed4f51 25864 {
32fe5131 25865 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 25866 }
d55e5bfc
RD
25867 return resultobj;
25868 fail:
25869 return NULL;
25870}
25871
25872
c370783e 25873static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25874 PyObject *resultobj = NULL;
d55e5bfc
RD
25875 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25876 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
25877 PyObject * obj0 = 0 ;
25878 PyObject * obj1 = 0 ;
25879 char *kwnames[] = {
25880 (char *) "self",(char *) "printout", NULL
25881 };
25882
25883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25884 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25885 if (SWIG_arg_fail(1)) SWIG_fail;
25886 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25887 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25888 {
25889 PyThreadState* __tstate = wxPyBeginAllowThreads();
25890 (arg1)->SetPrintout(arg2);
25891
25892 wxPyEndAllowThreads(__tstate);
25893 if (PyErr_Occurred()) SWIG_fail;
25894 }
25895 Py_INCREF(Py_None); resultobj = Py_None;
25896 return resultobj;
25897 fail:
25898 return NULL;
25899}
25900
25901
c370783e 25902static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25903 PyObject *resultobj = NULL;
d55e5bfc
RD
25904 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25905 wxPyPrintout *result;
25906 PyObject * obj0 = 0 ;
25907 char *kwnames[] = {
25908 (char *) "self", NULL
25909 };
25910
25911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
36ed4f51
RD
25912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25913 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25914 {
25915 PyThreadState* __tstate = wxPyBeginAllowThreads();
25916 result = (wxPyPrintout *)(arg1)->GetPrintout();
25917
25918 wxPyEndAllowThreads(__tstate);
25919 if (PyErr_Occurred()) SWIG_fail;
25920 }
25921 {
412d302d 25922 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
25923 }
25924 return resultobj;
25925 fail:
25926 return NULL;
25927}
25928
25929
c370783e 25930static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25931 PyObject *resultobj = NULL;
d55e5bfc
RD
25932 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25933 wxPyPrintout *result;
25934 PyObject * obj0 = 0 ;
25935 char *kwnames[] = {
25936 (char *) "self", NULL
25937 };
25938
25939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
36ed4f51
RD
25940 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25941 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25942 {
25943 PyThreadState* __tstate = wxPyBeginAllowThreads();
25944 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
25945
25946 wxPyEndAllowThreads(__tstate);
25947 if (PyErr_Occurred()) SWIG_fail;
25948 }
25949 {
412d302d 25950 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
25951 }
25952 return resultobj;
25953 fail:
25954 return NULL;
25955}
25956
25957
c370783e 25958static PyObject *_wrap_PrintPreview_SetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25959 PyObject *resultobj = NULL;
d55e5bfc
RD
25960 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25961 wxFrame *arg2 = (wxFrame *) 0 ;
25962 PyObject * obj0 = 0 ;
25963 PyObject * obj1 = 0 ;
25964 char *kwnames[] = {
25965 (char *) "self",(char *) "frame", NULL
25966 };
25967
25968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25969 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25970 if (SWIG_arg_fail(1)) SWIG_fail;
25971 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
25972 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25973 {
25974 PyThreadState* __tstate = wxPyBeginAllowThreads();
25975 (arg1)->SetFrame(arg2);
25976
25977 wxPyEndAllowThreads(__tstate);
25978 if (PyErr_Occurred()) SWIG_fail;
25979 }
25980 Py_INCREF(Py_None); resultobj = Py_None;
25981 return resultobj;
25982 fail:
25983 return NULL;
25984}
25985
25986
c370783e 25987static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25988 PyObject *resultobj = NULL;
d55e5bfc
RD
25989 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25990 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
25991 PyObject * obj0 = 0 ;
25992 PyObject * obj1 = 0 ;
25993 char *kwnames[] = {
25994 (char *) "self",(char *) "canvas", NULL
25995 };
25996
25997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25998 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25999 if (SWIG_arg_fail(1)) SWIG_fail;
26000 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26001 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26002 {
26003 PyThreadState* __tstate = wxPyBeginAllowThreads();
26004 (arg1)->SetCanvas(arg2);
26005
26006 wxPyEndAllowThreads(__tstate);
26007 if (PyErr_Occurred()) SWIG_fail;
26008 }
26009 Py_INCREF(Py_None); resultobj = Py_None;
26010 return resultobj;
26011 fail:
26012 return NULL;
26013}
26014
26015
c370783e 26016static PyObject *_wrap_PrintPreview_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26017 PyObject *resultobj = NULL;
d55e5bfc
RD
26018 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26019 wxFrame *result;
26020 PyObject * obj0 = 0 ;
26021 char *kwnames[] = {
26022 (char *) "self", NULL
26023 };
26024
26025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
36ed4f51
RD
26026 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26027 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26028 {
26029 PyThreadState* __tstate = wxPyBeginAllowThreads();
26030 result = (wxFrame *)(arg1)->GetFrame();
26031
26032 wxPyEndAllowThreads(__tstate);
26033 if (PyErr_Occurred()) SWIG_fail;
26034 }
26035 {
412d302d 26036 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
26037 }
26038 return resultobj;
26039 fail:
26040 return NULL;
26041}
26042
26043
c370783e 26044static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26045 PyObject *resultobj = NULL;
d55e5bfc
RD
26046 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26047 wxPreviewCanvas *result;
26048 PyObject * obj0 = 0 ;
26049 char *kwnames[] = {
26050 (char *) "self", NULL
26051 };
26052
26053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
36ed4f51
RD
26054 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26055 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26056 {
26057 PyThreadState* __tstate = wxPyBeginAllowThreads();
26058 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
26059
26060 wxPyEndAllowThreads(__tstate);
26061 if (PyErr_Occurred()) SWIG_fail;
26062 }
26063 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
26064 return resultobj;
26065 fail:
26066 return NULL;
26067}
26068
26069
c370783e 26070static PyObject *_wrap_PrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26071 PyObject *resultobj = NULL;
d55e5bfc
RD
26072 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26073 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26074 wxDC *arg3 = 0 ;
26075 bool result;
26076 PyObject * obj0 = 0 ;
26077 PyObject * obj1 = 0 ;
26078 PyObject * obj2 = 0 ;
26079 char *kwnames[] = {
26080 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26081 };
26082
26083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
26084 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26085 if (SWIG_arg_fail(1)) SWIG_fail;
26086 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26087 if (SWIG_arg_fail(2)) SWIG_fail;
26088 {
26089 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26090 if (SWIG_arg_fail(3)) SWIG_fail;
26091 if (arg3 == NULL) {
26092 SWIG_null_ref("wxDC");
26093 }
26094 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
26095 }
26096 {
26097 PyThreadState* __tstate = wxPyBeginAllowThreads();
26098 result = (bool)(arg1)->PaintPage(arg2,*arg3);
26099
26100 wxPyEndAllowThreads(__tstate);
26101 if (PyErr_Occurred()) SWIG_fail;
26102 }
26103 {
26104 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26105 }
26106 return resultobj;
26107 fail:
26108 return NULL;
26109}
26110
26111
c370783e 26112static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26113 PyObject *resultobj = NULL;
d55e5bfc
RD
26114 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26115 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26116 wxDC *arg3 = 0 ;
26117 bool result;
26118 PyObject * obj0 = 0 ;
26119 PyObject * obj1 = 0 ;
26120 PyObject * obj2 = 0 ;
26121 char *kwnames[] = {
26122 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26123 };
26124
26125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
26126 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26127 if (SWIG_arg_fail(1)) SWIG_fail;
26128 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26129 if (SWIG_arg_fail(2)) SWIG_fail;
26130 {
26131 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26132 if (SWIG_arg_fail(3)) SWIG_fail;
26133 if (arg3 == NULL) {
26134 SWIG_null_ref("wxDC");
26135 }
26136 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
26137 }
26138 {
26139 PyThreadState* __tstate = wxPyBeginAllowThreads();
26140 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
26141
26142 wxPyEndAllowThreads(__tstate);
26143 if (PyErr_Occurred()) SWIG_fail;
26144 }
26145 {
26146 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26147 }
26148 return resultobj;
26149 fail:
26150 return NULL;
26151}
26152
26153
c370783e 26154static PyObject *_wrap_PrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26155 PyObject *resultobj = NULL;
d55e5bfc
RD
26156 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26157 int arg2 ;
26158 bool result;
26159 PyObject * obj0 = 0 ;
26160 PyObject * obj1 = 0 ;
26161 char *kwnames[] = {
26162 (char *) "self",(char *) "pageNum", NULL
26163 };
26164
26165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26166 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26167 if (SWIG_arg_fail(1)) SWIG_fail;
26168 {
32fe5131 26169 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
26170 if (SWIG_arg_fail(2)) SWIG_fail;
26171 }
d55e5bfc
RD
26172 {
26173 PyThreadState* __tstate = wxPyBeginAllowThreads();
26174 result = (bool)(arg1)->RenderPage(arg2);
26175
26176 wxPyEndAllowThreads(__tstate);
26177 if (PyErr_Occurred()) SWIG_fail;
26178 }
26179 {
26180 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26181 }
26182 return resultobj;
26183 fail:
26184 return NULL;
26185}
26186
26187
c370783e 26188static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26189 PyObject *resultobj = NULL;
d55e5bfc
RD
26190 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26191 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26192 PyObject * obj0 = 0 ;
26193 PyObject * obj1 = 0 ;
26194 char *kwnames[] = {
26195 (char *) "self",(char *) "canvas", NULL
26196 };
26197
26198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26199 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26200 if (SWIG_arg_fail(1)) SWIG_fail;
26201 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26202 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26203 {
26204 PyThreadState* __tstate = wxPyBeginAllowThreads();
26205 (arg1)->AdjustScrollbars(arg2);
26206
26207 wxPyEndAllowThreads(__tstate);
26208 if (PyErr_Occurred()) SWIG_fail;
26209 }
26210 Py_INCREF(Py_None); resultobj = Py_None;
26211 return resultobj;
26212 fail:
26213 return NULL;
26214}
26215
26216
c370783e 26217static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26218 PyObject *resultobj = NULL;
d55e5bfc
RD
26219 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26220 wxPrintDialogData *result;
26221 PyObject * obj0 = 0 ;
26222 char *kwnames[] = {
26223 (char *) "self", NULL
26224 };
26225
26226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
36ed4f51
RD
26227 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26228 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26229 {
26230 PyThreadState* __tstate = wxPyBeginAllowThreads();
26231 {
26232 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
26233 result = (wxPrintDialogData *) &_result_ref;
26234 }
26235
26236 wxPyEndAllowThreads(__tstate);
26237 if (PyErr_Occurred()) SWIG_fail;
26238 }
26239 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
26240 return resultobj;
26241 fail:
26242 return NULL;
26243}
26244
26245
c370783e 26246static PyObject *_wrap_PrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26247 PyObject *resultobj = NULL;
d55e5bfc
RD
26248 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26249 int arg2 ;
26250 PyObject * obj0 = 0 ;
26251 PyObject * obj1 = 0 ;
26252 char *kwnames[] = {
26253 (char *) "self",(char *) "percent", NULL
26254 };
26255
26256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26257 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26258 if (SWIG_arg_fail(1)) SWIG_fail;
26259 {
32fe5131 26260 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
26261 if (SWIG_arg_fail(2)) SWIG_fail;
26262 }
d55e5bfc
RD
26263 {
26264 PyThreadState* __tstate = wxPyBeginAllowThreads();
26265 (arg1)->SetZoom(arg2);
26266
26267 wxPyEndAllowThreads(__tstate);
26268 if (PyErr_Occurred()) SWIG_fail;
26269 }
26270 Py_INCREF(Py_None); resultobj = Py_None;
26271 return resultobj;
26272 fail:
26273 return NULL;
26274}
26275
26276
c370783e 26277static PyObject *_wrap_PrintPreview_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26278 PyObject *resultobj = NULL;
d55e5bfc
RD
26279 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26280 int result;
26281 PyObject * obj0 = 0 ;
26282 char *kwnames[] = {
26283 (char *) "self", NULL
26284 };
26285
26286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
36ed4f51
RD
26287 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26288 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26289 {
26290 PyThreadState* __tstate = wxPyBeginAllowThreads();
26291 result = (int)(arg1)->GetZoom();
26292
26293 wxPyEndAllowThreads(__tstate);
26294 if (PyErr_Occurred()) SWIG_fail;
26295 }
36ed4f51 26296 {
32fe5131 26297 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 26298 }
d55e5bfc
RD
26299 return resultobj;
26300 fail:
26301 return NULL;
26302}
26303
26304
c370783e 26305static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26306 PyObject *resultobj = NULL;
d55e5bfc
RD
26307 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26308 int result;
26309 PyObject * obj0 = 0 ;
26310 char *kwnames[] = {
26311 (char *) "self", NULL
26312 };
26313
26314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
36ed4f51
RD
26315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26316 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26317 {
26318 PyThreadState* __tstate = wxPyBeginAllowThreads();
26319 result = (int)(arg1)->GetMaxPage();
26320
26321 wxPyEndAllowThreads(__tstate);
26322 if (PyErr_Occurred()) SWIG_fail;
26323 }
36ed4f51 26324 {
32fe5131 26325 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 26326 }
d55e5bfc
RD
26327 return resultobj;
26328 fail:
26329 return NULL;
26330}
26331
26332
c370783e 26333static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26334 PyObject *resultobj = NULL;
d55e5bfc
RD
26335 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26336 int result;
26337 PyObject * obj0 = 0 ;
26338 char *kwnames[] = {
26339 (char *) "self", NULL
26340 };
26341
26342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
36ed4f51
RD
26343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26344 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26345 {
26346 PyThreadState* __tstate = wxPyBeginAllowThreads();
26347 result = (int)(arg1)->GetMinPage();
26348
26349 wxPyEndAllowThreads(__tstate);
26350 if (PyErr_Occurred()) SWIG_fail;
26351 }
36ed4f51 26352 {
32fe5131 26353 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 26354 }
d55e5bfc
RD
26355 return resultobj;
26356 fail:
26357 return NULL;
26358}
26359
26360
c370783e 26361static PyObject *_wrap_PrintPreview_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26362 PyObject *resultobj = NULL;
d55e5bfc
RD
26363 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26364 bool result;
26365 PyObject * obj0 = 0 ;
26366 char *kwnames[] = {
26367 (char *) "self", NULL
26368 };
26369
26370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
36ed4f51
RD
26371 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26372 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26373 {
26374 PyThreadState* __tstate = wxPyBeginAllowThreads();
26375 result = (bool)(arg1)->Ok();
26376
26377 wxPyEndAllowThreads(__tstate);
26378 if (PyErr_Occurred()) SWIG_fail;
26379 }
26380 {
26381 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26382 }
26383 return resultobj;
26384 fail:
26385 return NULL;
26386}
26387
26388
c370783e 26389static PyObject *_wrap_PrintPreview_SetOk(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26390 PyObject *resultobj = NULL;
d55e5bfc
RD
26391 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26392 bool arg2 ;
26393 PyObject * obj0 = 0 ;
26394 PyObject * obj1 = 0 ;
26395 char *kwnames[] = {
26396 (char *) "self",(char *) "ok", NULL
26397 };
26398
26399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26400 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26401 if (SWIG_arg_fail(1)) SWIG_fail;
26402 {
32fe5131 26403 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
26404 if (SWIG_arg_fail(2)) SWIG_fail;
26405 }
d55e5bfc
RD
26406 {
26407 PyThreadState* __tstate = wxPyBeginAllowThreads();
26408 (arg1)->SetOk(arg2);
26409
26410 wxPyEndAllowThreads(__tstate);
26411 if (PyErr_Occurred()) SWIG_fail;
26412 }
26413 Py_INCREF(Py_None); resultobj = Py_None;
26414 return resultobj;
26415 fail:
26416 return NULL;
26417}
26418
26419
c370783e 26420static PyObject *_wrap_PrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26421 PyObject *resultobj = NULL;
d55e5bfc
RD
26422 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26423 bool arg2 ;
26424 bool result;
26425 PyObject * obj0 = 0 ;
26426 PyObject * obj1 = 0 ;
26427 char *kwnames[] = {
26428 (char *) "self",(char *) "interactive", NULL
26429 };
26430
26431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26432 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26433 if (SWIG_arg_fail(1)) SWIG_fail;
26434 {
32fe5131 26435 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
26436 if (SWIG_arg_fail(2)) SWIG_fail;
26437 }
d55e5bfc
RD
26438 {
26439 PyThreadState* __tstate = wxPyBeginAllowThreads();
26440 result = (bool)(arg1)->Print(arg2);
26441
26442 wxPyEndAllowThreads(__tstate);
26443 if (PyErr_Occurred()) SWIG_fail;
26444 }
26445 {
26446 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26447 }
26448 return resultobj;
26449 fail:
26450 return NULL;
26451}
26452
26453
c370783e 26454static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26455 PyObject *resultobj = NULL;
d55e5bfc
RD
26456 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26457 PyObject * obj0 = 0 ;
26458 char *kwnames[] = {
26459 (char *) "self", NULL
26460 };
26461
26462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
36ed4f51
RD
26463 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26464 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26465 {
26466 PyThreadState* __tstate = wxPyBeginAllowThreads();
26467 (arg1)->DetermineScaling();
26468
26469 wxPyEndAllowThreads(__tstate);
26470 if (PyErr_Occurred()) SWIG_fail;
26471 }
26472 Py_INCREF(Py_None); resultobj = Py_None;
26473 return resultobj;
26474 fail:
26475 return NULL;
26476}
26477
26478
c370783e 26479static PyObject * PrintPreview_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
26480 PyObject *obj;
26481 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26482 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
26483 Py_INCREF(obj);
26484 return Py_BuildValue((char *)"");
26485}
c370783e 26486static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *, PyObject *args) {
32fe5131 26487 PyObject *resultobj = NULL;
d55e5bfc
RD
26488 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26489 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
32fe5131 26490 wxPrintDialogData *arg3 = (wxPrintDialogData *) 0 ;
d55e5bfc
RD
26491 wxPyPrintPreview *result;
26492 PyObject * obj0 = 0 ;
26493 PyObject * obj1 = 0 ;
26494 PyObject * obj2 = 0 ;
26495
32fe5131 26496 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
26497 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26498 if (SWIG_arg_fail(1)) SWIG_fail;
26499 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26500 if (SWIG_arg_fail(2)) SWIG_fail;
32fe5131
RD
26501 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
26502 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc 26503 {
0439c23b 26504 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
26505 PyThreadState* __tstate = wxPyBeginAllowThreads();
26506 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
26507
26508 wxPyEndAllowThreads(__tstate);
110da5b0 26509 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
26510 }
26511 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
26512 return resultobj;
26513 fail:
26514 return NULL;
26515}
26516
26517
c370783e 26518static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *, PyObject *args) {
32fe5131
RD
26519 PyObject *resultobj = NULL;
26520 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26521 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26522 wxPyPrintPreview *result;
26523 PyObject * obj0 = 0 ;
26524 PyObject * obj1 = 0 ;
26525
26526 if(!PyArg_ParseTuple(args,(char *)"OO:new_PyPrintPreview",&obj0,&obj1)) goto fail;
26527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26528 if (SWIG_arg_fail(1)) SWIG_fail;
26529 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26530 if (SWIG_arg_fail(2)) SWIG_fail;
26531 {
26532 if (!wxPyCheckForApp()) SWIG_fail;
26533 PyThreadState* __tstate = wxPyBeginAllowThreads();
26534 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2);
26535
26536 wxPyEndAllowThreads(__tstate);
26537 if (PyErr_Occurred()) SWIG_fail;
26538 }
26539 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
26540 return resultobj;
26541 fail:
26542 return NULL;
26543}
26544
26545
26546static PyObject *_wrap_new_PyPrintPreview__SWIG_2(PyObject *, PyObject *args) {
26547 PyObject *resultobj = NULL;
d55e5bfc
RD
26548 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26549 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26550 wxPrintData *arg3 = (wxPrintData *) 0 ;
26551 wxPyPrintPreview *result;
26552 PyObject * obj0 = 0 ;
26553 PyObject * obj1 = 0 ;
26554 PyObject * obj2 = 0 ;
26555
26556 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
26557 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26558 if (SWIG_arg_fail(1)) SWIG_fail;
26559 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26560 if (SWIG_arg_fail(2)) SWIG_fail;
26561 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
26562 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc 26563 {
0439c23b 26564 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
26565 PyThreadState* __tstate = wxPyBeginAllowThreads();
26566 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
26567
26568 wxPyEndAllowThreads(__tstate);
110da5b0 26569 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
26570 }
26571 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
26572 return resultobj;
26573 fail:
26574 return NULL;
26575}
26576
26577
26578static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
26579 int argc;
26580 PyObject *argv[4];
26581 int ii;
26582
26583 argc = PyObject_Length(args);
26584 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
26585 argv[ii] = PyTuple_GetItem(args,ii);
26586 }
32fe5131 26587 if (argc == 2) {
d55e5bfc
RD
26588 int _v;
26589 {
26590 void *ptr;
26591 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26592 _v = 0;
26593 PyErr_Clear();
26594 } else {
26595 _v = 1;
26596 }
26597 }
26598 if (_v) {
26599 {
26600 void *ptr;
26601 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26602 _v = 0;
26603 PyErr_Clear();
26604 } else {
26605 _v = 1;
26606 }
26607 }
26608 if (_v) {
32fe5131
RD
26609 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
26610 }
26611 }
26612 }
26613 if (argc == 3) {
26614 int _v;
26615 {
26616 void *ptr;
26617 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26618 _v = 0;
26619 PyErr_Clear();
26620 } else {
26621 _v = 1;
26622 }
26623 }
26624 if (_v) {
26625 {
26626 void *ptr;
26627 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26628 _v = 0;
26629 PyErr_Clear();
26630 } else {
26631 _v = 1;
d55e5bfc 26632 }
32fe5131
RD
26633 }
26634 if (_v) {
d55e5bfc
RD
26635 {
26636 void *ptr;
26637 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
26638 _v = 0;
26639 PyErr_Clear();
26640 } else {
26641 _v = 1;
26642 }
26643 }
26644 if (_v) {
26645 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
26646 }
26647 }
26648 }
26649 }
26650 if (argc == 3) {
26651 int _v;
26652 {
26653 void *ptr;
26654 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26655 _v = 0;
26656 PyErr_Clear();
26657 } else {
26658 _v = 1;
26659 }
26660 }
26661 if (_v) {
26662 {
26663 void *ptr;
26664 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26665 _v = 0;
26666 PyErr_Clear();
26667 } else {
26668 _v = 1;
26669 }
26670 }
26671 if (_v) {
26672 {
26673 void *ptr;
26674 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
26675 _v = 0;
26676 PyErr_Clear();
26677 } else {
26678 _v = 1;
26679 }
26680 }
26681 if (_v) {
32fe5131 26682 return _wrap_new_PyPrintPreview__SWIG_2(self,args);
d55e5bfc
RD
26683 }
26684 }
26685 }
26686 }
26687
36ed4f51 26688 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
d55e5bfc
RD
26689 return NULL;
26690}
26691
26692
c370783e 26693static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26694 PyObject *resultobj = NULL;
d55e5bfc
RD
26695 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26696 PyObject *arg2 = (PyObject *) 0 ;
26697 PyObject *arg3 = (PyObject *) 0 ;
26698 PyObject * obj0 = 0 ;
26699 PyObject * obj1 = 0 ;
26700 PyObject * obj2 = 0 ;
26701 char *kwnames[] = {
26702 (char *) "self",(char *) "self",(char *) "_class", NULL
26703 };
26704
26705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
26706 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26707 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26708 arg2 = obj1;
26709 arg3 = obj2;
26710 {
26711 PyThreadState* __tstate = wxPyBeginAllowThreads();
26712 (arg1)->_setCallbackInfo(arg2,arg3);
26713
26714 wxPyEndAllowThreads(__tstate);
26715 if (PyErr_Occurred()) SWIG_fail;
26716 }
26717 Py_INCREF(Py_None); resultobj = Py_None;
26718 return resultobj;
26719 fail:
26720 return NULL;
26721}
26722
26723
c370783e 26724static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26725 PyObject *resultobj = NULL;
d55e5bfc
RD
26726 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26727 int arg2 ;
26728 bool result;
26729 PyObject * obj0 = 0 ;
26730 PyObject * obj1 = 0 ;
26731 char *kwnames[] = {
26732 (char *) "self",(char *) "pageNum", NULL
26733 };
26734
26735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26736 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26737 if (SWIG_arg_fail(1)) SWIG_fail;
26738 {
32fe5131 26739 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
26740 if (SWIG_arg_fail(2)) SWIG_fail;
26741 }
d55e5bfc
RD
26742 {
26743 PyThreadState* __tstate = wxPyBeginAllowThreads();
26744 result = (bool)(arg1)->base_SetCurrentPage(arg2);
26745
26746 wxPyEndAllowThreads(__tstate);
26747 if (PyErr_Occurred()) SWIG_fail;
26748 }
26749 {
26750 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26751 }
26752 return resultobj;
26753 fail:
26754 return NULL;
26755}
26756
26757
c370783e 26758static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26759 PyObject *resultobj = NULL;
d55e5bfc
RD
26760 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26761 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26762 wxDC *arg3 = 0 ;
26763 bool result;
26764 PyObject * obj0 = 0 ;
26765 PyObject * obj1 = 0 ;
26766 PyObject * obj2 = 0 ;
26767 char *kwnames[] = {
26768 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26769 };
26770
26771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
26772 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26773 if (SWIG_arg_fail(1)) SWIG_fail;
26774 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26775 if (SWIG_arg_fail(2)) SWIG_fail;
26776 {
26777 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26778 if (SWIG_arg_fail(3)) SWIG_fail;
26779 if (arg3 == NULL) {
26780 SWIG_null_ref("wxDC");
26781 }
26782 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
26783 }
26784 {
26785 PyThreadState* __tstate = wxPyBeginAllowThreads();
26786 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
26787
26788 wxPyEndAllowThreads(__tstate);
26789 if (PyErr_Occurred()) SWIG_fail;
26790 }
26791 {
26792 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26793 }
26794 return resultobj;
26795 fail:
26796 return NULL;
26797}
26798
26799
c370783e 26800static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26801 PyObject *resultobj = NULL;
d55e5bfc
RD
26802 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26803 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26804 wxDC *arg3 = 0 ;
26805 bool result;
26806 PyObject * obj0 = 0 ;
26807 PyObject * obj1 = 0 ;
26808 PyObject * obj2 = 0 ;
26809 char *kwnames[] = {
26810 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26811 };
26812
26813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
26814 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26815 if (SWIG_arg_fail(1)) SWIG_fail;
26816 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26817 if (SWIG_arg_fail(2)) SWIG_fail;
26818 {
26819 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26820 if (SWIG_arg_fail(3)) SWIG_fail;
26821 if (arg3 == NULL) {
26822 SWIG_null_ref("wxDC");
26823 }
26824 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
26825 }
26826 {
26827 PyThreadState* __tstate = wxPyBeginAllowThreads();
26828 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
26829
26830 wxPyEndAllowThreads(__tstate);
26831 if (PyErr_Occurred()) SWIG_fail;
26832 }
26833 {
26834 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26835 }
26836 return resultobj;
26837 fail:
26838 return NULL;
26839}
26840
26841
c370783e 26842static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26843 PyObject *resultobj = NULL;
d55e5bfc
RD
26844 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26845 int arg2 ;
26846 bool result;
26847 PyObject * obj0 = 0 ;
26848 PyObject * obj1 = 0 ;
26849 char *kwnames[] = {
26850 (char *) "self",(char *) "pageNum", NULL
26851 };
26852
26853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26854 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26855 if (SWIG_arg_fail(1)) SWIG_fail;
26856 {
32fe5131 26857 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
26858 if (SWIG_arg_fail(2)) SWIG_fail;
26859 }
d55e5bfc
RD
26860 {
26861 PyThreadState* __tstate = wxPyBeginAllowThreads();
26862 result = (bool)(arg1)->base_RenderPage(arg2);
26863
26864 wxPyEndAllowThreads(__tstate);
26865 if (PyErr_Occurred()) SWIG_fail;
26866 }
26867 {
26868 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26869 }
26870 return resultobj;
26871 fail:
26872 return NULL;
26873}
26874
26875
c370783e 26876static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26877 PyObject *resultobj = NULL;
d55e5bfc
RD
26878 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26879 int arg2 ;
26880 PyObject * obj0 = 0 ;
26881 PyObject * obj1 = 0 ;
26882 char *kwnames[] = {
26883 (char *) "self",(char *) "percent", NULL
26884 };
26885
26886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26887 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26888 if (SWIG_arg_fail(1)) SWIG_fail;
26889 {
32fe5131 26890 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
26891 if (SWIG_arg_fail(2)) SWIG_fail;
26892 }
d55e5bfc
RD
26893 {
26894 PyThreadState* __tstate = wxPyBeginAllowThreads();
26895 (arg1)->base_SetZoom(arg2);
26896
26897 wxPyEndAllowThreads(__tstate);
26898 if (PyErr_Occurred()) SWIG_fail;
26899 }
26900 Py_INCREF(Py_None); resultobj = Py_None;
26901 return resultobj;
26902 fail:
26903 return NULL;
26904}
26905
26906
c370783e 26907static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26908 PyObject *resultobj = NULL;
d55e5bfc
RD
26909 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26910 bool arg2 ;
26911 bool result;
26912 PyObject * obj0 = 0 ;
26913 PyObject * obj1 = 0 ;
26914 char *kwnames[] = {
26915 (char *) "self",(char *) "interactive", NULL
26916 };
26917
26918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26919 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26920 if (SWIG_arg_fail(1)) SWIG_fail;
26921 {
32fe5131 26922 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
26923 if (SWIG_arg_fail(2)) SWIG_fail;
26924 }
d55e5bfc
RD
26925 {
26926 PyThreadState* __tstate = wxPyBeginAllowThreads();
26927 result = (bool)(arg1)->base_Print(arg2);
26928
26929 wxPyEndAllowThreads(__tstate);
26930 if (PyErr_Occurred()) SWIG_fail;
26931 }
26932 {
26933 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26934 }
26935 return resultobj;
26936 fail:
26937 return NULL;
26938}
26939
26940
c370783e 26941static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26942 PyObject *resultobj = NULL;
d55e5bfc
RD
26943 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26944 PyObject * obj0 = 0 ;
26945 char *kwnames[] = {
26946 (char *) "self", NULL
26947 };
26948
26949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
36ed4f51
RD
26950 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26951 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26952 {
26953 PyThreadState* __tstate = wxPyBeginAllowThreads();
26954 (arg1)->base_DetermineScaling();
26955
26956 wxPyEndAllowThreads(__tstate);
26957 if (PyErr_Occurred()) SWIG_fail;
26958 }
26959 Py_INCREF(Py_None); resultobj = Py_None;
26960 return resultobj;
26961 fail:
26962 return NULL;
26963}
26964
26965
c370783e 26966static PyObject * PyPrintPreview_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
26967 PyObject *obj;
26968 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26969 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
26970 Py_INCREF(obj);
26971 return Py_BuildValue((char *)"");
26972}
c370783e 26973static PyObject *_wrap_new_PyPreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26974 PyObject *resultobj = NULL;
d55e5bfc
RD
26975 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26976 wxFrame *arg2 = (wxFrame *) 0 ;
26977 wxString *arg3 = 0 ;
26978 wxPoint const &arg4_defvalue = wxDefaultPosition ;
26979 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
26980 wxSize const &arg5_defvalue = wxDefaultSize ;
26981 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
26982 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
26983 wxString const &arg7_defvalue = wxPyFrameNameStr ;
26984 wxString *arg7 = (wxString *) &arg7_defvalue ;
26985 wxPyPreviewFrame *result;
b411df4a 26986 bool temp3 = false ;
d55e5bfc
RD
26987 wxPoint temp4 ;
26988 wxSize temp5 ;
b411df4a 26989 bool temp7 = false ;
d55e5bfc
RD
26990 PyObject * obj0 = 0 ;
26991 PyObject * obj1 = 0 ;
26992 PyObject * obj2 = 0 ;
26993 PyObject * obj3 = 0 ;
26994 PyObject * obj4 = 0 ;
26995 PyObject * obj5 = 0 ;
26996 PyObject * obj6 = 0 ;
26997 char *kwnames[] = {
26998 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
26999 };
27000
27001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
27002 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27003 if (SWIG_arg_fail(1)) SWIG_fail;
27004 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
27005 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27006 {
27007 arg3 = wxString_in_helper(obj2);
27008 if (arg3 == NULL) SWIG_fail;
b411df4a 27009 temp3 = true;
d55e5bfc
RD
27010 }
27011 if (obj3) {
27012 {
27013 arg4 = &temp4;
27014 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27015 }
27016 }
27017 if (obj4) {
27018 {
27019 arg5 = &temp5;
27020 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27021 }
27022 }
27023 if (obj5) {
36ed4f51 27024 {
32fe5131 27025 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
27026 if (SWIG_arg_fail(6)) SWIG_fail;
27027 }
d55e5bfc
RD
27028 }
27029 if (obj6) {
27030 {
27031 arg7 = wxString_in_helper(obj6);
27032 if (arg7 == NULL) SWIG_fail;
b411df4a 27033 temp7 = true;
d55e5bfc
RD
27034 }
27035 }
27036 {
0439c23b 27037 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
27038 PyThreadState* __tstate = wxPyBeginAllowThreads();
27039 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
27040
27041 wxPyEndAllowThreads(__tstate);
110da5b0 27042 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
27043 }
27044 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
27045 {
27046 if (temp3)
27047 delete arg3;
27048 }
27049 {
27050 if (temp7)
27051 delete arg7;
27052 }
27053 return resultobj;
27054 fail:
27055 {
27056 if (temp3)
27057 delete arg3;
27058 }
27059 {
27060 if (temp7)
27061 delete arg7;
27062 }
27063 return NULL;
27064}
27065
27066
c370783e 27067static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27068 PyObject *resultobj = NULL;
d55e5bfc
RD
27069 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27070 PyObject *arg2 = (PyObject *) 0 ;
27071 PyObject *arg3 = (PyObject *) 0 ;
27072 PyObject * obj0 = 0 ;
27073 PyObject * obj1 = 0 ;
27074 PyObject * obj2 = 0 ;
27075 char *kwnames[] = {
27076 (char *) "self",(char *) "self",(char *) "_class", NULL
27077 };
27078
27079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
27080 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27081 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27082 arg2 = obj1;
27083 arg3 = obj2;
27084 {
27085 PyThreadState* __tstate = wxPyBeginAllowThreads();
27086 (arg1)->_setCallbackInfo(arg2,arg3);
27087
27088 wxPyEndAllowThreads(__tstate);
27089 if (PyErr_Occurred()) SWIG_fail;
27090 }
27091 Py_INCREF(Py_None); resultobj = Py_None;
27092 return resultobj;
27093 fail:
27094 return NULL;
27095}
27096
27097
c370783e 27098static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27099 PyObject *resultobj = NULL;
d55e5bfc
RD
27100 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27101 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
27102 PyObject * obj0 = 0 ;
27103 PyObject * obj1 = 0 ;
27104 char *kwnames[] = {
27105 (char *) "self",(char *) "canvas", NULL
27106 };
27107
27108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27109 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27110 if (SWIG_arg_fail(1)) SWIG_fail;
27111 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
27112 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27113 {
27114 PyThreadState* __tstate = wxPyBeginAllowThreads();
27115 (arg1)->SetPreviewCanvas(arg2);
27116
27117 wxPyEndAllowThreads(__tstate);
27118 if (PyErr_Occurred()) SWIG_fail;
27119 }
27120 Py_INCREF(Py_None); resultobj = Py_None;
27121 return resultobj;
27122 fail:
27123 return NULL;
27124}
27125
27126
c370783e 27127static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27128 PyObject *resultobj = NULL;
d55e5bfc
RD
27129 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27130 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
27131 PyObject * obj0 = 0 ;
27132 PyObject * obj1 = 0 ;
27133 char *kwnames[] = {
27134 (char *) "self",(char *) "bar", NULL
27135 };
27136
27137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27138 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27139 if (SWIG_arg_fail(1)) SWIG_fail;
27140 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27141 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27142 {
27143 PyThreadState* __tstate = wxPyBeginAllowThreads();
27144 (arg1)->SetControlBar(arg2);
27145
27146 wxPyEndAllowThreads(__tstate);
27147 if (PyErr_Occurred()) SWIG_fail;
27148 }
27149 Py_INCREF(Py_None); resultobj = Py_None;
27150 return resultobj;
27151 fail:
27152 return NULL;
27153}
27154
27155
c370783e 27156static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27157 PyObject *resultobj = NULL;
d55e5bfc
RD
27158 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27159 PyObject * obj0 = 0 ;
27160 char *kwnames[] = {
27161 (char *) "self", NULL
27162 };
27163
27164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
36ed4f51
RD
27165 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27166 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27167 {
27168 PyThreadState* __tstate = wxPyBeginAllowThreads();
27169 (arg1)->base_Initialize();
27170
27171 wxPyEndAllowThreads(__tstate);
27172 if (PyErr_Occurred()) SWIG_fail;
27173 }
27174 Py_INCREF(Py_None); resultobj = Py_None;
27175 return resultobj;
27176 fail:
27177 return NULL;
27178}
27179
27180
c370783e 27181static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27182 PyObject *resultobj = NULL;
d55e5bfc
RD
27183 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27184 PyObject * obj0 = 0 ;
27185 char *kwnames[] = {
27186 (char *) "self", NULL
27187 };
27188
27189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
36ed4f51
RD
27190 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27191 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27192 {
27193 PyThreadState* __tstate = wxPyBeginAllowThreads();
27194 (arg1)->base_CreateCanvas();
27195
27196 wxPyEndAllowThreads(__tstate);
27197 if (PyErr_Occurred()) SWIG_fail;
27198 }
27199 Py_INCREF(Py_None); resultobj = Py_None;
27200 return resultobj;
27201 fail:
27202 return NULL;
27203}
27204
27205
c370783e 27206static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27207 PyObject *resultobj = NULL;
d55e5bfc
RD
27208 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27209 PyObject * obj0 = 0 ;
27210 char *kwnames[] = {
27211 (char *) "self", NULL
27212 };
27213
27214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
36ed4f51
RD
27215 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27216 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27217 {
27218 PyThreadState* __tstate = wxPyBeginAllowThreads();
27219 (arg1)->base_CreateControlBar();
27220
27221 wxPyEndAllowThreads(__tstate);
27222 if (PyErr_Occurred()) SWIG_fail;
27223 }
27224 Py_INCREF(Py_None); resultobj = Py_None;
27225 return resultobj;
27226 fail:
27227 return NULL;
27228}
27229
27230
c370783e 27231static PyObject * PyPreviewFrame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27232 PyObject *obj;
27233 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27234 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
27235 Py_INCREF(obj);
27236 return Py_BuildValue((char *)"");
27237}
c370783e 27238static PyObject *_wrap_new_PyPreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27239 PyObject *resultobj = NULL;
d55e5bfc
RD
27240 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
27241 long arg2 ;
27242 wxWindow *arg3 = (wxWindow *) 0 ;
27243 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27244 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27245 wxSize const &arg5_defvalue = wxDefaultSize ;
27246 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27247 long arg6 = (long) 0 ;
27248 wxString const &arg7_defvalue = wxPyPanelNameStr ;
27249 wxString *arg7 = (wxString *) &arg7_defvalue ;
27250 wxPyPreviewControlBar *result;
27251 wxPoint temp4 ;
27252 wxSize temp5 ;
b411df4a 27253 bool temp7 = false ;
d55e5bfc
RD
27254 PyObject * obj0 = 0 ;
27255 PyObject * obj1 = 0 ;
27256 PyObject * obj2 = 0 ;
27257 PyObject * obj3 = 0 ;
27258 PyObject * obj4 = 0 ;
27259 PyObject * obj5 = 0 ;
27260 PyObject * obj6 = 0 ;
27261 char *kwnames[] = {
27262 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27263 };
27264
27265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
27266 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27267 if (SWIG_arg_fail(1)) SWIG_fail;
27268 {
32fe5131 27269 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
27270 if (SWIG_arg_fail(2)) SWIG_fail;
27271 }
27272 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27273 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
27274 if (obj3) {
27275 {
27276 arg4 = &temp4;
27277 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27278 }
27279 }
27280 if (obj4) {
27281 {
27282 arg5 = &temp5;
27283 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27284 }
27285 }
27286 if (obj5) {
36ed4f51 27287 {
32fe5131 27288 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
27289 if (SWIG_arg_fail(6)) SWIG_fail;
27290 }
d55e5bfc
RD
27291 }
27292 if (obj6) {
27293 {
27294 arg7 = wxString_in_helper(obj6);
27295 if (arg7 == NULL) SWIG_fail;
b411df4a 27296 temp7 = true;
d55e5bfc
RD
27297 }
27298 }
27299 {
0439c23b 27300 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
27301 PyThreadState* __tstate = wxPyBeginAllowThreads();
27302 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
27303
27304 wxPyEndAllowThreads(__tstate);
110da5b0 27305 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
27306 }
27307 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
27308 {
27309 if (temp7)
27310 delete arg7;
27311 }
27312 return resultobj;
27313 fail:
27314 {
27315 if (temp7)
27316 delete arg7;
27317 }
27318 return NULL;
27319}
27320
27321
c370783e 27322static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27323 PyObject *resultobj = NULL;
d55e5bfc
RD
27324 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27325 PyObject *arg2 = (PyObject *) 0 ;
27326 PyObject *arg3 = (PyObject *) 0 ;
27327 PyObject * obj0 = 0 ;
27328 PyObject * obj1 = 0 ;
27329 PyObject * obj2 = 0 ;
27330 char *kwnames[] = {
27331 (char *) "self",(char *) "self",(char *) "_class", NULL
27332 };
27333
27334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
27335 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27336 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27337 arg2 = obj1;
27338 arg3 = obj2;
27339 {
27340 PyThreadState* __tstate = wxPyBeginAllowThreads();
27341 (arg1)->_setCallbackInfo(arg2,arg3);
27342
27343 wxPyEndAllowThreads(__tstate);
27344 if (PyErr_Occurred()) SWIG_fail;
27345 }
27346 Py_INCREF(Py_None); resultobj = Py_None;
27347 return resultobj;
27348 fail:
27349 return NULL;
27350}
27351
27352
c370783e 27353static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27354 PyObject *resultobj = NULL;
d55e5bfc
RD
27355 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27356 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
27357 PyObject * obj0 = 0 ;
27358 PyObject * obj1 = 0 ;
27359 char *kwnames[] = {
27360 (char *) "self",(char *) "preview", NULL
27361 };
27362
27363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27364 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27365 if (SWIG_arg_fail(1)) SWIG_fail;
27366 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27367 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27368 {
27369 PyThreadState* __tstate = wxPyBeginAllowThreads();
27370 (arg1)->SetPrintPreview(arg2);
27371
27372 wxPyEndAllowThreads(__tstate);
27373 if (PyErr_Occurred()) SWIG_fail;
27374 }
27375 Py_INCREF(Py_None); resultobj = Py_None;
27376 return resultobj;
27377 fail:
27378 return NULL;
27379}
27380
27381
c370783e 27382static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27383 PyObject *resultobj = NULL;
d55e5bfc
RD
27384 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27385 PyObject * obj0 = 0 ;
27386 char *kwnames[] = {
27387 (char *) "self", NULL
27388 };
27389
27390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
36ed4f51
RD
27391 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27392 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27393 {
27394 PyThreadState* __tstate = wxPyBeginAllowThreads();
27395 (arg1)->base_CreateButtons();
27396
27397 wxPyEndAllowThreads(__tstate);
27398 if (PyErr_Occurred()) SWIG_fail;
27399 }
27400 Py_INCREF(Py_None); resultobj = Py_None;
27401 return resultobj;
27402 fail:
27403 return NULL;
27404}
27405
27406
c370783e 27407static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27408 PyObject *resultobj = NULL;
d55e5bfc
RD
27409 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27410 int arg2 ;
27411 PyObject * obj0 = 0 ;
27412 PyObject * obj1 = 0 ;
27413 char *kwnames[] = {
27414 (char *) "self",(char *) "zoom", NULL
27415 };
27416
27417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27419 if (SWIG_arg_fail(1)) SWIG_fail;
27420 {
32fe5131 27421 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
27422 if (SWIG_arg_fail(2)) SWIG_fail;
27423 }
d55e5bfc
RD
27424 {
27425 PyThreadState* __tstate = wxPyBeginAllowThreads();
27426 (arg1)->base_SetZoomControl(arg2);
27427
27428 wxPyEndAllowThreads(__tstate);
27429 if (PyErr_Occurred()) SWIG_fail;
27430 }
27431 Py_INCREF(Py_None); resultobj = Py_None;
27432 return resultobj;
27433 fail:
27434 return NULL;
27435}
27436
27437
c370783e 27438static PyObject * PyPreviewControlBar_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27439 PyObject *obj;
27440 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27441 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
27442 Py_INCREF(obj);
27443 return Py_BuildValue((char *)"");
27444}
27445static PyMethodDef SwigMethods[] = {
36ed4f51
RD
27446 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
27447 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS, NULL},
27448 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27449 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27450 { (char *)"Panel_SetFocus", (PyCFunction) _wrap_Panel_SetFocus, METH_VARARGS | METH_KEYWORDS, NULL},
27451 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction) _wrap_Panel_SetFocusIgnoringChildren, METH_VARARGS | METH_KEYWORDS, NULL},
27452 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27453 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
27454 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27455 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27456 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27457 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
27458 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
27459 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
27460 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
27461 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
27462 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS, NULL},
27463 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
27464 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS, NULL},
27465 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
27466 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS, NULL},
27467 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS, NULL},
27468 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
27469 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
27470 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
27471 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
27472 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27473 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27474 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27475 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27476 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
27477 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27478 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
27479 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
27480 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS, NULL},
27481 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
27482 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS, NULL},
27483 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS, NULL},
27484 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27485 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27486 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
27487 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27488 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27489 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
27490 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
27491 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
27492 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
27493 { (char *)"TopLevelWindow_IsActive", (PyCFunction) _wrap_TopLevelWindow_IsActive, METH_VARARGS | METH_KEYWORDS, NULL},
27494 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
27495 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacGetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
27496 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
27497 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
27498 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27499 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27500 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
27501 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27502 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
27503 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
27504 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
27505 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27506 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27507 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27508 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27509 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
27510 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27511 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27512 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
27513 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
27514 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27515 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27516 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27517 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27518 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
27519 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27520 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
27521 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
27522 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27523 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27524 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
27525 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
27526 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
27527 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
62d32a5f 27528 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
27529 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS, NULL},
27530 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
27531 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
27532 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27533 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
27534 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27535 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27536 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27537 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
27538 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27539 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
27540 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
27541 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
27542 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27543 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27544 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27545 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS, NULL},
27546 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
27547 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27548 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27549 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27550 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
27551 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
27552 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27553 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27554 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27555 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27556 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
27557 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
27558 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
27559 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
27560 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS, NULL},
27561 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS, NULL},
27562 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27563 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
27564 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27565 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27566 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27567 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS, NULL},
27568 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS, NULL},
27569 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
27570 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
27571 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
27572 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
27573 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
27574 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
27575 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27576 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS, NULL},
27577 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS, NULL},
27578 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
27579 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27580 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
27581 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27582 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27583 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27584 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
27585 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction) _wrap_SplitterWindow_GetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
27586 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
27587 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
27588 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27589 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL},
27590 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
27591 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
27592 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27593 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
27594 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27595 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27596 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27597 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS, NULL},
27598 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL},
27599 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL},
27600 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
27601 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27602 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27603 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27604 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
27605 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
27606 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
27607 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
27608 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
27609 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27610 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27611 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27612 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27613 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27614 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27615 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27616 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27617 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27618 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27619 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27620 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27621 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27622 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL},
27623 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
27624 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27625 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
27626 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
27627 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
27628 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
27629 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
27630 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
27631 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
27632 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27633 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
27634 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
27635 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27636 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27637 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27638 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27639 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27640 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27641 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27642 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27643 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
27644 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27645 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27646 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27647 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27648 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27649 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
27650 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27651 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27652 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27653 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27654 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27655 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27656 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
27657 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27658 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
27659 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL},
27660 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL},
27661 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27662 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27663 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27664 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
27665 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27666 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27667 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
27668 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27669 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27670 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
27671 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27672 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
27673 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS, NULL},
27674 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
27675 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27676 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27677 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27678 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27679 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
27680 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
27681 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL},
27682 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL},
27683 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
27684 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
27685 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
27686 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27687 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL},
27688 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
7993762b
RD
27689 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction) _wrap_VScrolledWindow_GetVisibleBegin, METH_VARARGS | METH_KEYWORDS, NULL},
27690 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction) _wrap_VScrolledWindow_GetVisibleEnd, METH_VARARGS | METH_KEYWORDS, NULL},
27691 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
27692 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
27693 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
27694 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
27695 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27696 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27697 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27698 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27699 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
27700 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27701 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27702 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
27703 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
27704 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS, NULL},
27705 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL},
27706 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
27707 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
27708 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
27709 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
27710 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
27711 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27712 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
27713 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
27714 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
27715 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
27716 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
27717 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
27718 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
27719 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
27720 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
27721 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27722 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27723 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27724 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27725 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL},
27726 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
27727 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS, NULL},
27728 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
27729 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27730 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27731 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
27732 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
27733 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS, NULL},
27734 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27735 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27736 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
27737 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
27738 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27739 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
27740 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS, NULL},
27741 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS, NULL},
27742 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
27743 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27744 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
27745 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
27746 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27747 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
27748 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
27749 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27750 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS, NULL},
27751 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
32fe5131 27752 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
27753 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27754 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27755 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27756 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27757 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27758 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27759 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
27760 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27761 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27762 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27763 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
27764 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
27765 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
27766 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27767 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
27768 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27769 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27770 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
27771 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
27772 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
27773 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27774 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
27775 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL},
27776 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS, NULL},
27777 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
27778 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27779 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
27780 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
27781 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
27782 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27783 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27784 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27785 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27786 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
27787 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27788 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
27789 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
27790 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
27791 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27792 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
27793 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS, NULL},
27794 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS, NULL},
27795 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
27796 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
27797 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27798 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
27799 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
27800 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
27801 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27802 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
27803 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
27804 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27805 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
27806 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
27807 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27808 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
27809 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27810 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS, NULL},
27811 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
32fe5131 27812 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
27813 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27814 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
27815 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27816 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
27817 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS, NULL},
27818 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
27819 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27820 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27821 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27822 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
27823 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27824 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27825 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27826 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
27827 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
27828 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
27829 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
27830 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27831 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
27832 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27833 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27834 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27835 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
27836 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
27837 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27838 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27839 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27840 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
27841 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
27842 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
27843 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27844 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27845 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27846 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS, NULL},
27847 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS, NULL},
27848 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS, NULL},
27849 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS, NULL},
27850 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS, NULL},
27851 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27852 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27853 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
27854 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
27855 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27856 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27857 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27858 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS, NULL},
27859 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
27860 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS, NULL},
27861 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
27862 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27863 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27864 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27865 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
27866 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27867 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27868 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27869 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
976dbff5 27870 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
27871 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27872 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27873 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27874 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27875 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27876 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27877 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27878 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27879 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
27880 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27881 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27882 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27883 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
27884 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
27885 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
27886 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
27887 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
27888 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
27889 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 27890 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
8d38bd1d 27891 { (char *)"PyWindow_base_OnInternalIdle", (PyCFunction) _wrap_PyWindow_base_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
27892 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
27893 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
27894 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
27895 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27896 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
976dbff5 27897 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
27898 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27899 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27900 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27901 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27902 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27903 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27904 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27905 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27906 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
27907 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27908 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27909 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27910 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
27911 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
27912 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
27913 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
27914 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
27915 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
27916 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 27917 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
8d38bd1d 27918 { (char *)"PyPanel_base_OnInternalIdle", (PyCFunction) _wrap_PyPanel_base_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
27919 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
27920 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27921 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27922 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27923 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
976dbff5 27924 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
27925 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27926 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27927 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27928 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27929 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27930 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27931 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27932 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27933 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
27934 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27935 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27936 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27937 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
27938 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
27939 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
27940 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
27941 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
27942 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
27943 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 27944 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
8d38bd1d 27945 { (char *)"PyScrolledWindow_base_OnInternalIdle", (PyCFunction) _wrap_PyScrolledWindow_base_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
27946 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
27947 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
27948 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS, NULL},
27949 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
27950 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
27951 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27952 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
27953 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
27954 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27955 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
27956 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
27957 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
27958 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
27959 { (char *)"PrintData_GetBin", (PyCFunction) _wrap_PrintData_GetBin, METH_VARARGS | METH_KEYWORDS, NULL},
27960 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
27961 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
27962 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
27963 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27964 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
27965 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27966 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
27967 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
27968 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
27969 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
27970 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
27971 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
27972 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
27973 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
7fbf8399
RD
27974 { (char *)"PrintData_GetPrivData", (PyCFunction) _wrap_PrintData_GetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
27975 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
27976 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
27977 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
27978 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
27979 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27980 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
27981 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27982 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
27983 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
27984 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
27985 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
27986 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27987 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
27988 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
27989 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27990 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27991 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
27992 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
27993 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
27994 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
27995 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
27996 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
27997 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
27998 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
27999 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28000 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28001 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28002 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28003 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28004 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28005 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28006 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28007 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
fef4c27a
RD
28008 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction) _wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28009 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction) _wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
28010 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
28011 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28012 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL},
28013 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28014 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
28015 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
28016 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
28017 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28018 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
28019 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
28020 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28021 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28022 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28023 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
28024 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28025 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28026 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
28027 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
28028 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
28029 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28030 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28031 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28032 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
28033 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28034 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28035 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28036 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28037 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28038 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
28039 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28040 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28041 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28042 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
28043 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28044 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28045 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28046 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28047 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
28048 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28049 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
28050 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28051 { (char *)"PrintDialog_GetPrintData", (PyCFunction) _wrap_PrintDialog_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28052 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS, NULL},
28053 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
28054 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
28055 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
28056 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28057 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
28058 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
28059 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28060 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28061 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28062 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS, NULL},
28063 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS, NULL},
28064 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
28065 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
28066 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28067 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
28068 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS, NULL},
28069 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
28070 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
28071 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
28072 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
28073 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
28074 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
28075 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
28076 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28077 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28078 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28079 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28080 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
28081 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS, NULL},
28082 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28083 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28084 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28085 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
28086 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28087 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
28088 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28089 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
28090 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28091 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
28092 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28093 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28094 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28095 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
28096 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28097 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28098 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28099 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28100 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS, NULL},
28101 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS, NULL},
28102 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS, NULL},
28103 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS, NULL},
28104 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS, NULL},
28105 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
28106 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
28107 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28108 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28109 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
28110 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
28111 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28112 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28113 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28114 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28115 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28116 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
28117 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
28118 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
28119 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
28120 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28121 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28122 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28123 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28124 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28125 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28126 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
28127 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28128 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL},
28129 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
28130 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
28131 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28132 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28133 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
28134 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
28135 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
28136 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28137 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28138 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL},
28139 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
28140 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28141 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28142 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28143 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28144 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
28145 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28146 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28147 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
28148 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28149 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28150 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28151 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS, NULL},
28152 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28153 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
c370783e 28154 { NULL, NULL, 0, NULL }
d55e5bfc
RD
28155};
28156
28157
28158/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28159
28160static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
28161 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28162}
28163static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
28164 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
28165}
28166static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
28167 return (void *)((wxEvent *) ((wxMenuEvent *) x));
28168}
28169static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
28170 return (void *)((wxEvent *) ((wxCloseEvent *) x));
28171}
28172static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
28173 return (void *)((wxEvent *) ((wxMouseEvent *) x));
28174}
28175static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
28176 return (void *)((wxEvent *) ((wxEraseEvent *) x));
28177}
28178static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
28179 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
28180}
28181static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
28182 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
28183}
28184static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
28185 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
28186}
28187static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
28188 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
28189}
28190static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
28191 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
28192}
28193static void *_p_wxPyEventTo_p_wxEvent(void *x) {
28194 return (void *)((wxEvent *) ((wxPyEvent *) x));
28195}
28196static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
28197 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
28198}
28199static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
28200 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
28201}
28202static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
28203 return (void *)((wxEvent *) ((wxIdleEvent *) x));
28204}
28205static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
28206 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
28207}
28208static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
28209 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
28210}
28211static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
28212 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
28213}
28214static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
28215 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
28216}
28217static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
28218 return (void *)((wxEvent *) ((wxActivateEvent *) x));
28219}
28220static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
28221 return (void *)((wxEvent *) ((wxSizeEvent *) x));
28222}
28223static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
28224 return (void *)((wxEvent *) ((wxMoveEvent *) x));
28225}
53aa7709
RD
28226static void *_p_wxDateEventTo_p_wxEvent(void *x) {
28227 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
28228}
d55e5bfc
RD
28229static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
28230 return (void *)((wxEvent *) ((wxPaintEvent *) x));
28231}
28232static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
28233 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
28234}
28235static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
28236 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
28237}
28238static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
28239 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
28240}
28241static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
28242 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
28243}
28244static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
28245 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
28246}
28247static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
28248 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
28249}
28250static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
28251 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
28252}
28253static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
28254 return (void *)((wxEvent *) ((wxFocusEvent *) x));
28255}
28256static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
28257 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
28258}
28259static void *_p_wxSashEventTo_p_wxEvent(void *x) {
28260 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
28261}
28262static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
28263 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
28264}
28265static void *_p_wxShowEventTo_p_wxEvent(void *x) {
28266 return (void *)((wxEvent *) ((wxShowEvent *) x));
28267}
28268static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
28269 return (void *)((wxEvent *) ((wxCommandEvent *) x));
28270}
28271static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
28272 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
28273}
28274static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
28275 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28276}
28277static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
28278 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
28279}
28280static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
28281 return (void *)((wxEvent *) ((wxKeyEvent *) x));
28282}
28283static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
28284 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
28285}
28286static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
28287 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
28288}
28289static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
28290 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
28291}
070c48b4
RD
28292static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
28293 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28294}
d55e5bfc
RD
28295static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
28296 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
28297}
28298static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
28299 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
28300}
28301static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
28302 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
28303}
28304static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
28305 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
28306}
28307static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
28308 return (void *)((wxEvtHandler *) ((wxValidator *) x));
28309}
28310static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
28311 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
28312}
28313static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
28314 return (void *)((wxEvtHandler *) ((wxMenu *) x));
28315}
070c48b4
RD
28316static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
28317 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28318}
d55e5bfc
RD
28319static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
28320 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
28321}
28322static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
28323 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
28324}
28325static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
28326 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
28327}
28328static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
28329 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
28330}
28331static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
28332 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
28333}
28334static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
28335 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
28336}
28337static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
28338 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
28339}
28340static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
28341 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
28342}
28343static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
28344 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
28345}
28346static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
28347 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
28348}
28349static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
28350 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
28351}
28352static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
28353 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28354}
28355static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
28356 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
28357}
28358static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
28359 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
28360}
28361static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
28362 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
28363}
28364static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
28365 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
28366}
28367static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
28368 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
28369}
28370static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
28371 return (void *)((wxEvtHandler *) ((wxWindow *) x));
28372}
28373static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
28374 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
28375}
28376static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
28377 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
28378}
28379static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
28380 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
28381}
28382static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
28383 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
28384}
28385static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
28386 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
28387}
28388static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
28389 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
28390}
28391static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
28392 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28393}
28394static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
28395 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
28396}
28397static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
28398 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
28399}
28400static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
28401 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
28402}
28403static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
28404 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
28405}
28406static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
28407 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
28408}
28409static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
28410 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
28411}
28412static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
28413 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28414}
28415static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
28416 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
28417}
28418static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
28419 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
28420}
5e483524
RD
28421static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
28422 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d55e5bfc
RD
28423}
28424static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
28425 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
28426}
d55e5bfc
RD
28427static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
28428 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
28429}
28430static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
28431 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
28432}
28433static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
28434 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
28435}
070c48b4
RD
28436static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
28437 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
28438}
d55e5bfc
RD
28439static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
28440 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
28441}
28442static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
28443 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
28444}
28445static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
28446 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
28447}
28448static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
28449 return (void *)((wxFrame *) ((wxProgressDialog *) x));
28450}
28451static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
28452 return (void *)((wxFrame *) ((wxTipWindow *) x));
28453}
28454static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
28455 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
28456}
28457static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
28458 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28459}
28460static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
28461 return (void *)((wxFrame *) ((wxMiniFrame *) x));
28462}
28463static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
28464 return (void *)((wxFrame *) ((wxSplashScreen *) x));
28465}
28466static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
28467 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
28468}
28469static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
28470 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
28471}
28472static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
28473 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
28474}
28475static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
28476 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
28477}
28478static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
28479 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28480}
28481static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
28482 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
28483}
28484static void *_p_wxSizerItemTo_p_wxObject(void *x) {
28485 return (void *)((wxObject *) ((wxSizerItem *) x));
28486}
28487static void *_p_wxScrollEventTo_p_wxObject(void *x) {
28488 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
28489}
28490static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
28491 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
28492}
28493static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
28494 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
28495}
28496static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
28497 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
28498}
28499static void *_p_wxSizerTo_p_wxObject(void *x) {
28500 return (void *)((wxObject *) ((wxSizer *) x));
28501}
28502static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
28503 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
28504}
28505static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
28506 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
28507}
28508static void *_p_wxPyPanelTo_p_wxObject(void *x) {
28509 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
28510}
28511static void *_p_wxEventTo_p_wxObject(void *x) {
28512 return (void *)((wxObject *) ((wxEvent *) x));
28513}
28514static void *_p_wxFontDataTo_p_wxObject(void *x) {
28515 return (void *)((wxObject *) ((wxFontData *) x));
28516}
28517static void *_p_wxPrintDataTo_p_wxObject(void *x) {
28518 return (void *)((wxObject *) ((wxPrintData *) x));
28519}
28520static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
28521 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
28522}
28523static void *_p_wxGridSizerTo_p_wxObject(void *x) {
28524 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
28525}
28526static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
28527 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
28528}
28529static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
28530 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
28531}
5e483524
RD
28532static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
28533 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d55e5bfc
RD
28534}
28535static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
28536 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
28537}
28538static void *_p_wxPaintEventTo_p_wxObject(void *x) {
28539 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
28540}
28541static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
28542 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
28543}
28544static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
28545 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
28546}
28547static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
28548 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
28549}
28550static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
28551 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
28552}
28553static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
28554 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
28555}
28556static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
28557 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
28558}
28559static void *_p_wxControlTo_p_wxObject(void *x) {
28560 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
28561}
28562static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
28563 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
28564}
28565static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
28566 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
28567}
28568static void *_p_wxFSFileTo_p_wxObject(void *x) {
28569 return (void *)((wxObject *) ((wxFSFile *) x));
28570}
28571static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
28572 return (void *)((wxObject *) ((wxFindReplaceData *) x));
28573}
28574static void *_p_wxPySizerTo_p_wxObject(void *x) {
28575 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
28576}
28577static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
28578 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
28579}
28580static void *_p_wxColourDataTo_p_wxObject(void *x) {
28581 return (void *)((wxObject *) ((wxColourData *) x));
28582}
28583static void *_p_wxPyEventTo_p_wxObject(void *x) {
28584 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
28585}
28586static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
28587 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
28588}
28589static void *_p_wxPyWindowTo_p_wxObject(void *x) {
28590 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
28591}
28592static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
28593 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
28594}
28595static void *_p_wxFileDialogTo_p_wxObject(void *x) {
28596 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
28597}
28598static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
28599 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
28600}
28601static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
28602 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
28603}
28604static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
28605 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
28606}
070c48b4
RD
28607static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
28608 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28609}
d55e5bfc
RD
28610static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
28611 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
28612}
28613static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
28614 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
28615}
28616static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
28617 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
28618}
28619static void *_p_wxShowEventTo_p_wxObject(void *x) {
28620 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
28621}
28622static void *_p_wxPrinterTo_p_wxObject(void *x) {
28623 return (void *)((wxObject *) ((wxPrinter *) x));
28624}
28625static void *_p_wxMenuItemTo_p_wxObject(void *x) {
28626 return (void *)((wxObject *) ((wxMenuItem *) x));
28627}
53aa7709
RD
28628static void *_p_wxDateEventTo_p_wxObject(void *x) {
28629 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
28630}
d55e5bfc
RD
28631static void *_p_wxIdleEventTo_p_wxObject(void *x) {
28632 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
28633}
28634static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
28635 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
28636}
28637static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
28638 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
28639}
28640static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
28641 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
28642}
28643static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
28644 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
28645}
28646static void *_p_wxSizeEventTo_p_wxObject(void *x) {
28647 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
28648}
28649static void *_p_wxMoveEventTo_p_wxObject(void *x) {
28650 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
28651}
28652static void *_p_wxActivateEventTo_p_wxObject(void *x) {
28653 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
28654}
d55e5bfc
RD
28655static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
28656 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
28657}
28658static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
28659 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
28660}
28661static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
28662 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
28663}
28664static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
28665 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
28666}
28667static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
28668 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
28669}
28670static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
28671 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
28672}
28673static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
28674 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
28675}
28676static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
28677 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
28678}
28679static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
28680 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
28681}
943e8dfd
RD
28682static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
28683 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
28684}
d55e5bfc
RD
28685static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
28686 return (void *)((wxObject *) ((wxImageHandler *) x));
28687}
943e8dfd
RD
28688static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
28689 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
28690}
d55e5bfc
RD
28691static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
28692 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
28693}
28694static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
28695 return (void *)((wxObject *) ((wxEvtHandler *) x));
28696}
28697static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
28698 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
28699}
28700static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
28701 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28702}
28703static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
28704 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
28705}
62d32a5f
RD
28706static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
28707 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
28708}
d55e5bfc
RD
28709static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
28710 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
28711}
28712static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
28713 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
28714}
28715static void *_p_wxImageTo_p_wxObject(void *x) {
28716 return (void *)((wxObject *) ((wxImage *) x));
28717}
28718static void *_p_wxFrameTo_p_wxObject(void *x) {
28719 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
28720}
28721static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
28722 return (void *)((wxObject *) ((wxPyPrintout *) x));
28723}
28724static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
28725 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
28726}
28727static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
28728 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
28729}
28730static void *_p_wxStatusBarTo_p_wxObject(void *x) {
28731 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
28732}
28733static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
28734 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
28735}
28736static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
28737 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28738}
28739static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
28740 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
28741}
28742static void *_p_wxKeyEventTo_p_wxObject(void *x) {
28743 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
28744}
28745static void *_p_wxWindowTo_p_wxObject(void *x) {
28746 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
28747}
28748static void *_p_wxMenuTo_p_wxObject(void *x) {
28749 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
28750}
28751static void *_p_wxMenuBarTo_p_wxObject(void *x) {
28752 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
28753}
28754static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
28755 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
28756}
28757static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
28758 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
28759}
28760static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
28761 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
28762}
28763static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
28764 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
28765}
28766static void *_p_wxSashWindowTo_p_wxObject(void *x) {
28767 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
28768}
28769static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
28770 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
28771}
28772static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
28773 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
28774}
28775static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
28776 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28777}
28778static void *_p_wxTipWindowTo_p_wxObject(void *x) {
28779 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
28780}
28781static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
28782 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
28783}
28784static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
28785 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
28786}
28787static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
28788 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
28789}
28790static void *_p_wxSashEventTo_p_wxObject(void *x) {
28791 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
28792}
28793static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
28794 return (void *)((wxObject *) ((wxPrintPreview *) x));
28795}
28796static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
28797 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
28798}
28799static void *_p_wxPanelTo_p_wxObject(void *x) {
28800 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
28801}
28802static void *_p_wxDialogTo_p_wxObject(void *x) {
28803 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
28804}
28805static void *_p_wxColourDialogTo_p_wxObject(void *x) {
28806 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
28807}
28808static void *_p_wxDirDialogTo_p_wxObject(void *x) {
28809 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
28810}
28811static void *_p_wxFontDialogTo_p_wxObject(void *x) {
28812 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
28813}
28814static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
6e0de3df 28815 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
d55e5bfc
RD
28816}
28817static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
070c48b4 28818 return (void *)((wxObject *) ((wxPrintDialog *) x));
d55e5bfc
RD
28819}
28820static void *_p_wxFileSystemTo_p_wxObject(void *x) {
28821 return (void *)((wxObject *) ((wxFileSystem *) x));
28822}
28823static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
28824 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
28825}
28826static void *_p_wxMenuEventTo_p_wxObject(void *x) {
28827 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
28828}
28829static void *_p_wxPyAppTo_p_wxObject(void *x) {
28830 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
28831}
28832static void *_p_wxCloseEventTo_p_wxObject(void *x) {
28833 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
28834}
28835static void *_p_wxMouseEventTo_p_wxObject(void *x) {
28836 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
28837}
28838static void *_p_wxEraseEventTo_p_wxObject(void *x) {
28839 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
28840}
28841static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
28842 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
28843}
28844static void *_p_wxCommandEventTo_p_wxObject(void *x) {
28845 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
28846}
28847static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
28848 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
28849}
28850static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
28851 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
28852}
28853static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
28854 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
28855}
28856static void *_p_wxFocusEventTo_p_wxObject(void *x) {
28857 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
28858}
28859static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
28860 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
28861}
28862static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
28863 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
28864}
28865static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
28866 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
28867}
28868static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
28869 return (void *)((wxObject *) ((wxPrintDialogData *) x));
28870}
28871static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
28872 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
28873}
28874static void *_p_wxValidatorTo_p_wxObject(void *x) {
28875 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
28876}
28877static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
28878 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28879}
28880static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
28881 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
28882}
28883static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
28884 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28885}
28886static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
28887 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
28888}
28889static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
28890 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
28891}
28892static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
28893 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
28894}
28895static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
28896 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
28897}
28898static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
28899 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
28900}
28901static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
28902 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
28903}
28904static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
28905 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
28906}
d55e5bfc
RD
28907static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
28908 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
28909}
28910static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
28911 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
28912}
28913static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
28914 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
28915}
28916static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
28917 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
28918}
d55e5bfc
RD
28919static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
28920 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
28921}
070c48b4
RD
28922static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
28923 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28924}
d55e5bfc
RD
28925static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
28926 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
28927}
28928static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
28929 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
28930}
28931static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
28932 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
28933}
28934static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
28935 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
28936}
070c48b4
RD
28937static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
28938 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
28939}
d55e5bfc
RD
28940static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
28941 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
28942}
28943static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
28944 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
28945}
28946static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
28947 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28948}
28949static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
28950 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
28951}
28952static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
28953 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
28954}
28955static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
28956 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
28957}
28958static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
28959 return (void *)((wxWindow *) ((wxMenuBar *) x));
28960}
28961static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
28962 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
28963}
28964static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
28965 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
28966}
28967static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
28968 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
28969}
070c48b4
RD
28970static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
28971 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28972}
d55e5bfc
RD
28973static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
28974 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
28975}
28976static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
28977 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
28978}
28979static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
28980 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
28981}
28982static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
28983 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
28984}
28985static void *_p_wxPanelTo_p_wxWindow(void *x) {
28986 return (void *)((wxWindow *) ((wxPanel *) x));
28987}
28988static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
28989 return (void *)((wxWindow *) ((wxStatusBar *) x));
28990}
d55e5bfc
RD
28991static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
28992 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
28993}
28994static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
28995 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
28996}
28997static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
28998 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28999}
29000static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
29001 return (void *)((wxWindow *) ((wxPopupWindow *) x));
29002}
29003static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
29004 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
29005}
29006static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
29007 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
29008}
29009static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
29010 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
29011}
29012static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
29013 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
29014}
29015static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
29016 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
29017}
29018static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
29019 return (void *)((wxWindow *) ((wxSashWindow *) x));
29020}
070c48b4
RD
29021static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
29022 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
29023}
d55e5bfc
RD
29024static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
29025 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29026}
29027static void *_p_wxControlTo_p_wxWindow(void *x) {
29028 return (void *)((wxWindow *) ((wxControl *) x));
29029}
29030static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
29031 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
29032}
29033static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
29034 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
29035}
29036static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
29037 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
29038}
29039static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
29040 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
29041}
29042static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
29043 return (void *)((wxWindow *) ((wxPyWindow *) x));
29044}
29045static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
29046 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
29047}
29048static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
29049 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
29050}
29051static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
29052 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29053}
29054static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
29055 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
29056}
29057static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
29058 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29059}
29060static void *_p_wxFrameTo_p_wxWindow(void *x) {
29061 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
29062}
29063static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
29064 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
29065}
29066static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
29067 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
29068}
29069static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
29070 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
29071}
29072static void *_p_wxDialogTo_p_wxWindow(void *x) {
29073 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
29074}
d55e5bfc
RD
29075static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
29076 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
29077}
29078static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
29079 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29080}
29081static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
29082 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
29083}
29084static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
29085 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
29086}
29087static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
29088 return (void *)((wxDialog *) ((wxColourDialog *) x));
29089}
29090static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
29091 return (void *)((wxDialog *) ((wxDirDialog *) x));
29092}
29093static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
29094 return (void *)((wxDialog *) ((wxFontDialog *) x));
29095}
d55e5bfc
RD
29096static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
29097 return (void *)((wxDialog *) ((wxFileDialog *) x));
29098}
29099static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
29100 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
29101}
29102static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
29103 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
29104}
29105static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
29106 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
29107}
070c48b4
RD
29108static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
29109 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
29110}
d55e5bfc
RD
29111static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
29112 return (void *)((wxDialog *) ((wxMessageDialog *) x));
29113}
29114static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
29115 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
29116}
29117static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
29118 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
29119}
29120static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
29121 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
29122}
29123static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
29124 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29125}
29126static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
29127 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29128}
29129static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
29130 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
29131}
29132static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
29133 return (void *)((wxPanel *) ((wxPyPanel *) x));
29134}
29135static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
29136 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
29137}
29138static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
29139 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
29140}
29141static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
29142 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29143}
29144static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
29145 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
29146}
29147static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
29148 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
29149}
29150static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
29151 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
29152}
53aa7709
RD
29153static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
29154 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
29155}
d55e5bfc
RD
29156static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
29157 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
29158}
29159static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
29160 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
29161}
29162static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
29163 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
29164}
29165static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
29166 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
29167}
29168static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
29169 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
29170}
29171static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
29172 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
29173}
29174static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
29175 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
29176}
29177static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
29178 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
29179}
29180static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
29181 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29182}
32fe5131
RD
29183static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, 0};
29184static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
29185static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, 0};
29186static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
29187static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
29188static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0};
29189static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, 0};
29190static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
29191static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, 0};
29192static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0};
29193static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, 0};
29194static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, 0};
29195static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0};
29196static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0};
29197static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0};
29198static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
29199static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0};
29200static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
29201static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
29202static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0};
29203static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0};
29204static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, 0};
29205static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, 0};
29206static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, 0};
29207static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
29208static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, 0};
29209static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0};
29210static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0};
29211static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0};
29212static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0};
29213static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0};
29214static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0};
29215static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0};
29216static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0};
29217static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
29218static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0};
29219static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0};
29220static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0};
29221static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0};
29222static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0};
29223static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0};
29224static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0};
29225static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
29226static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
29227static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
29228static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
29229static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0};
29230static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0};
29231static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0};
29232static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
29233static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0};
29234static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
29235static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0};
29236static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0};
29237static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0};
29238static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0};
29239static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0};
29240static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, 0};
29241static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, 0};
29242static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, 0};
29243static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, 0};
29244static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, 0};
29245static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, 0};
29246static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, 0};
29247static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, 0};
29248static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, 0};
29249static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, 0};
29250static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, 0};
29251static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, 0};
29252static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, 0};
29253static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, 0};
29254static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, 0};
29255static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, 0};
29256static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, 0};
29257static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, 0};
29258static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, 0};
29259static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, 0};
29260static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, 0};
29261static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, 0};
29262static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0};
29263static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0};
29264static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0};
29265static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
29266static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
29267static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0};
29268static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0};
29269static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0};
29270static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0};
29271static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0};
29272static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0};
29273static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0};
29274static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0};
29275static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0};
29276static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0};
29277static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0};
29278static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0};
29279static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0};
29280static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0};
29281static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0};
29282static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0};
29283static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0};
29284static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0};
29285static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0};
29286static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0};
29287static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0};
29288static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0};
29289static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0};
29290static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, 0};
29291static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, 0};
29292static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, 0};
29293static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
29294static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, 0};
29295static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, 0};
29296static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, 0};
29297static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, 0};
29298static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, 0};
29299static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, 0};
29300static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, 0};
29301static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, 0};
29302static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, 0};
29303static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, 0};
29304static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, 0};
29305static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, 0};
29306static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, 0};
29307static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, 0};
29308static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, 0};
29309static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, 0};
29310static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, 0};
29311static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, 0};
29312static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, 0};
29313static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, 0};
29314static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, 0};
29315static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, 0};
29316static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, 0};
29317static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, 0};
29318static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, 0};
29319static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, 0};
29320static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, 0};
29321static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, 0};
29322static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, 0};
29323static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, 0};
29324static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, 0};
29325static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, 0};
29326static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, 0};
29327static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, 0};
29328static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, 0};
29329static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, 0};
29330static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, 0};
29331static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, 0};
29332static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, 0};
29333static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, 0};
29334static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, 0};
29335static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, 0};
29336static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, 0};
29337static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, 0};
29338static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, 0};
29339static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, 0};
29340static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, 0};
29341static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, 0};
29342static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, 0};
29343static swig_type_info _swigt__ptrdiff_t = {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
29344static swig_type_info _swigt__std__ptrdiff_t = {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
29345static swig_type_info _swigt__unsigned_int = {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
29346
29347static swig_type_info *swig_type_initial[] = {
29348 &_swigt__p_char,
29349 &_swigt__p_form_ops_t,
29350 &_swigt__p_int,
29351 &_swigt__p_unsigned_char,
29352 &_swigt__p_unsigned_int,
29353 &_swigt__p_unsigned_long,
29354 &_swigt__p_wxANIHandler,
29355 &_swigt__p_wxAcceleratorTable,
29356 &_swigt__p_wxActivateEvent,
29357 &_swigt__p_wxArrayInt,
29358 &_swigt__p_wxBMPHandler,
29359 &_swigt__p_wxBitmap,
29360 &_swigt__p_wxBoxSizer,
29361 &_swigt__p_wxCURHandler,
29362 &_swigt__p_wxCalculateLayoutEvent,
29363 &_swigt__p_wxChildFocusEvent,
29364 &_swigt__p_wxCloseEvent,
29365 &_swigt__p_wxColour,
29366 &_swigt__p_wxColourData,
29367 &_swigt__p_wxColourDialog,
29368 &_swigt__p_wxCommandEvent,
29369 &_swigt__p_wxContextMenuEvent,
29370 &_swigt__p_wxControl,
29371 &_swigt__p_wxControlWithItems,
29372 &_swigt__p_wxDC,
29373 &_swigt__p_wxDateEvent,
29374 &_swigt__p_wxDialog,
29375 &_swigt__p_wxDirDialog,
29376 &_swigt__p_wxDisplayChangedEvent,
29377 &_swigt__p_wxDropFilesEvent,
29378 &_swigt__p_wxDuplexMode,
29379 &_swigt__p_wxEraseEvent,
29380 &_swigt__p_wxEvent,
29381 &_swigt__p_wxEvtHandler,
29382 &_swigt__p_wxFSFile,
29383 &_swigt__p_wxFileDialog,
29384 &_swigt__p_wxFileSystem,
29385 &_swigt__p_wxFindDialogEvent,
29386 &_swigt__p_wxFindReplaceData,
29387 &_swigt__p_wxFindReplaceDialog,
29388 &_swigt__p_wxFlexGridSizer,
29389 &_swigt__p_wxFocusEvent,
29390 &_swigt__p_wxFont,
29391 &_swigt__p_wxFontData,
29392 &_swigt__p_wxFontDialog,
29393 &_swigt__p_wxFrame,
29394 &_swigt__p_wxGBSizerItem,
29395 &_swigt__p_wxGIFHandler,
29396 &_swigt__p_wxGridBagSizer,
29397 &_swigt__p_wxGridSizer,
29398 &_swigt__p_wxICOHandler,
29399 &_swigt__p_wxIcon,
29400 &_swigt__p_wxIconBundle,
29401 &_swigt__p_wxIconizeEvent,
29402 &_swigt__p_wxIdleEvent,
29403 &_swigt__p_wxImage,
29404 &_swigt__p_wxImageHandler,
29405 &_swigt__p_wxIndividualLayoutConstraint,
29406 &_swigt__p_wxInitDialogEvent,
29407 &_swigt__p_wxJPEGHandler,
29408 &_swigt__p_wxKeyEvent,
29409 &_swigt__p_wxLayoutAlgorithm,
29410 &_swigt__p_wxLayoutConstraints,
29411 &_swigt__p_wxMDIChildFrame,
29412 &_swigt__p_wxMDIClientWindow,
29413 &_swigt__p_wxMDIParentFrame,
29414 &_swigt__p_wxMaximizeEvent,
29415 &_swigt__p_wxMenu,
29416 &_swigt__p_wxMenuBar,
29417 &_swigt__p_wxMenuEvent,
29418 &_swigt__p_wxMenuItem,
29419 &_swigt__p_wxMessageDialog,
29420 &_swigt__p_wxMiniFrame,
29421 &_swigt__p_wxMouseCaptureChangedEvent,
29422 &_swigt__p_wxMouseEvent,
29423 &_swigt__p_wxMoveEvent,
29424 &_swigt__p_wxMultiChoiceDialog,
29425 &_swigt__p_wxNavigationKeyEvent,
29426 &_swigt__p_wxNcPaintEvent,
29427 &_swigt__p_wxNotifyEvent,
29428 &_swigt__p_wxObject,
29429 &_swigt__p_wxPCXHandler,
29430 &_swigt__p_wxPNGHandler,
29431 &_swigt__p_wxPNMHandler,
29432 &_swigt__p_wxPageSetupDialog,
29433 &_swigt__p_wxPageSetupDialogData,
29434 &_swigt__p_wxPaintEvent,
29435 &_swigt__p_wxPaletteChangedEvent,
29436 &_swigt__p_wxPanel,
29437 &_swigt__p_wxPaperSize,
29438 &_swigt__p_wxPasswordEntryDialog,
29439 &_swigt__p_wxPoint,
29440 &_swigt__p_wxPopupWindow,
29441 &_swigt__p_wxPreviewCanvas,
29442 &_swigt__p_wxPreviewControlBar,
29443 &_swigt__p_wxPreviewFrame,
29444 &_swigt__p_wxPrintData,
29445 &_swigt__p_wxPrintDialog,
29446 &_swigt__p_wxPrintDialogData,
29447 &_swigt__p_wxPrintPreview,
29448 &_swigt__p_wxPrinter,
29449 &_swigt__p_wxProgressDialog,
29450 &_swigt__p_wxPyApp,
29451 &_swigt__p_wxPyCommandEvent,
29452 &_swigt__p_wxPyEvent,
29453 &_swigt__p_wxPyHtmlListBox,
29454 &_swigt__p_wxPyImageHandler,
29455 &_swigt__p_wxPyPanel,
29456 &_swigt__p_wxPyPopupTransientWindow,
29457 &_swigt__p_wxPyPreviewControlBar,
29458 &_swigt__p_wxPyPreviewFrame,
29459 &_swigt__p_wxPyPrintPreview,
29460 &_swigt__p_wxPyPrintout,
29461 &_swigt__p_wxPyScrolledWindow,
29462 &_swigt__p_wxPySizer,
29463 &_swigt__p_wxPyTaskBarIcon,
29464 &_swigt__p_wxPyVListBox,
29465 &_swigt__p_wxPyVScrolledWindow,
29466 &_swigt__p_wxPyValidator,
29467 &_swigt__p_wxPyWindow,
29468 &_swigt__p_wxQueryLayoutInfoEvent,
29469 &_swigt__p_wxQueryNewPaletteEvent,
29470 &_swigt__p_wxRect,
29471 &_swigt__p_wxRegion,
29472 &_swigt__p_wxSashEvent,
29473 &_swigt__p_wxSashLayoutWindow,
29474 &_swigt__p_wxSashWindow,
29475 &_swigt__p_wxScrollEvent,
29476 &_swigt__p_wxScrollWinEvent,
29477 &_swigt__p_wxScrolledWindow,
29478 &_swigt__p_wxSetCursorEvent,
29479 &_swigt__p_wxShowEvent,
29480 &_swigt__p_wxSingleChoiceDialog,
29481 &_swigt__p_wxSize,
29482 &_swigt__p_wxSizeEvent,
29483 &_swigt__p_wxSizer,
29484 &_swigt__p_wxSizerItem,
29485 &_swigt__p_wxSplashScreen,
29486 &_swigt__p_wxSplashScreenWindow,
29487 &_swigt__p_wxSplitterEvent,
29488 &_swigt__p_wxSplitterWindow,
29489 &_swigt__p_wxStaticBoxSizer,
29490 &_swigt__p_wxStatusBar,
29491 &_swigt__p_wxStdDialogButtonSizer,
29492 &_swigt__p_wxString,
29493 &_swigt__p_wxSysColourChangedEvent,
29494 &_swigt__p_wxTIFFHandler,
29495 &_swigt__p_wxTaskBarIcon,
29496 &_swigt__p_wxTaskBarIconEvent,
29497 &_swigt__p_wxTextEntryDialog,
29498 &_swigt__p_wxTipWindow,
29499 &_swigt__p_wxToolBar,
29500 &_swigt__p_wxTopLevelWindow,
29501 &_swigt__p_wxUpdateUIEvent,
29502 &_swigt__p_wxValidator,
29503 &_swigt__p_wxVisualAttributes,
29504 &_swigt__p_wxWindow,
29505 &_swigt__p_wxWindowCreateEvent,
29506 &_swigt__p_wxWindowDestroyEvent,
29507 &_swigt__p_wxXPMHandler,
29508 &_swigt__ptrdiff_t,
29509 &_swigt__std__ptrdiff_t,
29510 &_swigt__unsigned_int,
29511};
29512
29513static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
29514static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
29515static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
29516static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
29517static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
29518static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
29519static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
29520static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
29521static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
29522static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
29523static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
29524static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
29525static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
29526static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
29527static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
29528static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
29529static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
29530static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
29531static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
29532static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
29533static 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}};
29534static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
29535static 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}};
29536static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
29537static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
29538static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
29539static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
29540static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
29541static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
29542static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
29543static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
29544static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
29545static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
29546static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
29547static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
29548static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
29549static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
29550static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
29551static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
29552static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
29553static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
29554static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
29555static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
29556static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
29557static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
29558static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
29559static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
29560static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
29561static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
29562static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
29563static 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}};
29564static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
29565static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
29566static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
29567static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
29568static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
29569static 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_wxTipWindow, _p_wxTipWindowTo_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_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_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_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}};
29570static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
29571static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
29572static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
29573static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
29574static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
29575static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
29576static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
29577static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
29578static 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_wxTipWindow, _p_wxTipWindowTo_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}};
29579static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
29580static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
29581static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
29582static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
29583static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
29584static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
29585static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
29586static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
29587static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
29588static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
29589static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
29590static 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}};
29591static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
29592static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
29593static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
29594static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
29595static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
29596static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
29597static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
29598static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
29599static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
29600static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
29601static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
29602static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
29603static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
29604static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
29605static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
29606static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
29607static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
29608static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
29609static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
29610static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
29611static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
29612static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
29613static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
29614static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
29615static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
29616static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
29617static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
29618static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
29619static 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_wxTipWindow, _p_wxTipWindowTo_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_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}};
29620static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
29621static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
29622static 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}};
29623static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
29624static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
29625static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
29626static swig_cast_info _swigc__p_wxPopupWindow[] = { {&_swigt__p_wxPopupWindow, 0, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxPopupWindow, 0, 0},{0, 0, 0, 0}};
29627static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
29628static 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}};
29629static 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}};
29630static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
29631static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
29632static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
29633static 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}};
29634static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
29635static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
29636static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
29637static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
29638static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = { {&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
29639static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
29640static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
29641static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
29642static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
29643static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
29644static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
29645static 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}};
29646static 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}};
29647static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
29648static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
29649static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
29650static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
29651static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
29652static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
29653static 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}};
29654static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
29655static 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}};
29656static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
29657static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
29658static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
29659static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
29660static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
29661static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
29662static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
29663static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
29664static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
29665static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
29666static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
29667static 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}};
29668static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
29669static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
29670static 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_wxTipWindow, _p_wxTipWindowTo_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_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_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}};
29671static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
29672static 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_wxTipWindow, _p_wxTipWindowTo_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_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}};
29673static swig_cast_info _swigc__ptrdiff_t[] = { {&_swigt__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
29674static swig_cast_info _swigc__std__ptrdiff_t[] = { {&_swigt__std__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
29675static swig_cast_info _swigc__unsigned_int[] = { {&_swigt__unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
29676
29677static swig_cast_info *swig_cast_initial[] = {
29678 _swigc__p_char,
29679 _swigc__p_form_ops_t,
29680 _swigc__p_int,
29681 _swigc__p_unsigned_char,
29682 _swigc__p_unsigned_int,
29683 _swigc__p_unsigned_long,
29684 _swigc__p_wxANIHandler,
29685 _swigc__p_wxAcceleratorTable,
29686 _swigc__p_wxActivateEvent,
29687 _swigc__p_wxArrayInt,
29688 _swigc__p_wxBMPHandler,
29689 _swigc__p_wxBitmap,
29690 _swigc__p_wxBoxSizer,
29691 _swigc__p_wxCURHandler,
29692 _swigc__p_wxCalculateLayoutEvent,
29693 _swigc__p_wxChildFocusEvent,
29694 _swigc__p_wxCloseEvent,
29695 _swigc__p_wxColour,
29696 _swigc__p_wxColourData,
29697 _swigc__p_wxColourDialog,
29698 _swigc__p_wxCommandEvent,
29699 _swigc__p_wxContextMenuEvent,
29700 _swigc__p_wxControl,
29701 _swigc__p_wxControlWithItems,
29702 _swigc__p_wxDC,
29703 _swigc__p_wxDateEvent,
29704 _swigc__p_wxDialog,
29705 _swigc__p_wxDirDialog,
29706 _swigc__p_wxDisplayChangedEvent,
29707 _swigc__p_wxDropFilesEvent,
29708 _swigc__p_wxDuplexMode,
29709 _swigc__p_wxEraseEvent,
29710 _swigc__p_wxEvent,
29711 _swigc__p_wxEvtHandler,
29712 _swigc__p_wxFSFile,
29713 _swigc__p_wxFileDialog,
29714 _swigc__p_wxFileSystem,
29715 _swigc__p_wxFindDialogEvent,
29716 _swigc__p_wxFindReplaceData,
29717 _swigc__p_wxFindReplaceDialog,
29718 _swigc__p_wxFlexGridSizer,
29719 _swigc__p_wxFocusEvent,
29720 _swigc__p_wxFont,
29721 _swigc__p_wxFontData,
29722 _swigc__p_wxFontDialog,
29723 _swigc__p_wxFrame,
29724 _swigc__p_wxGBSizerItem,
29725 _swigc__p_wxGIFHandler,
29726 _swigc__p_wxGridBagSizer,
29727 _swigc__p_wxGridSizer,
29728 _swigc__p_wxICOHandler,
29729 _swigc__p_wxIcon,
29730 _swigc__p_wxIconBundle,
29731 _swigc__p_wxIconizeEvent,
29732 _swigc__p_wxIdleEvent,
29733 _swigc__p_wxImage,
29734 _swigc__p_wxImageHandler,
29735 _swigc__p_wxIndividualLayoutConstraint,
29736 _swigc__p_wxInitDialogEvent,
29737 _swigc__p_wxJPEGHandler,
29738 _swigc__p_wxKeyEvent,
29739 _swigc__p_wxLayoutAlgorithm,
29740 _swigc__p_wxLayoutConstraints,
29741 _swigc__p_wxMDIChildFrame,
29742 _swigc__p_wxMDIClientWindow,
29743 _swigc__p_wxMDIParentFrame,
29744 _swigc__p_wxMaximizeEvent,
29745 _swigc__p_wxMenu,
29746 _swigc__p_wxMenuBar,
29747 _swigc__p_wxMenuEvent,
29748 _swigc__p_wxMenuItem,
29749 _swigc__p_wxMessageDialog,
29750 _swigc__p_wxMiniFrame,
29751 _swigc__p_wxMouseCaptureChangedEvent,
29752 _swigc__p_wxMouseEvent,
29753 _swigc__p_wxMoveEvent,
29754 _swigc__p_wxMultiChoiceDialog,
29755 _swigc__p_wxNavigationKeyEvent,
29756 _swigc__p_wxNcPaintEvent,
29757 _swigc__p_wxNotifyEvent,
29758 _swigc__p_wxObject,
29759 _swigc__p_wxPCXHandler,
29760 _swigc__p_wxPNGHandler,
29761 _swigc__p_wxPNMHandler,
29762 _swigc__p_wxPageSetupDialog,
29763 _swigc__p_wxPageSetupDialogData,
29764 _swigc__p_wxPaintEvent,
29765 _swigc__p_wxPaletteChangedEvent,
29766 _swigc__p_wxPanel,
29767 _swigc__p_wxPaperSize,
29768 _swigc__p_wxPasswordEntryDialog,
29769 _swigc__p_wxPoint,
29770 _swigc__p_wxPopupWindow,
29771 _swigc__p_wxPreviewCanvas,
29772 _swigc__p_wxPreviewControlBar,
29773 _swigc__p_wxPreviewFrame,
29774 _swigc__p_wxPrintData,
29775 _swigc__p_wxPrintDialog,
29776 _swigc__p_wxPrintDialogData,
29777 _swigc__p_wxPrintPreview,
29778 _swigc__p_wxPrinter,
29779 _swigc__p_wxProgressDialog,
29780 _swigc__p_wxPyApp,
29781 _swigc__p_wxPyCommandEvent,
29782 _swigc__p_wxPyEvent,
29783 _swigc__p_wxPyHtmlListBox,
29784 _swigc__p_wxPyImageHandler,
29785 _swigc__p_wxPyPanel,
29786 _swigc__p_wxPyPopupTransientWindow,
29787 _swigc__p_wxPyPreviewControlBar,
29788 _swigc__p_wxPyPreviewFrame,
29789 _swigc__p_wxPyPrintPreview,
29790 _swigc__p_wxPyPrintout,
29791 _swigc__p_wxPyScrolledWindow,
29792 _swigc__p_wxPySizer,
29793 _swigc__p_wxPyTaskBarIcon,
29794 _swigc__p_wxPyVListBox,
29795 _swigc__p_wxPyVScrolledWindow,
29796 _swigc__p_wxPyValidator,
29797 _swigc__p_wxPyWindow,
29798 _swigc__p_wxQueryLayoutInfoEvent,
29799 _swigc__p_wxQueryNewPaletteEvent,
29800 _swigc__p_wxRect,
29801 _swigc__p_wxRegion,
29802 _swigc__p_wxSashEvent,
29803 _swigc__p_wxSashLayoutWindow,
29804 _swigc__p_wxSashWindow,
29805 _swigc__p_wxScrollEvent,
29806 _swigc__p_wxScrollWinEvent,
29807 _swigc__p_wxScrolledWindow,
29808 _swigc__p_wxSetCursorEvent,
29809 _swigc__p_wxShowEvent,
29810 _swigc__p_wxSingleChoiceDialog,
29811 _swigc__p_wxSize,
29812 _swigc__p_wxSizeEvent,
29813 _swigc__p_wxSizer,
29814 _swigc__p_wxSizerItem,
29815 _swigc__p_wxSplashScreen,
29816 _swigc__p_wxSplashScreenWindow,
29817 _swigc__p_wxSplitterEvent,
29818 _swigc__p_wxSplitterWindow,
29819 _swigc__p_wxStaticBoxSizer,
29820 _swigc__p_wxStatusBar,
29821 _swigc__p_wxStdDialogButtonSizer,
29822 _swigc__p_wxString,
29823 _swigc__p_wxSysColourChangedEvent,
29824 _swigc__p_wxTIFFHandler,
29825 _swigc__p_wxTaskBarIcon,
29826 _swigc__p_wxTaskBarIconEvent,
29827 _swigc__p_wxTextEntryDialog,
29828 _swigc__p_wxTipWindow,
29829 _swigc__p_wxToolBar,
29830 _swigc__p_wxTopLevelWindow,
29831 _swigc__p_wxUpdateUIEvent,
29832 _swigc__p_wxValidator,
29833 _swigc__p_wxVisualAttributes,
29834 _swigc__p_wxWindow,
29835 _swigc__p_wxWindowCreateEvent,
29836 _swigc__p_wxWindowDestroyEvent,
29837 _swigc__p_wxXPMHandler,
29838 _swigc__ptrdiff_t,
29839 _swigc__std__ptrdiff_t,
29840 _swigc__unsigned_int,
d55e5bfc
RD
29841};
29842
29843
29844/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29845
29846static swig_const_info swig_const_table[] = {
c370783e 29847{0, 0, 0, 0.0, 0, 0}};
d55e5bfc
RD
29848
29849#ifdef __cplusplus
29850}
29851#endif
32fe5131
RD
29852/*************************************************************************
29853 * Type initialization:
29854 * This problem is tough by the requirement that no dynamic
29855 * memory is used. Also, since swig_type_info structures store pointers to
29856 * swig_cast_info structures and swig_cast_info structures store pointers back
29857 * to swig_type_info structures, we need some lookup code at initialization.
29858 * The idea is that swig generates all the structures that are needed.
29859 * The runtime then collects these partially filled structures.
29860 * The SWIG_InitializeModule function takes these initial arrays out of
29861 * swig_module, and does all the lookup, filling in the swig_module.types
29862 * array with the correct data and linking the correct swig_cast_info
29863 * structures together.
29864
29865 * The generated swig_type_info structures are assigned staticly to an initial
29866 * array. We just loop though that array, and handle each type individually.
29867 * First we lookup if this type has been already loaded, and if so, use the
29868 * loaded structure instead of the generated one. Then we have to fill in the
29869 * cast linked list. The cast data is initially stored in something like a
29870 * two-dimensional array. Each row corresponds to a type (there are the same
29871 * number of rows as there are in the swig_type_initial array). Each entry in
29872 * a column is one of the swig_cast_info structures for that type.
29873 * The cast_initial array is actually an array of arrays, because each row has
29874 * a variable number of columns. So to actually build the cast linked list,
29875 * we find the array of casts associated with the type, and loop through it
29876 * adding the casts to the list. The one last trick we need to do is making
29877 * sure the type pointer in the swig_cast_info struct is correct.
29878
29879 * First off, we lookup the cast->type name to see if it is already loaded.
29880 * There are three cases to handle:
29881 * 1) If the cast->type has already been loaded AND the type we are adding
29882 * casting info to has not been loaded (it is in this module), THEN we
29883 * replace the cast->type pointer with the type pointer that has already
29884 * been loaded.
29885 * 2) If BOTH types (the one we are adding casting info to, and the
29886 * cast->type) are loaded, THEN the cast info has already been loaded by
29887 * the previous module so we just ignore it.
29888 * 3) Finally, if cast->type has not already been loaded, then we add that
29889 * swig_cast_info to the linked list (because the cast->type) pointer will
29890 * be correct.
29891**/
29892
29893#ifdef __cplusplus
29894extern "C" {
29895#if 0
29896} /* c-mode */
29897#endif
29898#endif
29899
29900#if 0
29901#define SWIGRUNTIME_DEBUG
29902#endif
29903
29904SWIGRUNTIME void
29905SWIG_InitializeModule(void *clientdata) {
29906 size_t i;
29907 swig_module_info *module_head;
29908 static int init_run = 0;
29909
29910 clientdata = clientdata;
29911
29912 if (init_run) return;
29913 init_run = 1;
29914
29915 /* Initialize the swig_module */
29916 swig_module.type_initial = swig_type_initial;
29917 swig_module.cast_initial = swig_cast_initial;
29918
29919 /* Try and load any already created modules */
29920 module_head = SWIG_GetModule(clientdata);
29921 if (module_head) {
29922 swig_module.next = module_head->next;
29923 module_head->next = &swig_module;
29924 } else {
29925 /* This is the first module loaded */
29926 swig_module.next = &swig_module;
29927 SWIG_SetModule(clientdata, &swig_module);
29928 }
29929
29930 /* Now work on filling in swig_module.types */
29931#ifdef SWIGRUNTIME_DEBUG
29932 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
29933#endif
29934 for (i = 0; i < swig_module.size; ++i) {
29935 swig_type_info *type = 0;
29936 swig_type_info *ret;
29937 swig_cast_info *cast;
29938
29939#ifdef SWIGRUNTIME_DEBUG
29940 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
29941#endif
29942
29943 /* if there is another module already loaded */
29944 if (swig_module.next != &swig_module) {
29945 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
29946 }
29947 if (type) {
29948 /* Overwrite clientdata field */
29949#ifdef SWIGRUNTIME_DEBUG
29950 printf("SWIG_InitializeModule: found type %s\n", type->name);
29951#endif
29952 if (swig_module.type_initial[i]->clientdata) {
29953 type->clientdata = swig_module.type_initial[i]->clientdata;
29954#ifdef SWIGRUNTIME_DEBUG
29955 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
29956#endif
29957 }
29958 } else {
29959 type = swig_module.type_initial[i];
29960 }
29961
29962 /* Insert casting types */
29963 cast = swig_module.cast_initial[i];
29964 while (cast->type) {
29965 /* Don't need to add information already in the list */
29966 ret = 0;
29967#ifdef SWIGRUNTIME_DEBUG
29968 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
29969#endif
29970 if (swig_module.next != &swig_module) {
29971 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
29972#ifdef SWIGRUNTIME_DEBUG
29973 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
29974#endif
29975 }
29976 if (ret) {
29977 if (type == swig_module.type_initial[i]) {
29978#ifdef SWIGRUNTIME_DEBUG
29979 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
29980#endif
29981 cast->type = ret;
29982 ret = 0;
29983 } else {
29984 /* Check for casting already in the list */
29985 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
29986#ifdef SWIGRUNTIME_DEBUG
29987 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
29988#endif
29989 if (!ocast) ret = 0;
29990 }
29991 }
29992
29993 if (!ret) {
29994#ifdef SWIGRUNTIME_DEBUG
29995 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
29996#endif
29997 if (type->cast) {
29998 type->cast->prev = cast;
29999 cast->next = type->cast;
30000 }
30001 type->cast = cast;
30002 }
30003 cast++;
30004 }
30005 /* Set entry in modules->types array equal to the type */
30006 swig_module.types[i] = type;
30007 }
30008 swig_module.types[i] = 0;
30009
30010#ifdef SWIGRUNTIME_DEBUG
30011 printf("**** SWIG_InitializeModule: Cast List ******\n");
30012 for (i = 0; i < swig_module.size; ++i) {
30013 int j = 0;
30014 swig_cast_info *cast = swig_module.cast_initial[i];
30015 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
30016 while (cast->type) {
30017 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
30018 cast++;
30019 ++j;
30020 }
30021 printf("---- Total casts: %d\n",j);
30022 }
30023 printf("**** SWIG_InitializeModule: Cast List ******\n");
30024#endif
30025}
30026
30027/* This function will propagate the clientdata field of type to
30028* any new swig_type_info structures that have been added into the list
30029* of equivalent types. It is like calling
30030* SWIG_TypeClientData(type, clientdata) a second time.
30031*/
30032SWIGRUNTIME void
30033SWIG_PropagateClientData(void) {
30034 size_t i;
30035 swig_cast_info *equiv;
30036 static int init_run = 0;
30037
30038 if (init_run) return;
30039 init_run = 1;
30040
30041 for (i = 0; i < swig_module.size; i++) {
30042 if (swig_module.types[i]->clientdata) {
30043 equiv = swig_module.types[i]->cast;
30044 while (equiv) {
30045 if (!equiv->converter) {
30046 if (equiv->type && !equiv->type->clientdata)
30047 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
30048 }
30049 equiv = equiv->next;
30050 }
30051 }
30052 }
30053}
30054
30055#ifdef __cplusplus
30056#if 0
30057{
30058 /* c-mode */
30059#endif
30060}
30061#endif
30062
d55e5bfc 30063
36ed4f51
RD
30064
30065#ifdef __cplusplus
30066extern "C" {
30067#endif
30068
30069 /* Python-specific SWIG API */
30070#define SWIG_newvarlink() SWIG_Python_newvarlink()
30071#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
30072#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
30073
30074 /* -----------------------------------------------------------------------------
30075 * global variable support code.
30076 * ----------------------------------------------------------------------------- */
30077
30078 typedef struct swig_globalvar {
30079 char *name; /* Name of global variable */
32fe5131 30080 PyObject *(*get_attr)(void); /* Return the current value */
36ed4f51
RD
30081 int (*set_attr)(PyObject *); /* Set the value */
30082 struct swig_globalvar *next;
30083 } swig_globalvar;
30084
30085 typedef struct swig_varlinkobject {
30086 PyObject_HEAD
30087 swig_globalvar *vars;
30088 } swig_varlinkobject;
30089
32fe5131 30090 SWIGINTERN PyObject *
36ed4f51
RD
30091 swig_varlink_repr(swig_varlinkobject *v) {
30092 v = v;
30093 return PyString_FromString("<Swig global variables>");
30094 }
30095
32fe5131 30096 SWIGINTERN int
36ed4f51
RD
30097 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
30098 swig_globalvar *var;
30099 flags = flags;
30100 fprintf(fp,"Swig global variables { ");
30101 for (var = v->vars; var; var=var->next) {
30102 fprintf(fp,"%s", var->name);
30103 if (var->next) fprintf(fp,", ");
30104 }
30105 fprintf(fp," }\n");
30106 return 0;
30107 }
30108
32fe5131 30109 SWIGINTERN PyObject *
36ed4f51
RD
30110 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
30111 swig_globalvar *var = v->vars;
30112 while (var) {
30113 if (strcmp(var->name,n) == 0) {
30114 return (*var->get_attr)();
30115 }
30116 var = var->next;
30117 }
30118 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
30119 return NULL;
30120 }
30121
32fe5131 30122 SWIGINTERN int
36ed4f51
RD
30123 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
30124 swig_globalvar *var = v->vars;
30125 while (var) {
30126 if (strcmp(var->name,n) == 0) {
30127 return (*var->set_attr)(p);
30128 }
30129 var = var->next;
30130 }
30131 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
30132 return 1;
30133 }
30134
32fe5131
RD
30135 SWIGINTERN PyTypeObject*
30136 swig_varlink_type(void) {
30137 static char varlink__doc__[] = "Swig var link object";
30138 static PyTypeObject varlink_type
30139#if !defined(__cplusplus)
30140 ;
30141 static int type_init = 0;
30142 if (!type_init) {
30143 PyTypeObject tmp
30144#endif
30145 = {
30146 PyObject_HEAD_INIT(&PyType_Type)
30147 0, /* Number of items in variable part (ob_size) */
30148 (char *)"swigvarlink", /* Type name (tp_name) */
30149 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
30150 0, /* Itemsize (tp_itemsize) */
30151 0, /* Deallocator (tp_dealloc) */
30152 (printfunc) swig_varlink_print, /* Print (tp_print) */
30153 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
30154 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
30155 0, /* tp_compare */
30156 (reprfunc) swig_varlink_repr, /* tp_repr */
30157 0, /* tp_as_number */
30158 0, /* tp_as_sequence */
30159 0, /* tp_as_mapping */
30160 0, /* tp_hash */
30161 0, /* tp_call */
30162 0, /* tp_str */
30163 0, /* tp_getattro */
30164 0, /* tp_setattro */
30165 0, /* tp_as_buffer */
30166 0, /* tp_flags */
30167 varlink__doc__, /* tp_doc */
36ed4f51 30168#if PY_VERSION_HEX >= 0x02000000
32fe5131
RD
30169 0, /* tp_traverse */
30170 0, /* tp_clear */
36ed4f51
RD
30171#endif
30172#if PY_VERSION_HEX >= 0x02010000
32fe5131
RD
30173 0, /* tp_richcompare */
30174 0, /* tp_weaklistoffset */
36ed4f51
RD
30175#endif
30176#if PY_VERSION_HEX >= 0x02020000
32fe5131 30177 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
36ed4f51
RD
30178#endif
30179#if PY_VERSION_HEX >= 0x02030000
32fe5131 30180 0, /* tp_del */
36ed4f51
RD
30181#endif
30182#ifdef COUNT_ALLOCS
32fe5131 30183 0,0,0,0 /* tp_alloc -> tp_next */
36ed4f51 30184#endif
32fe5131
RD
30185 };
30186#if !defined(__cplusplus)
30187 varlink_type = tmp;
30188 type_init = 1;
30189 }
30190#endif
30191 return &varlink_type;
30192 }
36ed4f51
RD
30193
30194 /* Create a variable linking object for use later */
32fe5131 30195 SWIGINTERN PyObject *
36ed4f51 30196 SWIG_Python_newvarlink(void) {
32fe5131
RD
30197 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
30198 if (result) {
30199 result->vars = 0;
30200 }
36ed4f51
RD
30201 return ((PyObject*) result);
30202 }
30203
32fe5131 30204 SWIGINTERN void
36ed4f51 30205 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
32fe5131
RD
30206 swig_varlinkobject *v = (swig_varlinkobject *) p;
30207 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
30208 if (gv) {
30209 size_t size = strlen(name)+1;
30210 gv->name = (char *)malloc(size);
30211 if (gv->name) {
30212 strncpy(gv->name,name,size);
30213 gv->get_attr = get_attr;
30214 gv->set_attr = set_attr;
30215 gv->next = v->vars;
30216 }
30217 }
36ed4f51
RD
30218 v->vars = gv;
30219 }
30220
30221 /* -----------------------------------------------------------------------------
30222 * constants/methods manipulation
30223 * ----------------------------------------------------------------------------- */
30224
30225 /* Install Constants */
32fe5131 30226 SWIGINTERN void
36ed4f51
RD
30227 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
30228 PyObject *obj = 0;
30229 size_t i;
32fe5131 30230 for (i = 0; constants[i].type; ++i) {
36ed4f51
RD
30231 switch(constants[i].type) {
30232 case SWIG_PY_INT:
30233 obj = PyInt_FromLong(constants[i].lvalue);
30234 break;
30235 case SWIG_PY_FLOAT:
30236 obj = PyFloat_FromDouble(constants[i].dvalue);
30237 break;
30238 case SWIG_PY_STRING:
30239 if (constants[i].pvalue) {
30240 obj = PyString_FromString((char *) constants[i].pvalue);
30241 } else {
30242 Py_INCREF(Py_None);
30243 obj = Py_None;
30244 }
30245 break;
30246 case SWIG_PY_POINTER:
30247 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
30248 break;
30249 case SWIG_PY_BINARY:
30250 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
30251 break;
30252 default:
30253 obj = 0;
30254 break;
30255 }
30256 if (obj) {
30257 PyDict_SetItemString(d,constants[i].name,obj);
30258 Py_DECREF(obj);
30259 }
30260 }
30261 }
30262
30263 /* -----------------------------------------------------------------------------*/
30264 /* Fix SwigMethods to carry the callback ptrs when needed */
30265 /* -----------------------------------------------------------------------------*/
30266
32fe5131 30267 SWIGINTERN void
36ed4f51
RD
30268 SWIG_Python_FixMethods(PyMethodDef *methods,
30269 swig_const_info *const_table,
30270 swig_type_info **types,
30271 swig_type_info **types_initial) {
30272 size_t i;
30273 for (i = 0; methods[i].ml_name; ++i) {
30274 char *c = methods[i].ml_doc;
30275 if (c && (c = strstr(c, "swig_ptr: "))) {
30276 int j;
30277 swig_const_info *ci = 0;
30278 char *name = c + 10;
32fe5131 30279 for (j = 0; const_table[j].type; ++j) {
36ed4f51
RD
30280 if (strncmp(const_table[j].name, name,
30281 strlen(const_table[j].name)) == 0) {
30282 ci = &(const_table[j]);
30283 break;
30284 }
30285 }
30286 if (ci) {
30287 size_t shift = (ci->ptype) - types;
30288 swig_type_info *ty = types_initial[shift];
30289 size_t ldoc = (c - methods[i].ml_doc);
30290 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
30291 char *ndoc = (char*)malloc(ldoc + lptr + 10);
32fe5131
RD
30292 if (ndoc) {
30293 char *buff = ndoc;
30294 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
30295 if (ptr) {
30296 strncpy(buff, methods[i].ml_doc, ldoc);
30297 buff += ldoc;
30298 strncpy(buff, "swig_ptr: ", 10);
30299 buff += 10;
30300 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
30301 methods[i].ml_doc = ndoc;
30302 }
30303 }
36ed4f51
RD
30304 }
30305 }
30306 }
30307 }
30308
30309 /* -----------------------------------------------------------------------------*
30310 * Initialize type list
30311 * -----------------------------------------------------------------------------*/
30312
36ed4f51
RD
30313#ifdef __cplusplus
30314}
30315#endif
30316
30317/* -----------------------------------------------------------------------------*
30318 * Partial Init method
30319 * -----------------------------------------------------------------------------*/
30320
d55e5bfc
RD
30321#ifdef __cplusplus
30322extern "C"
30323#endif
32fe5131 30324SWIGEXPORT void SWIG_init(void) {
d55e5bfc 30325 static PyObject *SWIG_globals = 0;
d55e5bfc 30326 PyObject *m, *d;
d55e5bfc 30327 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
36ed4f51
RD
30328
30329 /* Fix SwigMethods to carry the callback ptrs when needed */
32fe5131 30330 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
36ed4f51 30331
d55e5bfc
RD
30332 m = Py_InitModule((char *) SWIG_name, SwigMethods);
30333 d = PyModule_GetDict(m);
30334
32fe5131 30335 SWIG_InitializeModule(0);
36ed4f51
RD
30336 SWIG_InstallConstants(d,swig_const_table);
30337
30338 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
30339 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
30340 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
30341 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
30342 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
30343 {
32fe5131
RD
30344 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_From_int(static_cast<int >(wxSTAY_ON_TOP)));
30345 }
30346 {
30347 PyDict_SetItemString(d,"ICONIZE", SWIG_From_int(static_cast<int >(wxICONIZE)));
36ed4f51
RD
30348 }
30349 {
32fe5131 30350 PyDict_SetItemString(d,"MINIMIZE", SWIG_From_int(static_cast<int >(wxMINIMIZE)));
36ed4f51
RD
30351 }
30352 {
32fe5131 30353 PyDict_SetItemString(d,"MAXIMIZE", SWIG_From_int(static_cast<int >(wxMAXIMIZE)));
36ed4f51
RD
30354 }
30355 {
32fe5131 30356 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_From_int(static_cast<int >(wxCLOSE_BOX)));
36ed4f51
RD
30357 }
30358 {
32fe5131 30359 PyDict_SetItemString(d,"THICK_FRAME", SWIG_From_int(static_cast<int >(wxTHICK_FRAME)));
36ed4f51
RD
30360 }
30361 {
32fe5131 30362 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_From_int(static_cast<int >(wxSYSTEM_MENU)));
36ed4f51
RD
30363 }
30364 {
32fe5131 30365 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_From_int(static_cast<int >(wxMINIMIZE_BOX)));
36ed4f51
RD
30366 }
30367 {
32fe5131 30368 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_From_int(static_cast<int >(wxMAXIMIZE_BOX)));
36ed4f51
RD
30369 }
30370 {
32fe5131 30371 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_From_int(static_cast<int >(wxTINY_CAPTION_HORIZ)));
36ed4f51
RD
30372 }
30373 {
32fe5131 30374 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_From_int(static_cast<int >(wxTINY_CAPTION_VERT)));
36ed4f51
RD
30375 }
30376 {
32fe5131 30377 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_From_int(static_cast<int >(wxRESIZE_BOX)));
36ed4f51
RD
30378 }
30379 {
32fe5131 30380 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_From_int(static_cast<int >(wxRESIZE_BORDER)));
36ed4f51
RD
30381 }
30382 {
32fe5131 30383 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_From_int(static_cast<int >(wxDIALOG_NO_PARENT)));
36ed4f51
RD
30384 }
30385 {
32fe5131 30386 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_From_int(static_cast<int >(wxDEFAULT_FRAME_STYLE)));
36ed4f51
RD
30387 }
30388 {
32fe5131 30389 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_From_int(static_cast<int >(wxDEFAULT_DIALOG_STYLE)));
36ed4f51
RD
30390 }
30391 {
32fe5131 30392 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_From_int(static_cast<int >(wxFRAME_TOOL_WINDOW)));
36ed4f51
RD
30393 }
30394 {
32fe5131 30395 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_From_int(static_cast<int >(wxFRAME_FLOAT_ON_PARENT)));
36ed4f51
RD
30396 }
30397 {
32fe5131 30398 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_From_int(static_cast<int >(wxFRAME_NO_WINDOW_MENU)));
36ed4f51
RD
30399 }
30400 {
32fe5131 30401 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_From_int(static_cast<int >(wxFRAME_NO_TASKBAR)));
36ed4f51
RD
30402 }
30403 {
32fe5131 30404 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_From_int(static_cast<int >(wxFRAME_SHAPED)));
36ed4f51
RD
30405 }
30406 {
32fe5131 30407 PyDict_SetItemString(d,"FRAME_DRAWER", SWIG_From_int(static_cast<int >(wxFRAME_DRAWER)));
36ed4f51
RD
30408 }
30409 {
32fe5131 30410 PyDict_SetItemString(d,"FRAME_EX_METAL", SWIG_From_int(static_cast<int >(wxFRAME_EX_METAL)));
36ed4f51 30411 }
f491ed97 30412 {
32fe5131 30413 PyDict_SetItemString(d,"DIALOG_EX_METAL", SWIG_From_int(static_cast<int >(wxDIALOG_EX_METAL)));
f491ed97
RD
30414 }
30415 {
32fe5131 30416 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_From_int(static_cast<int >(wxDIALOG_MODAL)));
f491ed97 30417 }
36ed4f51 30418 {
32fe5131 30419 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_From_int(static_cast<int >(wxDIALOG_MODELESS)));
36ed4f51
RD
30420 }
30421 {
32fe5131 30422 PyDict_SetItemString(d,"USER_COLOURS", SWIG_From_int(static_cast<int >(wxUSER_COLOURS)));
36ed4f51
RD
30423 }
30424 {
32fe5131 30425 PyDict_SetItemString(d,"NO_3D", SWIG_From_int(static_cast<int >(wxNO_3D)));
36ed4f51
RD
30426 }
30427 {
32fe5131 30428 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOMENUBAR)));
36ed4f51
RD
30429 }
30430 {
32fe5131 30431 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOTOOLBAR)));
36ed4f51
RD
30432 }
30433 {
32fe5131 30434 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOSTATUSBAR)));
36ed4f51
RD
30435 }
30436 {
32fe5131 30437 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOBORDER)));
36ed4f51
RD
30438 }
30439 {
32fe5131 30440 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOCAPTION)));
36ed4f51
RD
30441 }
30442 {
32fe5131 30443 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_From_int(static_cast<int >(wxFULLSCREEN_ALL)));
36ed4f51
RD
30444 }
30445 {
32fe5131 30446 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_From_int(static_cast<int >(wxTOPLEVEL_EX_DIALOG)));
36ed4f51
RD
30447 }
30448 {
32fe5131 30449 PyDict_SetItemString(d,"USER_ATTENTION_INFO", SWIG_From_int(static_cast<int >(wxUSER_ATTENTION_INFO)));
36ed4f51
RD
30450 }
30451 {
32fe5131 30452 PyDict_SetItemString(d,"USER_ATTENTION_ERROR", SWIG_From_int(static_cast<int >(wxUSER_ATTENTION_ERROR)));
36ed4f51
RD
30453 }
30454 {
32fe5131 30455 PyDict_SetItemString(d,"Dialog_ButtonSizerFlags", SWIG_From_int(static_cast<int >(wxDialog::ButtonSizerFlags)));
36ed4f51
RD
30456 }
30457 {
32fe5131 30458 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int(static_cast<int >(wxSPLASH_CENTRE_ON_PARENT)));
36ed4f51
RD
30459 }
30460 {
32fe5131 30461 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int(static_cast<int >(wxSPLASH_CENTRE_ON_SCREEN)));
36ed4f51
RD
30462 }
30463 {
32fe5131 30464 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_From_int(static_cast<int >(wxSPLASH_NO_CENTRE)));
36ed4f51
RD
30465 }
30466 {
32fe5131 30467 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_From_int(static_cast<int >(wxSPLASH_TIMEOUT)));
36ed4f51
RD
30468 }
30469 {
32fe5131 30470 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_From_int(static_cast<int >(wxSPLASH_NO_TIMEOUT)));
36ed4f51
RD
30471 }
30472 {
32fe5131 30473 PyDict_SetItemString(d,"SB_NORMAL", SWIG_From_int(static_cast<int >(wxSB_NORMAL)));
36ed4f51
RD
30474 }
30475 {
32fe5131 30476 PyDict_SetItemString(d,"SB_FLAT", SWIG_From_int(static_cast<int >(wxSB_FLAT)));
36ed4f51
RD
30477 }
30478 {
32fe5131 30479 PyDict_SetItemString(d,"SB_RAISED", SWIG_From_int(static_cast<int >(wxSB_RAISED)));
36ed4f51 30480 }
d55e5bfc 30481 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
36ed4f51 30482 {
32fe5131 30483 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_From_int(static_cast<int >(wxSP_NOBORDER)));
36ed4f51
RD
30484 }
30485 {
32fe5131 30486 PyDict_SetItemString(d,"SP_NOSASH", SWIG_From_int(static_cast<int >(wxSP_NOSASH)));
36ed4f51
RD
30487 }
30488 {
32fe5131 30489 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_From_int(static_cast<int >(wxSP_PERMIT_UNSPLIT)));
36ed4f51
RD
30490 }
30491 {
32fe5131 30492 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_From_int(static_cast<int >(wxSP_LIVE_UPDATE)));
36ed4f51
RD
30493 }
30494 {
32fe5131 30495 PyDict_SetItemString(d,"SP_3DSASH", SWIG_From_int(static_cast<int >(wxSP_3DSASH)));
36ed4f51
RD
30496 }
30497 {
32fe5131 30498 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_From_int(static_cast<int >(wxSP_3DBORDER)));
36ed4f51
RD
30499 }
30500 {
32fe5131 30501 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_From_int(static_cast<int >(wxSP_NO_XP_THEME)));
36ed4f51
RD
30502 }
30503 {
32fe5131 30504 PyDict_SetItemString(d,"SP_BORDER", SWIG_From_int(static_cast<int >(wxSP_BORDER)));
36ed4f51
RD
30505 }
30506 {
32fe5131 30507 PyDict_SetItemString(d,"SP_3D", SWIG_From_int(static_cast<int >(wxSP_3D)));
36ed4f51
RD
30508 }
30509 {
32fe5131 30510 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_From_int(static_cast<int >(wxSPLIT_HORIZONTAL)));
36ed4f51
RD
30511 }
30512 {
32fe5131 30513 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_From_int(static_cast<int >(wxSPLIT_VERTICAL)));
36ed4f51
RD
30514 }
30515 {
32fe5131 30516 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_From_int(static_cast<int >(wxSPLIT_DRAG_NONE)));
36ed4f51
RD
30517 }
30518 {
32fe5131 30519 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_From_int(static_cast<int >(wxSPLIT_DRAG_DRAGGING)));
36ed4f51
RD
30520 }
30521 {
32fe5131 30522 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int(static_cast<int >(wxSPLIT_DRAG_LEFT_DOWN)));
36ed4f51 30523 }
d55e5bfc
RD
30524 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
30525 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
30526 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
30527 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
30528 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
30529 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
36ed4f51 30530 {
32fe5131 30531 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_From_int(static_cast<int >(wxSASH_DRAG_NONE)));
36ed4f51
RD
30532 }
30533 {
32fe5131 30534 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_From_int(static_cast<int >(wxSASH_DRAG_DRAGGING)));
36ed4f51
RD
30535 }
30536 {
32fe5131 30537 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_From_int(static_cast<int >(wxSASH_DRAG_LEFT_DOWN)));
36ed4f51
RD
30538 }
30539 {
32fe5131 30540 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_From_int(static_cast<int >(wxSW_NOBORDER)));
36ed4f51
RD
30541 }
30542 {
32fe5131 30543 PyDict_SetItemString(d,"SW_BORDER", SWIG_From_int(static_cast<int >(wxSW_BORDER)));
36ed4f51
RD
30544 }
30545 {
32fe5131 30546 PyDict_SetItemString(d,"SW_3DSASH", SWIG_From_int(static_cast<int >(wxSW_3DSASH)));
36ed4f51
RD
30547 }
30548 {
32fe5131 30549 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_From_int(static_cast<int >(wxSW_3DBORDER)));
36ed4f51
RD
30550 }
30551 {
32fe5131 30552 PyDict_SetItemString(d,"SW_3D", SWIG_From_int(static_cast<int >(wxSW_3D)));
36ed4f51
RD
30553 }
30554 {
32fe5131 30555 PyDict_SetItemString(d,"SASH_TOP", SWIG_From_int(static_cast<int >(wxSASH_TOP)));
36ed4f51
RD
30556 }
30557 {
32fe5131 30558 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_From_int(static_cast<int >(wxSASH_RIGHT)));
36ed4f51
RD
30559 }
30560 {
32fe5131 30561 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_From_int(static_cast<int >(wxSASH_BOTTOM)));
36ed4f51
RD
30562 }
30563 {
32fe5131 30564 PyDict_SetItemString(d,"SASH_LEFT", SWIG_From_int(static_cast<int >(wxSASH_LEFT)));
36ed4f51
RD
30565 }
30566 {
32fe5131 30567 PyDict_SetItemString(d,"SASH_NONE", SWIG_From_int(static_cast<int >(wxSASH_NONE)));
36ed4f51
RD
30568 }
30569 {
32fe5131 30570 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_From_int(static_cast<int >(wxSASH_STATUS_OK)));
36ed4f51
RD
30571 }
30572 {
32fe5131 30573 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int(static_cast<int >(wxSASH_STATUS_OUT_OF_RANGE)));
36ed4f51 30574 }
d55e5bfc 30575 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
36ed4f51 30576 {
32fe5131 30577 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_From_int(static_cast<int >(wxLAYOUT_HORIZONTAL)));
36ed4f51
RD
30578 }
30579 {
32fe5131 30580 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_From_int(static_cast<int >(wxLAYOUT_VERTICAL)));
36ed4f51
RD
30581 }
30582 {
32fe5131 30583 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_From_int(static_cast<int >(wxLAYOUT_NONE)));
36ed4f51
RD
30584 }
30585 {
32fe5131 30586 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_From_int(static_cast<int >(wxLAYOUT_TOP)));
36ed4f51
RD
30587 }
30588 {
32fe5131 30589 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_From_int(static_cast<int >(wxLAYOUT_LEFT)));
36ed4f51
RD
30590 }
30591 {
32fe5131 30592 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_From_int(static_cast<int >(wxLAYOUT_RIGHT)));
36ed4f51
RD
30593 }
30594 {
32fe5131 30595 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_From_int(static_cast<int >(wxLAYOUT_BOTTOM)));
36ed4f51
RD
30596 }
30597 {
32fe5131 30598 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_From_int(static_cast<int >(wxLAYOUT_LENGTH_Y)));
36ed4f51
RD
30599 }
30600 {
32fe5131 30601 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_From_int(static_cast<int >(wxLAYOUT_LENGTH_X)));
36ed4f51
RD
30602 }
30603 {
32fe5131 30604 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_From_int(static_cast<int >(wxLAYOUT_MRU_LENGTH)));
36ed4f51
RD
30605 }
30606 {
32fe5131 30607 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_From_int(static_cast<int >(wxLAYOUT_QUERY)));
36ed4f51 30608 }
d55e5bfc
RD
30609 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
30610 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
30611 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
30612
30613 // Map renamed classes back to their common name for OOR
30614 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
30615 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
30616 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
30617
30618 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
30619 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
30620 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
30621 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
30622 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
30623 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
30624 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
30625 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
30626 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
30627 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
30628 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
30629 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
30630 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
36ed4f51 30631 {
32fe5131 30632 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_From_int(static_cast<int >(wxCHOICEDLG_STYLE)));
36ed4f51
RD
30633 }
30634 {
32fe5131 30635 PyDict_SetItemString(d,"TextEntryDialogStyle", SWIG_From_int(static_cast<int >(wxTextEntryDialogStyle)));
36ed4f51 30636 }
070c48b4 30637 SWIG_addvarlink(SWIG_globals,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get, _wrap_GetPasswordFromUserPromptStr_set);
36ed4f51 30638 {
32fe5131 30639 PyDict_SetItemString(d,"FR_DOWN", SWIG_From_int(static_cast<int >(wxFR_DOWN)));
36ed4f51
RD
30640 }
30641 {
32fe5131 30642 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_From_int(static_cast<int >(wxFR_WHOLEWORD)));
36ed4f51
RD
30643 }
30644 {
32fe5131 30645 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_From_int(static_cast<int >(wxFR_MATCHCASE)));
36ed4f51
RD
30646 }
30647 {
32fe5131 30648 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_From_int(static_cast<int >(wxFR_REPLACEDIALOG)));
36ed4f51
RD
30649 }
30650 {
32fe5131 30651 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_From_int(static_cast<int >(wxFR_NOUPDOWN)));
36ed4f51
RD
30652 }
30653 {
32fe5131 30654 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_From_int(static_cast<int >(wxFR_NOMATCHCASE)));
36ed4f51
RD
30655 }
30656 {
32fe5131 30657 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_From_int(static_cast<int >(wxFR_NOWHOLEWORD)));
36ed4f51 30658 }
d55e5bfc
RD
30659 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
30660 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
30661 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
30662 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
30663 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
36ed4f51 30664 {
32fe5131 30665 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_From_int(static_cast<int >(4001)));
36ed4f51
RD
30666 }
30667 {
32fe5131 30668 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_From_int(static_cast<int >(4001)));
36ed4f51
RD
30669 }
30670 {
32fe5131 30671 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_From_int(static_cast<int >(4002)));
36ed4f51
RD
30672 }
30673 {
32fe5131 30674 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_From_int(static_cast<int >(4003)));
36ed4f51
RD
30675 }
30676 {
32fe5131 30677 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_From_int(static_cast<int >(4004)));
36ed4f51
RD
30678 }
30679 {
32fe5131 30680 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_From_int(static_cast<int >(4005)));
36ed4f51 30681 }
24d7cbea 30682 {
32fe5131 30683 PyDict_SetItemString(d,"IDM_WINDOWPREV", SWIG_From_int(static_cast<int >(4006)));
24d7cbea 30684 }
36ed4f51 30685 {
32fe5131 30686 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_From_int(static_cast<int >(4100)));
36ed4f51
RD
30687 }
30688 {
32fe5131 30689 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_From_int(static_cast<int >(4600)));
36ed4f51 30690 }
d55e5bfc
RD
30691 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
30692 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
36ed4f51 30693 {
32fe5131 30694 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_From_int(static_cast<int >(wxPRINT_MODE_NONE)));
36ed4f51
RD
30695 }
30696 {
32fe5131 30697 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_From_int(static_cast<int >(wxPRINT_MODE_PREVIEW)));
36ed4f51
RD
30698 }
30699 {
32fe5131 30700 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_From_int(static_cast<int >(wxPRINT_MODE_FILE)));
36ed4f51
RD
30701 }
30702 {
32fe5131 30703 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_From_int(static_cast<int >(wxPRINT_MODE_PRINTER)));
36ed4f51
RD
30704 }
30705 {
32fe5131 30706 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_From_int(static_cast<int >(wxPRINT_MODE_STREAM)));
36ed4f51
RD
30707 }
30708 {
32fe5131 30709 PyDict_SetItemString(d,"PRINTBIN_DEFAULT", SWIG_From_int(static_cast<int >(wxPRINTBIN_DEFAULT)));
36ed4f51
RD
30710 }
30711 {
32fe5131 30712 PyDict_SetItemString(d,"PRINTBIN_ONLYONE", SWIG_From_int(static_cast<int >(wxPRINTBIN_ONLYONE)));
36ed4f51
RD
30713 }
30714 {
32fe5131 30715 PyDict_SetItemString(d,"PRINTBIN_LOWER", SWIG_From_int(static_cast<int >(wxPRINTBIN_LOWER)));
36ed4f51
RD
30716 }
30717 {
32fe5131 30718 PyDict_SetItemString(d,"PRINTBIN_MIDDLE", SWIG_From_int(static_cast<int >(wxPRINTBIN_MIDDLE)));
36ed4f51
RD
30719 }
30720 {
32fe5131 30721 PyDict_SetItemString(d,"PRINTBIN_MANUAL", SWIG_From_int(static_cast<int >(wxPRINTBIN_MANUAL)));
36ed4f51
RD
30722 }
30723 {
32fe5131 30724 PyDict_SetItemString(d,"PRINTBIN_ENVELOPE", SWIG_From_int(static_cast<int >(wxPRINTBIN_ENVELOPE)));
36ed4f51
RD
30725 }
30726 {
32fe5131 30727 PyDict_SetItemString(d,"PRINTBIN_ENVMANUAL", SWIG_From_int(static_cast<int >(wxPRINTBIN_ENVMANUAL)));
36ed4f51
RD
30728 }
30729 {
32fe5131 30730 PyDict_SetItemString(d,"PRINTBIN_AUTO", SWIG_From_int(static_cast<int >(wxPRINTBIN_AUTO)));
36ed4f51
RD
30731 }
30732 {
32fe5131 30733 PyDict_SetItemString(d,"PRINTBIN_TRACTOR", SWIG_From_int(static_cast<int >(wxPRINTBIN_TRACTOR)));
36ed4f51
RD
30734 }
30735 {
32fe5131 30736 PyDict_SetItemString(d,"PRINTBIN_SMALLFMT", SWIG_From_int(static_cast<int >(wxPRINTBIN_SMALLFMT)));
36ed4f51
RD
30737 }
30738 {
32fe5131 30739 PyDict_SetItemString(d,"PRINTBIN_LARGEFMT", SWIG_From_int(static_cast<int >(wxPRINTBIN_LARGEFMT)));
36ed4f51
RD
30740 }
30741 {
32fe5131 30742 PyDict_SetItemString(d,"PRINTBIN_LARGECAPACITY", SWIG_From_int(static_cast<int >(wxPRINTBIN_LARGECAPACITY)));
36ed4f51
RD
30743 }
30744 {
32fe5131 30745 PyDict_SetItemString(d,"PRINTBIN_CASSETTE", SWIG_From_int(static_cast<int >(wxPRINTBIN_CASSETTE)));
36ed4f51
RD
30746 }
30747 {
32fe5131 30748 PyDict_SetItemString(d,"PRINTBIN_FORMSOURCE", SWIG_From_int(static_cast<int >(wxPRINTBIN_FORMSOURCE)));
36ed4f51
RD
30749 }
30750 {
32fe5131 30751 PyDict_SetItemString(d,"PRINTBIN_USER", SWIG_From_int(static_cast<int >(wxPRINTBIN_USER)));
36ed4f51
RD
30752 }
30753 {
32fe5131 30754 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_From_int(static_cast<int >(wxPRINTER_NO_ERROR)));
36ed4f51
RD
30755 }
30756 {
32fe5131 30757 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_From_int(static_cast<int >(wxPRINTER_CANCELLED)));
36ed4f51
RD
30758 }
30759 {
32fe5131 30760 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_From_int(static_cast<int >(wxPRINTER_ERROR)));
36ed4f51
RD
30761 }
30762 {
32fe5131 30763 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_From_int(static_cast<int >(wxPREVIEW_PRINT)));
36ed4f51
RD
30764 }
30765 {
32fe5131 30766 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_From_int(static_cast<int >(wxPREVIEW_PREVIOUS)));
36ed4f51
RD
30767 }
30768 {
32fe5131 30769 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_From_int(static_cast<int >(wxPREVIEW_NEXT)));
36ed4f51
RD
30770 }
30771 {
32fe5131 30772 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_From_int(static_cast<int >(wxPREVIEW_ZOOM)));
36ed4f51
RD
30773 }
30774 {
32fe5131 30775 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_From_int(static_cast<int >(wxPREVIEW_FIRST)));
36ed4f51
RD
30776 }
30777 {
32fe5131 30778 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_From_int(static_cast<int >(wxPREVIEW_LAST)));
36ed4f51
RD
30779 }
30780 {
32fe5131 30781 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_From_int(static_cast<int >(wxPREVIEW_GOTO)));
36ed4f51
RD
30782 }
30783 {
32fe5131 30784 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_From_int(static_cast<int >(wxPREVIEW_DEFAULT)));
36ed4f51
RD
30785 }
30786 {
32fe5131 30787 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_From_int(static_cast<int >(wxID_PREVIEW_CLOSE)));
36ed4f51
RD
30788 }
30789 {
32fe5131 30790 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_From_int(static_cast<int >(wxID_PREVIEW_NEXT)));
36ed4f51
RD
30791 }
30792 {
32fe5131 30793 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_From_int(static_cast<int >(wxID_PREVIEW_PREVIOUS)));
36ed4f51
RD
30794 }
30795 {
32fe5131 30796 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_From_int(static_cast<int >(wxID_PREVIEW_PRINT)));
36ed4f51
RD
30797 }
30798 {
32fe5131 30799 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_From_int(static_cast<int >(wxID_PREVIEW_ZOOM)));
36ed4f51
RD
30800 }
30801 {
32fe5131 30802 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_From_int(static_cast<int >(wxID_PREVIEW_FIRST)));
36ed4f51
RD
30803 }
30804 {
32fe5131 30805 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_From_int(static_cast<int >(wxID_PREVIEW_LAST)));
36ed4f51
RD
30806 }
30807 {
32fe5131 30808 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_From_int(static_cast<int >(wxID_PREVIEW_GOTO)));
36ed4f51 30809 }
d55e5bfc
RD
30810
30811 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
30812
30813}
30814