]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/mac/_windows_wrap.cpp
log wxChoice events in the same format as wxComboBox ones to make it simpler to compa...
[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 {
7e08d4ef 1655 SWIG_Python_TypeError("number", obj);
36ed4f51
RD
1656 }
1657 return 0;
1658}
1659
1660
1661#if INT_MAX != LONG_MAX
1662SWIGINTERN int
1663 SWIG_AsVal_int(PyObject *obj, int *val)
1664{
1665 const char* errmsg = val ? "int" : (char*)0;
1666 long v;
1667 if (SWIG_AsVal_long(obj, &v)) {
1668 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
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
7e08d4ef
RD
1784 static PyObject* t_output_helper(PyObject* result, PyObject* obj)
1785 {
1786 PyObject* o2;
1787 PyObject* o3;
1788 if (!result) {
1789 result = obj;
1790 } else if (result == Py_None) {
1791 Py_DECREF(result);
1792 result = obj;
1793 } else {
1794 if (!PyTuple_Check(result)) {
1795 o2 = result;
1796 result = PyTuple_New(1);
1797 PyTuple_SET_ITEM(result, 0, o2);
1798 }
1799 o3 = PyTuple_New(1);
1800 PyTuple_SetItem(o3, 0, obj);
1801 o2 = result;
1802 result = PySequence_Concat(o2, o3);
1803 Py_DECREF(o2);
1804 Py_DECREF(o3);
1805 }
1806 return result;
1807 }
36ed4f51
RD
1808
1809
1810
1811SWIGINTERN int
1812SWIG_AsVal_double(PyObject *obj, double* val)
1813{
1814 if (PyNumber_Check(obj)) {
1815 if (val) *val = PyFloat_AsDouble(obj);
1816 return 1;
1817 }
1818 else {
7e08d4ef 1819 SWIG_Python_TypeError("number", obj);
36ed4f51
RD
1820 }
1821 return 0;
1822}
d55e5bfc 1823
36ed4f51 1824
32fe5131 1825SWIGINTERNINLINE double
36ed4f51
RD
1826SWIG_As_double(PyObject* obj)
1827{
1828 double v;
1829 if (!SWIG_AsVal_double(obj, &v)) {
1830 /*
1831 this is needed to make valgrind/purify happier.
1832 */
1833 memset((void*)&v, 0, sizeof(double));
1834 }
1835 return v;
1836}
1837
1838
32fe5131 1839SWIGINTERNINLINE int
36ed4f51
RD
1840SWIG_Check_double(PyObject* obj)
1841{
1842 return SWIG_AsVal_double(obj, (double*)0);
1843}
1844
1845
32fe5131 1846 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
36ed4f51
RD
1847#define SWIG_From_double PyFloat_FromDouble
1848/*@@*/
1849
1850 static const wxString wxPyFrameNameStr(wxFrameNameStr);
1851 static const wxString wxPyDialogNameStr(wxDialogNameStr);
1852 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
1853 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
1854
32fe5131 1855 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
36ed4f51
RD
1856#define SWIG_From_long PyInt_FromLong
1857/*@@*/
1858
1859
1860
1861static wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
1862 wxRect r;
1863 self->GetFieldRect(i, r);
1864 return r;
1865 }
1866 static const wxString wxPySplitterNameStr(wxT("splitter"));
1867 static const wxString wxPySashNameStr(wxT("sashWindow"));
1868 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
1869
1870#include <wx/popupwin.h>
1871
1872
1873class wxPopupWindow : public wxWindow {
1874public:
1875 wxPopupWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
1876 wxPopupWindow() { wxPyRaiseNotImplemented(); }
1877};
1878
1879class wxPyPopupTransientWindow : public wxPopupWindow
1880{
1881public:
1882 wxPyPopupTransientWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
1883 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
1884};
1885
1886
1887#include <wx/tipwin.h>
1888
1889static wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
1890 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
1891 }
1892
1893#include <wx/tipwin.h>
1894
1895
1896#include <wx/vscroll.h>
1897
1898
1899class wxPyVScrolledWindow : public wxVScrolledWindow
1900{
32fe5131 1901 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
36ed4f51
RD
1902public:
1903 wxPyVScrolledWindow() : wxVScrolledWindow() {}
1904
1905 wxPyVScrolledWindow(wxWindow *parent,
1906 wxWindowID id = wxID_ANY,
1907 const wxPoint& pos = wxDefaultPosition,
1908 const wxSize& size = wxDefaultSize,
1909 long style = 0,
1910 const wxString& name = wxPyPanelNameStr)
1911 : wxVScrolledWindow(parent, id, pos, size, style, name)
1912 {}
1913
1914 // Overridable virtuals
1915
1916 // this function must be overridden in the derived class and it should
1917 // return the height of the given line in pixels
1918 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
1919
1920
1921 // this function doesn't have to be overridden but it may be useful to do
1922 // it if calculating the lines heights is a relatively expensive operation
1923 // as it gives the user code a possibility to calculate several of them at
1924 // once
1925 //
1926 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
1927 // shouldn't rely on the latter being called for all lines in the interval
1928 // specified here. It is also possible that OnGetLineHeight() will be
1929 // called for the lines outside of this interval, so this is really just a
1930 // hint, not a promise.
1931 //
1932 // finally note that lineMin is inclusive, while lineMax is exclusive, as
1933 // usual
1934 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
1935
1936
1937 // when the number of lines changes, we try to estimate the total height
1938 // of all lines which is a rather expensive operation in terms of lines
1939 // access, so if the user code may estimate the average height
1940 // better/faster than we do, it should override this function to implement
1941 // its own logic
1942 //
1943 // this function should return the best guess for the total height it may
1944 // make
1945 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
1946
1947
1948 // Also expose some other interesting protected methods
1949
1950
1951 // find the index of the line we need to show at the top of the window such
1952 // that the last (fully or partially) visible line is the given one
1953 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
1954 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
1955
1956 // get the total height of the lines between lineMin (inclusive) and
1957 // lineMax (exclusive)
1958 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
1959 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
1960
1961
1962 PYPRIVATE;
1963};
1964
1965IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
d55e5bfc
RD
1966
1967IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
1968IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
1969IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
1970
1971
36ed4f51 1972SWIGINTERN int
c370783e 1973SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
d55e5bfc 1974{
c370783e
RD
1975 long v = 0;
1976 if (SWIG_AsVal_long(obj, &v) && v < 0) {
7e08d4ef 1977 SWIG_Python_TypeError("unsigned number", obj);
d55e5bfc 1978 }
c370783e
RD
1979 else if (val)
1980 *val = (unsigned long)v;
1981 return 1;
d55e5bfc
RD
1982}
1983
1984
32fe5131 1985SWIGINTERNINLINE unsigned long
c370783e 1986SWIG_As_unsigned_SS_long(PyObject* obj)
d55e5bfc 1987{
c370783e
RD
1988 unsigned long v;
1989 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1990 /*
36ed4f51 1991 this is needed to make valgrind/purify happier.
c370783e
RD
1992 */
1993 memset((void*)&v, 0, sizeof(unsigned long));
d55e5bfc 1994 }
c370783e
RD
1995 return v;
1996}
1997
1998
32fe5131 1999SWIGINTERNINLINE int
c370783e
RD
2000SWIG_Check_unsigned_SS_long(PyObject* obj)
2001{
2002 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
d55e5bfc
RD
2003}
2004
2005
32fe5131 2006SWIGINTERNINLINE PyObject*
c370783e 2007 SWIG_From_unsigned_SS_long(unsigned long value)
d55e5bfc
RD
2008{
2009 return (value > LONG_MAX) ?
2010 PyLong_FromUnsignedLong(value)
32fe5131 2011 : PyInt_FromLong(static_cast<long >(value));
d55e5bfc
RD
2012}
2013
2014
2015#include <wx/vlbox.h>
2016
2017 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
2018
2019class wxPyVListBox : public wxVListBox
2020{
32fe5131 2021 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
d55e5bfc
RD
2022public:
2023 wxPyVListBox() : wxVListBox() {}
2024
2025 wxPyVListBox(wxWindow *parent,
2026 wxWindowID id = wxID_ANY,
2027 const wxPoint& pos = wxDefaultPosition,
2028 const wxSize& size = wxDefaultSize,
2029 long style = 0,
2030 const wxString& name = wxPyVListBoxNameStr)
2031 : wxVListBox(parent, id, pos, size, style, name)
2032 {}
2033
2034 // Overridable virtuals
2035
2036 // the derived class must implement this function to actually draw the item
2037 // with the given index on the provided DC
2038 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
2039 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
2040
2041
2042 // the derived class must implement this method to return the height of the
2043 // specified item
2044 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
2045 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
2046
2047
2048 // this method may be used to draw separators between the lines; note that
2049 // the rectangle may be modified, typically to deflate it a bit before
2050 // passing to OnDrawItem()
2051 //
2052 // the base class version doesn't do anything
2053 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
2054 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
2055
2056
2057 // this method is used to draw the items background and, maybe, a border
2058 // around it
2059 //
2060 // the base class version implements a reasonable default behaviour which
2061 // consists in drawing the selected item with the standard background
2062 // colour and drawing a border around the item if it is either selected or
2063 // current
2064 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
2065 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
2066
2067
2068 PYPRIVATE;
2069};
2070
2071IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
2072
2073IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
2074IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
2075IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
2076IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
2077
2078
36ed4f51 2079static PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
09c21d3b
RD
2080 unsigned long cookie = 0;
2081 int selected = self->GetFirstSelected(cookie);
5a446332 2082 wxPyBlock_t blocked = wxPyBeginBlockThreads();
09c21d3b
RD
2083 PyObject* tup = PyTuple_New(2);
2084 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
2085 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
2086 wxPyEndBlockThreads(blocked);
2087 return tup;
2088 }
36ed4f51 2089static PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
09c21d3b 2090 int selected = self->GetNextSelected(cookie);
5a446332 2091 wxPyBlock_t blocked = wxPyBeginBlockThreads();
09c21d3b
RD
2092 PyObject* tup = PyTuple_New(2);
2093 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
2094 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
2095 wxPyEndBlockThreads(blocked);
2096 return tup;
2097 }
d55e5bfc
RD
2098
2099#include <wx/htmllbox.h>
2100
2101
2102class wxPyHtmlListBox : public wxHtmlListBox
2103{
32fe5131 2104 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
d55e5bfc
RD
2105public:
2106 wxPyHtmlListBox() : wxHtmlListBox() {}
2107
2108 wxPyHtmlListBox(wxWindow *parent,
2109 wxWindowID id = wxID_ANY,
2110 const wxPoint& pos = wxDefaultPosition,
2111 const wxSize& size = wxDefaultSize,
2112 long style = 0,
2113 const wxString& name = wxPyVListBoxNameStr)
2114 : wxHtmlListBox(parent, id, pos, size, style, name)
2115 {}
2116
2117 // Overridable virtuals
2118
2119 // this method must be implemented in the derived class and should return
2120 // the body (i.e. without <html>) of the HTML for the given item
2121 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
2122
2123 // this function may be overridden to decorate HTML returned by OnGetItem()
2124 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
2125
2126// TODO:
2127// // this method allows to customize the selection appearance: it may be used
2128// // to specify the colour of the text which normally has the given colour
2129// // colFg when it is inside the selection
2130// //
2131// // by default, the original colour is not used at all and all text has the
2132// // same (default for this system) colour inside selection
2133// virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
2134
2135// // this is the same as GetSelectedTextColour() but allows to customize the
2136// // background colour -- this is even more rarely used as you can change it
2137// // globally using SetSelectionBackground()
2138// virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
2139
2140
2141 PYPRIVATE;
2142};
2143
2144
2145IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
2146
2147IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
2148IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
2149
2150
2151
2152
2153
b411df4a
RD
2154#ifndef wxHAS_TASK_BAR_ICON
2155// implement dummy classes for platforms that don't have it
d55e5bfc
RD
2156
2157class wxTaskBarIcon : public wxEvtHandler
2158{
2159public:
2160 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
2161};
09c21d3b 2162
d55e5bfc
RD
2163
2164class wxTaskBarIconEvent : public wxEvent
2165{
2166public:
2167 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
2168 { wxPyRaiseNotImplemented(); }
2169 virtual wxEvent* Clone() const { return NULL; }
b411df4a
RD
2170 bool IsOk() const { return false; }
2171 bool IsIconInstalled() const { return false; }
2172 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
2173 bool RemoveIcon() { return false; }
2174 bool PopupMenu(wxMenu *menu) { return false; }
d55e5bfc
RD
2175};
2176
2177enum {
2178 wxEVT_TASKBAR_MOVE = 0,
2179 wxEVT_TASKBAR_LEFT_DOWN = 0,
2180 wxEVT_TASKBAR_LEFT_UP = 0,
2181 wxEVT_TASKBAR_RIGHT_DOWN = 0,
2182 wxEVT_TASKBAR_RIGHT_UP = 0,
2183 wxEVT_TASKBAR_LEFT_DCLICK = 0,
2184 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
2185};
09c21d3b
RD
2186
2187
2188#else
5e483524
RD
2189// Otherwise make a class that can virtualize CreatePopupMenu
2190class wxPyTaskBarIcon : public wxTaskBarIcon
2191{
32fe5131 2192 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
5e483524
RD
2193public:
2194 wxPyTaskBarIcon() : wxTaskBarIcon()
2195 {}
09c21d3b 2196
5e483524
RD
2197 wxMenu* CreatePopupMenu() {
2198 wxMenu *rval = NULL;
2199 bool found;
5a446332 2200 wxPyBlock_t blocked = wxPyBeginBlockThreads();
5e483524
RD
2201 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
2202 PyObject* ro;
2203 wxMenu* ptr;
2204 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
2205 if (ro) {
2206 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
2207 rval = ptr;
2208 Py_DECREF(ro);
2209 }
2210 }
2211 wxPyEndBlockThreads(blocked);
2212 if (! found)
2213 rval = wxTaskBarIcon::CreatePopupMenu();
2214 return rval;
2215 }
d55e5bfc 2216
5e483524
RD
2217 PYPRIVATE;
2218};
d55e5bfc 2219
5e483524 2220IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
d55e5bfc 2221
5e483524
RD
2222#endif
2223
36ed4f51 2224static void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
5e483524
RD
2225 self->RemoveIcon();
2226 delete self;
d55e5bfc
RD
2227 }
2228 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
2229 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
2230 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
2231 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
2232 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
2233 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
36ed4f51 2234static PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
d55e5bfc
RD
2235 wxArrayString arr;
2236 self->GetFilenames(arr);
2237 return wxArrayString2PyList_helper(arr);
2238 }
36ed4f51 2239static PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
d55e5bfc
RD
2240 wxArrayString arr;
2241 self->GetPaths(arr);
2242 return wxArrayString2PyList_helper(arr);
2243 }
36ed4f51 2244static PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
d55e5bfc
RD
2245 return wxArrayInt2PyList_helper(self->GetSelections());
2246 }
36ed4f51 2247static 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
2248 return new wxSingleChoiceDialog(parent, message, caption,
2249 choices, choices_array, NULL, style, pos);
2250 }
070c48b4 2251 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
d55e5bfc
RD
2252
2253#include <wx/mdi.h>
2254
2255 // C++ version of Python aware wxWindow
2256class wxPyWindow : public wxWindow
2257{
2258 DECLARE_DYNAMIC_CLASS(wxPyWindow)
2259public:
2260 wxPyWindow() : wxWindow() {}
2261 wxPyWindow(wxWindow* parent, const wxWindowID id,
2262 const wxPoint& pos = wxDefaultPosition,
2263 const wxSize& size = wxDefaultSize,
2264 long style = 0,
2265 const wxString& name = wxPyPanelNameStr)
2266 : wxWindow(parent, id, pos, size, style, name) {}
2267
a5ee0656 2268 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
d55e5bfc 2269
976dbff5
RD
2270 bool DoEraseBackground(wxDC* dc) {
2271#ifdef __WXMSW__
2272 return wxWindow::DoEraseBackground(dc->GetHDC());
2273#else
2274 dc->SetBackground(wxBrush(GetBackgroundColour()));
2275 dc->Clear();
2276 return true;
2277#endif
2278 }
2279
d55e5bfc
RD
2280 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2281 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2282 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2283 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2284
2285 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2286 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2287 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2288
2289 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2290 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2291
2292 DEC_PYCALLBACK__(InitDialog);
2293 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2294 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2295 DEC_PYCALLBACK_BOOL_(Validate);
2296
2297 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2298 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2299 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2300
2301 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2302 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2303
a5ee0656 2304 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
a5ee0656 2305 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 2306
51b83b37
RD
2307 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2308
8d38bd1d
RD
2309 DEC_PYCALLBACK_VOID_(OnInternalIdle);
2310
d55e5bfc
RD
2311 PYPRIVATE;
2312};
2313
2314IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
2315
2316IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
2317IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
2318IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
2319IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
2320
2321IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
2322IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
2323IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
2324
2325IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
2326IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
2327
2328IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
2329IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
2330IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
2331IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
2332
2333IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
2334IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
2335IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
2336
2337IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
2338IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
2339
a5ee0656 2340IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
a5ee0656 2341IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
51b83b37
RD
2342
2343IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
d55e5bfc 2344
8d38bd1d
RD
2345IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
2346
d55e5bfc
RD
2347 // C++ version of Python aware wxPanel
2348class wxPyPanel : public wxPanel
2349{
2350 DECLARE_DYNAMIC_CLASS(wxPyPanel)
2351public:
2352 wxPyPanel() : wxPanel() {}
2353 wxPyPanel(wxWindow* parent, const wxWindowID id,
2354 const wxPoint& pos = wxDefaultPosition,
2355 const wxSize& size = wxDefaultSize,
2356 long style = 0,
2357 const wxString& name = wxPyPanelNameStr)
2358 : wxPanel(parent, id, pos, size, style, name) {}
2359
a5ee0656 2360 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
976dbff5
RD
2361 bool DoEraseBackground(wxDC* dc) {
2362#ifdef __WXMSW__
2363 return wxWindow::DoEraseBackground(dc->GetHDC());
2364#else
2365 dc->SetBackground(wxBrush(GetBackgroundColour()));
2366 dc->Clear();
2367 return true;
2368#endif
2369 }
a5ee0656 2370
d55e5bfc
RD
2371
2372 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2373 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2374 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2375 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2376
2377 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2378 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2379 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2380
2381 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2382 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2383
2384 DEC_PYCALLBACK__(InitDialog);
2385 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2386 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2387 DEC_PYCALLBACK_BOOL_(Validate);
2388
2389 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2390 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2391 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2392
2393 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2394 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2395
a5ee0656 2396 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
a5ee0656 2397 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 2398
51b83b37
RD
2399 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2400
8d38bd1d
RD
2401 DEC_PYCALLBACK_VOID_(OnInternalIdle);
2402
d55e5bfc
RD
2403 PYPRIVATE;
2404};
2405
2406IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
2407
2408IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
2409IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
2410IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
2411IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
2412
2413IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
2414IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
2415IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
2416
2417IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
2418IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
2419
2420IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
2421IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
2422IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
2423IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
2424
2425IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
2426IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
2427IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
2428
2429IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
2430IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
2431
a5ee0656 2432IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
a5ee0656 2433IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
d55e5bfc 2434
51b83b37
RD
2435IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
2436
8d38bd1d
RD
2437IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
2438
d55e5bfc
RD
2439 // C++ version of Python aware wxScrolledWindow
2440class wxPyScrolledWindow : public wxScrolledWindow
2441{
2442 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
2443public:
2444 wxPyScrolledWindow() : wxScrolledWindow() {}
2445 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
2446 const wxPoint& pos = wxDefaultPosition,
2447 const wxSize& size = wxDefaultSize,
2448 long style = 0,
2449 const wxString& name = wxPyPanelNameStr)
2450 : wxScrolledWindow(parent, id, pos, size, style, name) {}
2451
a5ee0656 2452 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
976dbff5
RD
2453 bool DoEraseBackground(wxDC* dc) {
2454#ifdef __WXMSW__
2455 return wxWindow::DoEraseBackground(dc->GetHDC());
2456#else
2457 dc->SetBackground(wxBrush(GetBackgroundColour()));
2458 dc->Clear();
2459 return true;
2460#endif
2461 }
d55e5bfc
RD
2462
2463 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2464 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2465 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2466 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2467
2468 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2469 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2470 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2471
2472 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2473 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2474
2475 DEC_PYCALLBACK__(InitDialog);
2476 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2477 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2478 DEC_PYCALLBACK_BOOL_(Validate);
2479
2480 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2481 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2482 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2483
2484 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2485 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2486
a5ee0656 2487 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
a5ee0656 2488 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 2489
51b83b37
RD
2490 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2491
8d38bd1d
RD
2492 DEC_PYCALLBACK_VOID_(OnInternalIdle);
2493
d55e5bfc
RD
2494 PYPRIVATE;
2495};
2496
2497IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
2498
2499IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
2500IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
2501IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
2502IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
2503
2504IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
2505IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
2506IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
2507
2508IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
2509IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
2510
2511IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
2512IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
2513IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
2514IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
2515
2516IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
2517IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
2518IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
2519
2520IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
2521IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
2522
a5ee0656 2523IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
a5ee0656
RD
2524IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
2525
51b83b37 2526IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
d55e5bfc 2527
8d38bd1d
RD
2528IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
2529
d55e5bfc
RD
2530
2531#include "wx/wxPython/printfw.h"
2532
2533
2534 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
2535 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
7fbf8399
RD
2536static PyObject *wxPrintData_GetPrivData(wxPrintData *self){
2537 PyObject* data;
5a446332 2538 wxPyBlock_t blocked = wxPyBeginBlockThreads();
7fbf8399
RD
2539 data = PyString_FromStringAndSize(self->GetPrivData(),
2540 self->GetPrivDataLen());
2541 wxPyEndBlockThreads(blocked);
2542 return data;
2543 }
2544static void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
2545 if (! PyString_Check(data)) {
2546 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
2547 "Expected string object"));
2548 return /* NULL */ ;
2549 }
2550
5a446332 2551 wxPyBlock_t blocked = wxPyBeginBlockThreads();
7fbf8399
RD
2552 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
2553 wxPyEndBlockThreads(blocked);
2554 }
d55e5bfc
RD
2555
2556
070c48b4 2557IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
d55e5bfc
RD
2558
2559// Since this one would be tough and ugly to do with the Macros...
2560void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
b411df4a 2561 bool hadErr = false;
d55e5bfc
RD
2562 bool found;
2563
5a446332 2564 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc
RD
2565 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
2566 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
2567 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
2568 PyObject* val;
2569
2570 val = PyTuple_GetItem(result, 0);
2571 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
b411df4a 2572 else hadErr = true;
d55e5bfc
RD
2573
2574 val = PyTuple_GetItem(result, 1);
2575 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
b411df4a 2576 else hadErr = true;
d55e5bfc
RD
2577
2578 val = PyTuple_GetItem(result, 2);
2579 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
b411df4a 2580 else hadErr = true;
d55e5bfc
RD
2581
2582 val = PyTuple_GetItem(result, 3);
2583 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
b411df4a 2584 else hadErr = true;
d55e5bfc
RD
2585 }
2586 else
b411df4a 2587 hadErr = true;
d55e5bfc
RD
2588
2589 if (hadErr) {
2590 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
2591 PyErr_Print();
2592 }
2593 Py_DECREF(result);
2594 }
2595 wxPyEndBlockThreads(blocked);
2596 if (! found)
2597 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
2598}
2599
d55e5bfc
RD
2600
2601
2602IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
2603IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
2604IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
2605IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
2606IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
2607IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
2608IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
2609
2610
2611
2612
2613
b411df4a 2614#define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
7f7aa166 2615 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
d55e5bfc
RD
2616
2617
b411df4a
RD
2618#define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
2619 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2620 bool rval=false; \
2621 bool found; \
32fe5131 2622 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
b411df4a
RD
2623 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2624 PyObject* win = wxPyMake_wxObject(a,false); \
2625 PyObject* dc = wxPyMake_wxObject(&b,false); \
2626 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
2627 Py_DECREF(win); \
2628 Py_DECREF(dc); \
2629 } \
2630 wxPyEndBlockThreads(blocked); \
2631 if (! found) \
2632 rval = PCLASS::CBNAME(a, b); \
2633 return rval; \
7f7aa166 2634 }
d55e5bfc
RD
2635
2636
2637
2638
2639class wxPyPrintPreview : public wxPrintPreview
2640{
2641 DECLARE_CLASS(wxPyPrintPreview)
2642public:
2643 wxPyPrintPreview(wxPyPrintout* printout,
2644 wxPyPrintout* printoutForPrinting,
2645 wxPrintDialogData* data=NULL)
2646 : wxPrintPreview(printout, printoutForPrinting, data)
2647 {}
2648 wxPyPrintPreview(wxPyPrintout* printout,
2649 wxPyPrintout* printoutForPrinting,
32fe5131 2650 wxPrintData* data)
d55e5bfc
RD
2651 : wxPrintPreview(printout, printoutForPrinting, data)
2652 {}
2653
2654 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
2655 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
2656 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
2657 DEC_PYCALLBACK_BOOL_INT(RenderPage);
2658 DEC_PYCALLBACK_VOID_INT(SetZoom);
2659 DEC_PYCALLBACK_BOOL_BOOL(Print);
2660 DEC_PYCALLBACK_VOID_(DetermineScaling);
2661
2662 PYPRIVATE;
2663};
2664
2665// Stupid renamed classes... Fix this in 2.5...
2666#if defined(__WXMSW__)
2667IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
2668#elif defined(__WXMAC__)
2669IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
2670#else
2671IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
2672#endif
2673
2674IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
2675IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
2676IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
2677IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
2678IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
2679IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
2680IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
2681
2682
2683class wxPyPreviewFrame : public wxPreviewFrame
2684{
32fe5131 2685 DECLARE_CLASS(wxPyPreviewFrame)
d55e5bfc
RD
2686public:
2687 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
2688 const wxString& title,
2689 const wxPoint& pos = wxDefaultPosition,
2690 const wxSize& size = wxDefaultSize,
2691 long style = wxDEFAULT_FRAME_STYLE,
2692 const wxString& name = wxPyFrameNameStr)
2693 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
2694 {}
2695
2696 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
2697 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
2698
2699 DEC_PYCALLBACK_VOID_(Initialize);
2700 DEC_PYCALLBACK_VOID_(CreateCanvas);
2701 DEC_PYCALLBACK_VOID_(CreateControlBar);
2702
2703 PYPRIVATE;
2704};
2705
2706IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
2707
2708IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
2709IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
2710IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
2711
2712
2713class wxPyPreviewControlBar : public wxPreviewControlBar
2714{
32fe5131 2715 DECLARE_CLASS(wxPyPreviewControlBar)
d55e5bfc
RD
2716public:
2717 wxPyPreviewControlBar(wxPrintPreview *preview,
2718 long buttons,
2719 wxWindow *parent,
2720 const wxPoint& pos = wxDefaultPosition,
2721 const wxSize& size = wxDefaultSize,
2722 long style = 0,
2723 const wxString& name = wxPyPanelNameStr)
2724 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
2725 {}
2726
2727 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
2728
2729 DEC_PYCALLBACK_VOID_(CreateButtons);
2730 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
2731
2732 PYPRIVATE;
2733};
2734
2735IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
2736IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
2737IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
2738
2739#ifdef __cplusplus
2740extern "C" {
2741#endif
c370783e 2742static PyObject *_wrap_new_Panel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2743 PyObject *resultobj = NULL;
d55e5bfc
RD
2744 wxWindow *arg1 = (wxWindow *) 0 ;
2745 int arg2 = (int) (int)-1 ;
2746 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2747 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2748 wxSize const &arg4_defvalue = wxDefaultSize ;
2749 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2750 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
2751 wxString const &arg6_defvalue = wxPyPanelNameStr ;
2752 wxString *arg6 = (wxString *) &arg6_defvalue ;
2753 wxPanel *result;
2754 wxPoint temp3 ;
2755 wxSize temp4 ;
b411df4a 2756 bool temp6 = false ;
d55e5bfc
RD
2757 PyObject * obj0 = 0 ;
2758 PyObject * obj1 = 0 ;
2759 PyObject * obj2 = 0 ;
2760 PyObject * obj3 = 0 ;
2761 PyObject * obj4 = 0 ;
2762 PyObject * obj5 = 0 ;
2763 char *kwnames[] = {
2764 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2765 };
2766
2767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
2768 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2769 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 2770 if (obj1) {
36ed4f51 2771 {
32fe5131 2772 arg2 = static_cast<int const >(SWIG_As_int(obj1));
36ed4f51
RD
2773 if (SWIG_arg_fail(2)) SWIG_fail;
2774 }
d55e5bfc
RD
2775 }
2776 if (obj2) {
2777 {
2778 arg3 = &temp3;
2779 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2780 }
2781 }
2782 if (obj3) {
2783 {
2784 arg4 = &temp4;
2785 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2786 }
2787 }
2788 if (obj4) {
36ed4f51 2789 {
32fe5131 2790 arg5 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
2791 if (SWIG_arg_fail(5)) SWIG_fail;
2792 }
d55e5bfc
RD
2793 }
2794 if (obj5) {
2795 {
2796 arg6 = wxString_in_helper(obj5);
2797 if (arg6 == NULL) SWIG_fail;
b411df4a 2798 temp6 = true;
d55e5bfc
RD
2799 }
2800 }
2801 {
0439c23b 2802 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2803 PyThreadState* __tstate = wxPyBeginAllowThreads();
2804 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
2805
2806 wxPyEndAllowThreads(__tstate);
110da5b0 2807 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 2808 }
b0f7404b 2809 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
d55e5bfc
RD
2810 {
2811 if (temp6)
2812 delete arg6;
2813 }
2814 return resultobj;
2815 fail:
2816 {
2817 if (temp6)
2818 delete arg6;
2819 }
2820 return NULL;
2821}
2822
2823
c370783e 2824static PyObject *_wrap_new_PrePanel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2825 PyObject *resultobj = NULL;
d55e5bfc
RD
2826 wxPanel *result;
2827 char *kwnames[] = {
2828 NULL
2829 };
2830
2831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
2832 {
0439c23b 2833 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2834 PyThreadState* __tstate = wxPyBeginAllowThreads();
2835 result = (wxPanel *)new wxPanel();
2836
2837 wxPyEndAllowThreads(__tstate);
110da5b0 2838 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 2839 }
b0f7404b 2840 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
d55e5bfc
RD
2841 return resultobj;
2842 fail:
2843 return NULL;
2844}
2845
2846
c370783e 2847static PyObject *_wrap_Panel_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2848 PyObject *resultobj = NULL;
d55e5bfc
RD
2849 wxPanel *arg1 = (wxPanel *) 0 ;
2850 wxWindow *arg2 = (wxWindow *) 0 ;
2851 int arg3 = (int) (int)-1 ;
2852 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2853 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2854 wxSize const &arg5_defvalue = wxDefaultSize ;
2855 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2856 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
2857 wxString const &arg7_defvalue = wxPyPanelNameStr ;
2858 wxString *arg7 = (wxString *) &arg7_defvalue ;
2859 bool result;
2860 wxPoint temp4 ;
2861 wxSize temp5 ;
b411df4a 2862 bool temp7 = false ;
d55e5bfc
RD
2863 PyObject * obj0 = 0 ;
2864 PyObject * obj1 = 0 ;
2865 PyObject * obj2 = 0 ;
2866 PyObject * obj3 = 0 ;
2867 PyObject * obj4 = 0 ;
2868 PyObject * obj5 = 0 ;
2869 PyObject * obj6 = 0 ;
2870 char *kwnames[] = {
2871 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2872 };
2873
2874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
2875 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2876 if (SWIG_arg_fail(1)) SWIG_fail;
2877 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2878 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 2879 if (obj2) {
36ed4f51 2880 {
32fe5131 2881 arg3 = static_cast<int const >(SWIG_As_int(obj2));
36ed4f51
RD
2882 if (SWIG_arg_fail(3)) SWIG_fail;
2883 }
d55e5bfc
RD
2884 }
2885 if (obj3) {
2886 {
2887 arg4 = &temp4;
2888 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2889 }
2890 }
2891 if (obj4) {
2892 {
2893 arg5 = &temp5;
2894 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2895 }
2896 }
2897 if (obj5) {
36ed4f51 2898 {
32fe5131 2899 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
2900 if (SWIG_arg_fail(6)) SWIG_fail;
2901 }
d55e5bfc
RD
2902 }
2903 if (obj6) {
2904 {
2905 arg7 = wxString_in_helper(obj6);
2906 if (arg7 == NULL) SWIG_fail;
b411df4a 2907 temp7 = true;
d55e5bfc
RD
2908 }
2909 }
2910 {
2911 PyThreadState* __tstate = wxPyBeginAllowThreads();
2912 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2913
2914 wxPyEndAllowThreads(__tstate);
2915 if (PyErr_Occurred()) SWIG_fail;
2916 }
2917 {
2918 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2919 }
2920 {
2921 if (temp7)
2922 delete arg7;
2923 }
2924 return resultobj;
2925 fail:
2926 {
2927 if (temp7)
2928 delete arg7;
2929 }
2930 return NULL;
2931}
2932
2933
c370783e 2934static PyObject *_wrap_Panel_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2935 PyObject *resultobj = NULL;
d55e5bfc
RD
2936 wxPanel *arg1 = (wxPanel *) 0 ;
2937 PyObject * obj0 = 0 ;
2938 char *kwnames[] = {
2939 (char *) "self", NULL
2940 };
2941
2942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
36ed4f51
RD
2943 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2944 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
2945 {
2946 PyThreadState* __tstate = wxPyBeginAllowThreads();
2947 (arg1)->InitDialog();
2948
2949 wxPyEndAllowThreads(__tstate);
2950 if (PyErr_Occurred()) SWIG_fail;
2951 }
2952 Py_INCREF(Py_None); resultobj = Py_None;
2953 return resultobj;
2954 fail:
2955 return NULL;
2956}
2957
2958
5cbf236d 2959static PyObject *_wrap_Panel_SetFocus(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2960 PyObject *resultobj = NULL;
5cbf236d
RD
2961 wxPanel *arg1 = (wxPanel *) 0 ;
2962 PyObject * obj0 = 0 ;
2963 char *kwnames[] = {
2964 (char *) "self", NULL
2965 };
2966
2967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_SetFocus",kwnames,&obj0)) goto fail;
36ed4f51
RD
2968 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2969 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
2970 {
2971 PyThreadState* __tstate = wxPyBeginAllowThreads();
2972 (arg1)->SetFocus();
2973
2974 wxPyEndAllowThreads(__tstate);
2975 if (PyErr_Occurred()) SWIG_fail;
2976 }
2977 Py_INCREF(Py_None); resultobj = Py_None;
2978 return resultobj;
2979 fail:
2980 return NULL;
2981}
2982
2983
2984static PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2985 PyObject *resultobj = NULL;
5cbf236d
RD
2986 wxPanel *arg1 = (wxPanel *) 0 ;
2987 PyObject * obj0 = 0 ;
2988 char *kwnames[] = {
2989 (char *) "self", NULL
2990 };
2991
2992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_SetFocusIgnoringChildren",kwnames,&obj0)) goto fail;
36ed4f51
RD
2993 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2994 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
2995 {
2996 PyThreadState* __tstate = wxPyBeginAllowThreads();
2997 (arg1)->SetFocusIgnoringChildren();
2998
2999 wxPyEndAllowThreads(__tstate);
3000 if (PyErr_Occurred()) SWIG_fail;
3001 }
3002 Py_INCREF(Py_None); resultobj = Py_None;
3003 return resultobj;
3004 fail:
3005 return NULL;
3006}
3007
3008
c370783e 3009static PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3010 PyObject *resultobj = NULL;
36ed4f51 3011 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
3012 wxVisualAttributes result;
3013 PyObject * obj0 = 0 ;
3014 char *kwnames[] = {
3015 (char *) "variant", NULL
3016 };
3017
3018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3019 if (obj0) {
36ed4f51 3020 {
32fe5131 3021 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
36ed4f51
RD
3022 if (SWIG_arg_fail(1)) SWIG_fail;
3023 }
f20a2e1f
RD
3024 }
3025 {
0439c23b 3026 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 3027 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 3028 result = wxPanel::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
3029
3030 wxPyEndAllowThreads(__tstate);
110da5b0 3031 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
3032 }
3033 {
3034 wxVisualAttributes * resultptr;
32fe5131 3035 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
3036 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3037 }
3038 return resultobj;
3039 fail:
3040 return NULL;
3041}
3042
3043
c370783e 3044static PyObject * Panel_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
3045 PyObject *obj;
3046 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3047 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
3048 Py_INCREF(obj);
3049 return Py_BuildValue((char *)"");
3050}
c370783e 3051static PyObject *_wrap_new_ScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3052 PyObject *resultobj = NULL;
d55e5bfc
RD
3053 wxWindow *arg1 = (wxWindow *) 0 ;
3054 int arg2 = (int) (int)-1 ;
3055 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3056 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3057 wxSize const &arg4_defvalue = wxDefaultSize ;
3058 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3059 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
3060 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3061 wxString *arg6 = (wxString *) &arg6_defvalue ;
3062 wxScrolledWindow *result;
3063 wxPoint temp3 ;
3064 wxSize temp4 ;
b411df4a 3065 bool temp6 = false ;
d55e5bfc
RD
3066 PyObject * obj0 = 0 ;
3067 PyObject * obj1 = 0 ;
3068 PyObject * obj2 = 0 ;
3069 PyObject * obj3 = 0 ;
3070 PyObject * obj4 = 0 ;
3071 PyObject * obj5 = 0 ;
3072 char *kwnames[] = {
3073 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3074 };
3075
3076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
3077 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3078 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 3079 if (obj1) {
36ed4f51 3080 {
32fe5131 3081 arg2 = static_cast<int const >(SWIG_As_int(obj1));
36ed4f51
RD
3082 if (SWIG_arg_fail(2)) SWIG_fail;
3083 }
d55e5bfc
RD
3084 }
3085 if (obj2) {
3086 {
3087 arg3 = &temp3;
3088 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3089 }
3090 }
3091 if (obj3) {
3092 {
3093 arg4 = &temp4;
3094 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3095 }
3096 }
3097 if (obj4) {
36ed4f51 3098 {
32fe5131 3099 arg5 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
3100 if (SWIG_arg_fail(5)) SWIG_fail;
3101 }
d55e5bfc
RD
3102 }
3103 if (obj5) {
3104 {
3105 arg6 = wxString_in_helper(obj5);
3106 if (arg6 == NULL) SWIG_fail;
b411df4a 3107 temp6 = true;
d55e5bfc
RD
3108 }
3109 }
3110 {
0439c23b 3111 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3112 PyThreadState* __tstate = wxPyBeginAllowThreads();
3113 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3114
3115 wxPyEndAllowThreads(__tstate);
110da5b0 3116 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 3117 }
b0f7404b 3118 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
d55e5bfc
RD
3119 {
3120 if (temp6)
3121 delete arg6;
3122 }
3123 return resultobj;
3124 fail:
3125 {
3126 if (temp6)
3127 delete arg6;
3128 }
3129 return NULL;
3130}
3131
3132
c370783e 3133static PyObject *_wrap_new_PreScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3134 PyObject *resultobj = NULL;
d55e5bfc
RD
3135 wxScrolledWindow *result;
3136 char *kwnames[] = {
3137 NULL
3138 };
3139
3140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
3141 {
0439c23b 3142 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3143 PyThreadState* __tstate = wxPyBeginAllowThreads();
3144 result = (wxScrolledWindow *)new wxScrolledWindow();
3145
3146 wxPyEndAllowThreads(__tstate);
110da5b0 3147 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 3148 }
b0f7404b 3149 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
d55e5bfc
RD
3150 return resultobj;
3151 fail:
3152 return NULL;
3153}
3154
3155
c370783e 3156static PyObject *_wrap_ScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3157 PyObject *resultobj = NULL;
d55e5bfc
RD
3158 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3159 wxWindow *arg2 = (wxWindow *) 0 ;
3160 int arg3 = (int) (int)-1 ;
3161 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3162 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3163 wxSize const &arg5_defvalue = wxDefaultSize ;
3164 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3165 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
3166 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3167 wxString *arg7 = (wxString *) &arg7_defvalue ;
3168 bool result;
3169 wxPoint temp4 ;
3170 wxSize temp5 ;
b411df4a 3171 bool temp7 = false ;
d55e5bfc
RD
3172 PyObject * obj0 = 0 ;
3173 PyObject * obj1 = 0 ;
3174 PyObject * obj2 = 0 ;
3175 PyObject * obj3 = 0 ;
3176 PyObject * obj4 = 0 ;
3177 PyObject * obj5 = 0 ;
3178 PyObject * obj6 = 0 ;
3179 char *kwnames[] = {
3180 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3181 };
3182
3183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
3184 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3185 if (SWIG_arg_fail(1)) SWIG_fail;
3186 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3187 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 3188 if (obj2) {
36ed4f51 3189 {
32fe5131 3190 arg3 = static_cast<int const >(SWIG_As_int(obj2));
36ed4f51
RD
3191 if (SWIG_arg_fail(3)) SWIG_fail;
3192 }
d55e5bfc
RD
3193 }
3194 if (obj3) {
3195 {
3196 arg4 = &temp4;
3197 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3198 }
3199 }
3200 if (obj4) {
3201 {
3202 arg5 = &temp5;
3203 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3204 }
3205 }
3206 if (obj5) {
36ed4f51 3207 {
32fe5131 3208 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
3209 if (SWIG_arg_fail(6)) SWIG_fail;
3210 }
d55e5bfc
RD
3211 }
3212 if (obj6) {
3213 {
3214 arg7 = wxString_in_helper(obj6);
3215 if (arg7 == NULL) SWIG_fail;
b411df4a 3216 temp7 = true;
d55e5bfc
RD
3217 }
3218 }
3219 {
3220 PyThreadState* __tstate = wxPyBeginAllowThreads();
3221 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3222
3223 wxPyEndAllowThreads(__tstate);
3224 if (PyErr_Occurred()) SWIG_fail;
3225 }
3226 {
3227 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3228 }
3229 {
3230 if (temp7)
3231 delete arg7;
3232 }
3233 return resultobj;
3234 fail:
3235 {
3236 if (temp7)
3237 delete arg7;
3238 }
3239 return NULL;
3240}
3241
3242
c370783e 3243static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3244 PyObject *resultobj = NULL;
d55e5bfc
RD
3245 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3246 int arg2 ;
3247 int arg3 ;
3248 int arg4 ;
3249 int arg5 ;
3250 int arg6 = (int) 0 ;
3251 int arg7 = (int) 0 ;
b411df4a 3252 bool arg8 = (bool) false ;
d55e5bfc
RD
3253 PyObject * obj0 = 0 ;
3254 PyObject * obj1 = 0 ;
3255 PyObject * obj2 = 0 ;
3256 PyObject * obj3 = 0 ;
3257 PyObject * obj4 = 0 ;
3258 PyObject * obj5 = 0 ;
3259 PyObject * obj6 = 0 ;
3260 PyObject * obj7 = 0 ;
3261 char *kwnames[] = {
3262 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
3263 };
3264
3265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
3266 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3267 if (SWIG_arg_fail(1)) SWIG_fail;
3268 {
32fe5131 3269 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3270 if (SWIG_arg_fail(2)) SWIG_fail;
3271 }
3272 {
32fe5131 3273 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
3274 if (SWIG_arg_fail(3)) SWIG_fail;
3275 }
3276 {
32fe5131 3277 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
3278 if (SWIG_arg_fail(4)) SWIG_fail;
3279 }
3280 {
32fe5131 3281 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
3282 if (SWIG_arg_fail(5)) SWIG_fail;
3283 }
d55e5bfc 3284 if (obj5) {
36ed4f51 3285 {
32fe5131 3286 arg6 = static_cast<int >(SWIG_As_int(obj5));
36ed4f51
RD
3287 if (SWIG_arg_fail(6)) SWIG_fail;
3288 }
d55e5bfc
RD
3289 }
3290 if (obj6) {
36ed4f51 3291 {
32fe5131 3292 arg7 = static_cast<int >(SWIG_As_int(obj6));
36ed4f51
RD
3293 if (SWIG_arg_fail(7)) SWIG_fail;
3294 }
d55e5bfc
RD
3295 }
3296 if (obj7) {
36ed4f51 3297 {
32fe5131 3298 arg8 = static_cast<bool >(SWIG_As_bool(obj7));
36ed4f51
RD
3299 if (SWIG_arg_fail(8)) SWIG_fail;
3300 }
d55e5bfc
RD
3301 }
3302 {
3303 PyThreadState* __tstate = wxPyBeginAllowThreads();
3304 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
3305
3306 wxPyEndAllowThreads(__tstate);
3307 if (PyErr_Occurred()) SWIG_fail;
3308 }
3309 Py_INCREF(Py_None); resultobj = Py_None;
3310 return resultobj;
3311 fail:
3312 return NULL;
3313}
3314
3315
c370783e 3316static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3317 PyObject *resultobj = NULL;
d55e5bfc
RD
3318 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3319 int arg2 ;
3320 int arg3 ;
3321 PyObject * obj0 = 0 ;
3322 PyObject * obj1 = 0 ;
3323 PyObject * obj2 = 0 ;
3324 char *kwnames[] = {
3325 (char *) "self",(char *) "x",(char *) "y", NULL
3326 };
3327
3328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
3329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3330 if (SWIG_arg_fail(1)) SWIG_fail;
3331 {
32fe5131 3332 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3333 if (SWIG_arg_fail(2)) SWIG_fail;
3334 }
3335 {
32fe5131 3336 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
3337 if (SWIG_arg_fail(3)) SWIG_fail;
3338 }
d55e5bfc
RD
3339 {
3340 PyThreadState* __tstate = wxPyBeginAllowThreads();
3341 (arg1)->Scroll(arg2,arg3);
3342
3343 wxPyEndAllowThreads(__tstate);
3344 if (PyErr_Occurred()) SWIG_fail;
3345 }
3346 Py_INCREF(Py_None); resultobj = Py_None;
3347 return resultobj;
3348 fail:
3349 return NULL;
3350}
3351
3352
c370783e 3353static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3354 PyObject *resultobj = NULL;
d55e5bfc
RD
3355 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3356 int arg2 ;
3357 int result;
3358 PyObject * obj0 = 0 ;
3359 PyObject * obj1 = 0 ;
3360 char *kwnames[] = {
3361 (char *) "self",(char *) "orient", NULL
3362 };
3363
3364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3365 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3366 if (SWIG_arg_fail(1)) SWIG_fail;
3367 {
32fe5131 3368 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3369 if (SWIG_arg_fail(2)) SWIG_fail;
3370 }
d55e5bfc
RD
3371 {
3372 PyThreadState* __tstate = wxPyBeginAllowThreads();
3373 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
3374
3375 wxPyEndAllowThreads(__tstate);
3376 if (PyErr_Occurred()) SWIG_fail;
3377 }
36ed4f51 3378 {
32fe5131 3379 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 3380 }
d55e5bfc
RD
3381 return resultobj;
3382 fail:
3383 return NULL;
3384}
3385
3386
c370783e 3387static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3388 PyObject *resultobj = NULL;
d55e5bfc
RD
3389 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3390 int arg2 ;
3391 int arg3 ;
3392 PyObject * obj0 = 0 ;
3393 PyObject * obj1 = 0 ;
3394 PyObject * obj2 = 0 ;
3395 char *kwnames[] = {
3396 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
3397 };
3398
3399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
3400 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3401 if (SWIG_arg_fail(1)) SWIG_fail;
3402 {
32fe5131 3403 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3404 if (SWIG_arg_fail(2)) SWIG_fail;
3405 }
3406 {
32fe5131 3407 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
3408 if (SWIG_arg_fail(3)) SWIG_fail;
3409 }
d55e5bfc
RD
3410 {
3411 PyThreadState* __tstate = wxPyBeginAllowThreads();
3412 (arg1)->SetScrollPageSize(arg2,arg3);
3413
3414 wxPyEndAllowThreads(__tstate);
3415 if (PyErr_Occurred()) SWIG_fail;
3416 }
3417 Py_INCREF(Py_None); resultobj = Py_None;
3418 return resultobj;
3419 fail:
3420 return NULL;
3421}
3422
3423
c370783e 3424static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3425 PyObject *resultobj = NULL;
d55e5bfc
RD
3426 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3427 int arg2 ;
3428 int arg3 ;
3429 PyObject * obj0 = 0 ;
3430 PyObject * obj1 = 0 ;
3431 PyObject * obj2 = 0 ;
3432 char *kwnames[] = {
3433 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
3434 };
3435
3436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
3437 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3438 if (SWIG_arg_fail(1)) SWIG_fail;
3439 {
32fe5131 3440 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3441 if (SWIG_arg_fail(2)) SWIG_fail;
3442 }
3443 {
32fe5131 3444 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
3445 if (SWIG_arg_fail(3)) SWIG_fail;
3446 }
d55e5bfc
RD
3447 {
3448 PyThreadState* __tstate = wxPyBeginAllowThreads();
3449 (arg1)->SetScrollRate(arg2,arg3);
3450
3451 wxPyEndAllowThreads(__tstate);
3452 if (PyErr_Occurred()) SWIG_fail;
3453 }
3454 Py_INCREF(Py_None); resultobj = Py_None;
3455 return resultobj;
3456 fail:
3457 return NULL;
3458}
3459
3460
c370783e 3461static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3462 PyObject *resultobj = NULL;
d55e5bfc
RD
3463 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3464 int *arg2 = (int *) 0 ;
3465 int *arg3 = (int *) 0 ;
3466 int temp2 ;
c370783e 3467 int res2 = 0 ;
d55e5bfc 3468 int temp3 ;
c370783e 3469 int res3 = 0 ;
d55e5bfc
RD
3470 PyObject * obj0 = 0 ;
3471 char *kwnames[] = {
3472 (char *) "self", NULL
3473 };
3474
c370783e
RD
3475 arg2 = &temp2; res2 = SWIG_NEWOBJ;
3476 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 3477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
36ed4f51
RD
3478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3479 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3480 {
3481 PyThreadState* __tstate = wxPyBeginAllowThreads();
3482 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
3483
3484 wxPyEndAllowThreads(__tstate);
3485 if (PyErr_Occurred()) SWIG_fail;
3486 }
3487 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
3488 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
3489 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
3490 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
3491 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
3492 return resultobj;
3493 fail:
3494 return NULL;
3495}
3496
3497
c370783e 3498static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3499 PyObject *resultobj = NULL;
d55e5bfc
RD
3500 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3501 bool arg2 ;
3502 bool arg3 ;
3503 PyObject * obj0 = 0 ;
3504 PyObject * obj1 = 0 ;
3505 PyObject * obj2 = 0 ;
3506 char *kwnames[] = {
3507 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
3508 };
3509
3510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
3511 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3512 if (SWIG_arg_fail(1)) SWIG_fail;
3513 {
32fe5131 3514 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
3515 if (SWIG_arg_fail(2)) SWIG_fail;
3516 }
3517 {
32fe5131 3518 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
3519 if (SWIG_arg_fail(3)) SWIG_fail;
3520 }
d55e5bfc
RD
3521 {
3522 PyThreadState* __tstate = wxPyBeginAllowThreads();
3523 (arg1)->EnableScrolling(arg2,arg3);
3524
3525 wxPyEndAllowThreads(__tstate);
3526 if (PyErr_Occurred()) SWIG_fail;
3527 }
3528 Py_INCREF(Py_None); resultobj = Py_None;
3529 return resultobj;
3530 fail:
3531 return NULL;
3532}
3533
3534
c370783e 3535static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3536 PyObject *resultobj = NULL;
d55e5bfc
RD
3537 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3538 int *arg2 = (int *) 0 ;
3539 int *arg3 = (int *) 0 ;
3540 int temp2 ;
c370783e 3541 int res2 = 0 ;
d55e5bfc 3542 int temp3 ;
c370783e 3543 int res3 = 0 ;
d55e5bfc
RD
3544 PyObject * obj0 = 0 ;
3545 char *kwnames[] = {
3546 (char *) "self", NULL
3547 };
3548
c370783e
RD
3549 arg2 = &temp2; res2 = SWIG_NEWOBJ;
3550 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 3551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
36ed4f51
RD
3552 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3553 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3554 {
3555 PyThreadState* __tstate = wxPyBeginAllowThreads();
3556 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
3557
3558 wxPyEndAllowThreads(__tstate);
3559 if (PyErr_Occurred()) SWIG_fail;
3560 }
3561 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
3562 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
3563 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
3564 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
3565 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
3566 return resultobj;
3567 fail:
3568 return NULL;
3569}
3570
3571
c370783e 3572static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3573 PyObject *resultobj = NULL;
d55e5bfc
RD
3574 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3575 double arg2 ;
3576 double arg3 ;
3577 PyObject * obj0 = 0 ;
3578 PyObject * obj1 = 0 ;
3579 PyObject * obj2 = 0 ;
3580 char *kwnames[] = {
3581 (char *) "self",(char *) "xs",(char *) "ys", NULL
3582 };
3583
3584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
3585 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3586 if (SWIG_arg_fail(1)) SWIG_fail;
3587 {
32fe5131 3588 arg2 = static_cast<double >(SWIG_As_double(obj1));
36ed4f51
RD
3589 if (SWIG_arg_fail(2)) SWIG_fail;
3590 }
3591 {
32fe5131 3592 arg3 = static_cast<double >(SWIG_As_double(obj2));
36ed4f51
RD
3593 if (SWIG_arg_fail(3)) SWIG_fail;
3594 }
d55e5bfc
RD
3595 {
3596 PyThreadState* __tstate = wxPyBeginAllowThreads();
3597 (arg1)->SetScale(arg2,arg3);
3598
3599 wxPyEndAllowThreads(__tstate);
3600 if (PyErr_Occurred()) SWIG_fail;
3601 }
3602 Py_INCREF(Py_None); resultobj = Py_None;
3603 return resultobj;
3604 fail:
3605 return NULL;
3606}
3607
3608
c370783e 3609static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3610 PyObject *resultobj = NULL;
d55e5bfc
RD
3611 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3612 double result;
3613 PyObject * obj0 = 0 ;
3614 char *kwnames[] = {
3615 (char *) "self", NULL
3616 };
3617
3618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
36ed4f51
RD
3619 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3620 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3621 {
3622 PyThreadState* __tstate = wxPyBeginAllowThreads();
3623 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
3624
3625 wxPyEndAllowThreads(__tstate);
3626 if (PyErr_Occurred()) SWIG_fail;
3627 }
36ed4f51 3628 {
32fe5131 3629 resultobj = SWIG_From_double(static_cast<double >(result));
36ed4f51 3630 }
d55e5bfc
RD
3631 return resultobj;
3632 fail:
3633 return NULL;
3634}
3635
3636
c370783e 3637static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3638 PyObject *resultobj = NULL;
d55e5bfc
RD
3639 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3640 double result;
3641 PyObject * obj0 = 0 ;
3642 char *kwnames[] = {
3643 (char *) "self", NULL
3644 };
3645
3646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
36ed4f51
RD
3647 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3648 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3649 {
3650 PyThreadState* __tstate = wxPyBeginAllowThreads();
3651 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
3652
3653 wxPyEndAllowThreads(__tstate);
3654 if (PyErr_Occurred()) SWIG_fail;
3655 }
36ed4f51 3656 {
32fe5131 3657 resultobj = SWIG_From_double(static_cast<double >(result));
36ed4f51 3658 }
d55e5bfc
RD
3659 return resultobj;
3660 fail:
3661 return NULL;
3662}
3663
3664
c370783e 3665static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *, PyObject *args) {
32fe5131 3666 PyObject *resultobj = NULL;
d55e5bfc
RD
3667 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3668 wxPoint *arg2 = 0 ;
3669 wxPoint result;
3670 wxPoint temp2 ;
3671 PyObject * obj0 = 0 ;
3672 PyObject * obj1 = 0 ;
3673
3674 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
36ed4f51
RD
3675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3676 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3677 {
3678 arg2 = &temp2;
3679 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3680 }
3681 {
3682 PyThreadState* __tstate = wxPyBeginAllowThreads();
3683 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
3684
3685 wxPyEndAllowThreads(__tstate);
3686 if (PyErr_Occurred()) SWIG_fail;
3687 }
3688 {
3689 wxPoint * resultptr;
32fe5131 3690 resultptr = new wxPoint(static_cast<wxPoint & >(result));
d55e5bfc
RD
3691 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3692 }
3693 return resultobj;
3694 fail:
3695 return NULL;
3696}
3697
3698
c370783e 3699static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *, PyObject *args) {
32fe5131 3700 PyObject *resultobj = NULL;
d55e5bfc
RD
3701 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3702 int arg2 ;
3703 int arg3 ;
3704 int *arg4 = (int *) 0 ;
3705 int *arg5 = (int *) 0 ;
3706 int temp4 ;
c370783e 3707 int res4 = 0 ;
d55e5bfc 3708 int temp5 ;
c370783e 3709 int res5 = 0 ;
d55e5bfc
RD
3710 PyObject * obj0 = 0 ;
3711 PyObject * obj1 = 0 ;
3712 PyObject * obj2 = 0 ;
3713
c370783e
RD
3714 arg4 = &temp4; res4 = SWIG_NEWOBJ;
3715 arg5 = &temp5; res5 = SWIG_NEWOBJ;
d55e5bfc 3716 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
3717 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3718 if (SWIG_arg_fail(1)) SWIG_fail;
3719 {
32fe5131 3720 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3721 if (SWIG_arg_fail(2)) SWIG_fail;
3722 }
3723 {
32fe5131 3724 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
3725 if (SWIG_arg_fail(3)) SWIG_fail;
3726 }
d55e5bfc
RD
3727 {
3728 PyThreadState* __tstate = wxPyBeginAllowThreads();
3729 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
3730
3731 wxPyEndAllowThreads(__tstate);
3732 if (PyErr_Occurred()) SWIG_fail;
3733 }
3734 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
3735 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
3736 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
3737 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
3738 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
3739 return resultobj;
3740 fail:
3741 return NULL;
3742}
3743
3744
3745static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
3746 int argc;
3747 PyObject *argv[4];
3748 int ii;
3749
3750 argc = PyObject_Length(args);
3751 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
3752 argv[ii] = PyTuple_GetItem(args,ii);
3753 }
3754 if (argc == 2) {
3755 int _v;
3756 {
3757 void *ptr;
3758 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3759 _v = 0;
3760 PyErr_Clear();
3761 } else {
3762 _v = 1;
3763 }
3764 }
3765 if (_v) {
3766 {
3767 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
3768 }
3769 if (_v) {
3770 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
3771 }
3772 }
3773 }
3774 if (argc == 3) {
3775 int _v;
3776 {
3777 void *ptr;
3778 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3779 _v = 0;
3780 PyErr_Clear();
3781 } else {
3782 _v = 1;
3783 }
3784 }
3785 if (_v) {
c370783e 3786 _v = SWIG_Check_int(argv[1]);
d55e5bfc 3787 if (_v) {
c370783e 3788 _v = SWIG_Check_int(argv[2]);
d55e5bfc
RD
3789 if (_v) {
3790 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
3791 }
3792 }
3793 }
3794 }
3795
36ed4f51 3796 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
d55e5bfc
RD
3797 return NULL;
3798}
3799
3800
c370783e 3801static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *, PyObject *args) {
32fe5131 3802 PyObject *resultobj = NULL;
d55e5bfc
RD
3803 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3804 wxPoint *arg2 = 0 ;
3805 wxPoint result;
3806 wxPoint temp2 ;
3807 PyObject * obj0 = 0 ;
3808 PyObject * obj1 = 0 ;
3809
3810 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
36ed4f51
RD
3811 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3812 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3813 {
3814 arg2 = &temp2;
3815 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3816 }
3817 {
3818 PyThreadState* __tstate = wxPyBeginAllowThreads();
3819 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
3820
3821 wxPyEndAllowThreads(__tstate);
3822 if (PyErr_Occurred()) SWIG_fail;
3823 }
3824 {
3825 wxPoint * resultptr;
32fe5131 3826 resultptr = new wxPoint(static_cast<wxPoint & >(result));
d55e5bfc
RD
3827 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3828 }
3829 return resultobj;
3830 fail:
3831 return NULL;
3832}
3833
3834
c370783e 3835static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *, PyObject *args) {
32fe5131 3836 PyObject *resultobj = NULL;
d55e5bfc
RD
3837 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3838 int arg2 ;
3839 int arg3 ;
3840 int *arg4 = (int *) 0 ;
3841 int *arg5 = (int *) 0 ;
3842 int temp4 ;
c370783e 3843 int res4 = 0 ;
d55e5bfc 3844 int temp5 ;
c370783e 3845 int res5 = 0 ;
d55e5bfc
RD
3846 PyObject * obj0 = 0 ;
3847 PyObject * obj1 = 0 ;
3848 PyObject * obj2 = 0 ;
3849
c370783e
RD
3850 arg4 = &temp4; res4 = SWIG_NEWOBJ;
3851 arg5 = &temp5; res5 = SWIG_NEWOBJ;
d55e5bfc 3852 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
3853 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3854 if (SWIG_arg_fail(1)) SWIG_fail;
3855 {
32fe5131 3856 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3857 if (SWIG_arg_fail(2)) SWIG_fail;
3858 }
3859 {
32fe5131 3860 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
3861 if (SWIG_arg_fail(3)) SWIG_fail;
3862 }
d55e5bfc
RD
3863 {
3864 PyThreadState* __tstate = wxPyBeginAllowThreads();
3865 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
3866
3867 wxPyEndAllowThreads(__tstate);
3868 if (PyErr_Occurred()) SWIG_fail;
3869 }
3870 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
3871 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
3872 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
3873 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
3874 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
3875 return resultobj;
3876 fail:
3877 return NULL;
3878}
3879
3880
3881static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
3882 int argc;
3883 PyObject *argv[4];
3884 int ii;
3885
3886 argc = PyObject_Length(args);
3887 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
3888 argv[ii] = PyTuple_GetItem(args,ii);
3889 }
3890 if (argc == 2) {
3891 int _v;
3892 {
3893 void *ptr;
3894 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3895 _v = 0;
3896 PyErr_Clear();
3897 } else {
3898 _v = 1;
3899 }
3900 }
3901 if (_v) {
3902 {
3903 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
3904 }
3905 if (_v) {
3906 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
3907 }
3908 }
3909 }
3910 if (argc == 3) {
3911 int _v;
3912 {
3913 void *ptr;
3914 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3915 _v = 0;
3916 PyErr_Clear();
3917 } else {
3918 _v = 1;
3919 }
3920 }
3921 if (_v) {
c370783e 3922 _v = SWIG_Check_int(argv[1]);
d55e5bfc 3923 if (_v) {
c370783e 3924 _v = SWIG_Check_int(argv[2]);
d55e5bfc
RD
3925 if (_v) {
3926 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
3927 }
3928 }
3929 }
3930 }
3931
36ed4f51 3932 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
d55e5bfc
RD
3933 return NULL;
3934}
3935
3936
c370783e 3937static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3938 PyObject *resultobj = NULL;
d55e5bfc
RD
3939 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3940 PyObject * obj0 = 0 ;
3941 char *kwnames[] = {
3942 (char *) "self", NULL
3943 };
3944
3945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
36ed4f51
RD
3946 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3947 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3948 {
3949 PyThreadState* __tstate = wxPyBeginAllowThreads();
3950 (arg1)->AdjustScrollbars();
3951
3952 wxPyEndAllowThreads(__tstate);
3953 if (PyErr_Occurred()) SWIG_fail;
3954 }
3955 Py_INCREF(Py_None); resultobj = Py_None;
3956 return resultobj;
3957 fail:
3958 return NULL;
3959}
3960
3961
c370783e 3962static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3963 PyObject *resultobj = NULL;
d55e5bfc
RD
3964 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3965 wxScrollWinEvent *arg2 = 0 ;
3966 int result;
3967 PyObject * obj0 = 0 ;
3968 PyObject * obj1 = 0 ;
3969 char *kwnames[] = {
3970 (char *) "self",(char *) "event", NULL
3971 };
3972
3973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3974 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3975 if (SWIG_arg_fail(1)) SWIG_fail;
3976 {
3977 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxScrollWinEvent, SWIG_POINTER_EXCEPTION | 0);
3978 if (SWIG_arg_fail(2)) SWIG_fail;
3979 if (arg2 == NULL) {
3980 SWIG_null_ref("wxScrollWinEvent");
3981 }
3982 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
3983 }
3984 {
3985 PyThreadState* __tstate = wxPyBeginAllowThreads();
3986 result = (int)(arg1)->CalcScrollInc(*arg2);
3987
3988 wxPyEndAllowThreads(__tstate);
3989 if (PyErr_Occurred()) SWIG_fail;
3990 }
36ed4f51 3991 {
32fe5131 3992 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 3993 }
d55e5bfc
RD
3994 return resultobj;
3995 fail:
3996 return NULL;
3997}
3998
3999
c370783e 4000static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4001 PyObject *resultobj = NULL;
d55e5bfc
RD
4002 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4003 wxWindow *arg2 = (wxWindow *) 0 ;
4004 PyObject * obj0 = 0 ;
4005 PyObject * obj1 = 0 ;
4006 char *kwnames[] = {
4007 (char *) "self",(char *) "target", NULL
4008 };
4009
4010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4011 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
4012 if (SWIG_arg_fail(1)) SWIG_fail;
4013 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4014 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
4015 {
4016 PyThreadState* __tstate = wxPyBeginAllowThreads();
4017 (arg1)->SetTargetWindow(arg2);
4018
4019 wxPyEndAllowThreads(__tstate);
4020 if (PyErr_Occurred()) SWIG_fail;
4021 }
4022 Py_INCREF(Py_None); resultobj = Py_None;
4023 return resultobj;
4024 fail:
4025 return NULL;
4026}
4027
4028
c370783e 4029static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4030 PyObject *resultobj = NULL;
d55e5bfc
RD
4031 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4032 wxWindow *result;
4033 PyObject * obj0 = 0 ;
4034 char *kwnames[] = {
4035 (char *) "self", NULL
4036 };
4037
4038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
4039 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
4040 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4041 {
4042 PyThreadState* __tstate = wxPyBeginAllowThreads();
4043 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
4044
4045 wxPyEndAllowThreads(__tstate);
4046 if (PyErr_Occurred()) SWIG_fail;
4047 }
4048 {
412d302d 4049 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
4050 }
4051 return resultobj;
4052 fail:
4053 return NULL;
4054}
4055
4056
c370783e 4057static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4058 PyObject *resultobj = NULL;
d55e5bfc
RD
4059 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4060 wxRect *arg2 = 0 ;
4061 wxRect temp2 ;
4062 PyObject * obj0 = 0 ;
4063 PyObject * obj1 = 0 ;
4064 char *kwnames[] = {
4065 (char *) "self",(char *) "rect", NULL
4066 };
4067
4068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4069 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
4070 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4071 {
4072 arg2 = &temp2;
4073 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4074 }
4075 {
4076 PyThreadState* __tstate = wxPyBeginAllowThreads();
4077 (arg1)->SetTargetRect((wxRect const &)*arg2);
4078
4079 wxPyEndAllowThreads(__tstate);
4080 if (PyErr_Occurred()) SWIG_fail;
4081 }
4082 Py_INCREF(Py_None); resultobj = Py_None;
4083 return resultobj;
4084 fail:
4085 return NULL;
4086}
4087
4088
c370783e 4089static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4090 PyObject *resultobj = NULL;
d55e5bfc
RD
4091 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4092 wxRect result;
4093 PyObject * obj0 = 0 ;
4094 char *kwnames[] = {
4095 (char *) "self", NULL
4096 };
4097
4098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
36ed4f51
RD
4099 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
4100 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4101 {
4102 PyThreadState* __tstate = wxPyBeginAllowThreads();
4103 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
4104
4105 wxPyEndAllowThreads(__tstate);
4106 if (PyErr_Occurred()) SWIG_fail;
4107 }
4108 {
4109 wxRect * resultptr;
32fe5131 4110 resultptr = new wxRect(static_cast<wxRect & >(result));
d55e5bfc
RD
4111 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
4112 }
4113 return resultobj;
4114 fail:
4115 return NULL;
4116}
4117
4118
c370783e 4119static PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4120 PyObject *resultobj = NULL;
f5b96ee1
RD
4121 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4122 wxDC *arg2 = 0 ;
4123 PyObject * obj0 = 0 ;
4124 PyObject * obj1 = 0 ;
4125 char *kwnames[] = {
4126 (char *) "self",(char *) "dc", NULL
4127 };
4128
4129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4130 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
4131 if (SWIG_arg_fail(1)) SWIG_fail;
4132 {
4133 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
4134 if (SWIG_arg_fail(2)) SWIG_fail;
4135 if (arg2 == NULL) {
4136 SWIG_null_ref("wxDC");
4137 }
4138 if (SWIG_arg_fail(2)) SWIG_fail;
f5b96ee1
RD
4139 }
4140 {
4141 PyThreadState* __tstate = wxPyBeginAllowThreads();
4142 (arg1)->DoPrepareDC(*arg2);
4143
4144 wxPyEndAllowThreads(__tstate);
4145 if (PyErr_Occurred()) SWIG_fail;
4146 }
4147 Py_INCREF(Py_None); resultobj = Py_None;
4148 return resultobj;
4149 fail:
4150 return NULL;
4151}
4152
4153
c370783e 4154static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4155 PyObject *resultobj = NULL;
36ed4f51 4156 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
4157 wxVisualAttributes result;
4158 PyObject * obj0 = 0 ;
4159 char *kwnames[] = {
4160 (char *) "variant", NULL
4161 };
4162
4163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4164 if (obj0) {
36ed4f51 4165 {
32fe5131 4166 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
36ed4f51
RD
4167 if (SWIG_arg_fail(1)) SWIG_fail;
4168 }
f20a2e1f
RD
4169 }
4170 {
0439c23b 4171 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 4172 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 4173 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
4174
4175 wxPyEndAllowThreads(__tstate);
110da5b0 4176 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
4177 }
4178 {
4179 wxVisualAttributes * resultptr;
32fe5131 4180 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
4181 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4182 }
4183 return resultobj;
4184 fail:
4185 return NULL;
4186}
4187
4188
c370783e 4189static PyObject * ScrolledWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
4190 PyObject *obj;
4191 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4192 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
4193 Py_INCREF(obj);
4194 return Py_BuildValue((char *)"");
4195}
c370783e 4196static int _wrap_FrameNameStr_set(PyObject *) {
d55e5bfc
RD
4197 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
4198 return 1;
4199}
4200
4201
36ed4f51 4202static PyObject *_wrap_FrameNameStr_get(void) {
32fe5131 4203 PyObject *pyobj = NULL;
d55e5bfc
RD
4204
4205 {
4206#if wxUSE_UNICODE
4207 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
4208#else
4209 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
4210#endif
4211 }
4212 return pyobj;
4213}
4214
4215
c370783e 4216static int _wrap_DialogNameStr_set(PyObject *) {
d55e5bfc
RD
4217 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
4218 return 1;
4219}
4220
4221
36ed4f51 4222static PyObject *_wrap_DialogNameStr_get(void) {
32fe5131 4223 PyObject *pyobj = NULL;
d55e5bfc
RD
4224
4225 {
4226#if wxUSE_UNICODE
4227 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
4228#else
4229 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
4230#endif
4231 }
4232 return pyobj;
4233}
4234
4235
c370783e 4236static int _wrap_StatusLineNameStr_set(PyObject *) {
d55e5bfc
RD
4237 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
4238 return 1;
4239}
4240
4241
36ed4f51 4242static PyObject *_wrap_StatusLineNameStr_get(void) {
32fe5131 4243 PyObject *pyobj = NULL;
d55e5bfc
RD
4244
4245 {
4246#if wxUSE_UNICODE
4247 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
4248#else
4249 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
4250#endif
4251 }
4252 return pyobj;
4253}
4254
4255
c370783e 4256static int _wrap_ToolBarNameStr_set(PyObject *) {
d55e5bfc
RD
4257 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
4258 return 1;
4259}
4260
4261
36ed4f51 4262static PyObject *_wrap_ToolBarNameStr_get(void) {
32fe5131 4263 PyObject *pyobj = NULL;
d55e5bfc
RD
4264
4265 {
4266#if wxUSE_UNICODE
4267 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
4268#else
4269 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
4270#endif
4271 }
4272 return pyobj;
4273}
4274
4275
c370783e 4276static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4277 PyObject *resultobj = NULL;
d55e5bfc 4278 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
b411df4a 4279 bool arg2 = (bool) true ;
d55e5bfc
RD
4280 PyObject * obj0 = 0 ;
4281 PyObject * obj1 = 0 ;
4282 char *kwnames[] = {
4283 (char *) "self",(char *) "maximize", NULL
4284 };
4285
4286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4287 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4288 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 4289 if (obj1) {
36ed4f51 4290 {
32fe5131 4291 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
4292 if (SWIG_arg_fail(2)) SWIG_fail;
4293 }
d55e5bfc
RD
4294 }
4295 {
4296 PyThreadState* __tstate = wxPyBeginAllowThreads();
4297 (arg1)->Maximize(arg2);
4298
4299 wxPyEndAllowThreads(__tstate);
4300 if (PyErr_Occurred()) SWIG_fail;
4301 }
4302 Py_INCREF(Py_None); resultobj = Py_None;
4303 return resultobj;
4304 fail:
4305 return NULL;
4306}
4307
4308
c370783e 4309static PyObject *_wrap_TopLevelWindow_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4310 PyObject *resultobj = NULL;
d55e5bfc
RD
4311 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4312 PyObject * obj0 = 0 ;
4313 char *kwnames[] = {
4314 (char *) "self", NULL
4315 };
4316
4317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
36ed4f51
RD
4318 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4319 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4320 {
4321 PyThreadState* __tstate = wxPyBeginAllowThreads();
4322 (arg1)->Restore();
4323
4324 wxPyEndAllowThreads(__tstate);
4325 if (PyErr_Occurred()) SWIG_fail;
4326 }
4327 Py_INCREF(Py_None); resultobj = Py_None;
4328 return resultobj;
4329 fail:
4330 return NULL;
4331}
4332
4333
c370783e 4334static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4335 PyObject *resultobj = NULL;
d55e5bfc 4336 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
b411df4a 4337 bool arg2 = (bool) true ;
d55e5bfc
RD
4338 PyObject * obj0 = 0 ;
4339 PyObject * obj1 = 0 ;
4340 char *kwnames[] = {
4341 (char *) "self",(char *) "iconize", NULL
4342 };
4343
4344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4345 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4346 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 4347 if (obj1) {
36ed4f51 4348 {
32fe5131 4349 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
4350 if (SWIG_arg_fail(2)) SWIG_fail;
4351 }
d55e5bfc
RD
4352 }
4353 {
4354 PyThreadState* __tstate = wxPyBeginAllowThreads();
4355 (arg1)->Iconize(arg2);
4356
4357 wxPyEndAllowThreads(__tstate);
4358 if (PyErr_Occurred()) SWIG_fail;
4359 }
4360 Py_INCREF(Py_None); resultobj = Py_None;
4361 return resultobj;
4362 fail:
4363 return NULL;
4364}
4365
4366
c370783e 4367static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4368 PyObject *resultobj = NULL;
d55e5bfc
RD
4369 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4370 bool result;
4371 PyObject * obj0 = 0 ;
4372 char *kwnames[] = {
4373 (char *) "self", NULL
4374 };
4375
4376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
36ed4f51
RD
4377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4378 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4379 {
4380 PyThreadState* __tstate = wxPyBeginAllowThreads();
4381 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
4382
4383 wxPyEndAllowThreads(__tstate);
4384 if (PyErr_Occurred()) SWIG_fail;
4385 }
4386 {
4387 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4388 }
4389 return resultobj;
4390 fail:
4391 return NULL;
4392}
4393
4394
c370783e 4395static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4396 PyObject *resultobj = NULL;
d55e5bfc
RD
4397 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4398 bool result;
4399 PyObject * obj0 = 0 ;
4400 char *kwnames[] = {
4401 (char *) "self", NULL
4402 };
4403
4404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
36ed4f51
RD
4405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4406 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4407 {
4408 PyThreadState* __tstate = wxPyBeginAllowThreads();
4409 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
4410
4411 wxPyEndAllowThreads(__tstate);
4412 if (PyErr_Occurred()) SWIG_fail;
4413 }
4414 {
4415 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4416 }
4417 return resultobj;
4418 fail:
4419 return NULL;
4420}
4421
4422
c370783e 4423static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4424 PyObject *resultobj = NULL;
d55e5bfc
RD
4425 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4426 wxIcon result;
4427 PyObject * obj0 = 0 ;
4428 char *kwnames[] = {
4429 (char *) "self", NULL
4430 };
4431
4432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
36ed4f51
RD
4433 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4434 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4435 {
4436 PyThreadState* __tstate = wxPyBeginAllowThreads();
4437 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
4438
4439 wxPyEndAllowThreads(__tstate);
4440 if (PyErr_Occurred()) SWIG_fail;
4441 }
4442 {
4443 wxIcon * resultptr;
32fe5131 4444 resultptr = new wxIcon(static_cast<wxIcon & >(result));
d55e5bfc
RD
4445 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
4446 }
4447 return resultobj;
4448 fail:
4449 return NULL;
4450}
4451
4452
c370783e 4453static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4454 PyObject *resultobj = NULL;
d55e5bfc
RD
4455 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4456 wxIcon *arg2 = 0 ;
4457 PyObject * obj0 = 0 ;
4458 PyObject * obj1 = 0 ;
4459 char *kwnames[] = {
4460 (char *) "self",(char *) "icon", NULL
4461 };
4462
4463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4464 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4465 if (SWIG_arg_fail(1)) SWIG_fail;
4466 {
4467 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
4468 if (SWIG_arg_fail(2)) SWIG_fail;
4469 if (arg2 == NULL) {
4470 SWIG_null_ref("wxIcon");
4471 }
4472 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
4473 }
4474 {
4475 PyThreadState* __tstate = wxPyBeginAllowThreads();
4476 (arg1)->SetIcon((wxIcon const &)*arg2);
4477
4478 wxPyEndAllowThreads(__tstate);
4479 if (PyErr_Occurred()) SWIG_fail;
4480 }
4481 Py_INCREF(Py_None); resultobj = Py_None;
4482 return resultobj;
4483 fail:
4484 return NULL;
4485}
4486
4487
c370783e 4488static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4489 PyObject *resultobj = NULL;
d55e5bfc
RD
4490 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4491 wxIconBundle *arg2 = 0 ;
4492 PyObject * obj0 = 0 ;
4493 PyObject * obj1 = 0 ;
4494 char *kwnames[] = {
4495 (char *) "self",(char *) "icons", NULL
4496 };
4497
4498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4499 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4500 if (SWIG_arg_fail(1)) SWIG_fail;
4501 {
4502 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIconBundle, SWIG_POINTER_EXCEPTION | 0);
4503 if (SWIG_arg_fail(2)) SWIG_fail;
4504 if (arg2 == NULL) {
4505 SWIG_null_ref("wxIconBundle");
4506 }
4507 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
4508 }
4509 {
4510 PyThreadState* __tstate = wxPyBeginAllowThreads();
4511 (arg1)->SetIcons((wxIconBundle const &)*arg2);
4512
4513 wxPyEndAllowThreads(__tstate);
4514 if (PyErr_Occurred()) SWIG_fail;
4515 }
4516 Py_INCREF(Py_None); resultobj = Py_None;
4517 return resultobj;
4518 fail:
4519 return NULL;
4520}
4521
4522
c370783e 4523static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4524 PyObject *resultobj = NULL;
d55e5bfc
RD
4525 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4526 bool arg2 ;
4527 long arg3 = (long) wxFULLSCREEN_ALL ;
4528 bool result;
4529 PyObject * obj0 = 0 ;
4530 PyObject * obj1 = 0 ;
4531 PyObject * obj2 = 0 ;
4532 char *kwnames[] = {
4533 (char *) "self",(char *) "show",(char *) "style", NULL
4534 };
4535
4536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
4537 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4538 if (SWIG_arg_fail(1)) SWIG_fail;
4539 {
32fe5131 4540 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
4541 if (SWIG_arg_fail(2)) SWIG_fail;
4542 }
d55e5bfc 4543 if (obj2) {
36ed4f51 4544 {
32fe5131 4545 arg3 = static_cast<long >(SWIG_As_long(obj2));
36ed4f51
RD
4546 if (SWIG_arg_fail(3)) SWIG_fail;
4547 }
d55e5bfc
RD
4548 }
4549 {
4550 PyThreadState* __tstate = wxPyBeginAllowThreads();
4551 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
4552
4553 wxPyEndAllowThreads(__tstate);
4554 if (PyErr_Occurred()) SWIG_fail;
4555 }
4556 {
4557 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4558 }
4559 return resultobj;
4560 fail:
4561 return NULL;
4562}
4563
4564
c370783e 4565static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4566 PyObject *resultobj = NULL;
d55e5bfc
RD
4567 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4568 bool result;
4569 PyObject * obj0 = 0 ;
4570 char *kwnames[] = {
4571 (char *) "self", NULL
4572 };
4573
4574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
36ed4f51
RD
4575 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4576 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4577 {
4578 PyThreadState* __tstate = wxPyBeginAllowThreads();
4579 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
4580
4581 wxPyEndAllowThreads(__tstate);
4582 if (PyErr_Occurred()) SWIG_fail;
4583 }
4584 {
4585 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4586 }
4587 return resultobj;
4588 fail:
4589 return NULL;
4590}
4591
4592
c370783e 4593static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4594 PyObject *resultobj = NULL;
d55e5bfc
RD
4595 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4596 wxString *arg2 = 0 ;
b411df4a 4597 bool temp2 = false ;
d55e5bfc
RD
4598 PyObject * obj0 = 0 ;
4599 PyObject * obj1 = 0 ;
4600 char *kwnames[] = {
4601 (char *) "self",(char *) "title", NULL
4602 };
4603
4604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4605 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4606 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4607 {
4608 arg2 = wxString_in_helper(obj1);
4609 if (arg2 == NULL) SWIG_fail;
b411df4a 4610 temp2 = true;
d55e5bfc
RD
4611 }
4612 {
4613 PyThreadState* __tstate = wxPyBeginAllowThreads();
4614 (arg1)->SetTitle((wxString const &)*arg2);
4615
4616 wxPyEndAllowThreads(__tstate);
4617 if (PyErr_Occurred()) SWIG_fail;
4618 }
4619 Py_INCREF(Py_None); resultobj = Py_None;
4620 {
4621 if (temp2)
4622 delete arg2;
4623 }
4624 return resultobj;
4625 fail:
4626 {
4627 if (temp2)
4628 delete arg2;
4629 }
4630 return NULL;
4631}
4632
4633
c370783e 4634static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4635 PyObject *resultobj = NULL;
d55e5bfc
RD
4636 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4637 wxString result;
4638 PyObject * obj0 = 0 ;
4639 char *kwnames[] = {
4640 (char *) "self", NULL
4641 };
4642
4643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
36ed4f51
RD
4644 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4645 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4646 {
4647 PyThreadState* __tstate = wxPyBeginAllowThreads();
4648 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
4649
4650 wxPyEndAllowThreads(__tstate);
4651 if (PyErr_Occurred()) SWIG_fail;
4652 }
4653 {
4654#if wxUSE_UNICODE
4655 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4656#else
4657 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4658#endif
4659 }
4660 return resultobj;
4661 fail:
4662 return NULL;
4663}
4664
4665
c370783e 4666static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4667 PyObject *resultobj = NULL;
d55e5bfc
RD
4668 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4669 wxRegion *arg2 = 0 ;
4670 bool result;
4671 PyObject * obj0 = 0 ;
4672 PyObject * obj1 = 0 ;
4673 char *kwnames[] = {
4674 (char *) "self",(char *) "region", NULL
4675 };
4676
4677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4678 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4679 if (SWIG_arg_fail(1)) SWIG_fail;
4680 {
4681 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
4682 if (SWIG_arg_fail(2)) SWIG_fail;
4683 if (arg2 == NULL) {
4684 SWIG_null_ref("wxRegion");
4685 }
4686 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
4687 }
4688 {
4689 PyThreadState* __tstate = wxPyBeginAllowThreads();
4690 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
4691
4692 wxPyEndAllowThreads(__tstate);
4693 if (PyErr_Occurred()) SWIG_fail;
4694 }
4695 {
4696 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4697 }
4698 return resultobj;
4699 fail:
4700 return NULL;
4701}
4702
4703
c370783e 4704static PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4705 PyObject *resultobj = NULL;
c370783e
RD
4706 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4707 int arg2 = (int) wxUSER_ATTENTION_INFO ;
4708 PyObject * obj0 = 0 ;
4709 PyObject * obj1 = 0 ;
4710 char *kwnames[] = {
4711 (char *) "self",(char *) "flags", NULL
4712 };
4713
4714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4715 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4716 if (SWIG_arg_fail(1)) SWIG_fail;
c370783e 4717 if (obj1) {
36ed4f51 4718 {
32fe5131 4719 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
4720 if (SWIG_arg_fail(2)) SWIG_fail;
4721 }
c370783e
RD
4722 }
4723 {
4724 PyThreadState* __tstate = wxPyBeginAllowThreads();
4725 (arg1)->RequestUserAttention(arg2);
4726
4727 wxPyEndAllowThreads(__tstate);
4728 if (PyErr_Occurred()) SWIG_fail;
4729 }
4730 Py_INCREF(Py_None); resultobj = Py_None;
4731 return resultobj;
4732 fail:
4733 return NULL;
4734}
4735
4736
5e483524 4737static PyObject *_wrap_TopLevelWindow_IsActive(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4738 PyObject *resultobj = NULL;
5e483524
RD
4739 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4740 bool result;
4741 PyObject * obj0 = 0 ;
4742 char *kwnames[] = {
4743 (char *) "self", NULL
4744 };
4745
4746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsActive",kwnames,&obj0)) goto fail;
36ed4f51
RD
4747 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4748 if (SWIG_arg_fail(1)) SWIG_fail;
5e483524
RD
4749 {
4750 PyThreadState* __tstate = wxPyBeginAllowThreads();
4751 result = (bool)(arg1)->IsActive();
4752
4753 wxPyEndAllowThreads(__tstate);
4754 if (PyErr_Occurred()) SWIG_fail;
4755 }
4756 {
4757 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4758 }
4759 return resultobj;
4760 fail:
4761 return NULL;
4762}
4763
4764
c370783e 4765static PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4766 PyObject *resultobj = NULL;
d55e5bfc
RD
4767 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4768 bool arg2 ;
4769 PyObject * obj0 = 0 ;
4770 PyObject * obj1 = 0 ;
4771 char *kwnames[] = {
4772 (char *) "self",(char *) "on", NULL
4773 };
4774
4775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4776 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4777 if (SWIG_arg_fail(1)) SWIG_fail;
4778 {
32fe5131 4779 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
4780 if (SWIG_arg_fail(2)) SWIG_fail;
4781 }
d55e5bfc
RD
4782 {
4783 PyThreadState* __tstate = wxPyBeginAllowThreads();
4784 (arg1)->MacSetMetalAppearance(arg2);
4785
4786 wxPyEndAllowThreads(__tstate);
4787 if (PyErr_Occurred()) SWIG_fail;
4788 }
4789 Py_INCREF(Py_None); resultobj = Py_None;
4790 return resultobj;
4791 fail:
4792 return NULL;
4793}
4794
4795
c370783e 4796static PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4797 PyObject *resultobj = NULL;
d55e5bfc
RD
4798 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4799 bool result;
4800 PyObject * obj0 = 0 ;
4801 char *kwnames[] = {
4802 (char *) "self", NULL
4803 };
4804
4805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames,&obj0)) goto fail;
36ed4f51
RD
4806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4807 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4808 {
4809 PyThreadState* __tstate = wxPyBeginAllowThreads();
4810 result = (bool)((wxTopLevelWindow const *)arg1)->MacGetMetalAppearance();
4811
4812 wxPyEndAllowThreads(__tstate);
4813 if (PyErr_Occurred()) SWIG_fail;
4814 }
4815 {
4816 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4817 }
4818 return resultobj;
4819 fail:
4820 return NULL;
4821}
4822
4823
b1fcee84
RD
4824static PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *, PyObject *args, PyObject *kwargs) {
4825 PyObject *resultobj = NULL;
4826 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4827 int arg2 = (int) wxBOTH ;
4828 PyObject * obj0 = 0 ;
4829 PyObject * obj1 = 0 ;
4830 char *kwnames[] = {
4831 (char *) "self",(char *) "dir", NULL
4832 };
4833
4834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) goto fail;
4835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4836 if (SWIG_arg_fail(1)) SWIG_fail;
4837 if (obj1) {
4838 {
4839 arg2 = static_cast<int >(SWIG_As_int(obj1));
4840 if (SWIG_arg_fail(2)) SWIG_fail;
4841 }
4842 }
4843 {
4844 PyThreadState* __tstate = wxPyBeginAllowThreads();
4845 (arg1)->CenterOnScreen(arg2);
4846
4847 wxPyEndAllowThreads(__tstate);
4848 if (PyErr_Occurred()) SWIG_fail;
4849 }
4850 Py_INCREF(Py_None); resultobj = Py_None;
4851 return resultobj;
4852 fail:
4853 return NULL;
4854}
4855
4856
c370783e 4857static PyObject * TopLevelWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
4858 PyObject *obj;
4859 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4860 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
4861 Py_INCREF(obj);
4862 return Py_BuildValue((char *)"");
4863}
c370783e 4864static PyObject *_wrap_new_Frame(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4865 PyObject *resultobj = NULL;
d55e5bfc 4866 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
4867 int arg2 = (int) (int)-1 ;
4868 wxString const &arg3_defvalue = wxPyEmptyString ;
4869 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
4870 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4871 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4872 wxSize const &arg5_defvalue = wxDefaultSize ;
4873 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4874 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4875 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4876 wxString *arg7 = (wxString *) &arg7_defvalue ;
4877 wxFrame *result;
b411df4a 4878 bool temp3 = false ;
d55e5bfc
RD
4879 wxPoint temp4 ;
4880 wxSize temp5 ;
b411df4a 4881 bool temp7 = false ;
d55e5bfc
RD
4882 PyObject * obj0 = 0 ;
4883 PyObject * obj1 = 0 ;
4884 PyObject * obj2 = 0 ;
4885 PyObject * obj3 = 0 ;
4886 PyObject * obj4 = 0 ;
4887 PyObject * obj5 = 0 ;
4888 PyObject * obj6 = 0 ;
4889 char *kwnames[] = {
4890 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4891 };
4892
bfddbb17 4893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
4894 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4895 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 4896 if (obj1) {
36ed4f51 4897 {
32fe5131 4898 arg2 = static_cast<int const >(SWIG_As_int(obj1));
36ed4f51
RD
4899 if (SWIG_arg_fail(2)) SWIG_fail;
4900 }
bfddbb17
RD
4901 }
4902 if (obj2) {
4903 {
4904 arg3 = wxString_in_helper(obj2);
4905 if (arg3 == NULL) SWIG_fail;
b411df4a 4906 temp3 = true;
bfddbb17 4907 }
d55e5bfc
RD
4908 }
4909 if (obj3) {
4910 {
4911 arg4 = &temp4;
4912 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4913 }
4914 }
4915 if (obj4) {
4916 {
4917 arg5 = &temp5;
4918 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4919 }
4920 }
4921 if (obj5) {
36ed4f51 4922 {
32fe5131 4923 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
4924 if (SWIG_arg_fail(6)) SWIG_fail;
4925 }
d55e5bfc
RD
4926 }
4927 if (obj6) {
4928 {
4929 arg7 = wxString_in_helper(obj6);
4930 if (arg7 == NULL) SWIG_fail;
b411df4a 4931 temp7 = true;
d55e5bfc
RD
4932 }
4933 }
4934 {
0439c23b 4935 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4936 PyThreadState* __tstate = wxPyBeginAllowThreads();
4937 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4938
4939 wxPyEndAllowThreads(__tstate);
110da5b0 4940 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 4941 }
b0f7404b 4942 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
d55e5bfc
RD
4943 {
4944 if (temp3)
4945 delete arg3;
4946 }
4947 {
4948 if (temp7)
4949 delete arg7;
4950 }
4951 return resultobj;
4952 fail:
4953 {
4954 if (temp3)
4955 delete arg3;
4956 }
4957 {
4958 if (temp7)
4959 delete arg7;
4960 }
4961 return NULL;
4962}
4963
4964
c370783e 4965static PyObject *_wrap_new_PreFrame(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4966 PyObject *resultobj = NULL;
d55e5bfc
RD
4967 wxFrame *result;
4968 char *kwnames[] = {
4969 NULL
4970 };
4971
4972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
4973 {
0439c23b 4974 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4975 PyThreadState* __tstate = wxPyBeginAllowThreads();
4976 result = (wxFrame *)new wxFrame();
4977
4978 wxPyEndAllowThreads(__tstate);
110da5b0 4979 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 4980 }
b0f7404b 4981 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
d55e5bfc
RD
4982 return resultobj;
4983 fail:
4984 return NULL;
4985}
4986
4987
c370783e 4988static PyObject *_wrap_Frame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4989 PyObject *resultobj = NULL;
d55e5bfc
RD
4990 wxFrame *arg1 = (wxFrame *) 0 ;
4991 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
4992 int arg3 = (int) (int)-1 ;
4993 wxString const &arg4_defvalue = wxPyEmptyString ;
4994 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
4995 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4996 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4997 wxSize const &arg6_defvalue = wxDefaultSize ;
4998 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4999 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
5000 wxString const &arg8_defvalue = wxPyFrameNameStr ;
5001 wxString *arg8 = (wxString *) &arg8_defvalue ;
5002 bool result;
b411df4a 5003 bool temp4 = false ;
d55e5bfc
RD
5004 wxPoint temp5 ;
5005 wxSize temp6 ;
b411df4a 5006 bool temp8 = false ;
d55e5bfc
RD
5007 PyObject * obj0 = 0 ;
5008 PyObject * obj1 = 0 ;
5009 PyObject * obj2 = 0 ;
5010 PyObject * obj3 = 0 ;
5011 PyObject * obj4 = 0 ;
5012 PyObject * obj5 = 0 ;
5013 PyObject * obj6 = 0 ;
5014 PyObject * obj7 = 0 ;
5015 char *kwnames[] = {
5016 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5017 };
5018
bfddbb17 5019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
5020 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5021 if (SWIG_arg_fail(1)) SWIG_fail;
5022 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5023 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 5024 if (obj2) {
36ed4f51 5025 {
32fe5131 5026 arg3 = static_cast<int const >(SWIG_As_int(obj2));
36ed4f51
RD
5027 if (SWIG_arg_fail(3)) SWIG_fail;
5028 }
bfddbb17
RD
5029 }
5030 if (obj3) {
5031 {
5032 arg4 = wxString_in_helper(obj3);
5033 if (arg4 == NULL) SWIG_fail;
b411df4a 5034 temp4 = true;
bfddbb17 5035 }
d55e5bfc
RD
5036 }
5037 if (obj4) {
5038 {
5039 arg5 = &temp5;
5040 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5041 }
5042 }
5043 if (obj5) {
5044 {
5045 arg6 = &temp6;
5046 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5047 }
5048 }
5049 if (obj6) {
36ed4f51 5050 {
32fe5131 5051 arg7 = static_cast<long >(SWIG_As_long(obj6));
36ed4f51
RD
5052 if (SWIG_arg_fail(7)) SWIG_fail;
5053 }
d55e5bfc
RD
5054 }
5055 if (obj7) {
5056 {
5057 arg8 = wxString_in_helper(obj7);
5058 if (arg8 == NULL) SWIG_fail;
b411df4a 5059 temp8 = true;
d55e5bfc
RD
5060 }
5061 }
5062 {
5063 PyThreadState* __tstate = wxPyBeginAllowThreads();
5064 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
5065
5066 wxPyEndAllowThreads(__tstate);
5067 if (PyErr_Occurred()) SWIG_fail;
5068 }
5069 {
5070 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5071 }
5072 {
5073 if (temp4)
5074 delete arg4;
5075 }
5076 {
5077 if (temp8)
5078 delete arg8;
5079 }
5080 return resultobj;
5081 fail:
5082 {
5083 if (temp4)
5084 delete arg4;
5085 }
5086 {
5087 if (temp8)
5088 delete arg8;
5089 }
5090 return NULL;
5091}
5092
5093
c370783e 5094static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5095 PyObject *resultobj = NULL;
d55e5bfc
RD
5096 wxFrame *arg1 = (wxFrame *) 0 ;
5097 wxPoint result;
5098 PyObject * obj0 = 0 ;
5099 char *kwnames[] = {
5100 (char *) "self", NULL
5101 };
5102
5103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
36ed4f51
RD
5104 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5105 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5106 {
5107 PyThreadState* __tstate = wxPyBeginAllowThreads();
5108 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
5109
5110 wxPyEndAllowThreads(__tstate);
5111 if (PyErr_Occurred()) SWIG_fail;
5112 }
5113 {
5114 wxPoint * resultptr;
32fe5131 5115 resultptr = new wxPoint(static_cast<wxPoint & >(result));
d55e5bfc
RD
5116 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
5117 }
5118 return resultobj;
5119 fail:
5120 return NULL;
5121}
5122
5123
c370783e 5124static PyObject *_wrap_Frame_SendSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5125 PyObject *resultobj = NULL;
d55e5bfc
RD
5126 wxFrame *arg1 = (wxFrame *) 0 ;
5127 PyObject * obj0 = 0 ;
5128 char *kwnames[] = {
5129 (char *) "self", NULL
5130 };
5131
5132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
36ed4f51
RD
5133 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5134 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5135 {
5136 PyThreadState* __tstate = wxPyBeginAllowThreads();
5137 (arg1)->SendSizeEvent();
5138
5139 wxPyEndAllowThreads(__tstate);
5140 if (PyErr_Occurred()) SWIG_fail;
5141 }
5142 Py_INCREF(Py_None); resultobj = Py_None;
5143 return resultobj;
5144 fail:
5145 return NULL;
5146}
5147
5148
c370783e 5149static PyObject *_wrap_Frame_SetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5150 PyObject *resultobj = NULL;
d55e5bfc
RD
5151 wxFrame *arg1 = (wxFrame *) 0 ;
5152 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
5153 PyObject * obj0 = 0 ;
5154 PyObject * obj1 = 0 ;
5155 char *kwnames[] = {
5156 (char *) "self",(char *) "menubar", NULL
5157 };
5158
5159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5160 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5161 if (SWIG_arg_fail(1)) SWIG_fail;
5162 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
5163 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
5164 {
5165 PyThreadState* __tstate = wxPyBeginAllowThreads();
5166 (arg1)->SetMenuBar(arg2);
5167
5168 wxPyEndAllowThreads(__tstate);
5169 if (PyErr_Occurred()) SWIG_fail;
5170 }
5171 Py_INCREF(Py_None); resultobj = Py_None;
5172 return resultobj;
5173 fail:
5174 return NULL;
5175}
5176
5177
c370783e 5178static PyObject *_wrap_Frame_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5179 PyObject *resultobj = NULL;
d55e5bfc
RD
5180 wxFrame *arg1 = (wxFrame *) 0 ;
5181 wxMenuBar *result;
5182 PyObject * obj0 = 0 ;
5183 char *kwnames[] = {
5184 (char *) "self", NULL
5185 };
5186
5187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
36ed4f51
RD
5188 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5189 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5190 {
5191 PyThreadState* __tstate = wxPyBeginAllowThreads();
5192 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
5193
5194 wxPyEndAllowThreads(__tstate);
5195 if (PyErr_Occurred()) SWIG_fail;
5196 }
5197 {
412d302d 5198 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
5199 }
5200 return resultobj;
5201 fail:
5202 return NULL;
5203}
5204
5205
c370783e 5206static PyObject *_wrap_Frame_ProcessCommand(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5207 PyObject *resultobj = NULL;
d55e5bfc
RD
5208 wxFrame *arg1 = (wxFrame *) 0 ;
5209 int arg2 ;
5210 bool result;
5211 PyObject * obj0 = 0 ;
5212 PyObject * obj1 = 0 ;
5213 char *kwnames[] = {
5214 (char *) "self",(char *) "winid", NULL
5215 };
5216
5217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5218 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5219 if (SWIG_arg_fail(1)) SWIG_fail;
5220 {
32fe5131 5221 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
5222 if (SWIG_arg_fail(2)) SWIG_fail;
5223 }
d55e5bfc
RD
5224 {
5225 PyThreadState* __tstate = wxPyBeginAllowThreads();
5226 result = (bool)(arg1)->ProcessCommand(arg2);
5227
5228 wxPyEndAllowThreads(__tstate);
5229 if (PyErr_Occurred()) SWIG_fail;
5230 }
5231 {
5232 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5233 }
5234 return resultobj;
5235 fail:
5236 return NULL;
5237}
5238
5239
c370783e 5240static PyObject *_wrap_Frame_CreateStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5241 PyObject *resultobj = NULL;
d55e5bfc
RD
5242 wxFrame *arg1 = (wxFrame *) 0 ;
5243 int arg2 = (int) 1 ;
6d88e192 5244 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
d55e5bfc
RD
5245 int arg4 = (int) 0 ;
5246 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
5247 wxString *arg5 = (wxString *) &arg5_defvalue ;
5248 wxStatusBar *result;
b411df4a 5249 bool temp5 = false ;
d55e5bfc
RD
5250 PyObject * obj0 = 0 ;
5251 PyObject * obj1 = 0 ;
5252 PyObject * obj2 = 0 ;
5253 PyObject * obj3 = 0 ;
5254 PyObject * obj4 = 0 ;
5255 char *kwnames[] = {
5256 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
5257 };
5258
5259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
5260 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5261 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 5262 if (obj1) {
36ed4f51 5263 {
32fe5131 5264 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
5265 if (SWIG_arg_fail(2)) SWIG_fail;
5266 }
d55e5bfc
RD
5267 }
5268 if (obj2) {
36ed4f51 5269 {
32fe5131 5270 arg3 = static_cast<long >(SWIG_As_long(obj2));
36ed4f51
RD
5271 if (SWIG_arg_fail(3)) SWIG_fail;
5272 }
d55e5bfc
RD
5273 }
5274 if (obj3) {
36ed4f51 5275 {
32fe5131 5276 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
5277 if (SWIG_arg_fail(4)) SWIG_fail;
5278 }
d55e5bfc
RD
5279 }
5280 if (obj4) {
5281 {
5282 arg5 = wxString_in_helper(obj4);
5283 if (arg5 == NULL) SWIG_fail;
b411df4a 5284 temp5 = true;
d55e5bfc
RD
5285 }
5286 }
5287 {
5288 PyThreadState* __tstate = wxPyBeginAllowThreads();
5289 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
5290
5291 wxPyEndAllowThreads(__tstate);
5292 if (PyErr_Occurred()) SWIG_fail;
5293 }
5294 {
7e08d4ef 5295 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
5296 }
5297 {
5298 if (temp5)
5299 delete arg5;
5300 }
5301 return resultobj;
5302 fail:
5303 {
5304 if (temp5)
5305 delete arg5;
5306 }
5307 return NULL;
5308}
5309
5310
c370783e 5311static PyObject *_wrap_Frame_GetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5312 PyObject *resultobj = NULL;
d55e5bfc
RD
5313 wxFrame *arg1 = (wxFrame *) 0 ;
5314 wxStatusBar *result;
5315 PyObject * obj0 = 0 ;
5316 char *kwnames[] = {
5317 (char *) "self", NULL
5318 };
5319
5320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
36ed4f51
RD
5321 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5322 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5323 {
5324 PyThreadState* __tstate = wxPyBeginAllowThreads();
5325 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
5326
5327 wxPyEndAllowThreads(__tstate);
5328 if (PyErr_Occurred()) SWIG_fail;
5329 }
5330 {
7e08d4ef 5331 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
5332 }
5333 return resultobj;
5334 fail:
5335 return NULL;
5336}
5337
5338
c370783e 5339static PyObject *_wrap_Frame_SetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5340 PyObject *resultobj = NULL;
d55e5bfc
RD
5341 wxFrame *arg1 = (wxFrame *) 0 ;
5342 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
5343 PyObject * obj0 = 0 ;
5344 PyObject * obj1 = 0 ;
5345 char *kwnames[] = {
5346 (char *) "self",(char *) "statBar", NULL
5347 };
5348
5349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5350 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5351 if (SWIG_arg_fail(1)) SWIG_fail;
5352 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
5353 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
5354 {
5355 PyThreadState* __tstate = wxPyBeginAllowThreads();
5356 (arg1)->SetStatusBar(arg2);
5357
5358 wxPyEndAllowThreads(__tstate);
5359 if (PyErr_Occurred()) SWIG_fail;
5360 }
5361 Py_INCREF(Py_None); resultobj = Py_None;
5362 return resultobj;
5363 fail:
5364 return NULL;
5365}
5366
5367
c370783e 5368static PyObject *_wrap_Frame_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5369 PyObject *resultobj = NULL;
d55e5bfc
RD
5370 wxFrame *arg1 = (wxFrame *) 0 ;
5371 wxString *arg2 = 0 ;
5372 int arg3 = (int) 0 ;
b411df4a 5373 bool temp2 = false ;
d55e5bfc
RD
5374 PyObject * obj0 = 0 ;
5375 PyObject * obj1 = 0 ;
5376 PyObject * obj2 = 0 ;
5377 char *kwnames[] = {
5378 (char *) "self",(char *) "text",(char *) "number", NULL
5379 };
5380
5381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
5382 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5383 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5384 {
5385 arg2 = wxString_in_helper(obj1);
5386 if (arg2 == NULL) SWIG_fail;
b411df4a 5387 temp2 = true;
d55e5bfc
RD
5388 }
5389 if (obj2) {
36ed4f51 5390 {
32fe5131 5391 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
5392 if (SWIG_arg_fail(3)) SWIG_fail;
5393 }
d55e5bfc
RD
5394 }
5395 {
5396 PyThreadState* __tstate = wxPyBeginAllowThreads();
5397 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5398
5399 wxPyEndAllowThreads(__tstate);
5400 if (PyErr_Occurred()) SWIG_fail;
5401 }
5402 Py_INCREF(Py_None); resultobj = Py_None;
5403 {
5404 if (temp2)
5405 delete arg2;
5406 }
5407 return resultobj;
5408 fail:
5409 {
5410 if (temp2)
5411 delete arg2;
5412 }
5413 return NULL;
5414}
5415
5416
c370783e 5417static PyObject *_wrap_Frame_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5418 PyObject *resultobj = NULL;
d55e5bfc
RD
5419 wxFrame *arg1 = (wxFrame *) 0 ;
5420 int arg2 ;
5421 int *arg3 = (int *) 0 ;
5422 PyObject * obj0 = 0 ;
5423 PyObject * obj1 = 0 ;
5424 char *kwnames[] = {
5425 (char *) "self",(char *) "widths", NULL
5426 };
5427
5428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5429 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5430 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5431 {
5432 arg2 = PyList_Size(obj1);
5433 arg3 = int_LIST_helper(obj1);
5434 if (arg3 == NULL) SWIG_fail;
5435 }
5436 {
5437 PyThreadState* __tstate = wxPyBeginAllowThreads();
5438 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5439
5440 wxPyEndAllowThreads(__tstate);
5441 if (PyErr_Occurred()) SWIG_fail;
5442 }
5443 Py_INCREF(Py_None); resultobj = Py_None;
5444 {
5445 if (arg3) delete [] arg3;
5446 }
5447 return resultobj;
5448 fail:
5449 {
5450 if (arg3) delete [] arg3;
5451 }
5452 return NULL;
5453}
5454
5455
c370783e 5456static PyObject *_wrap_Frame_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5457 PyObject *resultobj = NULL;
d55e5bfc
RD
5458 wxFrame *arg1 = (wxFrame *) 0 ;
5459 wxString *arg2 = 0 ;
5460 int arg3 = (int) 0 ;
b411df4a 5461 bool temp2 = false ;
d55e5bfc
RD
5462 PyObject * obj0 = 0 ;
5463 PyObject * obj1 = 0 ;
5464 PyObject * obj2 = 0 ;
5465 char *kwnames[] = {
5466 (char *) "self",(char *) "text",(char *) "number", NULL
5467 };
5468
5469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
5470 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5471 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5472 {
5473 arg2 = wxString_in_helper(obj1);
5474 if (arg2 == NULL) SWIG_fail;
b411df4a 5475 temp2 = true;
d55e5bfc
RD
5476 }
5477 if (obj2) {
36ed4f51 5478 {
32fe5131 5479 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
5480 if (SWIG_arg_fail(3)) SWIG_fail;
5481 }
d55e5bfc
RD
5482 }
5483 {
5484 PyThreadState* __tstate = wxPyBeginAllowThreads();
5485 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5486
5487 wxPyEndAllowThreads(__tstate);
5488 if (PyErr_Occurred()) SWIG_fail;
5489 }
5490 Py_INCREF(Py_None); resultobj = Py_None;
5491 {
5492 if (temp2)
5493 delete arg2;
5494 }
5495 return resultobj;
5496 fail:
5497 {
5498 if (temp2)
5499 delete arg2;
5500 }
5501 return NULL;
5502}
5503
5504
c370783e 5505static PyObject *_wrap_Frame_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5506 PyObject *resultobj = NULL;
d55e5bfc
RD
5507 wxFrame *arg1 = (wxFrame *) 0 ;
5508 int arg2 = (int) 0 ;
5509 PyObject * obj0 = 0 ;
5510 PyObject * obj1 = 0 ;
5511 char *kwnames[] = {
5512 (char *) "self",(char *) "number", NULL
5513 };
5514
5515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5516 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5517 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 5518 if (obj1) {
36ed4f51 5519 {
32fe5131 5520 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
5521 if (SWIG_arg_fail(2)) SWIG_fail;
5522 }
d55e5bfc
RD
5523 }
5524 {
5525 PyThreadState* __tstate = wxPyBeginAllowThreads();
5526 (arg1)->PopStatusText(arg2);
5527
5528 wxPyEndAllowThreads(__tstate);
5529 if (PyErr_Occurred()) SWIG_fail;
5530 }
5531 Py_INCREF(Py_None); resultobj = Py_None;
5532 return resultobj;
5533 fail:
5534 return NULL;
5535}
5536
5537
c370783e 5538static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5539 PyObject *resultobj = NULL;
d55e5bfc
RD
5540 wxFrame *arg1 = (wxFrame *) 0 ;
5541 int arg2 ;
5542 PyObject * obj0 = 0 ;
5543 PyObject * obj1 = 0 ;
5544 char *kwnames[] = {
5545 (char *) "self",(char *) "n", NULL
5546 };
5547
5548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5550 if (SWIG_arg_fail(1)) SWIG_fail;
5551 {
32fe5131 5552 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
5553 if (SWIG_arg_fail(2)) SWIG_fail;
5554 }
d55e5bfc
RD
5555 {
5556 PyThreadState* __tstate = wxPyBeginAllowThreads();
5557 (arg1)->SetStatusBarPane(arg2);
5558
5559 wxPyEndAllowThreads(__tstate);
5560 if (PyErr_Occurred()) SWIG_fail;
5561 }
5562 Py_INCREF(Py_None); resultobj = Py_None;
5563 return resultobj;
5564 fail:
5565 return NULL;
5566}
5567
5568
c370783e 5569static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5570 PyObject *resultobj = NULL;
d55e5bfc
RD
5571 wxFrame *arg1 = (wxFrame *) 0 ;
5572 int result;
5573 PyObject * obj0 = 0 ;
5574 char *kwnames[] = {
5575 (char *) "self", NULL
5576 };
5577
5578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
36ed4f51
RD
5579 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5580 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5581 {
5582 PyThreadState* __tstate = wxPyBeginAllowThreads();
5583 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
5584
5585 wxPyEndAllowThreads(__tstate);
5586 if (PyErr_Occurred()) SWIG_fail;
5587 }
36ed4f51 5588 {
32fe5131 5589 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 5590 }
d55e5bfc
RD
5591 return resultobj;
5592 fail:
5593 return NULL;
5594}
5595
5596
c370783e 5597static PyObject *_wrap_Frame_CreateToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5598 PyObject *resultobj = NULL;
d55e5bfc
RD
5599 wxFrame *arg1 = (wxFrame *) 0 ;
5600 long arg2 = (long) -1 ;
5601 int arg3 = (int) -1 ;
5602 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
5603 wxString *arg4 = (wxString *) &arg4_defvalue ;
5604 wxToolBar *result;
b411df4a 5605 bool temp4 = false ;
d55e5bfc
RD
5606 PyObject * obj0 = 0 ;
5607 PyObject * obj1 = 0 ;
5608 PyObject * obj2 = 0 ;
5609 PyObject * obj3 = 0 ;
5610 char *kwnames[] = {
5611 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
5612 };
5613
5614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
5615 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5616 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 5617 if (obj1) {
36ed4f51 5618 {
32fe5131 5619 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
5620 if (SWIG_arg_fail(2)) SWIG_fail;
5621 }
d55e5bfc
RD
5622 }
5623 if (obj2) {
36ed4f51 5624 {
32fe5131 5625 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
5626 if (SWIG_arg_fail(3)) SWIG_fail;
5627 }
d55e5bfc
RD
5628 }
5629 if (obj3) {
5630 {
5631 arg4 = wxString_in_helper(obj3);
5632 if (arg4 == NULL) SWIG_fail;
b411df4a 5633 temp4 = true;
d55e5bfc
RD
5634 }
5635 }
5636 {
5637 PyThreadState* __tstate = wxPyBeginAllowThreads();
5638 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
5639
5640 wxPyEndAllowThreads(__tstate);
5641 if (PyErr_Occurred()) SWIG_fail;
5642 }
5643 {
7e08d4ef 5644 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
5645 }
5646 {
5647 if (temp4)
5648 delete arg4;
5649 }
5650 return resultobj;
5651 fail:
5652 {
5653 if (temp4)
5654 delete arg4;
5655 }
5656 return NULL;
5657}
5658
5659
c370783e 5660static PyObject *_wrap_Frame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5661 PyObject *resultobj = NULL;
d55e5bfc
RD
5662 wxFrame *arg1 = (wxFrame *) 0 ;
5663 wxToolBar *result;
5664 PyObject * obj0 = 0 ;
5665 char *kwnames[] = {
5666 (char *) "self", NULL
5667 };
5668
5669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
36ed4f51
RD
5670 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5671 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5672 {
5673 PyThreadState* __tstate = wxPyBeginAllowThreads();
5674 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
5675
5676 wxPyEndAllowThreads(__tstate);
5677 if (PyErr_Occurred()) SWIG_fail;
5678 }
5679 {
7e08d4ef 5680 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
5681 }
5682 return resultobj;
5683 fail:
5684 return NULL;
5685}
5686
5687
c370783e 5688static PyObject *_wrap_Frame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5689 PyObject *resultobj = NULL;
d55e5bfc
RD
5690 wxFrame *arg1 = (wxFrame *) 0 ;
5691 wxToolBar *arg2 = (wxToolBar *) 0 ;
5692 PyObject * obj0 = 0 ;
5693 PyObject * obj1 = 0 ;
5694 char *kwnames[] = {
5695 (char *) "self",(char *) "toolbar", NULL
5696 };
5697
5698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5700 if (SWIG_arg_fail(1)) SWIG_fail;
5701 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
5702 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
5703 {
5704 PyThreadState* __tstate = wxPyBeginAllowThreads();
5705 (arg1)->SetToolBar(arg2);
5706
5707 wxPyEndAllowThreads(__tstate);
5708 if (PyErr_Occurred()) SWIG_fail;
5709 }
5710 Py_INCREF(Py_None); resultobj = Py_None;
5711 return resultobj;
5712 fail:
5713 return NULL;
5714}
5715
5716
c370783e 5717static PyObject *_wrap_Frame_DoGiveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5718 PyObject *resultobj = NULL;
d55e5bfc
RD
5719 wxFrame *arg1 = (wxFrame *) 0 ;
5720 wxString *arg2 = 0 ;
5721 bool arg3 ;
b411df4a 5722 bool temp2 = false ;
d55e5bfc
RD
5723 PyObject * obj0 = 0 ;
5724 PyObject * obj1 = 0 ;
5725 PyObject * obj2 = 0 ;
5726 char *kwnames[] = {
5727 (char *) "self",(char *) "text",(char *) "show", NULL
5728 };
5729
5730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
5731 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5732 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5733 {
5734 arg2 = wxString_in_helper(obj1);
5735 if (arg2 == NULL) SWIG_fail;
b411df4a 5736 temp2 = true;
d55e5bfc 5737 }
36ed4f51 5738 {
32fe5131 5739 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
5740 if (SWIG_arg_fail(3)) SWIG_fail;
5741 }
d55e5bfc
RD
5742 {
5743 PyThreadState* __tstate = wxPyBeginAllowThreads();
5744 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
5745
5746 wxPyEndAllowThreads(__tstate);
5747 if (PyErr_Occurred()) SWIG_fail;
5748 }
5749 Py_INCREF(Py_None); resultobj = Py_None;
5750 {
5751 if (temp2)
5752 delete arg2;
5753 }
5754 return resultobj;
5755 fail:
5756 {
5757 if (temp2)
5758 delete arg2;
5759 }
5760 return NULL;
5761}
5762
5763
c370783e 5764static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5765 PyObject *resultobj = NULL;
d55e5bfc
RD
5766 wxFrame *arg1 = (wxFrame *) 0 ;
5767 wxMenu *arg2 = (wxMenu *) NULL ;
5768 PyObject * obj0 = 0 ;
5769 PyObject * obj1 = 0 ;
5770 char *kwnames[] = {
5771 (char *) "self",(char *) "menu", NULL
5772 };
5773
5774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5775 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5776 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 5777 if (obj1) {
36ed4f51
RD
5778 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
5779 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
5780 }
5781 {
5782 PyThreadState* __tstate = wxPyBeginAllowThreads();
5783 (arg1)->DoMenuUpdates(arg2);
5784
5785 wxPyEndAllowThreads(__tstate);
5786 if (PyErr_Occurred()) SWIG_fail;
5787 }
5788 Py_INCREF(Py_None); resultobj = Py_None;
5789 return resultobj;
5790 fail:
5791 return NULL;
5792}
5793
5794
c370783e 5795static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5796 PyObject *resultobj = NULL;
36ed4f51 5797 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
5798 wxVisualAttributes result;
5799 PyObject * obj0 = 0 ;
5800 char *kwnames[] = {
5801 (char *) "variant", NULL
5802 };
5803
5804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5805 if (obj0) {
36ed4f51 5806 {
32fe5131 5807 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
36ed4f51
RD
5808 if (SWIG_arg_fail(1)) SWIG_fail;
5809 }
f20a2e1f
RD
5810 }
5811 {
0439c23b 5812 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 5813 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 5814 result = wxFrame::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
5815
5816 wxPyEndAllowThreads(__tstate);
110da5b0 5817 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
5818 }
5819 {
5820 wxVisualAttributes * resultptr;
32fe5131 5821 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
5822 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5823 }
5824 return resultobj;
5825 fail:
5826 return NULL;
5827}
5828
5829
c370783e 5830static PyObject * Frame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
5831 PyObject *obj;
5832 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5833 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
5834 Py_INCREF(obj);
5835 return Py_BuildValue((char *)"");
5836}
c370783e 5837static PyObject *_wrap_new_Dialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5838 PyObject *resultobj = NULL;
d55e5bfc 5839 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
5840 int arg2 = (int) (int)-1 ;
5841 wxString const &arg3_defvalue = wxPyEmptyString ;
5842 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
5843 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5844 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5845 wxSize const &arg5_defvalue = wxDefaultSize ;
5846 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5847 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
5848 wxString const &arg7_defvalue = wxPyDialogNameStr ;
5849 wxString *arg7 = (wxString *) &arg7_defvalue ;
5850 wxDialog *result;
b411df4a 5851 bool temp3 = false ;
d55e5bfc
RD
5852 wxPoint temp4 ;
5853 wxSize temp5 ;
b411df4a 5854 bool temp7 = false ;
d55e5bfc
RD
5855 PyObject * obj0 = 0 ;
5856 PyObject * obj1 = 0 ;
5857 PyObject * obj2 = 0 ;
5858 PyObject * obj3 = 0 ;
5859 PyObject * obj4 = 0 ;
5860 PyObject * obj5 = 0 ;
5861 PyObject * obj6 = 0 ;
5862 char *kwnames[] = {
5863 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5864 };
5865
bfddbb17 5866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
5867 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5868 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 5869 if (obj1) {
36ed4f51 5870 {
32fe5131 5871 arg2 = static_cast<int const >(SWIG_As_int(obj1));
36ed4f51
RD
5872 if (SWIG_arg_fail(2)) SWIG_fail;
5873 }
bfddbb17
RD
5874 }
5875 if (obj2) {
5876 {
5877 arg3 = wxString_in_helper(obj2);
5878 if (arg3 == NULL) SWIG_fail;
b411df4a 5879 temp3 = true;
bfddbb17 5880 }
d55e5bfc
RD
5881 }
5882 if (obj3) {
5883 {
5884 arg4 = &temp4;
5885 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5886 }
5887 }
5888 if (obj4) {
5889 {
5890 arg5 = &temp5;
5891 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5892 }
5893 }
5894 if (obj5) {
36ed4f51 5895 {
32fe5131 5896 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
5897 if (SWIG_arg_fail(6)) SWIG_fail;
5898 }
d55e5bfc
RD
5899 }
5900 if (obj6) {
5901 {
5902 arg7 = wxString_in_helper(obj6);
5903 if (arg7 == NULL) SWIG_fail;
b411df4a 5904 temp7 = true;
d55e5bfc
RD
5905 }
5906 }
5907 {
0439c23b 5908 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5909 PyThreadState* __tstate = wxPyBeginAllowThreads();
5910 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5911
5912 wxPyEndAllowThreads(__tstate);
110da5b0 5913 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 5914 }
b0f7404b 5915 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
d55e5bfc
RD
5916 {
5917 if (temp3)
5918 delete arg3;
5919 }
5920 {
5921 if (temp7)
5922 delete arg7;
5923 }
5924 return resultobj;
5925 fail:
5926 {
5927 if (temp3)
5928 delete arg3;
5929 }
5930 {
5931 if (temp7)
5932 delete arg7;
5933 }
5934 return NULL;
5935}
5936
5937
c370783e 5938static PyObject *_wrap_new_PreDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5939 PyObject *resultobj = NULL;
d55e5bfc
RD
5940 wxDialog *result;
5941 char *kwnames[] = {
5942 NULL
5943 };
5944
5945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
5946 {
0439c23b 5947 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5948 PyThreadState* __tstate = wxPyBeginAllowThreads();
5949 result = (wxDialog *)new wxDialog();
5950
5951 wxPyEndAllowThreads(__tstate);
110da5b0 5952 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 5953 }
b0f7404b 5954 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
d55e5bfc
RD
5955 return resultobj;
5956 fail:
5957 return NULL;
5958}
5959
5960
c370783e 5961static PyObject *_wrap_Dialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5962 PyObject *resultobj = NULL;
d55e5bfc
RD
5963 wxDialog *arg1 = (wxDialog *) 0 ;
5964 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
5965 int arg3 = (int) (int)-1 ;
5966 wxString const &arg4_defvalue = wxPyEmptyString ;
5967 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
5968 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5969 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5970 wxSize const &arg6_defvalue = wxDefaultSize ;
5971 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5972 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
5973 wxString const &arg8_defvalue = wxPyDialogNameStr ;
5974 wxString *arg8 = (wxString *) &arg8_defvalue ;
5975 bool result;
b411df4a 5976 bool temp4 = false ;
d55e5bfc
RD
5977 wxPoint temp5 ;
5978 wxSize temp6 ;
b411df4a 5979 bool temp8 = false ;
d55e5bfc
RD
5980 PyObject * obj0 = 0 ;
5981 PyObject * obj1 = 0 ;
5982 PyObject * obj2 = 0 ;
5983 PyObject * obj3 = 0 ;
5984 PyObject * obj4 = 0 ;
5985 PyObject * obj5 = 0 ;
5986 PyObject * obj6 = 0 ;
5987 PyObject * obj7 = 0 ;
5988 char *kwnames[] = {
5989 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5990 };
5991
bfddbb17 5992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
5993 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5994 if (SWIG_arg_fail(1)) SWIG_fail;
5995 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5996 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 5997 if (obj2) {
36ed4f51 5998 {
32fe5131 5999 arg3 = static_cast<int const >(SWIG_As_int(obj2));
36ed4f51
RD
6000 if (SWIG_arg_fail(3)) SWIG_fail;
6001 }
bfddbb17
RD
6002 }
6003 if (obj3) {
6004 {
6005 arg4 = wxString_in_helper(obj3);
6006 if (arg4 == NULL) SWIG_fail;
b411df4a 6007 temp4 = true;
bfddbb17 6008 }
d55e5bfc
RD
6009 }
6010 if (obj4) {
6011 {
6012 arg5 = &temp5;
6013 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6014 }
6015 }
6016 if (obj5) {
6017 {
6018 arg6 = &temp6;
6019 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6020 }
6021 }
6022 if (obj6) {
36ed4f51 6023 {
32fe5131 6024 arg7 = static_cast<long >(SWIG_As_long(obj6));
36ed4f51
RD
6025 if (SWIG_arg_fail(7)) SWIG_fail;
6026 }
d55e5bfc
RD
6027 }
6028 if (obj7) {
6029 {
6030 arg8 = wxString_in_helper(obj7);
6031 if (arg8 == NULL) SWIG_fail;
b411df4a 6032 temp8 = true;
d55e5bfc
RD
6033 }
6034 }
6035 {
6036 PyThreadState* __tstate = wxPyBeginAllowThreads();
6037 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6038
6039 wxPyEndAllowThreads(__tstate);
6040 if (PyErr_Occurred()) SWIG_fail;
6041 }
6042 {
6043 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6044 }
6045 {
6046 if (temp4)
6047 delete arg4;
6048 }
6049 {
6050 if (temp8)
6051 delete arg8;
6052 }
6053 return resultobj;
6054 fail:
6055 {
6056 if (temp4)
6057 delete arg4;
6058 }
6059 {
6060 if (temp8)
6061 delete arg8;
6062 }
6063 return NULL;
6064}
6065
6066
c370783e 6067static PyObject *_wrap_Dialog_SetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6068 PyObject *resultobj = NULL;
d55e5bfc
RD
6069 wxDialog *arg1 = (wxDialog *) 0 ;
6070 int arg2 ;
6071 PyObject * obj0 = 0 ;
6072 PyObject * obj1 = 0 ;
6073 char *kwnames[] = {
6074 (char *) "self",(char *) "returnCode", NULL
6075 };
6076
6077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6078 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6079 if (SWIG_arg_fail(1)) SWIG_fail;
6080 {
32fe5131 6081 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
6082 if (SWIG_arg_fail(2)) SWIG_fail;
6083 }
d55e5bfc
RD
6084 {
6085 PyThreadState* __tstate = wxPyBeginAllowThreads();
6086 (arg1)->SetReturnCode(arg2);
6087
6088 wxPyEndAllowThreads(__tstate);
6089 if (PyErr_Occurred()) SWIG_fail;
6090 }
6091 Py_INCREF(Py_None); resultobj = Py_None;
6092 return resultobj;
6093 fail:
6094 return NULL;
6095}
6096
6097
c370783e 6098static PyObject *_wrap_Dialog_GetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6099 PyObject *resultobj = NULL;
d55e5bfc
RD
6100 wxDialog *arg1 = (wxDialog *) 0 ;
6101 int result;
6102 PyObject * obj0 = 0 ;
6103 char *kwnames[] = {
6104 (char *) "self", NULL
6105 };
6106
6107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
36ed4f51
RD
6108 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6109 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6110 {
6111 PyThreadState* __tstate = wxPyBeginAllowThreads();
6112 result = (int)((wxDialog const *)arg1)->GetReturnCode();
6113
6114 wxPyEndAllowThreads(__tstate);
6115 if (PyErr_Occurred()) SWIG_fail;
6116 }
36ed4f51 6117 {
32fe5131 6118 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 6119 }
d55e5bfc
RD
6120 return resultobj;
6121 fail:
6122 return NULL;
6123}
6124
6125
b1fcee84
RD
6126static PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *, PyObject *args, PyObject *kwargs) {
6127 PyObject *resultobj = NULL;
6128 wxDialog *arg1 = (wxDialog *) 0 ;
6129 int arg2 ;
6130 PyObject * obj0 = 0 ;
6131 PyObject * obj1 = 0 ;
6132 char *kwnames[] = {
6133 (char *) "self",(char *) "affirmativeId", NULL
6134 };
6135
6136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) goto fail;
6137 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6138 if (SWIG_arg_fail(1)) SWIG_fail;
6139 {
6140 arg2 = static_cast<int >(SWIG_As_int(obj1));
6141 if (SWIG_arg_fail(2)) SWIG_fail;
6142 }
6143 {
6144 PyThreadState* __tstate = wxPyBeginAllowThreads();
6145 (arg1)->SetAffirmativeId(arg2);
6146
6147 wxPyEndAllowThreads(__tstate);
6148 if (PyErr_Occurred()) SWIG_fail;
6149 }
6150 Py_INCREF(Py_None); resultobj = Py_None;
6151 return resultobj;
6152 fail:
6153 return NULL;
6154}
6155
6156
6157static PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *, PyObject *args, PyObject *kwargs) {
6158 PyObject *resultobj = NULL;
6159 wxDialog *arg1 = (wxDialog *) 0 ;
6160 int result;
6161 PyObject * obj0 = 0 ;
6162 char *kwnames[] = {
6163 (char *) "self", NULL
6164 };
6165
6166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetAffirmativeId",kwnames,&obj0)) goto fail;
6167 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6168 if (SWIG_arg_fail(1)) SWIG_fail;
6169 {
6170 PyThreadState* __tstate = wxPyBeginAllowThreads();
6171 result = (int)((wxDialog const *)arg1)->GetAffirmativeId();
6172
6173 wxPyEndAllowThreads(__tstate);
6174 if (PyErr_Occurred()) SWIG_fail;
6175 }
6176 {
6177 resultobj = SWIG_From_int(static_cast<int >(result));
6178 }
6179 return resultobj;
6180 fail:
6181 return NULL;
6182}
6183
6184
6185static PyObject *_wrap_Dialog_SetEscapeId(PyObject *, PyObject *args, PyObject *kwargs) {
6186 PyObject *resultobj = NULL;
6187 wxDialog *arg1 = (wxDialog *) 0 ;
6188 int arg2 ;
6189 PyObject * obj0 = 0 ;
6190 PyObject * obj1 = 0 ;
6191 char *kwnames[] = {
6192 (char *) "self",(char *) "escapeId", NULL
6193 };
6194
6195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) goto fail;
6196 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6197 if (SWIG_arg_fail(1)) SWIG_fail;
6198 {
6199 arg2 = static_cast<int >(SWIG_As_int(obj1));
6200 if (SWIG_arg_fail(2)) SWIG_fail;
6201 }
6202 {
6203 PyThreadState* __tstate = wxPyBeginAllowThreads();
6204 (arg1)->SetEscapeId(arg2);
6205
6206 wxPyEndAllowThreads(__tstate);
6207 if (PyErr_Occurred()) SWIG_fail;
6208 }
6209 Py_INCREF(Py_None); resultobj = Py_None;
6210 return resultobj;
6211 fail:
6212 return NULL;
6213}
6214
6215
6216static PyObject *_wrap_Dialog_GetEscapeId(PyObject *, PyObject *args, PyObject *kwargs) {
6217 PyObject *resultobj = NULL;
6218 wxDialog *arg1 = (wxDialog *) 0 ;
6219 int result;
6220 PyObject * obj0 = 0 ;
6221 char *kwnames[] = {
6222 (char *) "self", NULL
6223 };
6224
6225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetEscapeId",kwnames,&obj0)) goto fail;
6226 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6227 if (SWIG_arg_fail(1)) SWIG_fail;
6228 {
6229 PyThreadState* __tstate = wxPyBeginAllowThreads();
6230 result = (int)((wxDialog const *)arg1)->GetEscapeId();
6231
6232 wxPyEndAllowThreads(__tstate);
6233 if (PyErr_Occurred()) SWIG_fail;
6234 }
6235 {
6236 resultobj = SWIG_From_int(static_cast<int >(result));
6237 }
6238 return resultobj;
6239 fail:
6240 return NULL;
6241}
6242
6243
c370783e 6244static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6245 PyObject *resultobj = NULL;
d55e5bfc
RD
6246 wxDialog *arg1 = (wxDialog *) 0 ;
6247 wxString *arg2 = 0 ;
6248 wxSizer *result;
b411df4a 6249 bool temp2 = false ;
d55e5bfc
RD
6250 PyObject * obj0 = 0 ;
6251 PyObject * obj1 = 0 ;
6252 char *kwnames[] = {
6253 (char *) "self",(char *) "message", NULL
6254 };
6255
6256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6257 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6258 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6259 {
6260 arg2 = wxString_in_helper(obj1);
6261 if (arg2 == NULL) SWIG_fail;
b411df4a 6262 temp2 = true;
d55e5bfc
RD
6263 }
6264 {
6265 PyThreadState* __tstate = wxPyBeginAllowThreads();
6266 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
6267
6268 wxPyEndAllowThreads(__tstate);
6269 if (PyErr_Occurred()) SWIG_fail;
6270 }
6271 {
7e08d4ef 6272 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
6273 }
6274 {
6275 if (temp2)
6276 delete arg2;
6277 }
6278 return resultobj;
6279 fail:
6280 {
6281 if (temp2)
6282 delete arg2;
6283 }
6284 return NULL;
6285}
6286
6287
c370783e 6288static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6289 PyObject *resultobj = NULL;
d55e5bfc
RD
6290 wxDialog *arg1 = (wxDialog *) 0 ;
6291 long arg2 ;
32fe5131
RD
6292 bool arg3 = (bool) false ;
6293 int arg4 = (int) 0 ;
d55e5bfc
RD
6294 wxSizer *result;
6295 PyObject * obj0 = 0 ;
6296 PyObject * obj1 = 0 ;
32fe5131
RD
6297 PyObject * obj2 = 0 ;
6298 PyObject * obj3 = 0 ;
d55e5bfc 6299 char *kwnames[] = {
32fe5131 6300 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
d55e5bfc
RD
6301 };
6302
32fe5131 6303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
6304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6305 if (SWIG_arg_fail(1)) SWIG_fail;
6306 {
32fe5131 6307 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
6308 if (SWIG_arg_fail(2)) SWIG_fail;
6309 }
32fe5131
RD
6310 if (obj2) {
6311 {
6312 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
6313 if (SWIG_arg_fail(3)) SWIG_fail;
6314 }
6315 }
6316 if (obj3) {
6317 {
6318 arg4 = static_cast<int >(SWIG_As_int(obj3));
6319 if (SWIG_arg_fail(4)) SWIG_fail;
6320 }
6321 }
d55e5bfc
RD
6322 {
6323 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 6324 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2,arg3,arg4);
d55e5bfc
RD
6325
6326 wxPyEndAllowThreads(__tstate);
6327 if (PyErr_Occurred()) SWIG_fail;
6328 }
6329 {
7e08d4ef 6330 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
6331 }
6332 return resultobj;
6333 fail:
6334 return NULL;
6335}
6336
6337
62d32a5f 6338static PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6339 PyObject *resultobj = NULL;
62d32a5f
RD
6340 wxDialog *arg1 = (wxDialog *) 0 ;
6341 long arg2 ;
6342 wxStdDialogButtonSizer *result;
6343 PyObject * obj0 = 0 ;
6344 PyObject * obj1 = 0 ;
6345 char *kwnames[] = {
6346 (char *) "self",(char *) "flags", NULL
6347 };
6348
6349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) goto fail;
6350 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6351 if (SWIG_arg_fail(1)) SWIG_fail;
6352 {
32fe5131 6353 arg2 = static_cast<long >(SWIG_As_long(obj1));
62d32a5f
RD
6354 if (SWIG_arg_fail(2)) SWIG_fail;
6355 }
6356 {
6357 PyThreadState* __tstate = wxPyBeginAllowThreads();
6358 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
6359
6360 wxPyEndAllowThreads(__tstate);
6361 if (PyErr_Occurred()) SWIG_fail;
6362 }
6363 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0);
6364 return resultobj;
6365 fail:
6366 return NULL;
6367}
6368
6369
c370783e 6370static PyObject *_wrap_Dialog_IsModal(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6371 PyObject *resultobj = NULL;
d55e5bfc
RD
6372 wxDialog *arg1 = (wxDialog *) 0 ;
6373 bool result;
6374 PyObject * obj0 = 0 ;
6375 char *kwnames[] = {
6376 (char *) "self", NULL
6377 };
6378
6379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
36ed4f51
RD
6380 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6381 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6382 {
6383 PyThreadState* __tstate = wxPyBeginAllowThreads();
6384 result = (bool)((wxDialog const *)arg1)->IsModal();
6385
6386 wxPyEndAllowThreads(__tstate);
6387 if (PyErr_Occurred()) SWIG_fail;
6388 }
6389 {
6390 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6391 }
6392 return resultobj;
6393 fail:
6394 return NULL;
6395}
6396
6397
c370783e 6398static PyObject *_wrap_Dialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6399 PyObject *resultobj = NULL;
d55e5bfc
RD
6400 wxDialog *arg1 = (wxDialog *) 0 ;
6401 int result;
6402 PyObject * obj0 = 0 ;
6403 char *kwnames[] = {
6404 (char *) "self", NULL
6405 };
6406
6407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
36ed4f51
RD
6408 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6409 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6410 {
6411 PyThreadState* __tstate = wxPyBeginAllowThreads();
6412 result = (int)(arg1)->ShowModal();
6413
6414 wxPyEndAllowThreads(__tstate);
6415 if (PyErr_Occurred()) SWIG_fail;
6416 }
36ed4f51 6417 {
32fe5131 6418 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 6419 }
d55e5bfc
RD
6420 return resultobj;
6421 fail:
6422 return NULL;
6423}
6424
6425
c370783e 6426static PyObject *_wrap_Dialog_EndModal(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6427 PyObject *resultobj = NULL;
d55e5bfc
RD
6428 wxDialog *arg1 = (wxDialog *) 0 ;
6429 int arg2 ;
6430 PyObject * obj0 = 0 ;
6431 PyObject * obj1 = 0 ;
6432 char *kwnames[] = {
6433 (char *) "self",(char *) "retCode", NULL
6434 };
6435
6436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6437 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6438 if (SWIG_arg_fail(1)) SWIG_fail;
6439 {
32fe5131 6440 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
6441 if (SWIG_arg_fail(2)) SWIG_fail;
6442 }
d55e5bfc
RD
6443 {
6444 PyThreadState* __tstate = wxPyBeginAllowThreads();
6445 (arg1)->EndModal(arg2);
6446
6447 wxPyEndAllowThreads(__tstate);
6448 if (PyErr_Occurred()) SWIG_fail;
6449 }
6450 Py_INCREF(Py_None); resultobj = Py_None;
6451 return resultobj;
6452 fail:
6453 return NULL;
6454}
6455
6456
c370783e 6457static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6458 PyObject *resultobj = NULL;
36ed4f51 6459 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
6460 wxVisualAttributes result;
6461 PyObject * obj0 = 0 ;
6462 char *kwnames[] = {
6463 (char *) "variant", NULL
6464 };
6465
6466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6467 if (obj0) {
36ed4f51 6468 {
32fe5131 6469 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
36ed4f51
RD
6470 if (SWIG_arg_fail(1)) SWIG_fail;
6471 }
f20a2e1f
RD
6472 }
6473 {
0439c23b 6474 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 6475 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 6476 result = wxDialog::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
6477
6478 wxPyEndAllowThreads(__tstate);
110da5b0 6479 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
6480 }
6481 {
6482 wxVisualAttributes * resultptr;
32fe5131 6483 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
6484 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6485 }
6486 return resultobj;
6487 fail:
6488 return NULL;
6489}
6490
6491
c370783e 6492static PyObject * Dialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6493 PyObject *obj;
6494 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6495 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
6496 Py_INCREF(obj);
6497 return Py_BuildValue((char *)"");
6498}
c370783e 6499static PyObject *_wrap_new_MiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6500 PyObject *resultobj = NULL;
d55e5bfc 6501 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
6502 int arg2 = (int) (int)-1 ;
6503 wxString const &arg3_defvalue = wxPyEmptyString ;
6504 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
6505 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6506 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6507 wxSize const &arg5_defvalue = wxDefaultSize ;
6508 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6509 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6510 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6511 wxString *arg7 = (wxString *) &arg7_defvalue ;
6512 wxMiniFrame *result;
b411df4a 6513 bool temp3 = false ;
d55e5bfc
RD
6514 wxPoint temp4 ;
6515 wxSize temp5 ;
b411df4a 6516 bool temp7 = false ;
d55e5bfc
RD
6517 PyObject * obj0 = 0 ;
6518 PyObject * obj1 = 0 ;
6519 PyObject * obj2 = 0 ;
6520 PyObject * obj3 = 0 ;
6521 PyObject * obj4 = 0 ;
6522 PyObject * obj5 = 0 ;
6523 PyObject * obj6 = 0 ;
6524 char *kwnames[] = {
6525 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6526 };
6527
bfddbb17 6528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
6529 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6530 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 6531 if (obj1) {
36ed4f51 6532 {
32fe5131 6533 arg2 = static_cast<int const >(SWIG_As_int(obj1));
36ed4f51
RD
6534 if (SWIG_arg_fail(2)) SWIG_fail;
6535 }
bfddbb17
RD
6536 }
6537 if (obj2) {
6538 {
6539 arg3 = wxString_in_helper(obj2);
6540 if (arg3 == NULL) SWIG_fail;
b411df4a 6541 temp3 = true;
bfddbb17 6542 }
d55e5bfc
RD
6543 }
6544 if (obj3) {
6545 {
6546 arg4 = &temp4;
6547 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6548 }
6549 }
6550 if (obj4) {
6551 {
6552 arg5 = &temp5;
6553 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6554 }
6555 }
6556 if (obj5) {
36ed4f51 6557 {
32fe5131 6558 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
6559 if (SWIG_arg_fail(6)) SWIG_fail;
6560 }
d55e5bfc
RD
6561 }
6562 if (obj6) {
6563 {
6564 arg7 = wxString_in_helper(obj6);
6565 if (arg7 == NULL) SWIG_fail;
b411df4a 6566 temp7 = true;
d55e5bfc
RD
6567 }
6568 }
6569 {
0439c23b 6570 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6571 PyThreadState* __tstate = wxPyBeginAllowThreads();
6572 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6573
6574 wxPyEndAllowThreads(__tstate);
110da5b0 6575 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6576 }
6577 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
6578 {
6579 if (temp3)
6580 delete arg3;
6581 }
6582 {
6583 if (temp7)
6584 delete arg7;
6585 }
6586 return resultobj;
6587 fail:
6588 {
6589 if (temp3)
6590 delete arg3;
6591 }
6592 {
6593 if (temp7)
6594 delete arg7;
6595 }
6596 return NULL;
6597}
6598
6599
c370783e 6600static PyObject *_wrap_new_PreMiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6601 PyObject *resultobj = NULL;
d55e5bfc
RD
6602 wxMiniFrame *result;
6603 char *kwnames[] = {
6604 NULL
6605 };
6606
6607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
6608 {
0439c23b 6609 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6610 PyThreadState* __tstate = wxPyBeginAllowThreads();
6611 result = (wxMiniFrame *)new wxMiniFrame();
6612
6613 wxPyEndAllowThreads(__tstate);
110da5b0 6614 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6615 }
6616 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
6617 return resultobj;
6618 fail:
6619 return NULL;
6620}
6621
6622
c370783e 6623static PyObject *_wrap_MiniFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6624 PyObject *resultobj = NULL;
d55e5bfc
RD
6625 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
6626 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
6627 int arg3 = (int) (int)-1 ;
6628 wxString const &arg4_defvalue = wxPyEmptyString ;
6629 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
6630 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6631 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6632 wxSize const &arg6_defvalue = wxDefaultSize ;
6633 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6634 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6635 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6636 wxString *arg8 = (wxString *) &arg8_defvalue ;
6637 bool result;
b411df4a 6638 bool temp4 = false ;
d55e5bfc
RD
6639 wxPoint temp5 ;
6640 wxSize temp6 ;
b411df4a 6641 bool temp8 = false ;
d55e5bfc
RD
6642 PyObject * obj0 = 0 ;
6643 PyObject * obj1 = 0 ;
6644 PyObject * obj2 = 0 ;
6645 PyObject * obj3 = 0 ;
6646 PyObject * obj4 = 0 ;
6647 PyObject * obj5 = 0 ;
6648 PyObject * obj6 = 0 ;
6649 PyObject * obj7 = 0 ;
6650 char *kwnames[] = {
6651 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6652 };
6653
bfddbb17 6654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
6655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_EXCEPTION | 0);
6656 if (SWIG_arg_fail(1)) SWIG_fail;
6657 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6658 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 6659 if (obj2) {
36ed4f51 6660 {
32fe5131 6661 arg3 = static_cast<int const >(SWIG_As_int(obj2));
36ed4f51
RD
6662 if (SWIG_arg_fail(3)) SWIG_fail;
6663 }
bfddbb17
RD
6664 }
6665 if (obj3) {
6666 {
6667 arg4 = wxString_in_helper(obj3);
6668 if (arg4 == NULL) SWIG_fail;
b411df4a 6669 temp4 = true;
bfddbb17 6670 }
d55e5bfc
RD
6671 }
6672 if (obj4) {
6673 {
6674 arg5 = &temp5;
6675 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6676 }
6677 }
6678 if (obj5) {
6679 {
6680 arg6 = &temp6;
6681 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6682 }
6683 }
6684 if (obj6) {
36ed4f51 6685 {
32fe5131 6686 arg7 = static_cast<long >(SWIG_As_long(obj6));
36ed4f51
RD
6687 if (SWIG_arg_fail(7)) SWIG_fail;
6688 }
d55e5bfc
RD
6689 }
6690 if (obj7) {
6691 {
6692 arg8 = wxString_in_helper(obj7);
6693 if (arg8 == NULL) SWIG_fail;
b411df4a 6694 temp8 = true;
d55e5bfc
RD
6695 }
6696 }
6697 {
6698 PyThreadState* __tstate = wxPyBeginAllowThreads();
6699 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6700
6701 wxPyEndAllowThreads(__tstate);
6702 if (PyErr_Occurred()) SWIG_fail;
6703 }
6704 {
6705 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6706 }
6707 {
6708 if (temp4)
6709 delete arg4;
6710 }
6711 {
6712 if (temp8)
6713 delete arg8;
6714 }
6715 return resultobj;
6716 fail:
6717 {
6718 if (temp4)
6719 delete arg4;
6720 }
6721 {
6722 if (temp8)
6723 delete arg8;
6724 }
6725 return NULL;
6726}
6727
6728
c370783e 6729static PyObject * MiniFrame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6730 PyObject *obj;
6731 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6732 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
6733 Py_INCREF(obj);
6734 return Py_BuildValue((char *)"");
6735}
c370783e 6736static PyObject *_wrap_new_SplashScreenWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6737 PyObject *resultobj = NULL;
d55e5bfc
RD
6738 wxBitmap *arg1 = 0 ;
6739 wxWindow *arg2 = (wxWindow *) 0 ;
6740 int arg3 ;
6741 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6742 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6743 wxSize const &arg5_defvalue = wxDefaultSize ;
6744 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6745 long arg6 = (long) wxNO_BORDER ;
6746 wxSplashScreenWindow *result;
6747 wxPoint temp4 ;
6748 wxSize temp5 ;
6749 PyObject * obj0 = 0 ;
6750 PyObject * obj1 = 0 ;
6751 PyObject * obj2 = 0 ;
6752 PyObject * obj3 = 0 ;
6753 PyObject * obj4 = 0 ;
6754 PyObject * obj5 = 0 ;
6755 char *kwnames[] = {
6756 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6757 };
6758
6759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
6760 {
6761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6762 if (SWIG_arg_fail(1)) SWIG_fail;
6763 if (arg1 == NULL) {
6764 SWIG_null_ref("wxBitmap");
6765 }
6766 if (SWIG_arg_fail(1)) SWIG_fail;
6767 }
6768 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6769 if (SWIG_arg_fail(2)) SWIG_fail;
6770 {
32fe5131 6771 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
6772 if (SWIG_arg_fail(3)) SWIG_fail;
6773 }
d55e5bfc
RD
6774 if (obj3) {
6775 {
6776 arg4 = &temp4;
6777 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6778 }
6779 }
6780 if (obj4) {
6781 {
6782 arg5 = &temp5;
6783 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6784 }
6785 }
6786 if (obj5) {
36ed4f51 6787 {
32fe5131 6788 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
6789 if (SWIG_arg_fail(6)) SWIG_fail;
6790 }
d55e5bfc
RD
6791 }
6792 {
0439c23b 6793 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6794 PyThreadState* __tstate = wxPyBeginAllowThreads();
6795 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
6796
6797 wxPyEndAllowThreads(__tstate);
110da5b0 6798 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6799 }
6800 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
6801 return resultobj;
6802 fail:
6803 return NULL;
6804}
6805
6806
c370783e 6807static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6808 PyObject *resultobj = NULL;
d55e5bfc
RD
6809 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
6810 wxBitmap *arg2 = 0 ;
6811 PyObject * obj0 = 0 ;
6812 PyObject * obj1 = 0 ;
6813 char *kwnames[] = {
6814 (char *) "self",(char *) "bitmap", NULL
6815 };
6816
6817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6818 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_EXCEPTION | 0);
6819 if (SWIG_arg_fail(1)) SWIG_fail;
6820 {
6821 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6822 if (SWIG_arg_fail(2)) SWIG_fail;
6823 if (arg2 == NULL) {
6824 SWIG_null_ref("wxBitmap");
6825 }
6826 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
6827 }
6828 {
6829 PyThreadState* __tstate = wxPyBeginAllowThreads();
6830 (arg1)->SetBitmap((wxBitmap const &)*arg2);
6831
6832 wxPyEndAllowThreads(__tstate);
6833 if (PyErr_Occurred()) SWIG_fail;
6834 }
6835 Py_INCREF(Py_None); resultobj = Py_None;
6836 return resultobj;
6837 fail:
6838 return NULL;
6839}
6840
6841
c370783e 6842static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6843 PyObject *resultobj = NULL;
d55e5bfc
RD
6844 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
6845 wxBitmap *result;
6846 PyObject * obj0 = 0 ;
6847 char *kwnames[] = {
6848 (char *) "self", NULL
6849 };
6850
6851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
36ed4f51
RD
6852 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_EXCEPTION | 0);
6853 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6854 {
6855 PyThreadState* __tstate = wxPyBeginAllowThreads();
6856 {
6857 wxBitmap &_result_ref = (arg1)->GetBitmap();
6858 result = (wxBitmap *) &_result_ref;
6859 }
6860
6861 wxPyEndAllowThreads(__tstate);
6862 if (PyErr_Occurred()) SWIG_fail;
6863 }
6864 {
6865 wxBitmap* resultptr = new wxBitmap(*result);
6866 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
6867 }
6868 return resultobj;
6869 fail:
6870 return NULL;
6871}
6872
6873
c370783e 6874static PyObject * SplashScreenWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6875 PyObject *obj;
6876 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6877 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
6878 Py_INCREF(obj);
6879 return Py_BuildValue((char *)"");
6880}
c370783e 6881static PyObject *_wrap_new_SplashScreen(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6882 PyObject *resultobj = NULL;
d55e5bfc
RD
6883 wxBitmap *arg1 = 0 ;
6884 long arg2 ;
6885 int arg3 ;
6886 wxWindow *arg4 = (wxWindow *) 0 ;
bfddbb17 6887 int arg5 = (int) -1 ;
d55e5bfc
RD
6888 wxPoint const &arg6_defvalue = wxDefaultPosition ;
6889 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
6890 wxSize const &arg7_defvalue = wxDefaultSize ;
6891 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
6892 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
6893 wxSplashScreen *result;
6894 wxPoint temp6 ;
6895 wxSize temp7 ;
6896 PyObject * obj0 = 0 ;
6897 PyObject * obj1 = 0 ;
6898 PyObject * obj2 = 0 ;
6899 PyObject * obj3 = 0 ;
6900 PyObject * obj4 = 0 ;
6901 PyObject * obj5 = 0 ;
6902 PyObject * obj6 = 0 ;
6903 PyObject * obj7 = 0 ;
6904 char *kwnames[] = {
6905 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6906 };
6907
bfddbb17 6908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
6909 {
6910 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6911 if (SWIG_arg_fail(1)) SWIG_fail;
6912 if (arg1 == NULL) {
6913 SWIG_null_ref("wxBitmap");
6914 }
6915 if (SWIG_arg_fail(1)) SWIG_fail;
6916 }
6917 {
32fe5131 6918 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
6919 if (SWIG_arg_fail(2)) SWIG_fail;
6920 }
6921 {
32fe5131 6922 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
6923 if (SWIG_arg_fail(3)) SWIG_fail;
6924 }
6925 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6926 if (SWIG_arg_fail(4)) SWIG_fail;
bfddbb17 6927 if (obj4) {
36ed4f51 6928 {
32fe5131 6929 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
6930 if (SWIG_arg_fail(5)) SWIG_fail;
6931 }
bfddbb17 6932 }
d55e5bfc
RD
6933 if (obj5) {
6934 {
6935 arg6 = &temp6;
6936 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
6937 }
6938 }
6939 if (obj6) {
6940 {
6941 arg7 = &temp7;
6942 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
6943 }
6944 }
6945 if (obj7) {
36ed4f51 6946 {
32fe5131 6947 arg8 = static_cast<long >(SWIG_As_long(obj7));
36ed4f51
RD
6948 if (SWIG_arg_fail(8)) SWIG_fail;
6949 }
d55e5bfc
RD
6950 }
6951 {
0439c23b 6952 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6953 PyThreadState* __tstate = wxPyBeginAllowThreads();
6954 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
6955
6956 wxPyEndAllowThreads(__tstate);
110da5b0 6957 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6958 }
6959 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
6960 return resultobj;
6961 fail:
6962 return NULL;
6963}
6964
6965
c370783e 6966static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6967 PyObject *resultobj = NULL;
d55e5bfc
RD
6968 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6969 long result;
6970 PyObject * obj0 = 0 ;
6971 char *kwnames[] = {
6972 (char *) "self", NULL
6973 };
6974
6975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
36ed4f51
RD
6976 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6977 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6978 {
6979 PyThreadState* __tstate = wxPyBeginAllowThreads();
6980 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
6981
6982 wxPyEndAllowThreads(__tstate);
6983 if (PyErr_Occurred()) SWIG_fail;
6984 }
36ed4f51 6985 {
32fe5131 6986 resultobj = SWIG_From_long(static_cast<long >(result));
36ed4f51 6987 }
d55e5bfc
RD
6988 return resultobj;
6989 fail:
6990 return NULL;
6991}
6992
6993
c370783e 6994static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6995 PyObject *resultobj = NULL;
d55e5bfc
RD
6996 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6997 wxSplashScreenWindow *result;
6998 PyObject * obj0 = 0 ;
6999 char *kwnames[] = {
7000 (char *) "self", NULL
7001 };
7002
7003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
7004 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
7005 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7006 {
7007 PyThreadState* __tstate = wxPyBeginAllowThreads();
7008 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
7009
7010 wxPyEndAllowThreads(__tstate);
7011 if (PyErr_Occurred()) SWIG_fail;
7012 }
7013 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
7014 return resultobj;
7015 fail:
7016 return NULL;
7017}
7018
7019
c370783e 7020static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7021 PyObject *resultobj = NULL;
d55e5bfc
RD
7022 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
7023 int result;
7024 PyObject * obj0 = 0 ;
7025 char *kwnames[] = {
7026 (char *) "self", NULL
7027 };
7028
7029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
36ed4f51
RD
7030 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
7031 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7032 {
7033 PyThreadState* __tstate = wxPyBeginAllowThreads();
7034 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
7035
7036 wxPyEndAllowThreads(__tstate);
7037 if (PyErr_Occurred()) SWIG_fail;
7038 }
36ed4f51 7039 {
32fe5131 7040 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 7041 }
d55e5bfc
RD
7042 return resultobj;
7043 fail:
7044 return NULL;
7045}
7046
7047
c370783e 7048static PyObject * SplashScreen_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7049 PyObject *obj;
7050 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7051 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
7052 Py_INCREF(obj);
7053 return Py_BuildValue((char *)"");
7054}
c370783e 7055static PyObject *_wrap_new_StatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7056 PyObject *resultobj = NULL;
d55e5bfc
RD
7057 wxWindow *arg1 = (wxWindow *) 0 ;
7058 int arg2 = (int) -1 ;
6d88e192 7059 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
d55e5bfc
RD
7060 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
7061 wxString *arg4 = (wxString *) &arg4_defvalue ;
7062 wxStatusBar *result;
b411df4a 7063 bool temp4 = false ;
d55e5bfc
RD
7064 PyObject * obj0 = 0 ;
7065 PyObject * obj1 = 0 ;
7066 PyObject * obj2 = 0 ;
7067 PyObject * obj3 = 0 ;
7068 char *kwnames[] = {
7069 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
7070 };
7071
7072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
7073 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7074 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 7075 if (obj1) {
36ed4f51 7076 {
32fe5131 7077 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7078 if (SWIG_arg_fail(2)) SWIG_fail;
7079 }
d55e5bfc
RD
7080 }
7081 if (obj2) {
36ed4f51 7082 {
32fe5131 7083 arg3 = static_cast<long >(SWIG_As_long(obj2));
36ed4f51
RD
7084 if (SWIG_arg_fail(3)) SWIG_fail;
7085 }
d55e5bfc
RD
7086 }
7087 if (obj3) {
7088 {
7089 arg4 = wxString_in_helper(obj3);
7090 if (arg4 == NULL) SWIG_fail;
b411df4a 7091 temp4 = true;
d55e5bfc
RD
7092 }
7093 }
7094 {
0439c23b 7095 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7096 PyThreadState* __tstate = wxPyBeginAllowThreads();
7097 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
7098
7099 wxPyEndAllowThreads(__tstate);
110da5b0 7100 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 7101 }
b0f7404b 7102 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
d55e5bfc
RD
7103 {
7104 if (temp4)
7105 delete arg4;
7106 }
7107 return resultobj;
7108 fail:
7109 {
7110 if (temp4)
7111 delete arg4;
7112 }
7113 return NULL;
7114}
7115
7116
c370783e 7117static PyObject *_wrap_new_PreStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7118 PyObject *resultobj = NULL;
d55e5bfc
RD
7119 wxStatusBar *result;
7120 char *kwnames[] = {
7121 NULL
7122 };
7123
7124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
7125 {
0439c23b 7126 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7127 PyThreadState* __tstate = wxPyBeginAllowThreads();
7128 result = (wxStatusBar *)new wxStatusBar();
7129
7130 wxPyEndAllowThreads(__tstate);
110da5b0 7131 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 7132 }
b0f7404b 7133 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
d55e5bfc
RD
7134 return resultobj;
7135 fail:
7136 return NULL;
7137}
7138
7139
c370783e 7140static PyObject *_wrap_StatusBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7141 PyObject *resultobj = NULL;
d55e5bfc
RD
7142 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7143 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17 7144 int arg3 = (int) -1 ;
d55e5bfc
RD
7145 long arg4 = (long) wxST_SIZEGRIP ;
7146 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
7147 wxString *arg5 = (wxString *) &arg5_defvalue ;
7148 bool result;
b411df4a 7149 bool temp5 = false ;
d55e5bfc
RD
7150 PyObject * obj0 = 0 ;
7151 PyObject * obj1 = 0 ;
7152 PyObject * obj2 = 0 ;
7153 PyObject * obj3 = 0 ;
7154 PyObject * obj4 = 0 ;
7155 char *kwnames[] = {
7156 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
7157 };
7158
bfddbb17 7159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
7160 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7161 if (SWIG_arg_fail(1)) SWIG_fail;
7162 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7163 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 7164 if (obj2) {
36ed4f51 7165 {
32fe5131 7166 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
7167 if (SWIG_arg_fail(3)) SWIG_fail;
7168 }
bfddbb17 7169 }
d55e5bfc 7170 if (obj3) {
36ed4f51 7171 {
32fe5131 7172 arg4 = static_cast<long >(SWIG_As_long(obj3));
36ed4f51
RD
7173 if (SWIG_arg_fail(4)) SWIG_fail;
7174 }
d55e5bfc
RD
7175 }
7176 if (obj4) {
7177 {
7178 arg5 = wxString_in_helper(obj4);
7179 if (arg5 == NULL) SWIG_fail;
b411df4a 7180 temp5 = true;
d55e5bfc
RD
7181 }
7182 }
7183 {
7184 PyThreadState* __tstate = wxPyBeginAllowThreads();
7185 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
7186
7187 wxPyEndAllowThreads(__tstate);
7188 if (PyErr_Occurred()) SWIG_fail;
7189 }
7190 {
7191 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7192 }
7193 {
7194 if (temp5)
7195 delete arg5;
7196 }
7197 return resultobj;
7198 fail:
7199 {
7200 if (temp5)
7201 delete arg5;
7202 }
7203 return NULL;
7204}
7205
7206
c370783e 7207static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7208 PyObject *resultobj = NULL;
d55e5bfc
RD
7209 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7210 int arg2 = (int) 1 ;
7211 PyObject * obj0 = 0 ;
7212 PyObject * obj1 = 0 ;
7213 char *kwnames[] = {
7214 (char *) "self",(char *) "number", NULL
7215 };
7216
7217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7218 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7219 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 7220 if (obj1) {
36ed4f51 7221 {
32fe5131 7222 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7223 if (SWIG_arg_fail(2)) SWIG_fail;
7224 }
d55e5bfc
RD
7225 }
7226 {
7227 PyThreadState* __tstate = wxPyBeginAllowThreads();
7228 (arg1)->SetFieldsCount(arg2);
7229
7230 wxPyEndAllowThreads(__tstate);
7231 if (PyErr_Occurred()) SWIG_fail;
7232 }
7233 Py_INCREF(Py_None); resultobj = Py_None;
7234 return resultobj;
7235 fail:
7236 return NULL;
7237}
7238
7239
c370783e 7240static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7241 PyObject *resultobj = NULL;
d55e5bfc
RD
7242 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7243 int result;
7244 PyObject * obj0 = 0 ;
7245 char *kwnames[] = {
7246 (char *) "self", NULL
7247 };
7248
7249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
7250 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7251 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7252 {
7253 PyThreadState* __tstate = wxPyBeginAllowThreads();
7254 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
7255
7256 wxPyEndAllowThreads(__tstate);
7257 if (PyErr_Occurred()) SWIG_fail;
7258 }
36ed4f51 7259 {
32fe5131 7260 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 7261 }
d55e5bfc
RD
7262 return resultobj;
7263 fail:
7264 return NULL;
7265}
7266
7267
c370783e 7268static PyObject *_wrap_StatusBar_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7269 PyObject *resultobj = NULL;
d55e5bfc
RD
7270 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7271 wxString *arg2 = 0 ;
7272 int arg3 = (int) 0 ;
b411df4a 7273 bool temp2 = false ;
d55e5bfc
RD
7274 PyObject * obj0 = 0 ;
7275 PyObject * obj1 = 0 ;
7276 PyObject * obj2 = 0 ;
7277 char *kwnames[] = {
7278 (char *) "self",(char *) "text",(char *) "number", NULL
7279 };
7280
7281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
7282 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7283 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7284 {
7285 arg2 = wxString_in_helper(obj1);
7286 if (arg2 == NULL) SWIG_fail;
b411df4a 7287 temp2 = true;
d55e5bfc
RD
7288 }
7289 if (obj2) {
36ed4f51 7290 {
32fe5131 7291 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
7292 if (SWIG_arg_fail(3)) SWIG_fail;
7293 }
d55e5bfc
RD
7294 }
7295 {
7296 PyThreadState* __tstate = wxPyBeginAllowThreads();
7297 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
7298
7299 wxPyEndAllowThreads(__tstate);
7300 if (PyErr_Occurred()) SWIG_fail;
7301 }
7302 Py_INCREF(Py_None); resultobj = Py_None;
7303 {
7304 if (temp2)
7305 delete arg2;
7306 }
7307 return resultobj;
7308 fail:
7309 {
7310 if (temp2)
7311 delete arg2;
7312 }
7313 return NULL;
7314}
7315
7316
c370783e 7317static PyObject *_wrap_StatusBar_GetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7318 PyObject *resultobj = NULL;
d55e5bfc
RD
7319 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7320 int arg2 = (int) 0 ;
7321 wxString result;
7322 PyObject * obj0 = 0 ;
7323 PyObject * obj1 = 0 ;
7324 char *kwnames[] = {
7325 (char *) "self",(char *) "number", NULL
7326 };
7327
7328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7330 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 7331 if (obj1) {
36ed4f51 7332 {
32fe5131 7333 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7334 if (SWIG_arg_fail(2)) SWIG_fail;
7335 }
d55e5bfc
RD
7336 }
7337 {
7338 PyThreadState* __tstate = wxPyBeginAllowThreads();
7339 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
7340
7341 wxPyEndAllowThreads(__tstate);
7342 if (PyErr_Occurred()) SWIG_fail;
7343 }
7344 {
7345#if wxUSE_UNICODE
7346 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7347#else
7348 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7349#endif
7350 }
7351 return resultobj;
7352 fail:
7353 return NULL;
7354}
7355
7356
c370783e 7357static PyObject *_wrap_StatusBar_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7358 PyObject *resultobj = NULL;
d55e5bfc
RD
7359 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7360 wxString *arg2 = 0 ;
7361 int arg3 = (int) 0 ;
b411df4a 7362 bool temp2 = false ;
d55e5bfc
RD
7363 PyObject * obj0 = 0 ;
7364 PyObject * obj1 = 0 ;
7365 PyObject * obj2 = 0 ;
7366 char *kwnames[] = {
7367 (char *) "self",(char *) "text",(char *) "number", NULL
7368 };
7369
7370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
7371 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7372 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7373 {
7374 arg2 = wxString_in_helper(obj1);
7375 if (arg2 == NULL) SWIG_fail;
b411df4a 7376 temp2 = true;
d55e5bfc
RD
7377 }
7378 if (obj2) {
36ed4f51 7379 {
32fe5131 7380 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
7381 if (SWIG_arg_fail(3)) SWIG_fail;
7382 }
d55e5bfc
RD
7383 }
7384 {
7385 PyThreadState* __tstate = wxPyBeginAllowThreads();
7386 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
7387
7388 wxPyEndAllowThreads(__tstate);
7389 if (PyErr_Occurred()) SWIG_fail;
7390 }
7391 Py_INCREF(Py_None); resultobj = Py_None;
7392 {
7393 if (temp2)
7394 delete arg2;
7395 }
7396 return resultobj;
7397 fail:
7398 {
7399 if (temp2)
7400 delete arg2;
7401 }
7402 return NULL;
7403}
7404
7405
c370783e 7406static PyObject *_wrap_StatusBar_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7407 PyObject *resultobj = NULL;
d55e5bfc
RD
7408 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7409 int arg2 = (int) 0 ;
7410 PyObject * obj0 = 0 ;
7411 PyObject * obj1 = 0 ;
7412 char *kwnames[] = {
7413 (char *) "self",(char *) "number", NULL
7414 };
7415
7416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7417 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7418 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 7419 if (obj1) {
36ed4f51 7420 {
32fe5131 7421 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7422 if (SWIG_arg_fail(2)) SWIG_fail;
7423 }
d55e5bfc
RD
7424 }
7425 {
7426 PyThreadState* __tstate = wxPyBeginAllowThreads();
7427 (arg1)->PopStatusText(arg2);
7428
7429 wxPyEndAllowThreads(__tstate);
7430 if (PyErr_Occurred()) SWIG_fail;
7431 }
7432 Py_INCREF(Py_None); resultobj = Py_None;
7433 return resultobj;
7434 fail:
7435 return NULL;
7436}
7437
7438
c370783e 7439static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7440 PyObject *resultobj = NULL;
d55e5bfc
RD
7441 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7442 int arg2 ;
7443 int *arg3 = (int *) 0 ;
7444 PyObject * obj0 = 0 ;
7445 PyObject * obj1 = 0 ;
7446 char *kwnames[] = {
7447 (char *) "self",(char *) "widths", NULL
7448 };
7449
7450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) 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 arg2 = PyList_Size(obj1);
7455 arg3 = int_LIST_helper(obj1);
7456 if (arg3 == NULL) SWIG_fail;
7457 }
7458 {
7459 PyThreadState* __tstate = wxPyBeginAllowThreads();
7460 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
7461
7462 wxPyEndAllowThreads(__tstate);
7463 if (PyErr_Occurred()) SWIG_fail;
7464 }
7465 Py_INCREF(Py_None); resultobj = Py_None;
7466 {
7467 if (arg3) delete [] arg3;
7468 }
7469 return resultobj;
7470 fail:
7471 {
7472 if (arg3) delete [] arg3;
7473 }
7474 return NULL;
7475}
7476
7477
c370783e 7478static PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7479 PyObject *resultobj = NULL;
03837c5c
RD
7480 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7481 int arg2 ;
7482 int *arg3 = (int *) 0 ;
7483 PyObject * obj0 = 0 ;
7484 PyObject * obj1 = 0 ;
7485 char *kwnames[] = {
7486 (char *) "self",(char *) "styles", NULL
7487 };
7488
7489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7491 if (SWIG_arg_fail(1)) SWIG_fail;
03837c5c
RD
7492 {
7493 arg2 = PyList_Size(obj1);
7494 arg3 = int_LIST_helper(obj1);
7495 if (arg3 == NULL) SWIG_fail;
7496 }
7497 {
7498 PyThreadState* __tstate = wxPyBeginAllowThreads();
7499 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
7500
7501 wxPyEndAllowThreads(__tstate);
7502 if (PyErr_Occurred()) SWIG_fail;
7503 }
7504 Py_INCREF(Py_None); resultobj = Py_None;
7505 {
7506 if (arg3) delete [] arg3;
7507 }
7508 return resultobj;
7509 fail:
7510 {
7511 if (arg3) delete [] arg3;
7512 }
7513 return NULL;
7514}
7515
7516
c370783e 7517static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7518 PyObject *resultobj = NULL;
d55e5bfc
RD
7519 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7520 int arg2 ;
7521 wxRect result;
7522 PyObject * obj0 = 0 ;
7523 PyObject * obj1 = 0 ;
7524 char *kwnames[] = {
7525 (char *) "self",(char *) "i", NULL
7526 };
7527
7528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7529 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7530 if (SWIG_arg_fail(1)) SWIG_fail;
7531 {
32fe5131 7532 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7533 if (SWIG_arg_fail(2)) SWIG_fail;
7534 }
d55e5bfc
RD
7535 {
7536 PyThreadState* __tstate = wxPyBeginAllowThreads();
7537 result = wxStatusBar_GetFieldRect(arg1,arg2);
7538
7539 wxPyEndAllowThreads(__tstate);
7540 if (PyErr_Occurred()) SWIG_fail;
7541 }
7542 {
7543 wxRect * resultptr;
32fe5131 7544 resultptr = new wxRect(static_cast<wxRect & >(result));
d55e5bfc
RD
7545 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7546 }
7547 return resultobj;
7548 fail:
7549 return NULL;
7550}
7551
7552
c370783e 7553static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7554 PyObject *resultobj = NULL;
d55e5bfc
RD
7555 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7556 int arg2 ;
7557 PyObject * obj0 = 0 ;
7558 PyObject * obj1 = 0 ;
7559 char *kwnames[] = {
7560 (char *) "self",(char *) "height", NULL
7561 };
7562
7563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7564 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7565 if (SWIG_arg_fail(1)) SWIG_fail;
7566 {
32fe5131 7567 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7568 if (SWIG_arg_fail(2)) SWIG_fail;
7569 }
d55e5bfc
RD
7570 {
7571 PyThreadState* __tstate = wxPyBeginAllowThreads();
7572 (arg1)->SetMinHeight(arg2);
7573
7574 wxPyEndAllowThreads(__tstate);
7575 if (PyErr_Occurred()) SWIG_fail;
7576 }
7577 Py_INCREF(Py_None); resultobj = Py_None;
7578 return resultobj;
7579 fail:
7580 return NULL;
7581}
7582
7583
c370783e 7584static PyObject *_wrap_StatusBar_GetBorderX(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7585 PyObject *resultobj = NULL;
d55e5bfc
RD
7586 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7587 int result;
7588 PyObject * obj0 = 0 ;
7589 char *kwnames[] = {
7590 (char *) "self", NULL
7591 };
7592
7593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
36ed4f51
RD
7594 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7595 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7596 {
7597 PyThreadState* __tstate = wxPyBeginAllowThreads();
7598 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
7599
7600 wxPyEndAllowThreads(__tstate);
7601 if (PyErr_Occurred()) SWIG_fail;
7602 }
36ed4f51 7603 {
32fe5131 7604 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 7605 }
d55e5bfc
RD
7606 return resultobj;
7607 fail:
7608 return NULL;
7609}
7610
7611
c370783e 7612static PyObject *_wrap_StatusBar_GetBorderY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7613 PyObject *resultobj = NULL;
d55e5bfc
RD
7614 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7615 int result;
7616 PyObject * obj0 = 0 ;
7617 char *kwnames[] = {
7618 (char *) "self", NULL
7619 };
7620
7621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
36ed4f51
RD
7622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7623 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7624 {
7625 PyThreadState* __tstate = wxPyBeginAllowThreads();
7626 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
7627
7628 wxPyEndAllowThreads(__tstate);
7629 if (PyErr_Occurred()) SWIG_fail;
7630 }
36ed4f51 7631 {
32fe5131 7632 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 7633 }
d55e5bfc
RD
7634 return resultobj;
7635 fail:
7636 return NULL;
7637}
7638
7639
c370783e 7640static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7641 PyObject *resultobj = NULL;
36ed4f51 7642 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
7643 wxVisualAttributes result;
7644 PyObject * obj0 = 0 ;
7645 char *kwnames[] = {
7646 (char *) "variant", NULL
7647 };
7648
7649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
7650 if (obj0) {
36ed4f51 7651 {
32fe5131 7652 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
36ed4f51
RD
7653 if (SWIG_arg_fail(1)) SWIG_fail;
7654 }
f20a2e1f
RD
7655 }
7656 {
0439c23b 7657 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 7658 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 7659 result = wxStatusBar::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
7660
7661 wxPyEndAllowThreads(__tstate);
110da5b0 7662 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
7663 }
7664 {
7665 wxVisualAttributes * resultptr;
32fe5131 7666 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
7667 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7668 }
7669 return resultobj;
7670 fail:
7671 return NULL;
7672}
7673
7674
c370783e 7675static PyObject * StatusBar_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7676 PyObject *obj;
7677 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7678 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
7679 Py_INCREF(obj);
7680 return Py_BuildValue((char *)"");
7681}
c370783e 7682static int _wrap_SplitterNameStr_set(PyObject *) {
d55e5bfc
RD
7683 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
7684 return 1;
7685}
7686
7687
36ed4f51 7688static PyObject *_wrap_SplitterNameStr_get(void) {
32fe5131 7689 PyObject *pyobj = NULL;
d55e5bfc
RD
7690
7691 {
7692#if wxUSE_UNICODE
7693 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
7694#else
7695 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
7696#endif
7697 }
7698 return pyobj;
7699}
7700
7701
c370783e 7702static PyObject *_wrap_new_SplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7703 PyObject *resultobj = NULL;
d55e5bfc
RD
7704 wxWindow *arg1 = (wxWindow *) 0 ;
7705 int arg2 = (int) -1 ;
7706 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7707 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7708 wxSize const &arg4_defvalue = wxDefaultSize ;
7709 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7710 long arg5 = (long) wxSP_3D ;
7711 wxString const &arg6_defvalue = wxPySplitterNameStr ;
7712 wxString *arg6 = (wxString *) &arg6_defvalue ;
7713 wxSplitterWindow *result;
7714 wxPoint temp3 ;
7715 wxSize temp4 ;
b411df4a 7716 bool temp6 = false ;
d55e5bfc
RD
7717 PyObject * obj0 = 0 ;
7718 PyObject * obj1 = 0 ;
7719 PyObject * obj2 = 0 ;
7720 PyObject * obj3 = 0 ;
7721 PyObject * obj4 = 0 ;
7722 PyObject * obj5 = 0 ;
7723 char *kwnames[] = {
7724 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7725 };
7726
7727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
7728 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7729 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 7730 if (obj1) {
36ed4f51 7731 {
32fe5131 7732 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7733 if (SWIG_arg_fail(2)) SWIG_fail;
7734 }
d55e5bfc
RD
7735 }
7736 if (obj2) {
7737 {
7738 arg3 = &temp3;
7739 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7740 }
7741 }
7742 if (obj3) {
7743 {
7744 arg4 = &temp4;
7745 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7746 }
7747 }
7748 if (obj4) {
36ed4f51 7749 {
32fe5131 7750 arg5 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
7751 if (SWIG_arg_fail(5)) SWIG_fail;
7752 }
d55e5bfc
RD
7753 }
7754 if (obj5) {
7755 {
7756 arg6 = wxString_in_helper(obj5);
7757 if (arg6 == NULL) SWIG_fail;
b411df4a 7758 temp6 = true;
d55e5bfc
RD
7759 }
7760 }
7761 {
0439c23b 7762 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7763 PyThreadState* __tstate = wxPyBeginAllowThreads();
7764 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7765
7766 wxPyEndAllowThreads(__tstate);
110da5b0 7767 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
7768 }
7769 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
7770 {
7771 if (temp6)
7772 delete arg6;
7773 }
7774 return resultobj;
7775 fail:
7776 {
7777 if (temp6)
7778 delete arg6;
7779 }
7780 return NULL;
7781}
7782
7783
c370783e 7784static PyObject *_wrap_new_PreSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7785 PyObject *resultobj = NULL;
d55e5bfc
RD
7786 wxSplitterWindow *result;
7787 char *kwnames[] = {
7788 NULL
7789 };
7790
7791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
7792 {
0439c23b 7793 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7794 PyThreadState* __tstate = wxPyBeginAllowThreads();
7795 result = (wxSplitterWindow *)new wxSplitterWindow();
7796
7797 wxPyEndAllowThreads(__tstate);
110da5b0 7798 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
7799 }
7800 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
7801 return resultobj;
7802 fail:
7803 return NULL;
7804}
7805
7806
c370783e 7807static PyObject *_wrap_SplitterWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7808 PyObject *resultobj = NULL;
d55e5bfc
RD
7809 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7810 wxWindow *arg2 = (wxWindow *) 0 ;
7811 int arg3 = (int) -1 ;
7812 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7813 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7814 wxSize const &arg5_defvalue = wxDefaultSize ;
7815 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7816 long arg6 = (long) wxSP_3D ;
7817 wxString const &arg7_defvalue = wxPySplitterNameStr ;
7818 wxString *arg7 = (wxString *) &arg7_defvalue ;
7819 bool result;
7820 wxPoint temp4 ;
7821 wxSize temp5 ;
b411df4a 7822 bool temp7 = false ;
d55e5bfc
RD
7823 PyObject * obj0 = 0 ;
7824 PyObject * obj1 = 0 ;
7825 PyObject * obj2 = 0 ;
7826 PyObject * obj3 = 0 ;
7827 PyObject * obj4 = 0 ;
7828 PyObject * obj5 = 0 ;
7829 PyObject * obj6 = 0 ;
7830 char *kwnames[] = {
7831 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7832 };
7833
7834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
7835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7836 if (SWIG_arg_fail(1)) SWIG_fail;
7837 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7838 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 7839 if (obj2) {
36ed4f51 7840 {
32fe5131 7841 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
7842 if (SWIG_arg_fail(3)) SWIG_fail;
7843 }
d55e5bfc
RD
7844 }
7845 if (obj3) {
7846 {
7847 arg4 = &temp4;
7848 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7849 }
7850 }
7851 if (obj4) {
7852 {
7853 arg5 = &temp5;
7854 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7855 }
7856 }
7857 if (obj5) {
36ed4f51 7858 {
32fe5131 7859 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
7860 if (SWIG_arg_fail(6)) SWIG_fail;
7861 }
d55e5bfc
RD
7862 }
7863 if (obj6) {
7864 {
7865 arg7 = wxString_in_helper(obj6);
7866 if (arg7 == NULL) SWIG_fail;
b411df4a 7867 temp7 = true;
d55e5bfc
RD
7868 }
7869 }
7870 {
7871 PyThreadState* __tstate = wxPyBeginAllowThreads();
7872 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7873
7874 wxPyEndAllowThreads(__tstate);
7875 if (PyErr_Occurred()) SWIG_fail;
7876 }
7877 {
7878 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7879 }
7880 {
7881 if (temp7)
7882 delete arg7;
7883 }
7884 return resultobj;
7885 fail:
7886 {
7887 if (temp7)
7888 delete arg7;
7889 }
7890 return NULL;
7891}
7892
7893
c370783e 7894static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7895 PyObject *resultobj = NULL;
d55e5bfc
RD
7896 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7897 wxWindow *result;
7898 PyObject * obj0 = 0 ;
7899 char *kwnames[] = {
7900 (char *) "self", NULL
7901 };
7902
7903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
36ed4f51
RD
7904 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7905 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7906 {
7907 PyThreadState* __tstate = wxPyBeginAllowThreads();
7908 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
7909
7910 wxPyEndAllowThreads(__tstate);
7911 if (PyErr_Occurred()) SWIG_fail;
7912 }
7913 {
412d302d 7914 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
7915 }
7916 return resultobj;
7917 fail:
7918 return NULL;
7919}
7920
7921
c370783e 7922static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7923 PyObject *resultobj = NULL;
d55e5bfc
RD
7924 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7925 wxWindow *result;
7926 PyObject * obj0 = 0 ;
7927 char *kwnames[] = {
7928 (char *) "self", NULL
7929 };
7930
7931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
36ed4f51
RD
7932 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7933 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7934 {
7935 PyThreadState* __tstate = wxPyBeginAllowThreads();
7936 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
7937
7938 wxPyEndAllowThreads(__tstate);
7939 if (PyErr_Occurred()) SWIG_fail;
7940 }
7941 {
412d302d 7942 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
7943 }
7944 return resultobj;
7945 fail:
7946 return NULL;
7947}
7948
7949
c370783e 7950static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7951 PyObject *resultobj = NULL;
d55e5bfc
RD
7952 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7953 int arg2 ;
7954 PyObject * obj0 = 0 ;
7955 PyObject * obj1 = 0 ;
7956 char *kwnames[] = {
7957 (char *) "self",(char *) "mode", NULL
7958 };
7959
7960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7961 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7962 if (SWIG_arg_fail(1)) SWIG_fail;
7963 {
32fe5131 7964 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7965 if (SWIG_arg_fail(2)) SWIG_fail;
7966 }
d55e5bfc
RD
7967 {
7968 PyThreadState* __tstate = wxPyBeginAllowThreads();
7969 (arg1)->SetSplitMode(arg2);
7970
7971 wxPyEndAllowThreads(__tstate);
7972 if (PyErr_Occurred()) SWIG_fail;
7973 }
7974 Py_INCREF(Py_None); resultobj = Py_None;
7975 return resultobj;
7976 fail:
7977 return NULL;
7978}
7979
7980
c370783e 7981static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7982 PyObject *resultobj = NULL;
d55e5bfc 7983 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
36ed4f51 7984 wxSplitMode result;
d55e5bfc
RD
7985 PyObject * obj0 = 0 ;
7986 char *kwnames[] = {
7987 (char *) "self", NULL
7988 };
7989
7990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
36ed4f51
RD
7991 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7992 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7993 {
7994 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7995 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
d55e5bfc
RD
7996
7997 wxPyEndAllowThreads(__tstate);
7998 if (PyErr_Occurred()) SWIG_fail;
7999 }
36ed4f51 8000 resultobj = SWIG_From_int((result));
d55e5bfc
RD
8001 return resultobj;
8002 fail:
8003 return NULL;
8004}
8005
8006
c370783e 8007static PyObject *_wrap_SplitterWindow_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8008 PyObject *resultobj = NULL;
d55e5bfc
RD
8009 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8010 wxWindow *arg2 = (wxWindow *) 0 ;
8011 PyObject * obj0 = 0 ;
8012 PyObject * obj1 = 0 ;
8013 char *kwnames[] = {
8014 (char *) "self",(char *) "window", NULL
8015 };
8016
8017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8019 if (SWIG_arg_fail(1)) SWIG_fail;
8020 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8021 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
8022 {
8023 PyThreadState* __tstate = wxPyBeginAllowThreads();
8024 (arg1)->Initialize(arg2);
8025
8026 wxPyEndAllowThreads(__tstate);
8027 if (PyErr_Occurred()) SWIG_fail;
8028 }
8029 Py_INCREF(Py_None); resultobj = Py_None;
8030 return resultobj;
8031 fail:
8032 return NULL;
8033}
8034
8035
c370783e 8036static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8037 PyObject *resultobj = NULL;
d55e5bfc
RD
8038 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8039 wxWindow *arg2 = (wxWindow *) 0 ;
8040 wxWindow *arg3 = (wxWindow *) 0 ;
8041 int arg4 = (int) 0 ;
8042 bool result;
8043 PyObject * obj0 = 0 ;
8044 PyObject * obj1 = 0 ;
8045 PyObject * obj2 = 0 ;
8046 PyObject * obj3 = 0 ;
8047 char *kwnames[] = {
8048 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
8049 };
8050
8051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
8052 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8053 if (SWIG_arg_fail(1)) SWIG_fail;
8054 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8055 if (SWIG_arg_fail(2)) SWIG_fail;
8056 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8057 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc 8058 if (obj3) {
36ed4f51 8059 {
32fe5131 8060 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
8061 if (SWIG_arg_fail(4)) SWIG_fail;
8062 }
d55e5bfc
RD
8063 }
8064 {
8065 PyThreadState* __tstate = wxPyBeginAllowThreads();
8066 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
8067
8068 wxPyEndAllowThreads(__tstate);
8069 if (PyErr_Occurred()) SWIG_fail;
8070 }
8071 {
8072 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8073 }
8074 return resultobj;
8075 fail:
8076 return NULL;
8077}
8078
8079
c370783e 8080static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8081 PyObject *resultobj = NULL;
d55e5bfc
RD
8082 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8083 wxWindow *arg2 = (wxWindow *) 0 ;
8084 wxWindow *arg3 = (wxWindow *) 0 ;
8085 int arg4 = (int) 0 ;
8086 bool result;
8087 PyObject * obj0 = 0 ;
8088 PyObject * obj1 = 0 ;
8089 PyObject * obj2 = 0 ;
8090 PyObject * obj3 = 0 ;
8091 char *kwnames[] = {
8092 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
8093 };
8094
8095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
8096 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8097 if (SWIG_arg_fail(1)) SWIG_fail;
8098 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8099 if (SWIG_arg_fail(2)) SWIG_fail;
8100 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8101 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc 8102 if (obj3) {
36ed4f51 8103 {
32fe5131 8104 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
8105 if (SWIG_arg_fail(4)) SWIG_fail;
8106 }
d55e5bfc
RD
8107 }
8108 {
8109 PyThreadState* __tstate = wxPyBeginAllowThreads();
8110 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
8111
8112 wxPyEndAllowThreads(__tstate);
8113 if (PyErr_Occurred()) SWIG_fail;
8114 }
8115 {
8116 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8117 }
8118 return resultobj;
8119 fail:
8120 return NULL;
8121}
8122
8123
c370783e 8124static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8125 PyObject *resultobj = NULL;
d55e5bfc
RD
8126 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8127 wxWindow *arg2 = (wxWindow *) NULL ;
8128 bool result;
8129 PyObject * obj0 = 0 ;
8130 PyObject * obj1 = 0 ;
8131 char *kwnames[] = {
8132 (char *) "self",(char *) "toRemove", NULL
8133 };
8134
8135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8136 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8137 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 8138 if (obj1) {
36ed4f51
RD
8139 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8140 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
8141 }
8142 {
8143 PyThreadState* __tstate = wxPyBeginAllowThreads();
8144 result = (bool)(arg1)->Unsplit(arg2);
8145
8146 wxPyEndAllowThreads(__tstate);
8147 if (PyErr_Occurred()) SWIG_fail;
8148 }
8149 {
8150 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8151 }
8152 return resultobj;
8153 fail:
8154 return NULL;
8155}
8156
8157
c370783e 8158static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8159 PyObject *resultobj = NULL;
d55e5bfc
RD
8160 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8161 wxWindow *arg2 = (wxWindow *) 0 ;
8162 wxWindow *arg3 = (wxWindow *) 0 ;
8163 bool result;
8164 PyObject * obj0 = 0 ;
8165 PyObject * obj1 = 0 ;
8166 PyObject * obj2 = 0 ;
8167 char *kwnames[] = {
8168 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
8169 };
8170
8171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
8172 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8173 if (SWIG_arg_fail(1)) SWIG_fail;
8174 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8175 if (SWIG_arg_fail(2)) SWIG_fail;
8176 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8177 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
8178 {
8179 PyThreadState* __tstate = wxPyBeginAllowThreads();
8180 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
8181
8182 wxPyEndAllowThreads(__tstate);
8183 if (PyErr_Occurred()) SWIG_fail;
8184 }
8185 {
8186 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8187 }
8188 return resultobj;
8189 fail:
8190 return NULL;
8191}
8192
8193
c370783e 8194static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8195 PyObject *resultobj = NULL;
d55e5bfc
RD
8196 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8197 PyObject * obj0 = 0 ;
8198 char *kwnames[] = {
8199 (char *) "self", NULL
8200 };
8201
8202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
8203 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8204 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8205 {
8206 PyThreadState* __tstate = wxPyBeginAllowThreads();
8207 (arg1)->UpdateSize();
8208
8209 wxPyEndAllowThreads(__tstate);
8210 if (PyErr_Occurred()) SWIG_fail;
8211 }
8212 Py_INCREF(Py_None); resultobj = Py_None;
8213 return resultobj;
8214 fail:
8215 return NULL;
8216}
8217
8218
c370783e 8219static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8220 PyObject *resultobj = NULL;
d55e5bfc
RD
8221 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8222 bool result;
8223 PyObject * obj0 = 0 ;
8224 char *kwnames[] = {
8225 (char *) "self", NULL
8226 };
8227
8228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
36ed4f51
RD
8229 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8230 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8231 {
8232 PyThreadState* __tstate = wxPyBeginAllowThreads();
8233 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
8234
8235 wxPyEndAllowThreads(__tstate);
8236 if (PyErr_Occurred()) SWIG_fail;
8237 }
8238 {
8239 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8240 }
8241 return resultobj;
8242 fail:
8243 return NULL;
8244}
8245
8246
c370783e 8247static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8248 PyObject *resultobj = NULL;
d55e5bfc
RD
8249 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8250 int arg2 ;
8251 PyObject * obj0 = 0 ;
8252 PyObject * obj1 = 0 ;
8253 char *kwnames[] = {
8254 (char *) "self",(char *) "width", NULL
8255 };
8256
8257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8258 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8259 if (SWIG_arg_fail(1)) SWIG_fail;
8260 {
32fe5131 8261 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
8262 if (SWIG_arg_fail(2)) SWIG_fail;
8263 }
d55e5bfc
RD
8264 {
8265 PyThreadState* __tstate = wxPyBeginAllowThreads();
8266 (arg1)->SetSashSize(arg2);
8267
8268 wxPyEndAllowThreads(__tstate);
8269 if (PyErr_Occurred()) SWIG_fail;
8270 }
8271 Py_INCREF(Py_None); resultobj = Py_None;
8272 return resultobj;
8273 fail:
8274 return NULL;
8275}
8276
8277
c370783e 8278static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8279 PyObject *resultobj = NULL;
d55e5bfc
RD
8280 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8281 int arg2 ;
8282 PyObject * obj0 = 0 ;
8283 PyObject * obj1 = 0 ;
8284 char *kwnames[] = {
8285 (char *) "self",(char *) "width", NULL
8286 };
8287
8288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8289 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8290 if (SWIG_arg_fail(1)) SWIG_fail;
8291 {
32fe5131 8292 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
8293 if (SWIG_arg_fail(2)) SWIG_fail;
8294 }
d55e5bfc
RD
8295 {
8296 PyThreadState* __tstate = wxPyBeginAllowThreads();
8297 (arg1)->SetBorderSize(arg2);
8298
8299 wxPyEndAllowThreads(__tstate);
8300 if (PyErr_Occurred()) SWIG_fail;
8301 }
8302 Py_INCREF(Py_None); resultobj = Py_None;
8303 return resultobj;
8304 fail:
8305 return NULL;
8306}
8307
8308
c370783e 8309static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8310 PyObject *resultobj = NULL;
d55e5bfc
RD
8311 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8312 int result;
8313 PyObject * obj0 = 0 ;
8314 char *kwnames[] = {
8315 (char *) "self", NULL
8316 };
8317
8318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
8319 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8320 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8321 {
8322 PyThreadState* __tstate = wxPyBeginAllowThreads();
8323 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
8324
8325 wxPyEndAllowThreads(__tstate);
8326 if (PyErr_Occurred()) SWIG_fail;
8327 }
36ed4f51 8328 {
32fe5131 8329 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 8330 }
d55e5bfc
RD
8331 return resultobj;
8332 fail:
8333 return NULL;
8334}
8335
8336
c370783e 8337static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8338 PyObject *resultobj = NULL;
d55e5bfc
RD
8339 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8340 int result;
8341 PyObject * obj0 = 0 ;
8342 char *kwnames[] = {
8343 (char *) "self", NULL
8344 };
8345
8346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
8347 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8348 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8349 {
8350 PyThreadState* __tstate = wxPyBeginAllowThreads();
8351 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
8352
8353 wxPyEndAllowThreads(__tstate);
8354 if (PyErr_Occurred()) SWIG_fail;
8355 }
36ed4f51 8356 {
32fe5131 8357 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 8358 }
d55e5bfc
RD
8359 return resultobj;
8360 fail:
8361 return NULL;
8362}
8363
8364
c370783e 8365static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8366 PyObject *resultobj = NULL;
d55e5bfc
RD
8367 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8368 int arg2 ;
b411df4a 8369 bool arg3 = (bool) true ;
d55e5bfc
RD
8370 PyObject * obj0 = 0 ;
8371 PyObject * obj1 = 0 ;
8372 PyObject * obj2 = 0 ;
8373 char *kwnames[] = {
8374 (char *) "self",(char *) "position",(char *) "redraw", NULL
8375 };
8376
8377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
8378 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8379 if (SWIG_arg_fail(1)) SWIG_fail;
8380 {
32fe5131 8381 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
8382 if (SWIG_arg_fail(2)) SWIG_fail;
8383 }
d55e5bfc 8384 if (obj2) {
36ed4f51 8385 {
32fe5131 8386 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
8387 if (SWIG_arg_fail(3)) SWIG_fail;
8388 }
d55e5bfc
RD
8389 }
8390 {
8391 PyThreadState* __tstate = wxPyBeginAllowThreads();
8392 (arg1)->SetSashPosition(arg2,arg3);
8393
8394 wxPyEndAllowThreads(__tstate);
8395 if (PyErr_Occurred()) SWIG_fail;
8396 }
8397 Py_INCREF(Py_None); resultobj = Py_None;
8398 return resultobj;
8399 fail:
8400 return NULL;
8401}
8402
8403
c370783e 8404static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8405 PyObject *resultobj = NULL;
d55e5bfc
RD
8406 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8407 int result;
8408 PyObject * obj0 = 0 ;
8409 char *kwnames[] = {
8410 (char *) "self", NULL
8411 };
8412
8413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
36ed4f51
RD
8414 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8415 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8416 {
8417 PyThreadState* __tstate = wxPyBeginAllowThreads();
8418 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
8419
8420 wxPyEndAllowThreads(__tstate);
8421 if (PyErr_Occurred()) SWIG_fail;
8422 }
36ed4f51 8423 {
32fe5131 8424 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 8425 }
d55e5bfc
RD
8426 return resultobj;
8427 fail:
8428 return NULL;
8429}
8430
8431
5cbf236d 8432static PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8433 PyObject *resultobj = NULL;
5cbf236d
RD
8434 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8435 double arg2 ;
8436 PyObject * obj0 = 0 ;
8437 PyObject * obj1 = 0 ;
8438 char *kwnames[] = {
8439 (char *) "self",(char *) "gravity", NULL
8440 };
8441
8442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8443 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8444 if (SWIG_arg_fail(1)) SWIG_fail;
8445 {
32fe5131 8446 arg2 = static_cast<double >(SWIG_As_double(obj1));
36ed4f51
RD
8447 if (SWIG_arg_fail(2)) SWIG_fail;
8448 }
5cbf236d
RD
8449 {
8450 PyThreadState* __tstate = wxPyBeginAllowThreads();
8451 (arg1)->SetSashGravity(arg2);
8452
8453 wxPyEndAllowThreads(__tstate);
8454 if (PyErr_Occurred()) SWIG_fail;
8455 }
8456 Py_INCREF(Py_None); resultobj = Py_None;
8457 return resultobj;
8458 fail:
8459 return NULL;
8460}
8461
8462
8463static PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8464 PyObject *resultobj = NULL;
5cbf236d
RD
8465 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8466 double result;
8467 PyObject * obj0 = 0 ;
8468 char *kwnames[] = {
8469 (char *) "self", NULL
8470 };
8471
8472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashGravity",kwnames,&obj0)) goto fail;
36ed4f51
RD
8473 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8474 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
8475 {
8476 PyThreadState* __tstate = wxPyBeginAllowThreads();
8477 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
8478
8479 wxPyEndAllowThreads(__tstate);
8480 if (PyErr_Occurred()) SWIG_fail;
8481 }
36ed4f51 8482 {
32fe5131 8483 resultobj = SWIG_From_double(static_cast<double >(result));
36ed4f51 8484 }
5cbf236d
RD
8485 return resultobj;
8486 fail:
8487 return NULL;
8488}
8489
8490
c370783e 8491static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8492 PyObject *resultobj = NULL;
d55e5bfc
RD
8493 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8494 int arg2 ;
8495 PyObject * obj0 = 0 ;
8496 PyObject * obj1 = 0 ;
8497 char *kwnames[] = {
8498 (char *) "self",(char *) "min", NULL
8499 };
8500
8501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8503 if (SWIG_arg_fail(1)) SWIG_fail;
8504 {
32fe5131 8505 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
8506 if (SWIG_arg_fail(2)) SWIG_fail;
8507 }
d55e5bfc
RD
8508 {
8509 PyThreadState* __tstate = wxPyBeginAllowThreads();
8510 (arg1)->SetMinimumPaneSize(arg2);
8511
8512 wxPyEndAllowThreads(__tstate);
8513 if (PyErr_Occurred()) SWIG_fail;
8514 }
8515 Py_INCREF(Py_None); resultobj = Py_None;
8516 return resultobj;
8517 fail:
8518 return NULL;
8519}
8520
8521
c370783e 8522static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8523 PyObject *resultobj = NULL;
d55e5bfc
RD
8524 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8525 int result;
8526 PyObject * obj0 = 0 ;
8527 char *kwnames[] = {
8528 (char *) "self", NULL
8529 };
8530
8531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
8532 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8533 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8534 {
8535 PyThreadState* __tstate = wxPyBeginAllowThreads();
8536 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
8537
8538 wxPyEndAllowThreads(__tstate);
8539 if (PyErr_Occurred()) SWIG_fail;
8540 }
36ed4f51 8541 {
32fe5131 8542 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 8543 }
d55e5bfc
RD
8544 return resultobj;
8545 fail:
8546 return NULL;
8547}
8548
8549
c370783e 8550static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8551 PyObject *resultobj = NULL;
d55e5bfc
RD
8552 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8553 int arg2 ;
8554 int arg3 ;
8555 int arg4 = (int) 5 ;
8556 bool result;
8557 PyObject * obj0 = 0 ;
8558 PyObject * obj1 = 0 ;
8559 PyObject * obj2 = 0 ;
8560 PyObject * obj3 = 0 ;
8561 char *kwnames[] = {
8562 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
8563 };
8564
8565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
8566 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8567 if (SWIG_arg_fail(1)) SWIG_fail;
8568 {
32fe5131 8569 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
8570 if (SWIG_arg_fail(2)) SWIG_fail;
8571 }
8572 {
32fe5131 8573 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
8574 if (SWIG_arg_fail(3)) SWIG_fail;
8575 }
d55e5bfc 8576 if (obj3) {
36ed4f51 8577 {
32fe5131 8578 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
8579 if (SWIG_arg_fail(4)) SWIG_fail;
8580 }
d55e5bfc
RD
8581 }
8582 {
8583 PyThreadState* __tstate = wxPyBeginAllowThreads();
8584 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
8585
8586 wxPyEndAllowThreads(__tstate);
8587 if (PyErr_Occurred()) SWIG_fail;
8588 }
8589 {
8590 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8591 }
8592 return resultobj;
8593 fail:
8594 return NULL;
8595}
8596
8597
c370783e 8598static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8599 PyObject *resultobj = NULL;
d55e5bfc
RD
8600 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8601 PyObject * obj0 = 0 ;
8602 char *kwnames[] = {
8603 (char *) "self", NULL
8604 };
8605
8606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
36ed4f51
RD
8607 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8608 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8609 {
8610 PyThreadState* __tstate = wxPyBeginAllowThreads();
8611 (arg1)->SizeWindows();
8612
8613 wxPyEndAllowThreads(__tstate);
8614 if (PyErr_Occurred()) SWIG_fail;
8615 }
8616 Py_INCREF(Py_None); resultobj = Py_None;
8617 return resultobj;
8618 fail:
8619 return NULL;
8620}
8621
8622
c370783e 8623static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8624 PyObject *resultobj = NULL;
d55e5bfc
RD
8625 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8626 bool arg2 ;
8627 PyObject * obj0 = 0 ;
8628 PyObject * obj1 = 0 ;
8629 char *kwnames[] = {
8630 (char *) "self",(char *) "needUpdating", NULL
8631 };
8632
8633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8634 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8635 if (SWIG_arg_fail(1)) SWIG_fail;
8636 {
32fe5131 8637 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
8638 if (SWIG_arg_fail(2)) SWIG_fail;
8639 }
d55e5bfc
RD
8640 {
8641 PyThreadState* __tstate = wxPyBeginAllowThreads();
8642 (arg1)->SetNeedUpdating(arg2);
8643
8644 wxPyEndAllowThreads(__tstate);
8645 if (PyErr_Occurred()) SWIG_fail;
8646 }
8647 Py_INCREF(Py_None); resultobj = Py_None;
8648 return resultobj;
8649 fail:
8650 return NULL;
8651}
8652
8653
c370783e 8654static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8655 PyObject *resultobj = NULL;
d55e5bfc
RD
8656 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8657 bool result;
8658 PyObject * obj0 = 0 ;
8659 char *kwnames[] = {
8660 (char *) "self", NULL
8661 };
8662
8663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
36ed4f51
RD
8664 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8665 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8666 {
8667 PyThreadState* __tstate = wxPyBeginAllowThreads();
8668 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
8669
8670 wxPyEndAllowThreads(__tstate);
8671 if (PyErr_Occurred()) SWIG_fail;
8672 }
8673 {
8674 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8675 }
8676 return resultobj;
8677 fail:
8678 return NULL;
8679}
8680
8681
c370783e 8682static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8683 PyObject *resultobj = NULL;
36ed4f51 8684 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
8685 wxVisualAttributes result;
8686 PyObject * obj0 = 0 ;
8687 char *kwnames[] = {
8688 (char *) "variant", NULL
8689 };
8690
8691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
8692 if (obj0) {
36ed4f51 8693 {
32fe5131 8694 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
36ed4f51
RD
8695 if (SWIG_arg_fail(1)) SWIG_fail;
8696 }
f20a2e1f
RD
8697 }
8698 {
0439c23b 8699 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 8700 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 8701 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
8702
8703 wxPyEndAllowThreads(__tstate);
110da5b0 8704 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
8705 }
8706 {
8707 wxVisualAttributes * resultptr;
32fe5131 8708 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
8709 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
8710 }
8711 return resultobj;
8712 fail:
8713 return NULL;
8714}
8715
8716
c370783e 8717static PyObject * SplitterWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8718 PyObject *obj;
8719 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8720 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
8721 Py_INCREF(obj);
8722 return Py_BuildValue((char *)"");
8723}
c370783e 8724static PyObject *_wrap_new_SplitterEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8725 PyObject *resultobj = NULL;
d55e5bfc
RD
8726 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
8727 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
8728 wxSplitterEvent *result;
8729 PyObject * obj0 = 0 ;
8730 PyObject * obj1 = 0 ;
8731 char *kwnames[] = {
8732 (char *) "type",(char *) "splitter", NULL
8733 };
8734
8735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
8736 if (obj0) {
36ed4f51 8737 {
32fe5131 8738 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
36ed4f51
RD
8739 if (SWIG_arg_fail(1)) SWIG_fail;
8740 }
d55e5bfc
RD
8741 }
8742 if (obj1) {
36ed4f51
RD
8743 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8744 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
8745 }
8746 {
8747 PyThreadState* __tstate = wxPyBeginAllowThreads();
8748 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
8749
8750 wxPyEndAllowThreads(__tstate);
8751 if (PyErr_Occurred()) SWIG_fail;
8752 }
8753 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
8754 return resultobj;
8755 fail:
8756 return NULL;
8757}
8758
8759
c370783e 8760static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8761 PyObject *resultobj = NULL;
d55e5bfc
RD
8762 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8763 int arg2 ;
8764 PyObject * obj0 = 0 ;
8765 PyObject * obj1 = 0 ;
8766 char *kwnames[] = {
8767 (char *) "self",(char *) "pos", NULL
8768 };
8769
8770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8771 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8772 if (SWIG_arg_fail(1)) SWIG_fail;
8773 {
32fe5131 8774 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
8775 if (SWIG_arg_fail(2)) SWIG_fail;
8776 }
d55e5bfc
RD
8777 {
8778 PyThreadState* __tstate = wxPyBeginAllowThreads();
8779 (arg1)->SetSashPosition(arg2);
8780
8781 wxPyEndAllowThreads(__tstate);
8782 if (PyErr_Occurred()) SWIG_fail;
8783 }
8784 Py_INCREF(Py_None); resultobj = Py_None;
8785 return resultobj;
8786 fail:
8787 return NULL;
8788}
8789
8790
c370783e 8791static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8792 PyObject *resultobj = NULL;
d55e5bfc
RD
8793 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8794 int result;
8795 PyObject * obj0 = 0 ;
8796 char *kwnames[] = {
8797 (char *) "self", NULL
8798 };
8799
8800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
36ed4f51
RD
8801 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8802 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8803 {
8804 PyThreadState* __tstate = wxPyBeginAllowThreads();
8805 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
8806
8807 wxPyEndAllowThreads(__tstate);
8808 if (PyErr_Occurred()) SWIG_fail;
8809 }
36ed4f51 8810 {
32fe5131 8811 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 8812 }
d55e5bfc
RD
8813 return resultobj;
8814 fail:
8815 return NULL;
8816}
8817
8818
c370783e 8819static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8820 PyObject *resultobj = NULL;
d55e5bfc
RD
8821 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8822 wxWindow *result;
8823 PyObject * obj0 = 0 ;
8824 char *kwnames[] = {
8825 (char *) "self", NULL
8826 };
8827
8828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
36ed4f51
RD
8829 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8830 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8831 {
8832 PyThreadState* __tstate = wxPyBeginAllowThreads();
8833 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
8834
8835 wxPyEndAllowThreads(__tstate);
8836 if (PyErr_Occurred()) SWIG_fail;
8837 }
8838 {
412d302d 8839 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
8840 }
8841 return resultobj;
8842 fail:
8843 return NULL;
8844}
8845
8846
c370783e 8847static PyObject *_wrap_SplitterEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8848 PyObject *resultobj = NULL;
d55e5bfc
RD
8849 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8850 int result;
8851 PyObject * obj0 = 0 ;
8852 char *kwnames[] = {
8853 (char *) "self", NULL
8854 };
8855
8856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
36ed4f51
RD
8857 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8858 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8859 {
8860 PyThreadState* __tstate = wxPyBeginAllowThreads();
8861 result = (int)((wxSplitterEvent const *)arg1)->GetX();
8862
8863 wxPyEndAllowThreads(__tstate);
8864 if (PyErr_Occurred()) SWIG_fail;
8865 }
36ed4f51 8866 {
32fe5131 8867 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 8868 }
d55e5bfc
RD
8869 return resultobj;
8870 fail:
8871 return NULL;
8872}
8873
8874
c370783e 8875static PyObject *_wrap_SplitterEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8876 PyObject *resultobj = NULL;
d55e5bfc
RD
8877 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8878 int result;
8879 PyObject * obj0 = 0 ;
8880 char *kwnames[] = {
8881 (char *) "self", NULL
8882 };
8883
8884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
36ed4f51
RD
8885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8886 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8887 {
8888 PyThreadState* __tstate = wxPyBeginAllowThreads();
8889 result = (int)((wxSplitterEvent const *)arg1)->GetY();
8890
8891 wxPyEndAllowThreads(__tstate);
8892 if (PyErr_Occurred()) SWIG_fail;
8893 }
36ed4f51 8894 {
32fe5131 8895 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 8896 }
d55e5bfc
RD
8897 return resultobj;
8898 fail:
8899 return NULL;
8900}
8901
8902
c370783e 8903static PyObject * SplitterEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8904 PyObject *obj;
8905 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8906 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
8907 Py_INCREF(obj);
8908 return Py_BuildValue((char *)"");
8909}
c370783e 8910static int _wrap_SashNameStr_set(PyObject *) {
d55e5bfc
RD
8911 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
8912 return 1;
8913}
8914
8915
36ed4f51 8916static PyObject *_wrap_SashNameStr_get(void) {
32fe5131 8917 PyObject *pyobj = NULL;
d55e5bfc
RD
8918
8919 {
8920#if wxUSE_UNICODE
8921 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
8922#else
8923 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
8924#endif
8925 }
8926 return pyobj;
8927}
8928
8929
c370783e 8930static int _wrap_SashLayoutNameStr_set(PyObject *) {
d55e5bfc
RD
8931 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
8932 return 1;
8933}
8934
8935
36ed4f51 8936static PyObject *_wrap_SashLayoutNameStr_get(void) {
32fe5131 8937 PyObject *pyobj = NULL;
d55e5bfc
RD
8938
8939 {
8940#if wxUSE_UNICODE
8941 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
8942#else
8943 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
8944#endif
8945 }
8946 return pyobj;
8947}
8948
8949
c370783e 8950static PyObject *_wrap_new_SashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8951 PyObject *resultobj = NULL;
d55e5bfc 8952 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 8953 int arg2 = (int) -1 ;
d55e5bfc
RD
8954 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8955 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8956 wxSize const &arg4_defvalue = wxDefaultSize ;
8957 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8958 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8959 wxString const &arg6_defvalue = wxPySashNameStr ;
8960 wxString *arg6 = (wxString *) &arg6_defvalue ;
8961 wxSashWindow *result;
8962 wxPoint temp3 ;
8963 wxSize temp4 ;
b411df4a 8964 bool temp6 = false ;
d55e5bfc
RD
8965 PyObject * obj0 = 0 ;
8966 PyObject * obj1 = 0 ;
8967 PyObject * obj2 = 0 ;
8968 PyObject * obj3 = 0 ;
8969 PyObject * obj4 = 0 ;
8970 PyObject * obj5 = 0 ;
8971 char *kwnames[] = {
8972 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8973 };
8974
bfddbb17 8975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
8976 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8977 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 8978 if (obj1) {
36ed4f51 8979 {
32fe5131 8980 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
8981 if (SWIG_arg_fail(2)) SWIG_fail;
8982 }
bfddbb17 8983 }
d55e5bfc
RD
8984 if (obj2) {
8985 {
8986 arg3 = &temp3;
8987 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8988 }
8989 }
8990 if (obj3) {
8991 {
8992 arg4 = &temp4;
8993 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8994 }
8995 }
8996 if (obj4) {
36ed4f51 8997 {
32fe5131 8998 arg5 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
8999 if (SWIG_arg_fail(5)) SWIG_fail;
9000 }
d55e5bfc
RD
9001 }
9002 if (obj5) {
9003 {
9004 arg6 = wxString_in_helper(obj5);
9005 if (arg6 == NULL) SWIG_fail;
b411df4a 9006 temp6 = true;
d55e5bfc
RD
9007 }
9008 }
9009 {
0439c23b 9010 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9011 PyThreadState* __tstate = wxPyBeginAllowThreads();
9012 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9013
9014 wxPyEndAllowThreads(__tstate);
110da5b0 9015 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
9016 }
9017 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
9018 {
9019 if (temp6)
9020 delete arg6;
9021 }
9022 return resultobj;
9023 fail:
9024 {
9025 if (temp6)
9026 delete arg6;
9027 }
9028 return NULL;
9029}
9030
9031
c370783e 9032static PyObject *_wrap_new_PreSashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9033 PyObject *resultobj = NULL;
d55e5bfc
RD
9034 wxSashWindow *result;
9035 char *kwnames[] = {
9036 NULL
9037 };
9038
9039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
9040 {
0439c23b 9041 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9042 PyThreadState* __tstate = wxPyBeginAllowThreads();
9043 result = (wxSashWindow *)new wxSashWindow();
9044
9045 wxPyEndAllowThreads(__tstate);
110da5b0 9046 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
9047 }
9048 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
9049 return resultobj;
9050 fail:
9051 return NULL;
9052}
9053
9054
c370783e 9055static PyObject *_wrap_SashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9056 PyObject *resultobj = NULL;
d55e5bfc
RD
9057 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9058 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17 9059 int arg3 = (int) -1 ;
d55e5bfc
RD
9060 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9061 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9062 wxSize const &arg5_defvalue = wxDefaultSize ;
9063 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9064 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
9065 wxString const &arg7_defvalue = wxPySashNameStr ;
9066 wxString *arg7 = (wxString *) &arg7_defvalue ;
9067 bool result;
9068 wxPoint temp4 ;
9069 wxSize temp5 ;
b411df4a 9070 bool temp7 = false ;
d55e5bfc
RD
9071 PyObject * obj0 = 0 ;
9072 PyObject * obj1 = 0 ;
9073 PyObject * obj2 = 0 ;
9074 PyObject * obj3 = 0 ;
9075 PyObject * obj4 = 0 ;
9076 PyObject * obj5 = 0 ;
9077 PyObject * obj6 = 0 ;
9078 char *kwnames[] = {
9079 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9080 };
9081
bfddbb17 9082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) 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 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9086 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 9087 if (obj2) {
36ed4f51 9088 {
32fe5131 9089 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
9090 if (SWIG_arg_fail(3)) SWIG_fail;
9091 }
bfddbb17 9092 }
d55e5bfc
RD
9093 if (obj3) {
9094 {
9095 arg4 = &temp4;
9096 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9097 }
9098 }
9099 if (obj4) {
9100 {
9101 arg5 = &temp5;
9102 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9103 }
9104 }
9105 if (obj5) {
36ed4f51 9106 {
32fe5131 9107 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
9108 if (SWIG_arg_fail(6)) SWIG_fail;
9109 }
d55e5bfc
RD
9110 }
9111 if (obj6) {
9112 {
9113 arg7 = wxString_in_helper(obj6);
9114 if (arg7 == NULL) SWIG_fail;
b411df4a 9115 temp7 = true;
d55e5bfc
RD
9116 }
9117 }
9118 {
9119 PyThreadState* __tstate = wxPyBeginAllowThreads();
9120 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9121
9122 wxPyEndAllowThreads(__tstate);
9123 if (PyErr_Occurred()) SWIG_fail;
9124 }
9125 {
9126 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9127 }
9128 {
9129 if (temp7)
9130 delete arg7;
9131 }
9132 return resultobj;
9133 fail:
9134 {
9135 if (temp7)
9136 delete arg7;
9137 }
9138 return NULL;
9139}
9140
9141
c370783e 9142static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9143 PyObject *resultobj = NULL;
d55e5bfc 9144 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
36ed4f51 9145 wxSashEdgePosition arg2 ;
d55e5bfc
RD
9146 bool arg3 ;
9147 PyObject * obj0 = 0 ;
9148 PyObject * obj1 = 0 ;
9149 PyObject * obj2 = 0 ;
9150 char *kwnames[] = {
9151 (char *) "self",(char *) "edge",(char *) "sash", NULL
9152 };
9153
9154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
9155 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9156 if (SWIG_arg_fail(1)) SWIG_fail;
9157 {
32fe5131 9158 arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1));
36ed4f51
RD
9159 if (SWIG_arg_fail(2)) SWIG_fail;
9160 }
9161 {
32fe5131 9162 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
9163 if (SWIG_arg_fail(3)) SWIG_fail;
9164 }
d55e5bfc
RD
9165 {
9166 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 9167 (arg1)->SetSashVisible(arg2,arg3);
d55e5bfc
RD
9168
9169 wxPyEndAllowThreads(__tstate);
9170 if (PyErr_Occurred()) SWIG_fail;
9171 }
9172 Py_INCREF(Py_None); resultobj = Py_None;
9173 return resultobj;
9174 fail:
9175 return NULL;
9176}
9177
9178
c370783e 9179static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9180 PyObject *resultobj = NULL;
d55e5bfc 9181 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
36ed4f51 9182 wxSashEdgePosition arg2 ;
d55e5bfc
RD
9183 bool result;
9184 PyObject * obj0 = 0 ;
9185 PyObject * obj1 = 0 ;
9186 char *kwnames[] = {
9187 (char *) "self",(char *) "edge", NULL
9188 };
9189
9190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9191 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9192 if (SWIG_arg_fail(1)) SWIG_fail;
9193 {
32fe5131 9194 arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1));
36ed4f51
RD
9195 if (SWIG_arg_fail(2)) SWIG_fail;
9196 }
d55e5bfc
RD
9197 {
9198 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 9199 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
d55e5bfc
RD
9200
9201 wxPyEndAllowThreads(__tstate);
9202 if (PyErr_Occurred()) SWIG_fail;
9203 }
9204 {
9205 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9206 }
9207 return resultobj;
9208 fail:
9209 return NULL;
9210}
9211
9212
c370783e 9213static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9214 PyObject *resultobj = NULL;
d55e5bfc 9215 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
36ed4f51 9216 wxSashEdgePosition arg2 ;
d55e5bfc
RD
9217 bool arg3 ;
9218 PyObject * obj0 = 0 ;
9219 PyObject * obj1 = 0 ;
9220 PyObject * obj2 = 0 ;
9221 char *kwnames[] = {
9222 (char *) "self",(char *) "edge",(char *) "border", NULL
9223 };
9224
9225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
9226 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9227 if (SWIG_arg_fail(1)) SWIG_fail;
9228 {
32fe5131 9229 arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1));
36ed4f51
RD
9230 if (SWIG_arg_fail(2)) SWIG_fail;
9231 }
9232 {
32fe5131 9233 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
9234 if (SWIG_arg_fail(3)) SWIG_fail;
9235 }
d55e5bfc
RD
9236 {
9237 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 9238 (arg1)->SetSashBorder(arg2,arg3);
d55e5bfc
RD
9239
9240 wxPyEndAllowThreads(__tstate);
9241 if (PyErr_Occurred()) SWIG_fail;
9242 }
9243 Py_INCREF(Py_None); resultobj = Py_None;
9244 return resultobj;
9245 fail:
9246 return NULL;
9247}
9248
9249
c370783e 9250static PyObject *_wrap_SashWindow_HasBorder(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9251 PyObject *resultobj = NULL;
d55e5bfc 9252 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
36ed4f51 9253 wxSashEdgePosition arg2 ;
d55e5bfc
RD
9254 bool result;
9255 PyObject * obj0 = 0 ;
9256 PyObject * obj1 = 0 ;
9257 char *kwnames[] = {
9258 (char *) "self",(char *) "edge", NULL
9259 };
9260
9261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9262 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9263 if (SWIG_arg_fail(1)) SWIG_fail;
9264 {
32fe5131 9265 arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1));
36ed4f51
RD
9266 if (SWIG_arg_fail(2)) SWIG_fail;
9267 }
d55e5bfc
RD
9268 {
9269 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 9270 result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2);
d55e5bfc
RD
9271
9272 wxPyEndAllowThreads(__tstate);
9273 if (PyErr_Occurred()) SWIG_fail;
9274 }
9275 {
9276 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9277 }
9278 return resultobj;
9279 fail:
9280 return NULL;
9281}
9282
9283
c370783e 9284static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9285 PyObject *resultobj = NULL;
d55e5bfc 9286 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
36ed4f51 9287 wxSashEdgePosition arg2 ;
d55e5bfc
RD
9288 int result;
9289 PyObject * obj0 = 0 ;
9290 PyObject * obj1 = 0 ;
9291 char *kwnames[] = {
9292 (char *) "self",(char *) "edge", NULL
9293 };
9294
9295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9296 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9297 if (SWIG_arg_fail(1)) SWIG_fail;
9298 {
32fe5131 9299 arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1));
36ed4f51
RD
9300 if (SWIG_arg_fail(2)) SWIG_fail;
9301 }
d55e5bfc
RD
9302 {
9303 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 9304 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
d55e5bfc
RD
9305
9306 wxPyEndAllowThreads(__tstate);
9307 if (PyErr_Occurred()) SWIG_fail;
9308 }
36ed4f51 9309 {
32fe5131 9310 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 9311 }
d55e5bfc
RD
9312 return resultobj;
9313 fail:
9314 return NULL;
9315}
9316
9317
c370783e 9318static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9319 PyObject *resultobj = NULL;
d55e5bfc
RD
9320 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9321 int arg2 ;
9322 PyObject * obj0 = 0 ;
9323 PyObject * obj1 = 0 ;
9324 char *kwnames[] = {
9325 (char *) "self",(char *) "width", NULL
9326 };
9327
9328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9330 if (SWIG_arg_fail(1)) SWIG_fail;
9331 {
32fe5131 9332 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9333 if (SWIG_arg_fail(2)) SWIG_fail;
9334 }
d55e5bfc
RD
9335 {
9336 PyThreadState* __tstate = wxPyBeginAllowThreads();
9337 (arg1)->SetDefaultBorderSize(arg2);
9338
9339 wxPyEndAllowThreads(__tstate);
9340 if (PyErr_Occurred()) SWIG_fail;
9341 }
9342 Py_INCREF(Py_None); resultobj = Py_None;
9343 return resultobj;
9344 fail:
9345 return NULL;
9346}
9347
9348
c370783e 9349static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9350 PyObject *resultobj = NULL;
d55e5bfc
RD
9351 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9352 int result;
9353 PyObject * obj0 = 0 ;
9354 char *kwnames[] = {
9355 (char *) "self", NULL
9356 };
9357
9358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
9359 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9360 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9361 {
9362 PyThreadState* __tstate = wxPyBeginAllowThreads();
9363 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
9364
9365 wxPyEndAllowThreads(__tstate);
9366 if (PyErr_Occurred()) SWIG_fail;
9367 }
36ed4f51 9368 {
32fe5131 9369 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 9370 }
d55e5bfc
RD
9371 return resultobj;
9372 fail:
9373 return NULL;
9374}
9375
9376
c370783e 9377static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9378 PyObject *resultobj = NULL;
d55e5bfc
RD
9379 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9380 int arg2 ;
9381 PyObject * obj0 = 0 ;
9382 PyObject * obj1 = 0 ;
9383 char *kwnames[] = {
9384 (char *) "self",(char *) "width", NULL
9385 };
9386
9387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9389 if (SWIG_arg_fail(1)) SWIG_fail;
9390 {
32fe5131 9391 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9392 if (SWIG_arg_fail(2)) SWIG_fail;
9393 }
d55e5bfc
RD
9394 {
9395 PyThreadState* __tstate = wxPyBeginAllowThreads();
9396 (arg1)->SetExtraBorderSize(arg2);
9397
9398 wxPyEndAllowThreads(__tstate);
9399 if (PyErr_Occurred()) SWIG_fail;
9400 }
9401 Py_INCREF(Py_None); resultobj = Py_None;
9402 return resultobj;
9403 fail:
9404 return NULL;
9405}
9406
9407
c370783e 9408static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9409 PyObject *resultobj = NULL;
d55e5bfc
RD
9410 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9411 int result;
9412 PyObject * obj0 = 0 ;
9413 char *kwnames[] = {
9414 (char *) "self", NULL
9415 };
9416
9417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
9418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9419 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9420 {
9421 PyThreadState* __tstate = wxPyBeginAllowThreads();
9422 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
9423
9424 wxPyEndAllowThreads(__tstate);
9425 if (PyErr_Occurred()) SWIG_fail;
9426 }
36ed4f51 9427 {
32fe5131 9428 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 9429 }
d55e5bfc
RD
9430 return resultobj;
9431 fail:
9432 return NULL;
9433}
9434
9435
c370783e 9436static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9437 PyObject *resultobj = NULL;
d55e5bfc
RD
9438 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9439 int arg2 ;
9440 PyObject * obj0 = 0 ;
9441 PyObject * obj1 = 0 ;
9442 char *kwnames[] = {
9443 (char *) "self",(char *) "min", NULL
9444 };
9445
9446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9447 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9448 if (SWIG_arg_fail(1)) SWIG_fail;
9449 {
32fe5131 9450 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9451 if (SWIG_arg_fail(2)) SWIG_fail;
9452 }
d55e5bfc
RD
9453 {
9454 PyThreadState* __tstate = wxPyBeginAllowThreads();
9455 (arg1)->SetMinimumSizeX(arg2);
9456
9457 wxPyEndAllowThreads(__tstate);
9458 if (PyErr_Occurred()) SWIG_fail;
9459 }
9460 Py_INCREF(Py_None); resultobj = Py_None;
9461 return resultobj;
9462 fail:
9463 return NULL;
9464}
9465
9466
c370783e 9467static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9468 PyObject *resultobj = NULL;
d55e5bfc
RD
9469 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9470 int arg2 ;
9471 PyObject * obj0 = 0 ;
9472 PyObject * obj1 = 0 ;
9473 char *kwnames[] = {
9474 (char *) "self",(char *) "min", NULL
9475 };
9476
9477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9479 if (SWIG_arg_fail(1)) SWIG_fail;
9480 {
32fe5131 9481 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9482 if (SWIG_arg_fail(2)) SWIG_fail;
9483 }
d55e5bfc
RD
9484 {
9485 PyThreadState* __tstate = wxPyBeginAllowThreads();
9486 (arg1)->SetMinimumSizeY(arg2);
9487
9488 wxPyEndAllowThreads(__tstate);
9489 if (PyErr_Occurred()) SWIG_fail;
9490 }
9491 Py_INCREF(Py_None); resultobj = Py_None;
9492 return resultobj;
9493 fail:
9494 return NULL;
9495}
9496
9497
c370783e 9498static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9499 PyObject *resultobj = NULL;
d55e5bfc
RD
9500 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9501 int result;
9502 PyObject * obj0 = 0 ;
9503 char *kwnames[] = {
9504 (char *) "self", NULL
9505 };
9506
9507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
36ed4f51
RD
9508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9509 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9510 {
9511 PyThreadState* __tstate = wxPyBeginAllowThreads();
9512 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
9513
9514 wxPyEndAllowThreads(__tstate);
9515 if (PyErr_Occurred()) SWIG_fail;
9516 }
36ed4f51 9517 {
32fe5131 9518 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 9519 }
d55e5bfc
RD
9520 return resultobj;
9521 fail:
9522 return NULL;
9523}
9524
9525
c370783e 9526static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9527 PyObject *resultobj = NULL;
d55e5bfc
RD
9528 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9529 int result;
9530 PyObject * obj0 = 0 ;
9531 char *kwnames[] = {
9532 (char *) "self", NULL
9533 };
9534
9535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
36ed4f51
RD
9536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9537 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9538 {
9539 PyThreadState* __tstate = wxPyBeginAllowThreads();
9540 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
9541
9542 wxPyEndAllowThreads(__tstate);
9543 if (PyErr_Occurred()) SWIG_fail;
9544 }
36ed4f51 9545 {
32fe5131 9546 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 9547 }
d55e5bfc
RD
9548 return resultobj;
9549 fail:
9550 return NULL;
9551}
9552
9553
c370783e 9554static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9555 PyObject *resultobj = NULL;
d55e5bfc
RD
9556 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9557 int arg2 ;
9558 PyObject * obj0 = 0 ;
9559 PyObject * obj1 = 0 ;
9560 char *kwnames[] = {
9561 (char *) "self",(char *) "max", NULL
9562 };
9563
9564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9565 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9566 if (SWIG_arg_fail(1)) SWIG_fail;
9567 {
32fe5131 9568 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9569 if (SWIG_arg_fail(2)) SWIG_fail;
9570 }
d55e5bfc
RD
9571 {
9572 PyThreadState* __tstate = wxPyBeginAllowThreads();
9573 (arg1)->SetMaximumSizeX(arg2);
9574
9575 wxPyEndAllowThreads(__tstate);
9576 if (PyErr_Occurred()) SWIG_fail;
9577 }
9578 Py_INCREF(Py_None); resultobj = Py_None;
9579 return resultobj;
9580 fail:
9581 return NULL;
9582}
9583
9584
c370783e 9585static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9586 PyObject *resultobj = NULL;
d55e5bfc
RD
9587 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9588 int arg2 ;
9589 PyObject * obj0 = 0 ;
9590 PyObject * obj1 = 0 ;
9591 char *kwnames[] = {
9592 (char *) "self",(char *) "max", NULL
9593 };
9594
9595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9596 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9597 if (SWIG_arg_fail(1)) SWIG_fail;
9598 {
32fe5131 9599 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9600 if (SWIG_arg_fail(2)) SWIG_fail;
9601 }
d55e5bfc
RD
9602 {
9603 PyThreadState* __tstate = wxPyBeginAllowThreads();
9604 (arg1)->SetMaximumSizeY(arg2);
9605
9606 wxPyEndAllowThreads(__tstate);
9607 if (PyErr_Occurred()) SWIG_fail;
9608 }
9609 Py_INCREF(Py_None); resultobj = Py_None;
9610 return resultobj;
9611 fail:
9612 return NULL;
9613}
9614
9615
c370783e 9616static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9617 PyObject *resultobj = NULL;
d55e5bfc
RD
9618 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9619 int result;
9620 PyObject * obj0 = 0 ;
9621 char *kwnames[] = {
9622 (char *) "self", NULL
9623 };
9624
9625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
36ed4f51
RD
9626 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9627 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9628 {
9629 PyThreadState* __tstate = wxPyBeginAllowThreads();
9630 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
9631
9632 wxPyEndAllowThreads(__tstate);
9633 if (PyErr_Occurred()) SWIG_fail;
9634 }
36ed4f51 9635 {
32fe5131 9636 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 9637 }
d55e5bfc
RD
9638 return resultobj;
9639 fail:
9640 return NULL;
9641}
9642
9643
c370783e 9644static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9645 PyObject *resultobj = NULL;
d55e5bfc
RD
9646 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9647 int result;
9648 PyObject * obj0 = 0 ;
9649 char *kwnames[] = {
9650 (char *) "self", NULL
9651 };
9652
9653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
36ed4f51
RD
9654 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9655 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9656 {
9657 PyThreadState* __tstate = wxPyBeginAllowThreads();
9658 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
9659
9660 wxPyEndAllowThreads(__tstate);
9661 if (PyErr_Occurred()) SWIG_fail;
9662 }
36ed4f51 9663 {
32fe5131 9664 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 9665 }
d55e5bfc
RD
9666 return resultobj;
9667 fail:
9668 return NULL;
9669}
9670
9671
c370783e 9672static PyObject *_wrap_SashWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9673 PyObject *resultobj = NULL;
d55e5bfc
RD
9674 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9675 int arg2 ;
9676 int arg3 ;
9677 int arg4 = (int) 2 ;
36ed4f51 9678 wxSashEdgePosition result;
d55e5bfc
RD
9679 PyObject * obj0 = 0 ;
9680 PyObject * obj1 = 0 ;
9681 PyObject * obj2 = 0 ;
9682 PyObject * obj3 = 0 ;
9683 char *kwnames[] = {
9684 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
9685 };
9686
9687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
9688 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9689 if (SWIG_arg_fail(1)) SWIG_fail;
9690 {
32fe5131 9691 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9692 if (SWIG_arg_fail(2)) SWIG_fail;
9693 }
9694 {
32fe5131 9695 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
9696 if (SWIG_arg_fail(3)) SWIG_fail;
9697 }
d55e5bfc 9698 if (obj3) {
36ed4f51 9699 {
32fe5131 9700 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
9701 if (SWIG_arg_fail(4)) SWIG_fail;
9702 }
d55e5bfc
RD
9703 }
9704 {
9705 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9706 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
d55e5bfc
RD
9707
9708 wxPyEndAllowThreads(__tstate);
9709 if (PyErr_Occurred()) SWIG_fail;
9710 }
36ed4f51 9711 resultobj = SWIG_From_int((result));
d55e5bfc
RD
9712 return resultobj;
9713 fail:
9714 return NULL;
9715}
9716
9717
c370783e 9718static PyObject *_wrap_SashWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9719 PyObject *resultobj = NULL;
d55e5bfc
RD
9720 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9721 PyObject * obj0 = 0 ;
9722 char *kwnames[] = {
9723 (char *) "self", NULL
9724 };
9725
9726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
36ed4f51
RD
9727 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9728 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9729 {
9730 PyThreadState* __tstate = wxPyBeginAllowThreads();
9731 (arg1)->SizeWindows();
9732
9733 wxPyEndAllowThreads(__tstate);
9734 if (PyErr_Occurred()) SWIG_fail;
9735 }
9736 Py_INCREF(Py_None); resultobj = Py_None;
9737 return resultobj;
9738 fail:
9739 return NULL;
9740}
9741
9742
c370783e 9743static PyObject * SashWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9744 PyObject *obj;
9745 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9746 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
9747 Py_INCREF(obj);
9748 return Py_BuildValue((char *)"");
9749}
c370783e 9750static PyObject *_wrap_new_SashEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9751 PyObject *resultobj = NULL;
d55e5bfc 9752 int arg1 = (int) 0 ;
36ed4f51 9753 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
d55e5bfc
RD
9754 wxSashEvent *result;
9755 PyObject * obj0 = 0 ;
9756 PyObject * obj1 = 0 ;
9757 char *kwnames[] = {
9758 (char *) "id",(char *) "edge", NULL
9759 };
9760
9761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
9762 if (obj0) {
36ed4f51 9763 {
32fe5131 9764 arg1 = static_cast<int >(SWIG_As_int(obj0));
36ed4f51
RD
9765 if (SWIG_arg_fail(1)) SWIG_fail;
9766 }
d55e5bfc
RD
9767 }
9768 if (obj1) {
36ed4f51 9769 {
32fe5131 9770 arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1));
36ed4f51
RD
9771 if (SWIG_arg_fail(2)) SWIG_fail;
9772 }
d55e5bfc
RD
9773 }
9774 {
9775 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 9776 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
d55e5bfc
RD
9777
9778 wxPyEndAllowThreads(__tstate);
9779 if (PyErr_Occurred()) SWIG_fail;
9780 }
9781 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
9782 return resultobj;
9783 fail:
9784 return NULL;
9785}
9786
9787
c370783e 9788static PyObject *_wrap_SashEvent_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9789 PyObject *resultobj = NULL;
d55e5bfc 9790 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
36ed4f51 9791 wxSashEdgePosition arg2 ;
d55e5bfc
RD
9792 PyObject * obj0 = 0 ;
9793 PyObject * obj1 = 0 ;
9794 char *kwnames[] = {
9795 (char *) "self",(char *) "edge", NULL
9796 };
9797
9798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9799 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9800 if (SWIG_arg_fail(1)) SWIG_fail;
9801 {
32fe5131 9802 arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1));
36ed4f51
RD
9803 if (SWIG_arg_fail(2)) SWIG_fail;
9804 }
d55e5bfc
RD
9805 {
9806 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 9807 (arg1)->SetEdge(arg2);
d55e5bfc
RD
9808
9809 wxPyEndAllowThreads(__tstate);
9810 if (PyErr_Occurred()) SWIG_fail;
9811 }
9812 Py_INCREF(Py_None); resultobj = Py_None;
9813 return resultobj;
9814 fail:
9815 return NULL;
9816}
9817
9818
c370783e 9819static PyObject *_wrap_SashEvent_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9820 PyObject *resultobj = NULL;
d55e5bfc 9821 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
36ed4f51 9822 wxSashEdgePosition result;
d55e5bfc
RD
9823 PyObject * obj0 = 0 ;
9824 char *kwnames[] = {
9825 (char *) "self", NULL
9826 };
9827
9828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
36ed4f51
RD
9829 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9830 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9831 {
9832 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9833 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
d55e5bfc
RD
9834
9835 wxPyEndAllowThreads(__tstate);
9836 if (PyErr_Occurred()) SWIG_fail;
9837 }
36ed4f51 9838 resultobj = SWIG_From_int((result));
d55e5bfc
RD
9839 return resultobj;
9840 fail:
9841 return NULL;
9842}
9843
9844
c370783e 9845static PyObject *_wrap_SashEvent_SetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9846 PyObject *resultobj = NULL;
d55e5bfc
RD
9847 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9848 wxRect *arg2 = 0 ;
9849 wxRect temp2 ;
9850 PyObject * obj0 = 0 ;
9851 PyObject * obj1 = 0 ;
9852 char *kwnames[] = {
9853 (char *) "self",(char *) "rect", NULL
9854 };
9855
9856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9857 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9858 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9859 {
9860 arg2 = &temp2;
9861 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9862 }
9863 {
9864 PyThreadState* __tstate = wxPyBeginAllowThreads();
9865 (arg1)->SetDragRect((wxRect const &)*arg2);
9866
9867 wxPyEndAllowThreads(__tstate);
9868 if (PyErr_Occurred()) SWIG_fail;
9869 }
9870 Py_INCREF(Py_None); resultobj = Py_None;
9871 return resultobj;
9872 fail:
9873 return NULL;
9874}
9875
9876
c370783e 9877static PyObject *_wrap_SashEvent_GetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9878 PyObject *resultobj = NULL;
d55e5bfc
RD
9879 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9880 wxRect result;
9881 PyObject * obj0 = 0 ;
9882 char *kwnames[] = {
9883 (char *) "self", NULL
9884 };
9885
9886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
36ed4f51
RD
9887 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9888 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9889 {
9890 PyThreadState* __tstate = wxPyBeginAllowThreads();
9891 result = ((wxSashEvent const *)arg1)->GetDragRect();
9892
9893 wxPyEndAllowThreads(__tstate);
9894 if (PyErr_Occurred()) SWIG_fail;
9895 }
9896 {
9897 wxRect * resultptr;
32fe5131 9898 resultptr = new wxRect(static_cast<wxRect & >(result));
d55e5bfc
RD
9899 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
9900 }
9901 return resultobj;
9902 fail:
9903 return NULL;
9904}
9905
9906
c370783e 9907static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9908 PyObject *resultobj = NULL;
d55e5bfc 9909 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
36ed4f51 9910 wxSashDragStatus arg2 ;
d55e5bfc
RD
9911 PyObject * obj0 = 0 ;
9912 PyObject * obj1 = 0 ;
9913 char *kwnames[] = {
9914 (char *) "self",(char *) "status", NULL
9915 };
9916
9917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9918 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9919 if (SWIG_arg_fail(1)) SWIG_fail;
9920 {
32fe5131 9921 arg2 = static_cast<wxSashDragStatus >(SWIG_As_int(obj1));
36ed4f51
RD
9922 if (SWIG_arg_fail(2)) SWIG_fail;
9923 }
d55e5bfc
RD
9924 {
9925 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 9926 (arg1)->SetDragStatus(arg2);
d55e5bfc
RD
9927
9928 wxPyEndAllowThreads(__tstate);
9929 if (PyErr_Occurred()) SWIG_fail;
9930 }
9931 Py_INCREF(Py_None); resultobj = Py_None;
9932 return resultobj;
9933 fail:
9934 return NULL;
9935}
9936
9937
c370783e 9938static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9939 PyObject *resultobj = NULL;
d55e5bfc 9940 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
36ed4f51 9941 wxSashDragStatus result;
d55e5bfc
RD
9942 PyObject * obj0 = 0 ;
9943 char *kwnames[] = {
9944 (char *) "self", NULL
9945 };
9946
9947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
36ed4f51
RD
9948 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9949 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9950 {
9951 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9952 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
d55e5bfc
RD
9953
9954 wxPyEndAllowThreads(__tstate);
9955 if (PyErr_Occurred()) SWIG_fail;
9956 }
36ed4f51 9957 resultobj = SWIG_From_int((result));
d55e5bfc
RD
9958 return resultobj;
9959 fail:
9960 return NULL;
9961}
9962
9963
c370783e 9964static PyObject * SashEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9965 PyObject *obj;
9966 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9967 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
9968 Py_INCREF(obj);
9969 return Py_BuildValue((char *)"");
9970}
c370783e 9971static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9972 PyObject *resultobj = NULL;
d55e5bfc
RD
9973 int arg1 = (int) 0 ;
9974 wxQueryLayoutInfoEvent *result;
9975 PyObject * obj0 = 0 ;
9976 char *kwnames[] = {
9977 (char *) "id", NULL
9978 };
9979
9980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
9981 if (obj0) {
36ed4f51 9982 {
32fe5131 9983 arg1 = static_cast<int >(SWIG_As_int(obj0));
36ed4f51
RD
9984 if (SWIG_arg_fail(1)) SWIG_fail;
9985 }
d55e5bfc
RD
9986 }
9987 {
9988 PyThreadState* __tstate = wxPyBeginAllowThreads();
9989 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
9990
9991 wxPyEndAllowThreads(__tstate);
9992 if (PyErr_Occurred()) SWIG_fail;
9993 }
9994 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
9995 return resultobj;
9996 fail:
9997 return NULL;
9998}
9999
10000
c370783e 10001static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10002 PyObject *resultobj = NULL;
d55e5bfc
RD
10003 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
10004 int arg2 ;
10005 PyObject * obj0 = 0 ;
10006 PyObject * obj1 = 0 ;
10007 char *kwnames[] = {
10008 (char *) "self",(char *) "length", NULL
10009 };
10010
10011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10012 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
10013 if (SWIG_arg_fail(1)) SWIG_fail;
10014 {
32fe5131 10015 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
10016 if (SWIG_arg_fail(2)) SWIG_fail;
10017 }
d55e5bfc
RD
10018 {
10019 PyThreadState* __tstate = wxPyBeginAllowThreads();
10020 (arg1)->SetRequestedLength(arg2);
10021
10022 wxPyEndAllowThreads(__tstate);
10023 if (PyErr_Occurred()) SWIG_fail;
10024 }
10025 Py_INCREF(Py_None); resultobj = Py_None;
10026 return resultobj;
10027 fail:
10028 return NULL;
10029}
10030
10031
c370783e 10032static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10033 PyObject *resultobj = NULL;
d55e5bfc
RD
10034 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
10035 int result;
10036 PyObject * obj0 = 0 ;
10037 char *kwnames[] = {
10038 (char *) "self", NULL
10039 };
10040
10041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
36ed4f51
RD
10042 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
10043 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10044 {
10045 PyThreadState* __tstate = wxPyBeginAllowThreads();
10046 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
10047
10048 wxPyEndAllowThreads(__tstate);
10049 if (PyErr_Occurred()) SWIG_fail;
10050 }
36ed4f51 10051 {
32fe5131 10052 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 10053 }
d55e5bfc
RD
10054 return resultobj;
10055 fail:
10056 return NULL;
10057}
10058
10059
c370783e 10060static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10061 PyObject *resultobj = NULL;
d55e5bfc
RD
10062 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
10063 int arg2 ;
10064 PyObject * obj0 = 0 ;
10065 PyObject * obj1 = 0 ;
10066 char *kwnames[] = {
10067 (char *) "self",(char *) "flags", NULL
10068 };
10069
10070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10071 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
10072 if (SWIG_arg_fail(1)) SWIG_fail;
10073 {
32fe5131 10074 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
10075 if (SWIG_arg_fail(2)) SWIG_fail;
10076 }
d55e5bfc
RD
10077 {
10078 PyThreadState* __tstate = wxPyBeginAllowThreads();
10079 (arg1)->SetFlags(arg2);
10080
10081 wxPyEndAllowThreads(__tstate);
10082 if (PyErr_Occurred()) SWIG_fail;
10083 }
10084 Py_INCREF(Py_None); resultobj = Py_None;
10085 return resultobj;
10086 fail:
10087 return NULL;
10088}
10089
10090
c370783e 10091static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10092 PyObject *resultobj = NULL;
d55e5bfc
RD
10093 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
10094 int result;
10095 PyObject * obj0 = 0 ;
10096 char *kwnames[] = {
10097 (char *) "self", NULL
10098 };
10099
10100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
36ed4f51
RD
10101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
10102 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10103 {
10104 PyThreadState* __tstate = wxPyBeginAllowThreads();
10105 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
10106
10107 wxPyEndAllowThreads(__tstate);
10108 if (PyErr_Occurred()) SWIG_fail;
10109 }
36ed4f51 10110 {
32fe5131 10111 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 10112 }
d55e5bfc
RD
10113 return resultobj;
10114 fail:
10115 return NULL;
10116}
10117
10118
c370783e 10119static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10120 PyObject *resultobj = NULL;
d55e5bfc
RD
10121 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
10122 wxSize *arg2 = 0 ;
10123 wxSize temp2 ;
10124 PyObject * obj0 = 0 ;
10125 PyObject * obj1 = 0 ;
10126 char *kwnames[] = {
10127 (char *) "self",(char *) "size", NULL
10128 };
10129
10130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10131 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
10132 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10133 {
10134 arg2 = &temp2;
10135 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
10136 }
10137 {
10138 PyThreadState* __tstate = wxPyBeginAllowThreads();
10139 (arg1)->SetSize((wxSize const &)*arg2);
10140
10141 wxPyEndAllowThreads(__tstate);
10142 if (PyErr_Occurred()) SWIG_fail;
10143 }
10144 Py_INCREF(Py_None); resultobj = Py_None;
10145 return resultobj;
10146 fail:
10147 return NULL;
10148}
10149
10150
c370783e 10151static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10152 PyObject *resultobj = NULL;
d55e5bfc
RD
10153 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
10154 wxSize result;
10155 PyObject * obj0 = 0 ;
10156 char *kwnames[] = {
10157 (char *) "self", NULL
10158 };
10159
10160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
10161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
10162 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10163 {
10164 PyThreadState* __tstate = wxPyBeginAllowThreads();
10165 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
10166
10167 wxPyEndAllowThreads(__tstate);
10168 if (PyErr_Occurred()) SWIG_fail;
10169 }
10170 {
10171 wxSize * resultptr;
32fe5131 10172 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
10173 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
10174 }
10175 return resultobj;
10176 fail:
10177 return NULL;
10178}
10179
10180
c370783e 10181static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10182 PyObject *resultobj = NULL;
d55e5bfc 10183 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
36ed4f51 10184 wxLayoutOrientation arg2 ;
d55e5bfc
RD
10185 PyObject * obj0 = 0 ;
10186 PyObject * obj1 = 0 ;
10187 char *kwnames[] = {
10188 (char *) "self",(char *) "orient", NULL
10189 };
10190
10191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10192 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
10193 if (SWIG_arg_fail(1)) SWIG_fail;
10194 {
32fe5131 10195 arg2 = static_cast<wxLayoutOrientation >(SWIG_As_int(obj1));
36ed4f51
RD
10196 if (SWIG_arg_fail(2)) SWIG_fail;
10197 }
d55e5bfc
RD
10198 {
10199 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 10200 (arg1)->SetOrientation(arg2);
d55e5bfc
RD
10201
10202 wxPyEndAllowThreads(__tstate);
10203 if (PyErr_Occurred()) SWIG_fail;
10204 }
10205 Py_INCREF(Py_None); resultobj = Py_None;
10206 return resultobj;
10207 fail:
10208 return NULL;
10209}
10210
10211
c370783e 10212static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10213 PyObject *resultobj = NULL;
d55e5bfc 10214 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
36ed4f51 10215 wxLayoutOrientation result;
d55e5bfc
RD
10216 PyObject * obj0 = 0 ;
10217 char *kwnames[] = {
10218 (char *) "self", NULL
10219 };
10220
10221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
36ed4f51
RD
10222 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
10223 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10224 {
10225 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10226 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
d55e5bfc
RD
10227
10228 wxPyEndAllowThreads(__tstate);
10229 if (PyErr_Occurred()) SWIG_fail;
10230 }
36ed4f51 10231 resultobj = SWIG_From_int((result));
d55e5bfc
RD
10232 return resultobj;
10233 fail:
10234 return NULL;
10235}
10236
10237
c370783e 10238static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10239 PyObject *resultobj = NULL;
d55e5bfc 10240 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
36ed4f51 10241 wxLayoutAlignment arg2 ;
d55e5bfc
RD
10242 PyObject * obj0 = 0 ;
10243 PyObject * obj1 = 0 ;
10244 char *kwnames[] = {
10245 (char *) "self",(char *) "align", NULL
10246 };
10247
10248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10249 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
10250 if (SWIG_arg_fail(1)) SWIG_fail;
10251 {
32fe5131 10252 arg2 = static_cast<wxLayoutAlignment >(SWIG_As_int(obj1));
36ed4f51
RD
10253 if (SWIG_arg_fail(2)) SWIG_fail;
10254 }
d55e5bfc
RD
10255 {
10256 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 10257 (arg1)->SetAlignment(arg2);
d55e5bfc
RD
10258
10259 wxPyEndAllowThreads(__tstate);
10260 if (PyErr_Occurred()) SWIG_fail;
10261 }
10262 Py_INCREF(Py_None); resultobj = Py_None;
10263 return resultobj;
10264 fail:
10265 return NULL;
10266}
10267
10268
c370783e 10269static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10270 PyObject *resultobj = NULL;
d55e5bfc 10271 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
36ed4f51 10272 wxLayoutAlignment result;
d55e5bfc
RD
10273 PyObject * obj0 = 0 ;
10274 char *kwnames[] = {
10275 (char *) "self", NULL
10276 };
10277
10278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
36ed4f51
RD
10279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
10280 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10281 {
10282 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10283 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
d55e5bfc
RD
10284
10285 wxPyEndAllowThreads(__tstate);
10286 if (PyErr_Occurred()) SWIG_fail;
10287 }
36ed4f51 10288 resultobj = SWIG_From_int((result));
d55e5bfc
RD
10289 return resultobj;
10290 fail:
10291 return NULL;
10292}
10293
10294
c370783e 10295static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10296 PyObject *obj;
10297 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10298 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
10299 Py_INCREF(obj);
10300 return Py_BuildValue((char *)"");
10301}
c370783e 10302static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10303 PyObject *resultobj = NULL;
d55e5bfc
RD
10304 int arg1 = (int) 0 ;
10305 wxCalculateLayoutEvent *result;
10306 PyObject * obj0 = 0 ;
10307 char *kwnames[] = {
10308 (char *) "id", NULL
10309 };
10310
10311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
10312 if (obj0) {
36ed4f51 10313 {
32fe5131 10314 arg1 = static_cast<int >(SWIG_As_int(obj0));
36ed4f51
RD
10315 if (SWIG_arg_fail(1)) SWIG_fail;
10316 }
d55e5bfc
RD
10317 }
10318 {
10319 PyThreadState* __tstate = wxPyBeginAllowThreads();
10320 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
10321
10322 wxPyEndAllowThreads(__tstate);
10323 if (PyErr_Occurred()) SWIG_fail;
10324 }
10325 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
10326 return resultobj;
10327 fail:
10328 return NULL;
10329}
10330
10331
c370783e 10332static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10333 PyObject *resultobj = NULL;
d55e5bfc
RD
10334 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10335 int arg2 ;
10336 PyObject * obj0 = 0 ;
10337 PyObject * obj1 = 0 ;
10338 char *kwnames[] = {
10339 (char *) "self",(char *) "flags", NULL
10340 };
10341
10342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10344 if (SWIG_arg_fail(1)) SWIG_fail;
10345 {
32fe5131 10346 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
10347 if (SWIG_arg_fail(2)) SWIG_fail;
10348 }
d55e5bfc
RD
10349 {
10350 PyThreadState* __tstate = wxPyBeginAllowThreads();
10351 (arg1)->SetFlags(arg2);
10352
10353 wxPyEndAllowThreads(__tstate);
10354 if (PyErr_Occurred()) SWIG_fail;
10355 }
10356 Py_INCREF(Py_None); resultobj = Py_None;
10357 return resultobj;
10358 fail:
10359 return NULL;
10360}
10361
10362
c370783e 10363static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10364 PyObject *resultobj = NULL;
d55e5bfc
RD
10365 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10366 int result;
10367 PyObject * obj0 = 0 ;
10368 char *kwnames[] = {
10369 (char *) "self", NULL
10370 };
10371
10372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
36ed4f51
RD
10373 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10374 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10375 {
10376 PyThreadState* __tstate = wxPyBeginAllowThreads();
10377 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
10378
10379 wxPyEndAllowThreads(__tstate);
10380 if (PyErr_Occurred()) SWIG_fail;
10381 }
36ed4f51 10382 {
32fe5131 10383 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 10384 }
d55e5bfc
RD
10385 return resultobj;
10386 fail:
10387 return NULL;
10388}
10389
10390
c370783e 10391static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10392 PyObject *resultobj = NULL;
d55e5bfc
RD
10393 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10394 wxRect *arg2 = 0 ;
10395 wxRect temp2 ;
10396 PyObject * obj0 = 0 ;
10397 PyObject * obj1 = 0 ;
10398 char *kwnames[] = {
10399 (char *) "self",(char *) "rect", NULL
10400 };
10401
10402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10403 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10404 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10405 {
10406 arg2 = &temp2;
10407 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10408 }
10409 {
10410 PyThreadState* __tstate = wxPyBeginAllowThreads();
10411 (arg1)->SetRect((wxRect const &)*arg2);
10412
10413 wxPyEndAllowThreads(__tstate);
10414 if (PyErr_Occurred()) SWIG_fail;
10415 }
10416 Py_INCREF(Py_None); resultobj = Py_None;
10417 return resultobj;
10418 fail:
10419 return NULL;
10420}
10421
10422
c370783e 10423static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10424 PyObject *resultobj = NULL;
d55e5bfc
RD
10425 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10426 wxRect result;
10427 PyObject * obj0 = 0 ;
10428 char *kwnames[] = {
10429 (char *) "self", NULL
10430 };
10431
10432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
36ed4f51
RD
10433 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10434 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10435 {
10436 PyThreadState* __tstate = wxPyBeginAllowThreads();
10437 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
10438
10439 wxPyEndAllowThreads(__tstate);
10440 if (PyErr_Occurred()) SWIG_fail;
10441 }
10442 {
10443 wxRect * resultptr;
32fe5131 10444 resultptr = new wxRect(static_cast<wxRect & >(result));
d55e5bfc
RD
10445 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
10446 }
10447 return resultobj;
10448 fail:
10449 return NULL;
10450}
10451
10452
c370783e 10453static PyObject * CalculateLayoutEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10454 PyObject *obj;
10455 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10456 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
10457 Py_INCREF(obj);
10458 return Py_BuildValue((char *)"");
10459}
c370783e 10460static PyObject *_wrap_new_SashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10461 PyObject *resultobj = NULL;
d55e5bfc 10462 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 10463 int arg2 = (int) -1 ;
d55e5bfc
RD
10464 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10465 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10466 wxSize const &arg4_defvalue = wxDefaultSize ;
10467 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10468 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10469 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
10470 wxString *arg6 = (wxString *) &arg6_defvalue ;
10471 wxSashLayoutWindow *result;
10472 wxPoint temp3 ;
10473 wxSize temp4 ;
b411df4a 10474 bool temp6 = false ;
d55e5bfc
RD
10475 PyObject * obj0 = 0 ;
10476 PyObject * obj1 = 0 ;
10477 PyObject * obj2 = 0 ;
10478 PyObject * obj3 = 0 ;
10479 PyObject * obj4 = 0 ;
10480 PyObject * obj5 = 0 ;
10481 char *kwnames[] = {
10482 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10483 };
10484
bfddbb17 10485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
10486 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10487 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 10488 if (obj1) {
36ed4f51 10489 {
32fe5131 10490 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
10491 if (SWIG_arg_fail(2)) SWIG_fail;
10492 }
bfddbb17 10493 }
d55e5bfc
RD
10494 if (obj2) {
10495 {
10496 arg3 = &temp3;
10497 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10498 }
10499 }
10500 if (obj3) {
10501 {
10502 arg4 = &temp4;
10503 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10504 }
10505 }
10506 if (obj4) {
36ed4f51 10507 {
32fe5131 10508 arg5 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
10509 if (SWIG_arg_fail(5)) SWIG_fail;
10510 }
d55e5bfc
RD
10511 }
10512 if (obj5) {
10513 {
10514 arg6 = wxString_in_helper(obj5);
10515 if (arg6 == NULL) SWIG_fail;
b411df4a 10516 temp6 = true;
d55e5bfc
RD
10517 }
10518 }
10519 {
0439c23b 10520 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10521 PyThreadState* __tstate = wxPyBeginAllowThreads();
10522 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10523
10524 wxPyEndAllowThreads(__tstate);
110da5b0 10525 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10526 }
10527 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
10528 {
10529 if (temp6)
10530 delete arg6;
10531 }
10532 return resultobj;
10533 fail:
10534 {
10535 if (temp6)
10536 delete arg6;
10537 }
10538 return NULL;
10539}
10540
10541
c370783e 10542static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10543 PyObject *resultobj = NULL;
d55e5bfc
RD
10544 wxSashLayoutWindow *result;
10545 char *kwnames[] = {
10546 NULL
10547 };
10548
10549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
10550 {
0439c23b 10551 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10552 PyThreadState* __tstate = wxPyBeginAllowThreads();
10553 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
10554
10555 wxPyEndAllowThreads(__tstate);
110da5b0 10556 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10557 }
10558 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
10559 return resultobj;
10560 fail:
10561 return NULL;
10562}
10563
10564
c370783e 10565static PyObject *_wrap_SashLayoutWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10566 PyObject *resultobj = NULL;
d55e5bfc
RD
10567 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10568 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17 10569 int arg3 = (int) -1 ;
d55e5bfc
RD
10570 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10571 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10572 wxSize const &arg5_defvalue = wxDefaultSize ;
10573 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10574 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10575 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
10576 wxString *arg7 = (wxString *) &arg7_defvalue ;
10577 bool result;
10578 wxPoint temp4 ;
10579 wxSize temp5 ;
b411df4a 10580 bool temp7 = false ;
d55e5bfc
RD
10581 PyObject * obj0 = 0 ;
10582 PyObject * obj1 = 0 ;
10583 PyObject * obj2 = 0 ;
10584 PyObject * obj3 = 0 ;
10585 PyObject * obj4 = 0 ;
10586 PyObject * obj5 = 0 ;
10587 PyObject * obj6 = 0 ;
10588 char *kwnames[] = {
10589 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10590 };
10591
bfddbb17 10592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
10593 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10594 if (SWIG_arg_fail(1)) SWIG_fail;
10595 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10596 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 10597 if (obj2) {
36ed4f51 10598 {
32fe5131 10599 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
10600 if (SWIG_arg_fail(3)) SWIG_fail;
10601 }
bfddbb17 10602 }
d55e5bfc
RD
10603 if (obj3) {
10604 {
10605 arg4 = &temp4;
10606 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10607 }
10608 }
10609 if (obj4) {
10610 {
10611 arg5 = &temp5;
10612 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10613 }
10614 }
10615 if (obj5) {
36ed4f51 10616 {
32fe5131 10617 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
10618 if (SWIG_arg_fail(6)) SWIG_fail;
10619 }
d55e5bfc
RD
10620 }
10621 if (obj6) {
10622 {
10623 arg7 = wxString_in_helper(obj6);
10624 if (arg7 == NULL) SWIG_fail;
b411df4a 10625 temp7 = true;
d55e5bfc
RD
10626 }
10627 }
10628 {
10629 PyThreadState* __tstate = wxPyBeginAllowThreads();
10630 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10631
10632 wxPyEndAllowThreads(__tstate);
10633 if (PyErr_Occurred()) SWIG_fail;
10634 }
10635 {
10636 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10637 }
10638 {
10639 if (temp7)
10640 delete arg7;
10641 }
10642 return resultobj;
10643 fail:
10644 {
10645 if (temp7)
10646 delete arg7;
10647 }
10648 return NULL;
10649}
10650
10651
c370783e 10652static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10653 PyObject *resultobj = NULL;
d55e5bfc 10654 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
36ed4f51 10655 wxLayoutAlignment result;
d55e5bfc
RD
10656 PyObject * obj0 = 0 ;
10657 char *kwnames[] = {
10658 (char *) "self", NULL
10659 };
10660
10661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
36ed4f51
RD
10662 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10663 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10664 {
10665 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10666 result = (wxLayoutAlignment)(arg1)->GetAlignment();
d55e5bfc
RD
10667
10668 wxPyEndAllowThreads(__tstate);
10669 if (PyErr_Occurred()) SWIG_fail;
10670 }
36ed4f51 10671 resultobj = SWIG_From_int((result));
d55e5bfc
RD
10672 return resultobj;
10673 fail:
10674 return NULL;
10675}
10676
10677
c370783e 10678static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10679 PyObject *resultobj = NULL;
d55e5bfc 10680 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
36ed4f51 10681 wxLayoutOrientation result;
d55e5bfc
RD
10682 PyObject * obj0 = 0 ;
10683 char *kwnames[] = {
10684 (char *) "self", NULL
10685 };
10686
10687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
36ed4f51
RD
10688 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10689 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10690 {
10691 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10692 result = (wxLayoutOrientation)(arg1)->GetOrientation();
d55e5bfc
RD
10693
10694 wxPyEndAllowThreads(__tstate);
10695 if (PyErr_Occurred()) SWIG_fail;
10696 }
36ed4f51 10697 resultobj = SWIG_From_int((result));
d55e5bfc
RD
10698 return resultobj;
10699 fail:
10700 return NULL;
10701}
10702
10703
c370783e 10704static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10705 PyObject *resultobj = NULL;
d55e5bfc 10706 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
36ed4f51 10707 wxLayoutAlignment arg2 ;
d55e5bfc
RD
10708 PyObject * obj0 = 0 ;
10709 PyObject * obj1 = 0 ;
10710 char *kwnames[] = {
10711 (char *) "self",(char *) "alignment", NULL
10712 };
10713
10714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10715 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10716 if (SWIG_arg_fail(1)) SWIG_fail;
10717 {
32fe5131 10718 arg2 = static_cast<wxLayoutAlignment >(SWIG_As_int(obj1));
36ed4f51
RD
10719 if (SWIG_arg_fail(2)) SWIG_fail;
10720 }
d55e5bfc
RD
10721 {
10722 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 10723 (arg1)->SetAlignment(arg2);
d55e5bfc
RD
10724
10725 wxPyEndAllowThreads(__tstate);
10726 if (PyErr_Occurred()) SWIG_fail;
10727 }
10728 Py_INCREF(Py_None); resultobj = Py_None;
10729 return resultobj;
10730 fail:
10731 return NULL;
10732}
10733
10734
c370783e 10735static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10736 PyObject *resultobj = NULL;
d55e5bfc
RD
10737 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10738 wxSize *arg2 = 0 ;
10739 wxSize temp2 ;
10740 PyObject * obj0 = 0 ;
10741 PyObject * obj1 = 0 ;
10742 char *kwnames[] = {
10743 (char *) "self",(char *) "size", NULL
10744 };
10745
10746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10747 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10748 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10749 {
10750 arg2 = &temp2;
10751 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
10752 }
10753 {
10754 PyThreadState* __tstate = wxPyBeginAllowThreads();
10755 (arg1)->SetDefaultSize((wxSize const &)*arg2);
10756
10757 wxPyEndAllowThreads(__tstate);
10758 if (PyErr_Occurred()) SWIG_fail;
10759 }
10760 Py_INCREF(Py_None); resultobj = Py_None;
10761 return resultobj;
10762 fail:
10763 return NULL;
10764}
10765
10766
c370783e 10767static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10768 PyObject *resultobj = NULL;
d55e5bfc 10769 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
36ed4f51 10770 wxLayoutOrientation arg2 ;
d55e5bfc
RD
10771 PyObject * obj0 = 0 ;
10772 PyObject * obj1 = 0 ;
10773 char *kwnames[] = {
10774 (char *) "self",(char *) "orientation", NULL
10775 };
10776
10777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10778 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10779 if (SWIG_arg_fail(1)) SWIG_fail;
10780 {
32fe5131 10781 arg2 = static_cast<wxLayoutOrientation >(SWIG_As_int(obj1));
36ed4f51
RD
10782 if (SWIG_arg_fail(2)) SWIG_fail;
10783 }
d55e5bfc
RD
10784 {
10785 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 10786 (arg1)->SetOrientation(arg2);
d55e5bfc
RD
10787
10788 wxPyEndAllowThreads(__tstate);
10789 if (PyErr_Occurred()) SWIG_fail;
10790 }
10791 Py_INCREF(Py_None); resultobj = Py_None;
10792 return resultobj;
10793 fail:
10794 return NULL;
10795}
10796
10797
c370783e 10798static PyObject * SashLayoutWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10799 PyObject *obj;
10800 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10801 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
10802 Py_INCREF(obj);
10803 return Py_BuildValue((char *)"");
10804}
c370783e 10805static PyObject *_wrap_new_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10806 PyObject *resultobj = NULL;
d55e5bfc
RD
10807 wxLayoutAlgorithm *result;
10808 char *kwnames[] = {
10809 NULL
10810 };
10811
10812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
10813 {
10814 PyThreadState* __tstate = wxPyBeginAllowThreads();
10815 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
10816
10817 wxPyEndAllowThreads(__tstate);
10818 if (PyErr_Occurred()) SWIG_fail;
10819 }
10820 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
10821 return resultobj;
10822 fail:
10823 return NULL;
10824}
10825
10826
c370783e 10827static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10828 PyObject *resultobj = NULL;
d55e5bfc
RD
10829 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10830 PyObject * obj0 = 0 ;
10831 char *kwnames[] = {
10832 (char *) "self", NULL
10833 };
10834
10835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
36ed4f51
RD
10836 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10837 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10838 {
10839 PyThreadState* __tstate = wxPyBeginAllowThreads();
10840 delete arg1;
10841
10842 wxPyEndAllowThreads(__tstate);
10843 if (PyErr_Occurred()) SWIG_fail;
10844 }
10845 Py_INCREF(Py_None); resultobj = Py_None;
10846 return resultobj;
10847 fail:
10848 return NULL;
10849}
10850
10851
c370783e 10852static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10853 PyObject *resultobj = NULL;
d55e5bfc
RD
10854 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10855 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
10856 wxRect *arg3 = (wxRect *) NULL ;
10857 bool result;
10858 PyObject * obj0 = 0 ;
10859 PyObject * obj1 = 0 ;
10860 PyObject * obj2 = 0 ;
10861 char *kwnames[] = {
10862 (char *) "self",(char *) "frame",(char *) "rect", NULL
10863 };
10864
10865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
10866 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10867 if (SWIG_arg_fail(1)) SWIG_fail;
10868 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
10869 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 10870 if (obj2) {
36ed4f51
RD
10871 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
10872 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
10873 }
10874 {
10875 PyThreadState* __tstate = wxPyBeginAllowThreads();
10876 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
10877
10878 wxPyEndAllowThreads(__tstate);
10879 if (PyErr_Occurred()) SWIG_fail;
10880 }
10881 {
10882 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10883 }
10884 return resultobj;
10885 fail:
10886 return NULL;
10887}
10888
10889
c370783e 10890static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10891 PyObject *resultobj = NULL;
d55e5bfc
RD
10892 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10893 wxFrame *arg2 = (wxFrame *) 0 ;
10894 wxWindow *arg3 = (wxWindow *) NULL ;
10895 bool result;
10896 PyObject * obj0 = 0 ;
10897 PyObject * obj1 = 0 ;
10898 PyObject * obj2 = 0 ;
10899 char *kwnames[] = {
10900 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
10901 };
10902
10903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
10904 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10905 if (SWIG_arg_fail(1)) SWIG_fail;
10906 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
10907 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 10908 if (obj2) {
36ed4f51
RD
10909 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10910 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
10911 }
10912 {
10913 PyThreadState* __tstate = wxPyBeginAllowThreads();
10914 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
10915
10916 wxPyEndAllowThreads(__tstate);
10917 if (PyErr_Occurred()) SWIG_fail;
10918 }
10919 {
10920 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10921 }
10922 return resultobj;
10923 fail:
10924 return NULL;
10925}
10926
10927
c370783e 10928static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10929 PyObject *resultobj = NULL;
d55e5bfc
RD
10930 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10931 wxWindow *arg2 = (wxWindow *) 0 ;
10932 wxWindow *arg3 = (wxWindow *) NULL ;
10933 bool result;
10934 PyObject * obj0 = 0 ;
10935 PyObject * obj1 = 0 ;
10936 PyObject * obj2 = 0 ;
10937 char *kwnames[] = {
10938 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
10939 };
10940
10941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
10942 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10943 if (SWIG_arg_fail(1)) SWIG_fail;
10944 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10945 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 10946 if (obj2) {
36ed4f51
RD
10947 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10948 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
10949 }
10950 {
10951 PyThreadState* __tstate = wxPyBeginAllowThreads();
10952 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
10953
10954 wxPyEndAllowThreads(__tstate);
10955 if (PyErr_Occurred()) SWIG_fail;
10956 }
10957 {
10958 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10959 }
10960 return resultobj;
10961 fail:
10962 return NULL;
10963}
10964
10965
c370783e 10966static PyObject * LayoutAlgorithm_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10967 PyObject *obj;
10968 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10969 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
10970 Py_INCREF(obj);
10971 return Py_BuildValue((char *)"");
10972}
c370783e 10973static PyObject *_wrap_new_PopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10974 PyObject *resultobj = NULL;
d55e5bfc
RD
10975 wxWindow *arg1 = (wxWindow *) 0 ;
10976 int arg2 = (int) wxBORDER_NONE ;
10977 wxPopupWindow *result;
10978 PyObject * obj0 = 0 ;
10979 PyObject * obj1 = 0 ;
10980 char *kwnames[] = {
10981 (char *) "parent",(char *) "flags", NULL
10982 };
10983
10984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10985 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10986 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 10987 if (obj1) {
36ed4f51 10988 {
32fe5131 10989 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
10990 if (SWIG_arg_fail(2)) SWIG_fail;
10991 }
d55e5bfc
RD
10992 }
10993 {
10994 PyThreadState* __tstate = wxPyBeginAllowThreads();
10995 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
10996
10997 wxPyEndAllowThreads(__tstate);
10998 if (PyErr_Occurred()) SWIG_fail;
10999 }
11000 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
11001 return resultobj;
11002 fail:
11003 return NULL;
11004}
11005
11006
c370783e 11007static PyObject *_wrap_new_PrePopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11008 PyObject *resultobj = NULL;
d55e5bfc
RD
11009 wxPopupWindow *result;
11010 char *kwnames[] = {
11011 NULL
11012 };
11013
11014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
11015 {
11016 PyThreadState* __tstate = wxPyBeginAllowThreads();
11017 result = (wxPopupWindow *)new wxPopupWindow();
11018
11019 wxPyEndAllowThreads(__tstate);
11020 if (PyErr_Occurred()) SWIG_fail;
11021 }
11022 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
11023 return resultobj;
11024 fail:
11025 return NULL;
11026}
11027
11028
c370783e 11029static PyObject * PopupWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11030 PyObject *obj;
11031 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11032 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
11033 Py_INCREF(obj);
11034 return Py_BuildValue((char *)"");
11035}
c370783e 11036static PyObject *_wrap_new_PopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11037 PyObject *resultobj = NULL;
d55e5bfc
RD
11038 wxWindow *arg1 = (wxWindow *) 0 ;
11039 int arg2 = (int) wxBORDER_NONE ;
11040 wxPyPopupTransientWindow *result;
11041 PyObject * obj0 = 0 ;
11042 PyObject * obj1 = 0 ;
11043 char *kwnames[] = {
11044 (char *) "parent",(char *) "style", NULL
11045 };
11046
11047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11049 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 11050 if (obj1) {
36ed4f51 11051 {
32fe5131 11052 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
11053 if (SWIG_arg_fail(2)) SWIG_fail;
11054 }
d55e5bfc
RD
11055 }
11056 {
11057 PyThreadState* __tstate = wxPyBeginAllowThreads();
11058 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
11059
11060 wxPyEndAllowThreads(__tstate);
11061 if (PyErr_Occurred()) SWIG_fail;
11062 }
11063 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
11064 return resultobj;
11065 fail:
11066 return NULL;
11067}
11068
11069
c370783e 11070static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11071 PyObject *resultobj = NULL;
d55e5bfc
RD
11072 wxPyPopupTransientWindow *result;
11073 char *kwnames[] = {
11074 NULL
11075 };
11076
11077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
11078 {
11079 PyThreadState* __tstate = wxPyBeginAllowThreads();
11080 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
11081
11082 wxPyEndAllowThreads(__tstate);
11083 if (PyErr_Occurred()) SWIG_fail;
11084 }
11085 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
11086 return resultobj;
11087 fail:
11088 return NULL;
11089}
11090
11091
c370783e 11092static PyObject * PopupTransientWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11093 PyObject *obj;
11094 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11095 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
11096 Py_INCREF(obj);
11097 return Py_BuildValue((char *)"");
11098}
c370783e 11099static PyObject *_wrap_new_TipWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11100 PyObject *resultobj = NULL;
d55e5bfc
RD
11101 wxWindow *arg1 = (wxWindow *) 0 ;
11102 wxString *arg2 = 0 ;
11103 int arg3 = (int) 100 ;
11104 wxRect *arg4 = (wxRect *) NULL ;
11105 wxTipWindow *result;
b411df4a 11106 bool temp2 = false ;
d55e5bfc
RD
11107 PyObject * obj0 = 0 ;
11108 PyObject * obj1 = 0 ;
11109 PyObject * obj2 = 0 ;
11110 PyObject * obj3 = 0 ;
11111 char *kwnames[] = {
11112 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
11113 };
11114
11115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
11116 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11117 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11118 {
11119 arg2 = wxString_in_helper(obj1);
11120 if (arg2 == NULL) SWIG_fail;
b411df4a 11121 temp2 = true;
d55e5bfc
RD
11122 }
11123 if (obj2) {
36ed4f51 11124 {
32fe5131 11125 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
11126 if (SWIG_arg_fail(3)) SWIG_fail;
11127 }
d55e5bfc
RD
11128 }
11129 if (obj3) {
36ed4f51
RD
11130 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
11131 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
11132 }
11133 {
0439c23b 11134 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11135 PyThreadState* __tstate = wxPyBeginAllowThreads();
11136 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
11137
11138 wxPyEndAllowThreads(__tstate);
110da5b0 11139 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11140 }
11141 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
11142 {
11143 if (temp2)
11144 delete arg2;
11145 }
11146 return resultobj;
11147 fail:
11148 {
11149 if (temp2)
11150 delete arg2;
11151 }
11152 return NULL;
11153}
11154
11155
c370783e 11156static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11157 PyObject *resultobj = NULL;
d55e5bfc
RD
11158 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
11159 wxRect *arg2 = 0 ;
11160 wxRect temp2 ;
11161 PyObject * obj0 = 0 ;
11162 PyObject * obj1 = 0 ;
11163 char *kwnames[] = {
11164 (char *) "self",(char *) "rectBound", NULL
11165 };
11166
11167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11168 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipWindow, SWIG_POINTER_EXCEPTION | 0);
11169 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11170 {
11171 arg2 = &temp2;
11172 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11173 }
11174 {
11175 PyThreadState* __tstate = wxPyBeginAllowThreads();
11176 (arg1)->SetBoundingRect((wxRect const &)*arg2);
11177
11178 wxPyEndAllowThreads(__tstate);
11179 if (PyErr_Occurred()) SWIG_fail;
11180 }
11181 Py_INCREF(Py_None); resultobj = Py_None;
11182 return resultobj;
11183 fail:
11184 return NULL;
11185}
11186
11187
c370783e 11188static PyObject *_wrap_TipWindow_Close(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11189 PyObject *resultobj = NULL;
d55e5bfc
RD
11190 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
11191 PyObject * obj0 = 0 ;
11192 char *kwnames[] = {
11193 (char *) "self", NULL
11194 };
11195
11196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
36ed4f51
RD
11197 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipWindow, SWIG_POINTER_EXCEPTION | 0);
11198 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11199 {
11200 PyThreadState* __tstate = wxPyBeginAllowThreads();
11201 (arg1)->Close();
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 * TipWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11214 PyObject *obj;
11215 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11216 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
11217 Py_INCREF(obj);
11218 return Py_BuildValue((char *)"");
11219}
c370783e 11220static PyObject *_wrap_new_VScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11221 PyObject *resultobj = NULL;
d55e5bfc
RD
11222 wxWindow *arg1 = (wxWindow *) 0 ;
11223 int arg2 = (int) wxID_ANY ;
11224 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11225 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11226 wxSize const &arg4_defvalue = wxDefaultSize ;
11227 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11228 long arg5 = (long) 0 ;
11229 wxString const &arg6_defvalue = wxPyPanelNameStr ;
11230 wxString *arg6 = (wxString *) &arg6_defvalue ;
11231 wxPyVScrolledWindow *result;
11232 wxPoint temp3 ;
11233 wxSize temp4 ;
b411df4a 11234 bool temp6 = false ;
d55e5bfc
RD
11235 PyObject * obj0 = 0 ;
11236 PyObject * obj1 = 0 ;
11237 PyObject * obj2 = 0 ;
11238 PyObject * obj3 = 0 ;
11239 PyObject * obj4 = 0 ;
11240 PyObject * obj5 = 0 ;
11241 char *kwnames[] = {
11242 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11243 };
11244
11245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
11246 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11247 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 11248 if (obj1) {
36ed4f51 11249 {
32fe5131 11250 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
11251 if (SWIG_arg_fail(2)) SWIG_fail;
11252 }
d55e5bfc
RD
11253 }
11254 if (obj2) {
11255 {
11256 arg3 = &temp3;
11257 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11258 }
11259 }
11260 if (obj3) {
11261 {
11262 arg4 = &temp4;
11263 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11264 }
11265 }
11266 if (obj4) {
36ed4f51 11267 {
32fe5131 11268 arg5 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
11269 if (SWIG_arg_fail(5)) SWIG_fail;
11270 }
d55e5bfc
RD
11271 }
11272 if (obj5) {
11273 {
11274 arg6 = wxString_in_helper(obj5);
11275 if (arg6 == NULL) SWIG_fail;
b411df4a 11276 temp6 = true;
d55e5bfc
RD
11277 }
11278 }
11279 {
0439c23b 11280 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11281 PyThreadState* __tstate = wxPyBeginAllowThreads();
11282 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11283
11284 wxPyEndAllowThreads(__tstate);
110da5b0 11285 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11286 }
11287 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
11288 {
11289 if (temp6)
11290 delete arg6;
11291 }
11292 return resultobj;
11293 fail:
11294 {
11295 if (temp6)
11296 delete arg6;
11297 }
11298 return NULL;
11299}
11300
11301
c370783e 11302static PyObject *_wrap_new_PreVScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11303 PyObject *resultobj = NULL;
d55e5bfc
RD
11304 wxPyVScrolledWindow *result;
11305 char *kwnames[] = {
11306 NULL
11307 };
11308
11309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
11310 {
0439c23b 11311 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11312 PyThreadState* __tstate = wxPyBeginAllowThreads();
11313 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
11314
11315 wxPyEndAllowThreads(__tstate);
110da5b0 11316 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11317 }
11318 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
11319 return resultobj;
11320 fail:
11321 return NULL;
11322}
11323
11324
c370783e 11325static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11326 PyObject *resultobj = NULL;
d55e5bfc
RD
11327 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11328 PyObject *arg2 = (PyObject *) 0 ;
11329 PyObject *arg3 = (PyObject *) 0 ;
11330 PyObject * obj0 = 0 ;
11331 PyObject * obj1 = 0 ;
11332 PyObject * obj2 = 0 ;
11333 char *kwnames[] = {
11334 (char *) "self",(char *) "self",(char *) "_class", NULL
11335 };
11336
11337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
11338 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11339 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11340 arg2 = obj1;
11341 arg3 = obj2;
11342 {
11343 PyThreadState* __tstate = wxPyBeginAllowThreads();
11344 (arg1)->_setCallbackInfo(arg2,arg3);
11345
11346 wxPyEndAllowThreads(__tstate);
11347 if (PyErr_Occurred()) SWIG_fail;
11348 }
11349 Py_INCREF(Py_None); resultobj = Py_None;
11350 return resultobj;
11351 fail:
11352 return NULL;
11353}
11354
11355
c370783e 11356static PyObject *_wrap_VScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11357 PyObject *resultobj = NULL;
d55e5bfc
RD
11358 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11359 wxWindow *arg2 = (wxWindow *) 0 ;
11360 int arg3 = (int) wxID_ANY ;
11361 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11362 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11363 wxSize const &arg5_defvalue = wxDefaultSize ;
11364 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11365 long arg6 = (long) 0 ;
11366 wxString const &arg7_defvalue = wxPyPanelNameStr ;
11367 wxString *arg7 = (wxString *) &arg7_defvalue ;
11368 bool result;
11369 wxPoint temp4 ;
11370 wxSize temp5 ;
b411df4a 11371 bool temp7 = false ;
d55e5bfc
RD
11372 PyObject * obj0 = 0 ;
11373 PyObject * obj1 = 0 ;
11374 PyObject * obj2 = 0 ;
11375 PyObject * obj3 = 0 ;
11376 PyObject * obj4 = 0 ;
11377 PyObject * obj5 = 0 ;
11378 PyObject * obj6 = 0 ;
11379 char *kwnames[] = {
11380 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11381 };
11382
11383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
11384 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11385 if (SWIG_arg_fail(1)) SWIG_fail;
11386 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11387 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 11388 if (obj2) {
36ed4f51 11389 {
32fe5131 11390 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
11391 if (SWIG_arg_fail(3)) SWIG_fail;
11392 }
d55e5bfc
RD
11393 }
11394 if (obj3) {
11395 {
11396 arg4 = &temp4;
11397 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11398 }
11399 }
11400 if (obj4) {
11401 {
11402 arg5 = &temp5;
11403 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11404 }
11405 }
11406 if (obj5) {
36ed4f51 11407 {
32fe5131 11408 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
11409 if (SWIG_arg_fail(6)) SWIG_fail;
11410 }
d55e5bfc
RD
11411 }
11412 if (obj6) {
11413 {
11414 arg7 = wxString_in_helper(obj6);
11415 if (arg7 == NULL) SWIG_fail;
b411df4a 11416 temp7 = true;
d55e5bfc
RD
11417 }
11418 }
11419 {
11420 PyThreadState* __tstate = wxPyBeginAllowThreads();
11421 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11422
11423 wxPyEndAllowThreads(__tstate);
11424 if (PyErr_Occurred()) SWIG_fail;
11425 }
11426 {
11427 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11428 }
11429 {
11430 if (temp7)
11431 delete arg7;
11432 }
11433 return resultobj;
11434 fail:
11435 {
11436 if (temp7)
11437 delete arg7;
11438 }
11439 return NULL;
11440}
11441
11442
c370783e 11443static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11444 PyObject *resultobj = NULL;
d55e5bfc
RD
11445 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11446 size_t arg2 ;
11447 PyObject * obj0 = 0 ;
11448 PyObject * obj1 = 0 ;
11449 char *kwnames[] = {
11450 (char *) "self",(char *) "count", NULL
11451 };
11452
11453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11454 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11455 if (SWIG_arg_fail(1)) SWIG_fail;
11456 {
32fe5131 11457 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
11458 if (SWIG_arg_fail(2)) SWIG_fail;
11459 }
d55e5bfc
RD
11460 {
11461 PyThreadState* __tstate = wxPyBeginAllowThreads();
11462 (arg1)->SetLineCount(arg2);
11463
11464 wxPyEndAllowThreads(__tstate);
11465 if (PyErr_Occurred()) SWIG_fail;
11466 }
11467 Py_INCREF(Py_None); resultobj = Py_None;
11468 return resultobj;
11469 fail:
11470 return NULL;
11471}
11472
11473
c370783e 11474static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11475 PyObject *resultobj = NULL;
d55e5bfc
RD
11476 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11477 size_t arg2 ;
11478 bool result;
11479 PyObject * obj0 = 0 ;
11480 PyObject * obj1 = 0 ;
11481 char *kwnames[] = {
11482 (char *) "self",(char *) "line", NULL
11483 };
11484
11485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11486 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11487 if (SWIG_arg_fail(1)) SWIG_fail;
11488 {
32fe5131 11489 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
11490 if (SWIG_arg_fail(2)) SWIG_fail;
11491 }
d55e5bfc
RD
11492 {
11493 PyThreadState* __tstate = wxPyBeginAllowThreads();
11494 result = (bool)(arg1)->ScrollToLine(arg2);
11495
11496 wxPyEndAllowThreads(__tstate);
11497 if (PyErr_Occurred()) SWIG_fail;
11498 }
11499 {
11500 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11501 }
11502 return resultobj;
11503 fail:
11504 return NULL;
11505}
11506
11507
c370783e 11508static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11509 PyObject *resultobj = NULL;
d55e5bfc
RD
11510 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11511 int arg2 ;
11512 bool result;
11513 PyObject * obj0 = 0 ;
11514 PyObject * obj1 = 0 ;
11515 char *kwnames[] = {
11516 (char *) "self",(char *) "lines", NULL
11517 };
11518
11519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11520 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11521 if (SWIG_arg_fail(1)) SWIG_fail;
11522 {
32fe5131 11523 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
11524 if (SWIG_arg_fail(2)) SWIG_fail;
11525 }
d55e5bfc
RD
11526 {
11527 PyThreadState* __tstate = wxPyBeginAllowThreads();
11528 result = (bool)(arg1)->ScrollLines(arg2);
11529
11530 wxPyEndAllowThreads(__tstate);
11531 if (PyErr_Occurred()) SWIG_fail;
11532 }
11533 {
11534 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11535 }
11536 return resultobj;
11537 fail:
11538 return NULL;
11539}
11540
11541
c370783e 11542static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11543 PyObject *resultobj = NULL;
d55e5bfc
RD
11544 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11545 int arg2 ;
11546 bool result;
11547 PyObject * obj0 = 0 ;
11548 PyObject * obj1 = 0 ;
11549 char *kwnames[] = {
11550 (char *) "self",(char *) "pages", NULL
11551 };
11552
11553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",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;
11556 {
32fe5131 11557 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
11558 if (SWIG_arg_fail(2)) SWIG_fail;
11559 }
d55e5bfc
RD
11560 {
11561 PyThreadState* __tstate = wxPyBeginAllowThreads();
11562 result = (bool)(arg1)->ScrollPages(arg2);
11563
11564 wxPyEndAllowThreads(__tstate);
11565 if (PyErr_Occurred()) SWIG_fail;
11566 }
11567 {
11568 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11569 }
11570 return resultobj;
11571 fail:
11572 return NULL;
11573}
11574
11575
c370783e 11576static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11577 PyObject *resultobj = NULL;
d55e5bfc
RD
11578 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11579 size_t arg2 ;
11580 PyObject * obj0 = 0 ;
11581 PyObject * obj1 = 0 ;
11582 char *kwnames[] = {
11583 (char *) "self",(char *) "line", NULL
11584 };
11585
11586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11587 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11588 if (SWIG_arg_fail(1)) SWIG_fail;
11589 {
32fe5131 11590 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
11591 if (SWIG_arg_fail(2)) SWIG_fail;
11592 }
d55e5bfc
RD
11593 {
11594 PyThreadState* __tstate = wxPyBeginAllowThreads();
11595 (arg1)->RefreshLine(arg2);
11596
11597 wxPyEndAllowThreads(__tstate);
11598 if (PyErr_Occurred()) SWIG_fail;
11599 }
11600 Py_INCREF(Py_None); resultobj = Py_None;
11601 return resultobj;
11602 fail:
11603 return NULL;
11604}
11605
11606
c370783e 11607static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11608 PyObject *resultobj = NULL;
d55e5bfc
RD
11609 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11610 size_t arg2 ;
11611 size_t arg3 ;
11612 PyObject * obj0 = 0 ;
11613 PyObject * obj1 = 0 ;
11614 PyObject * obj2 = 0 ;
11615 char *kwnames[] = {
11616 (char *) "self",(char *) "from",(char *) "to", NULL
11617 };
11618
11619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
11620 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11621 if (SWIG_arg_fail(1)) SWIG_fail;
11622 {
32fe5131 11623 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
11624 if (SWIG_arg_fail(2)) SWIG_fail;
11625 }
11626 {
32fe5131 11627 arg3 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2));
36ed4f51
RD
11628 if (SWIG_arg_fail(3)) SWIG_fail;
11629 }
d55e5bfc
RD
11630 {
11631 PyThreadState* __tstate = wxPyBeginAllowThreads();
11632 (arg1)->RefreshLines(arg2,arg3);
11633
11634 wxPyEndAllowThreads(__tstate);
11635 if (PyErr_Occurred()) SWIG_fail;
11636 }
11637 Py_INCREF(Py_None); resultobj = Py_None;
11638 return resultobj;
11639 fail:
11640 return NULL;
11641}
11642
11643
c370783e 11644static PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11645 PyObject *resultobj = NULL;
d55e5bfc
RD
11646 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11647 int arg2 ;
11648 int arg3 ;
11649 int result;
11650 PyObject * obj0 = 0 ;
11651 PyObject * obj1 = 0 ;
11652 PyObject * obj2 = 0 ;
11653 char *kwnames[] = {
11654 (char *) "self",(char *) "x",(char *) "y", NULL
11655 };
11656
03ee685a 11657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
11658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11659 if (SWIG_arg_fail(1)) SWIG_fail;
11660 {
32fe5131 11661 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
11662 if (SWIG_arg_fail(2)) SWIG_fail;
11663 }
11664 {
32fe5131 11665 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
11666 if (SWIG_arg_fail(3)) SWIG_fail;
11667 }
d55e5bfc
RD
11668 {
11669 PyThreadState* __tstate = wxPyBeginAllowThreads();
11670 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
11671
11672 wxPyEndAllowThreads(__tstate);
11673 if (PyErr_Occurred()) SWIG_fail;
11674 }
36ed4f51 11675 {
32fe5131 11676 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 11677 }
d55e5bfc
RD
11678 return resultobj;
11679 fail:
11680 return NULL;
11681}
11682
11683
c370783e 11684static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11685 PyObject *resultobj = NULL;
d55e5bfc
RD
11686 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11687 wxPoint *arg2 = 0 ;
11688 int result;
11689 wxPoint temp2 ;
11690 PyObject * obj0 = 0 ;
11691 PyObject * obj1 = 0 ;
11692 char *kwnames[] = {
11693 (char *) "self",(char *) "pt", NULL
11694 };
11695
11696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",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;
d55e5bfc
RD
11699 {
11700 arg2 = &temp2;
11701 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11702 }
11703 {
11704 PyThreadState* __tstate = wxPyBeginAllowThreads();
11705 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
11706
11707 wxPyEndAllowThreads(__tstate);
11708 if (PyErr_Occurred()) SWIG_fail;
11709 }
36ed4f51 11710 {
32fe5131 11711 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 11712 }
d55e5bfc
RD
11713 return resultobj;
11714 fail:
11715 return NULL;
11716}
11717
11718
c370783e 11719static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11720 PyObject *resultobj = NULL;
d55e5bfc
RD
11721 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11722 PyObject * obj0 = 0 ;
11723 char *kwnames[] = {
11724 (char *) "self", NULL
11725 };
11726
11727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
36ed4f51
RD
11728 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11729 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11730 {
11731 PyThreadState* __tstate = wxPyBeginAllowThreads();
11732 (arg1)->RefreshAll();
11733
11734 wxPyEndAllowThreads(__tstate);
11735 if (PyErr_Occurred()) SWIG_fail;
11736 }
11737 Py_INCREF(Py_None); resultobj = Py_None;
11738 return resultobj;
11739 fail:
11740 return NULL;
11741}
11742
11743
c370783e 11744static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11745 PyObject *resultobj = NULL;
d55e5bfc
RD
11746 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11747 size_t result;
11748 PyObject * obj0 = 0 ;
11749 char *kwnames[] = {
11750 (char *) "self", NULL
11751 };
11752
11753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
11754 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11755 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11756 {
11757 PyThreadState* __tstate = wxPyBeginAllowThreads();
11758 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
11759
11760 wxPyEndAllowThreads(__tstate);
11761 if (PyErr_Occurred()) SWIG_fail;
11762 }
36ed4f51 11763 {
32fe5131 11764 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
36ed4f51 11765 }
d55e5bfc
RD
11766 return resultobj;
11767 fail:
11768 return NULL;
11769}
11770
11771
7993762b 11772static PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11773 PyObject *resultobj = NULL;
d55e5bfc
RD
11774 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11775 size_t result;
11776 PyObject * obj0 = 0 ;
11777 char *kwnames[] = {
11778 (char *) "self", NULL
11779 };
11780
7993762b 11781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetVisibleBegin",kwnames,&obj0)) goto fail;
36ed4f51
RD
11782 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11783 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11784 {
11785 PyThreadState* __tstate = wxPyBeginAllowThreads();
7993762b 11786 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
d55e5bfc
RD
11787
11788 wxPyEndAllowThreads(__tstate);
11789 if (PyErr_Occurred()) SWIG_fail;
11790 }
36ed4f51 11791 {
32fe5131 11792 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
36ed4f51 11793 }
d55e5bfc
RD
11794 return resultobj;
11795 fail:
11796 return NULL;
11797}
11798
11799
7993762b 11800static PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11801 PyObject *resultobj = NULL;
d55e5bfc
RD
11802 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11803 size_t result;
11804 PyObject * obj0 = 0 ;
11805 char *kwnames[] = {
11806 (char *) "self", NULL
11807 };
11808
7993762b 11809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetVisibleEnd",kwnames,&obj0)) goto fail;
36ed4f51
RD
11810 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11811 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11812 {
11813 PyThreadState* __tstate = wxPyBeginAllowThreads();
7993762b 11814 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
d55e5bfc
RD
11815
11816 wxPyEndAllowThreads(__tstate);
11817 if (PyErr_Occurred()) SWIG_fail;
11818 }
36ed4f51 11819 {
32fe5131 11820 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
36ed4f51 11821 }
d55e5bfc
RD
11822 return resultobj;
11823 fail:
11824 return NULL;
11825}
11826
11827
c370783e 11828static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11829 PyObject *resultobj = NULL;
d55e5bfc
RD
11830 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11831 size_t arg2 ;
11832 bool result;
11833 PyObject * obj0 = 0 ;
11834 PyObject * obj1 = 0 ;
11835 char *kwnames[] = {
11836 (char *) "self",(char *) "line", NULL
11837 };
11838
11839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11841 if (SWIG_arg_fail(1)) SWIG_fail;
11842 {
32fe5131 11843 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
11844 if (SWIG_arg_fail(2)) SWIG_fail;
11845 }
d55e5bfc
RD
11846 {
11847 PyThreadState* __tstate = wxPyBeginAllowThreads();
11848 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
11849
11850 wxPyEndAllowThreads(__tstate);
11851 if (PyErr_Occurred()) SWIG_fail;
11852 }
11853 {
11854 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11855 }
11856 return resultobj;
11857 fail:
11858 return NULL;
11859}
11860
11861
7993762b 11862static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11863 PyObject *resultobj = NULL;
7993762b
RD
11864 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11865 size_t result;
11866 PyObject * obj0 = 0 ;
11867 char *kwnames[] = {
11868 (char *) "self", NULL
11869 };
11870
11871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
11872 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11873 if (SWIG_arg_fail(1)) SWIG_fail;
11874 {
11875 PyThreadState* __tstate = wxPyBeginAllowThreads();
11876 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
11877
11878 wxPyEndAllowThreads(__tstate);
11879 if (PyErr_Occurred()) SWIG_fail;
11880 }
11881 {
32fe5131 11882 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
7993762b
RD
11883 }
11884 return resultobj;
11885 fail:
11886 return NULL;
11887}
11888
11889
11890static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11891 PyObject *resultobj = NULL;
7993762b
RD
11892 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11893 size_t result;
11894 PyObject * obj0 = 0 ;
11895 char *kwnames[] = {
11896 (char *) "self", NULL
11897 };
11898
11899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
11900 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11901 if (SWIG_arg_fail(1)) SWIG_fail;
11902 {
11903 PyThreadState* __tstate = wxPyBeginAllowThreads();
11904 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
11905
11906 wxPyEndAllowThreads(__tstate);
11907 if (PyErr_Occurred()) SWIG_fail;
11908 }
11909 {
32fe5131 11910 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
7993762b
RD
11911 }
11912 return resultobj;
11913 fail:
11914 return NULL;
11915}
11916
11917
c370783e 11918static PyObject * VScrolledWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11919 PyObject *obj;
11920 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11921 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
11922 Py_INCREF(obj);
11923 return Py_BuildValue((char *)"");
11924}
c370783e 11925static int _wrap_VListBoxNameStr_set(PyObject *) {
d55e5bfc
RD
11926 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
11927 return 1;
11928}
11929
11930
36ed4f51 11931static PyObject *_wrap_VListBoxNameStr_get(void) {
32fe5131 11932 PyObject *pyobj = NULL;
d55e5bfc
RD
11933
11934 {
11935#if wxUSE_UNICODE
11936 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
11937#else
11938 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
11939#endif
11940 }
11941 return pyobj;
11942}
11943
11944
c370783e 11945static PyObject *_wrap_new_VListBox(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11946 PyObject *resultobj = NULL;
d55e5bfc
RD
11947 wxWindow *arg1 = (wxWindow *) 0 ;
11948 int arg2 = (int) wxID_ANY ;
11949 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11950 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11951 wxSize const &arg4_defvalue = wxDefaultSize ;
11952 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11953 long arg5 = (long) 0 ;
11954 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
11955 wxString *arg6 = (wxString *) &arg6_defvalue ;
11956 wxPyVListBox *result;
11957 wxPoint temp3 ;
11958 wxSize temp4 ;
b411df4a 11959 bool temp6 = false ;
d55e5bfc
RD
11960 PyObject * obj0 = 0 ;
11961 PyObject * obj1 = 0 ;
11962 PyObject * obj2 = 0 ;
11963 PyObject * obj3 = 0 ;
11964 PyObject * obj4 = 0 ;
11965 PyObject * obj5 = 0 ;
11966 char *kwnames[] = {
11967 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11968 };
11969
11970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
11971 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11972 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 11973 if (obj1) {
36ed4f51 11974 {
32fe5131 11975 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
11976 if (SWIG_arg_fail(2)) SWIG_fail;
11977 }
d55e5bfc
RD
11978 }
11979 if (obj2) {
11980 {
11981 arg3 = &temp3;
11982 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11983 }
11984 }
11985 if (obj3) {
11986 {
11987 arg4 = &temp4;
11988 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11989 }
11990 }
11991 if (obj4) {
36ed4f51 11992 {
32fe5131 11993 arg5 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
11994 if (SWIG_arg_fail(5)) SWIG_fail;
11995 }
d55e5bfc
RD
11996 }
11997 if (obj5) {
11998 {
11999 arg6 = wxString_in_helper(obj5);
12000 if (arg6 == NULL) SWIG_fail;
b411df4a 12001 temp6 = true;
d55e5bfc
RD
12002 }
12003 }
12004 {
0439c23b 12005 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12006 PyThreadState* __tstate = wxPyBeginAllowThreads();
12007 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12008
12009 wxPyEndAllowThreads(__tstate);
110da5b0 12010 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12011 }
12012 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
12013 {
12014 if (temp6)
12015 delete arg6;
12016 }
12017 return resultobj;
12018 fail:
12019 {
12020 if (temp6)
12021 delete arg6;
12022 }
12023 return NULL;
12024}
12025
12026
c370783e 12027static PyObject *_wrap_new_PreVListBox(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12028 PyObject *resultobj = NULL;
d55e5bfc
RD
12029 wxPyVListBox *result;
12030 char *kwnames[] = {
12031 NULL
12032 };
12033
12034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
12035 {
0439c23b 12036 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12037 PyThreadState* __tstate = wxPyBeginAllowThreads();
12038 result = (wxPyVListBox *)new wxPyVListBox();
12039
12040 wxPyEndAllowThreads(__tstate);
110da5b0 12041 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12042 }
12043 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
12044 return resultobj;
12045 fail:
12046 return NULL;
12047}
12048
12049
c370783e 12050static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12051 PyObject *resultobj = NULL;
d55e5bfc
RD
12052 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12053 PyObject *arg2 = (PyObject *) 0 ;
12054 PyObject *arg3 = (PyObject *) 0 ;
12055 PyObject * obj0 = 0 ;
12056 PyObject * obj1 = 0 ;
12057 PyObject * obj2 = 0 ;
12058 char *kwnames[] = {
12059 (char *) "self",(char *) "self",(char *) "_class", NULL
12060 };
12061
12062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) 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 arg2 = obj1;
12066 arg3 = obj2;
12067 {
12068 PyThreadState* __tstate = wxPyBeginAllowThreads();
12069 (arg1)->_setCallbackInfo(arg2,arg3);
12070
12071 wxPyEndAllowThreads(__tstate);
12072 if (PyErr_Occurred()) SWIG_fail;
12073 }
12074 Py_INCREF(Py_None); resultobj = Py_None;
12075 return resultobj;
12076 fail:
12077 return NULL;
12078}
12079
12080
c370783e 12081static PyObject *_wrap_VListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12082 PyObject *resultobj = NULL;
d55e5bfc
RD
12083 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12084 wxWindow *arg2 = (wxWindow *) 0 ;
12085 int arg3 = (int) wxID_ANY ;
12086 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12087 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12088 wxSize const &arg5_defvalue = wxDefaultSize ;
12089 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12090 long arg6 = (long) 0 ;
12091 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
12092 wxString *arg7 = (wxString *) &arg7_defvalue ;
12093 bool result;
12094 wxPoint temp4 ;
12095 wxSize temp5 ;
b411df4a 12096 bool temp7 = false ;
d55e5bfc
RD
12097 PyObject * obj0 = 0 ;
12098 PyObject * obj1 = 0 ;
12099 PyObject * obj2 = 0 ;
12100 PyObject * obj3 = 0 ;
12101 PyObject * obj4 = 0 ;
12102 PyObject * obj5 = 0 ;
12103 PyObject * obj6 = 0 ;
12104 char *kwnames[] = {
12105 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12106 };
12107
12108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
12109 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12110 if (SWIG_arg_fail(1)) SWIG_fail;
12111 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12112 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 12113 if (obj2) {
36ed4f51 12114 {
32fe5131 12115 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
12116 if (SWIG_arg_fail(3)) SWIG_fail;
12117 }
d55e5bfc
RD
12118 }
12119 if (obj3) {
12120 {
12121 arg4 = &temp4;
12122 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12123 }
12124 }
12125 if (obj4) {
12126 {
12127 arg5 = &temp5;
12128 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12129 }
12130 }
12131 if (obj5) {
36ed4f51 12132 {
32fe5131 12133 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
12134 if (SWIG_arg_fail(6)) SWIG_fail;
12135 }
d55e5bfc
RD
12136 }
12137 if (obj6) {
12138 {
12139 arg7 = wxString_in_helper(obj6);
12140 if (arg7 == NULL) SWIG_fail;
b411df4a 12141 temp7 = true;
d55e5bfc
RD
12142 }
12143 }
12144 {
12145 PyThreadState* __tstate = wxPyBeginAllowThreads();
12146 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12147
12148 wxPyEndAllowThreads(__tstate);
12149 if (PyErr_Occurred()) SWIG_fail;
12150 }
12151 {
12152 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12153 }
12154 {
12155 if (temp7)
12156 delete arg7;
12157 }
12158 return resultobj;
12159 fail:
12160 {
12161 if (temp7)
12162 delete arg7;
12163 }
12164 return NULL;
12165}
12166
12167
c370783e 12168static PyObject *_wrap_VListBox_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12169 PyObject *resultobj = NULL;
d55e5bfc
RD
12170 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12171 size_t result;
12172 PyObject * obj0 = 0 ;
12173 char *kwnames[] = {
12174 (char *) "self", NULL
12175 };
12176
12177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
12178 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12179 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12180 {
12181 PyThreadState* __tstate = wxPyBeginAllowThreads();
12182 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
12183
12184 wxPyEndAllowThreads(__tstate);
12185 if (PyErr_Occurred()) SWIG_fail;
12186 }
36ed4f51 12187 {
32fe5131 12188 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
36ed4f51 12189 }
d55e5bfc
RD
12190 return resultobj;
12191 fail:
12192 return NULL;
12193}
12194
12195
c370783e 12196static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12197 PyObject *resultobj = NULL;
d55e5bfc
RD
12198 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12199 bool result;
12200 PyObject * obj0 = 0 ;
12201 char *kwnames[] = {
12202 (char *) "self", NULL
12203 };
12204
12205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
12206 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12207 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12208 {
12209 PyThreadState* __tstate = wxPyBeginAllowThreads();
12210 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
12211
12212 wxPyEndAllowThreads(__tstate);
12213 if (PyErr_Occurred()) SWIG_fail;
12214 }
12215 {
12216 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12217 }
12218 return resultobj;
12219 fail:
12220 return NULL;
12221}
12222
12223
c370783e 12224static PyObject *_wrap_VListBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12225 PyObject *resultobj = NULL;
d55e5bfc
RD
12226 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12227 int result;
12228 PyObject * obj0 = 0 ;
12229 char *kwnames[] = {
12230 (char *) "self", NULL
12231 };
12232
12233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
12234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12235 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12236 {
12237 PyThreadState* __tstate = wxPyBeginAllowThreads();
12238 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
12239
12240 wxPyEndAllowThreads(__tstate);
12241 if (PyErr_Occurred()) SWIG_fail;
12242 }
36ed4f51 12243 {
32fe5131 12244 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 12245 }
d55e5bfc
RD
12246 return resultobj;
12247 fail:
12248 return NULL;
12249}
12250
12251
c370783e 12252static PyObject *_wrap_VListBox_IsCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12253 PyObject *resultobj = NULL;
d55e5bfc
RD
12254 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12255 size_t arg2 ;
12256 bool result;
12257 PyObject * obj0 = 0 ;
12258 PyObject * obj1 = 0 ;
12259 char *kwnames[] = {
12260 (char *) "self",(char *) "item", NULL
12261 };
12262
12263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12264 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12265 if (SWIG_arg_fail(1)) SWIG_fail;
12266 {
32fe5131 12267 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
12268 if (SWIG_arg_fail(2)) SWIG_fail;
12269 }
d55e5bfc
RD
12270 {
12271 PyThreadState* __tstate = wxPyBeginAllowThreads();
12272 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
12273
12274 wxPyEndAllowThreads(__tstate);
12275 if (PyErr_Occurred()) SWIG_fail;
12276 }
12277 {
12278 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12279 }
12280 return resultobj;
12281 fail:
12282 return NULL;
12283}
12284
12285
c370783e 12286static PyObject *_wrap_VListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12287 PyObject *resultobj = NULL;
d55e5bfc
RD
12288 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12289 size_t arg2 ;
12290 bool result;
12291 PyObject * obj0 = 0 ;
12292 PyObject * obj1 = 0 ;
12293 char *kwnames[] = {
12294 (char *) "self",(char *) "item", NULL
12295 };
12296
12297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12298 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12299 if (SWIG_arg_fail(1)) SWIG_fail;
12300 {
32fe5131 12301 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
12302 if (SWIG_arg_fail(2)) SWIG_fail;
12303 }
d55e5bfc
RD
12304 {
12305 PyThreadState* __tstate = wxPyBeginAllowThreads();
12306 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
12307
12308 wxPyEndAllowThreads(__tstate);
12309 if (PyErr_Occurred()) SWIG_fail;
12310 }
12311 {
12312 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12313 }
12314 return resultobj;
12315 fail:
12316 return NULL;
12317}
12318
12319
c370783e 12320static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12321 PyObject *resultobj = NULL;
d55e5bfc
RD
12322 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12323 size_t result;
12324 PyObject * obj0 = 0 ;
12325 char *kwnames[] = {
12326 (char *) "self", NULL
12327 };
12328
12329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
12330 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12331 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12332 {
12333 PyThreadState* __tstate = wxPyBeginAllowThreads();
12334 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
12335
12336 wxPyEndAllowThreads(__tstate);
12337 if (PyErr_Occurred()) SWIG_fail;
12338 }
36ed4f51 12339 {
32fe5131 12340 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
36ed4f51 12341 }
d55e5bfc
RD
12342 return resultobj;
12343 fail:
12344 return NULL;
12345}
12346
12347
c370783e 12348static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12349 PyObject *resultobj = NULL;
d55e5bfc 12350 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
09c21d3b 12351 PyObject *result;
d55e5bfc 12352 PyObject * obj0 = 0 ;
d55e5bfc 12353 char *kwnames[] = {
09c21d3b 12354 (char *) "self", NULL
d55e5bfc
RD
12355 };
12356
09c21d3b 12357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetFirstSelected",kwnames,&obj0)) goto fail;
36ed4f51
RD
12358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12359 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12360 {
12361 PyThreadState* __tstate = wxPyBeginAllowThreads();
09c21d3b 12362 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
d55e5bfc
RD
12363
12364 wxPyEndAllowThreads(__tstate);
12365 if (PyErr_Occurred()) SWIG_fail;
12366 }
09c21d3b 12367 resultobj = result;
d55e5bfc
RD
12368 return resultobj;
12369 fail:
12370 return NULL;
12371}
12372
12373
c370783e 12374static PyObject *_wrap_VListBox_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12375 PyObject *resultobj = NULL;
d55e5bfc 12376 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
09c21d3b
RD
12377 unsigned long arg2 ;
12378 PyObject *result;
d55e5bfc
RD
12379 PyObject * obj0 = 0 ;
12380 PyObject * obj1 = 0 ;
12381 char *kwnames[] = {
12382 (char *) "self",(char *) "cookie", NULL
12383 };
12384
12385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12387 if (SWIG_arg_fail(1)) SWIG_fail;
12388 {
32fe5131 12389 arg2 = static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
12390 if (SWIG_arg_fail(2)) SWIG_fail;
12391 }
d55e5bfc
RD
12392 {
12393 PyThreadState* __tstate = wxPyBeginAllowThreads();
09c21d3b 12394 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
d55e5bfc
RD
12395
12396 wxPyEndAllowThreads(__tstate);
12397 if (PyErr_Occurred()) SWIG_fail;
12398 }
09c21d3b 12399 resultobj = result;
d55e5bfc
RD
12400 return resultobj;
12401 fail:
12402 return NULL;
12403}
12404
12405
c370783e 12406static PyObject *_wrap_VListBox_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12407 PyObject *resultobj = NULL;
d55e5bfc
RD
12408 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12409 wxPoint result;
12410 PyObject * obj0 = 0 ;
12411 char *kwnames[] = {
12412 (char *) "self", NULL
12413 };
12414
12415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
36ed4f51
RD
12416 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12417 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12418 {
12419 PyThreadState* __tstate = wxPyBeginAllowThreads();
12420 result = ((wxPyVListBox const *)arg1)->GetMargins();
12421
12422 wxPyEndAllowThreads(__tstate);
12423 if (PyErr_Occurred()) SWIG_fail;
12424 }
12425 {
12426 wxPoint * resultptr;
32fe5131 12427 resultptr = new wxPoint(static_cast<wxPoint & >(result));
d55e5bfc
RD
12428 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
12429 }
12430 return resultobj;
12431 fail:
12432 return NULL;
12433}
12434
12435
c370783e 12436static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12437 PyObject *resultobj = NULL;
d55e5bfc
RD
12438 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12439 wxColour *result;
12440 PyObject * obj0 = 0 ;
12441 char *kwnames[] = {
12442 (char *) "self", NULL
12443 };
12444
12445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
36ed4f51
RD
12446 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12447 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12448 {
12449 PyThreadState* __tstate = wxPyBeginAllowThreads();
12450 {
12451 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
12452 result = (wxColour *) &_result_ref;
12453 }
12454
12455 wxPyEndAllowThreads(__tstate);
12456 if (PyErr_Occurred()) SWIG_fail;
12457 }
12458 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
12459 return resultobj;
12460 fail:
12461 return NULL;
12462}
12463
12464
c370783e 12465static PyObject *_wrap_VListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12466 PyObject *resultobj = NULL;
d55e5bfc
RD
12467 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12468 size_t arg2 ;
12469 PyObject * obj0 = 0 ;
12470 PyObject * obj1 = 0 ;
12471 char *kwnames[] = {
12472 (char *) "self",(char *) "count", NULL
12473 };
12474
12475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12476 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12477 if (SWIG_arg_fail(1)) SWIG_fail;
12478 {
32fe5131 12479 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
12480 if (SWIG_arg_fail(2)) SWIG_fail;
12481 }
d55e5bfc
RD
12482 {
12483 PyThreadState* __tstate = wxPyBeginAllowThreads();
12484 (arg1)->SetItemCount(arg2);
12485
12486 wxPyEndAllowThreads(__tstate);
12487 if (PyErr_Occurred()) SWIG_fail;
12488 }
12489 Py_INCREF(Py_None); resultobj = Py_None;
12490 return resultobj;
12491 fail:
12492 return NULL;
12493}
12494
12495
c370783e 12496static PyObject *_wrap_VListBox_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12497 PyObject *resultobj = NULL;
d55e5bfc
RD
12498 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12499 PyObject * obj0 = 0 ;
12500 char *kwnames[] = {
12501 (char *) "self", NULL
12502 };
12503
12504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
36ed4f51
RD
12505 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12506 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12507 {
12508 PyThreadState* __tstate = wxPyBeginAllowThreads();
12509 (arg1)->Clear();
12510
12511 wxPyEndAllowThreads(__tstate);
12512 if (PyErr_Occurred()) SWIG_fail;
12513 }
12514 Py_INCREF(Py_None); resultobj = Py_None;
12515 return resultobj;
12516 fail:
12517 return NULL;
12518}
12519
12520
c370783e 12521static PyObject *_wrap_VListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12522 PyObject *resultobj = NULL;
d55e5bfc
RD
12523 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12524 int arg2 ;
12525 PyObject * obj0 = 0 ;
12526 PyObject * obj1 = 0 ;
12527 char *kwnames[] = {
12528 (char *) "self",(char *) "selection", NULL
12529 };
12530
12531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) 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;
12534 {
32fe5131 12535 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
12536 if (SWIG_arg_fail(2)) SWIG_fail;
12537 }
d55e5bfc
RD
12538 {
12539 PyThreadState* __tstate = wxPyBeginAllowThreads();
12540 (arg1)->SetSelection(arg2);
12541
12542 wxPyEndAllowThreads(__tstate);
12543 if (PyErr_Occurred()) SWIG_fail;
12544 }
12545 Py_INCREF(Py_None); resultobj = Py_None;
12546 return resultobj;
12547 fail:
12548 return NULL;
12549}
12550
12551
c370783e 12552static PyObject *_wrap_VListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12553 PyObject *resultobj = NULL;
d55e5bfc
RD
12554 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12555 size_t arg2 ;
b411df4a 12556 bool arg3 = (bool) true ;
d55e5bfc
RD
12557 bool result;
12558 PyObject * obj0 = 0 ;
12559 PyObject * obj1 = 0 ;
12560 PyObject * obj2 = 0 ;
12561 char *kwnames[] = {
12562 (char *) "self",(char *) "item",(char *) "select", NULL
12563 };
12564
12565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
12566 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12567 if (SWIG_arg_fail(1)) SWIG_fail;
12568 {
32fe5131 12569 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
12570 if (SWIG_arg_fail(2)) SWIG_fail;
12571 }
d55e5bfc 12572 if (obj2) {
36ed4f51 12573 {
32fe5131 12574 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
12575 if (SWIG_arg_fail(3)) SWIG_fail;
12576 }
d55e5bfc
RD
12577 }
12578 {
12579 PyThreadState* __tstate = wxPyBeginAllowThreads();
12580 result = (bool)(arg1)->Select(arg2,arg3);
12581
12582 wxPyEndAllowThreads(__tstate);
12583 if (PyErr_Occurred()) SWIG_fail;
12584 }
12585 {
12586 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12587 }
12588 return resultobj;
12589 fail:
12590 return NULL;
12591}
12592
12593
c370783e 12594static PyObject *_wrap_VListBox_SelectRange(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12595 PyObject *resultobj = NULL;
d55e5bfc
RD
12596 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12597 size_t arg2 ;
12598 size_t arg3 ;
12599 bool result;
12600 PyObject * obj0 = 0 ;
12601 PyObject * obj1 = 0 ;
12602 PyObject * obj2 = 0 ;
12603 char *kwnames[] = {
12604 (char *) "self",(char *) "from",(char *) "to", NULL
12605 };
12606
12607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
12608 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12609 if (SWIG_arg_fail(1)) SWIG_fail;
12610 {
32fe5131 12611 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
12612 if (SWIG_arg_fail(2)) SWIG_fail;
12613 }
12614 {
32fe5131 12615 arg3 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2));
36ed4f51
RD
12616 if (SWIG_arg_fail(3)) SWIG_fail;
12617 }
d55e5bfc
RD
12618 {
12619 PyThreadState* __tstate = wxPyBeginAllowThreads();
12620 result = (bool)(arg1)->SelectRange(arg2,arg3);
12621
12622 wxPyEndAllowThreads(__tstate);
12623 if (PyErr_Occurred()) SWIG_fail;
12624 }
12625 {
12626 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12627 }
12628 return resultobj;
12629 fail:
12630 return NULL;
12631}
12632
12633
c370783e 12634static PyObject *_wrap_VListBox_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12635 PyObject *resultobj = NULL;
d55e5bfc
RD
12636 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12637 size_t arg2 ;
12638 PyObject * obj0 = 0 ;
12639 PyObject * obj1 = 0 ;
12640 char *kwnames[] = {
12641 (char *) "self",(char *) "item", NULL
12642 };
12643
12644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12645 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12646 if (SWIG_arg_fail(1)) SWIG_fail;
12647 {
32fe5131 12648 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
12649 if (SWIG_arg_fail(2)) SWIG_fail;
12650 }
d55e5bfc
RD
12651 {
12652 PyThreadState* __tstate = wxPyBeginAllowThreads();
12653 (arg1)->Toggle(arg2);
12654
12655 wxPyEndAllowThreads(__tstate);
12656 if (PyErr_Occurred()) SWIG_fail;
12657 }
12658 Py_INCREF(Py_None); resultobj = Py_None;
12659 return resultobj;
12660 fail:
12661 return NULL;
12662}
12663
12664
c370783e 12665static PyObject *_wrap_VListBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12666 PyObject *resultobj = NULL;
d55e5bfc
RD
12667 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12668 bool result;
12669 PyObject * obj0 = 0 ;
12670 char *kwnames[] = {
12671 (char *) "self", NULL
12672 };
12673
12674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
36ed4f51
RD
12675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12676 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12677 {
12678 PyThreadState* __tstate = wxPyBeginAllowThreads();
12679 result = (bool)(arg1)->SelectAll();
12680
12681 wxPyEndAllowThreads(__tstate);
12682 if (PyErr_Occurred()) SWIG_fail;
12683 }
12684 {
12685 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12686 }
12687 return resultobj;
12688 fail:
12689 return NULL;
12690}
12691
12692
c370783e 12693static PyObject *_wrap_VListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12694 PyObject *resultobj = NULL;
d55e5bfc
RD
12695 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12696 bool result;
12697 PyObject * obj0 = 0 ;
12698 char *kwnames[] = {
12699 (char *) "self", NULL
12700 };
12701
12702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
36ed4f51
RD
12703 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12704 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12705 {
12706 PyThreadState* __tstate = wxPyBeginAllowThreads();
12707 result = (bool)(arg1)->DeselectAll();
12708
12709 wxPyEndAllowThreads(__tstate);
12710 if (PyErr_Occurred()) SWIG_fail;
12711 }
12712 {
12713 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12714 }
12715 return resultobj;
12716 fail:
12717 return NULL;
12718}
12719
12720
c370783e 12721static PyObject *_wrap_VListBox_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12722 PyObject *resultobj = NULL;
d55e5bfc
RD
12723 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12724 wxPoint *arg2 = 0 ;
12725 wxPoint temp2 ;
12726 PyObject * obj0 = 0 ;
12727 PyObject * obj1 = 0 ;
12728 char *kwnames[] = {
12729 (char *) "self",(char *) "pt", NULL
12730 };
12731
12732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12733 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12734 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12735 {
12736 arg2 = &temp2;
12737 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12738 }
12739 {
12740 PyThreadState* __tstate = wxPyBeginAllowThreads();
12741 (arg1)->SetMargins((wxPoint const &)*arg2);
12742
12743 wxPyEndAllowThreads(__tstate);
12744 if (PyErr_Occurred()) SWIG_fail;
12745 }
12746 Py_INCREF(Py_None); resultobj = Py_None;
12747 return resultobj;
12748 fail:
12749 return NULL;
12750}
12751
12752
c370783e 12753static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12754 PyObject *resultobj = NULL;
d55e5bfc
RD
12755 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12756 int arg2 ;
12757 int arg3 ;
12758 PyObject * obj0 = 0 ;
12759 PyObject * obj1 = 0 ;
12760 PyObject * obj2 = 0 ;
12761 char *kwnames[] = {
12762 (char *) "self",(char *) "x",(char *) "y", NULL
12763 };
12764
12765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
12766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12767 if (SWIG_arg_fail(1)) SWIG_fail;
12768 {
32fe5131 12769 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
12770 if (SWIG_arg_fail(2)) SWIG_fail;
12771 }
12772 {
32fe5131 12773 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
12774 if (SWIG_arg_fail(3)) SWIG_fail;
12775 }
d55e5bfc
RD
12776 {
12777 PyThreadState* __tstate = wxPyBeginAllowThreads();
12778 (arg1)->SetMargins(arg2,arg3);
12779
12780 wxPyEndAllowThreads(__tstate);
12781 if (PyErr_Occurred()) SWIG_fail;
12782 }
12783 Py_INCREF(Py_None); resultobj = Py_None;
12784 return resultobj;
12785 fail:
12786 return NULL;
12787}
12788
12789
c370783e 12790static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12791 PyObject *resultobj = NULL;
d55e5bfc
RD
12792 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12793 wxColour *arg2 = 0 ;
12794 wxColour temp2 ;
12795 PyObject * obj0 = 0 ;
12796 PyObject * obj1 = 0 ;
12797 char *kwnames[] = {
12798 (char *) "self",(char *) "col", NULL
12799 };
12800
12801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12802 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12803 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12804 {
12805 arg2 = &temp2;
12806 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12807 }
12808 {
12809 PyThreadState* __tstate = wxPyBeginAllowThreads();
12810 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
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 * VListBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
12823 PyObject *obj;
12824 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12825 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
12826 Py_INCREF(obj);
12827 return Py_BuildValue((char *)"");
12828}
c370783e 12829static PyObject *_wrap_new_HtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12830 PyObject *resultobj = NULL;
d55e5bfc
RD
12831 wxWindow *arg1 = (wxWindow *) 0 ;
12832 int arg2 = (int) wxID_ANY ;
12833 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12834 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12835 wxSize const &arg4_defvalue = wxDefaultSize ;
12836 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12837 long arg5 = (long) 0 ;
12838 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
12839 wxString *arg6 = (wxString *) &arg6_defvalue ;
12840 wxPyHtmlListBox *result;
12841 wxPoint temp3 ;
12842 wxSize temp4 ;
b411df4a 12843 bool temp6 = false ;
d55e5bfc
RD
12844 PyObject * obj0 = 0 ;
12845 PyObject * obj1 = 0 ;
12846 PyObject * obj2 = 0 ;
12847 PyObject * obj3 = 0 ;
12848 PyObject * obj4 = 0 ;
12849 PyObject * obj5 = 0 ;
12850 char *kwnames[] = {
12851 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12852 };
12853
12854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
12855 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12856 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 12857 if (obj1) {
36ed4f51 12858 {
32fe5131 12859 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
12860 if (SWIG_arg_fail(2)) SWIG_fail;
12861 }
d55e5bfc
RD
12862 }
12863 if (obj2) {
12864 {
12865 arg3 = &temp3;
12866 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12867 }
12868 }
12869 if (obj3) {
12870 {
12871 arg4 = &temp4;
12872 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12873 }
12874 }
12875 if (obj4) {
36ed4f51 12876 {
32fe5131 12877 arg5 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
12878 if (SWIG_arg_fail(5)) SWIG_fail;
12879 }
d55e5bfc
RD
12880 }
12881 if (obj5) {
12882 {
12883 arg6 = wxString_in_helper(obj5);
12884 if (arg6 == NULL) SWIG_fail;
b411df4a 12885 temp6 = true;
d55e5bfc
RD
12886 }
12887 }
12888 {
0439c23b 12889 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12890 PyThreadState* __tstate = wxPyBeginAllowThreads();
12891 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12892
12893 wxPyEndAllowThreads(__tstate);
110da5b0 12894 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12895 }
12896 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
12897 {
12898 if (temp6)
12899 delete arg6;
12900 }
12901 return resultobj;
12902 fail:
12903 {
12904 if (temp6)
12905 delete arg6;
12906 }
12907 return NULL;
12908}
12909
12910
c370783e 12911static PyObject *_wrap_new_PreHtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12912 PyObject *resultobj = NULL;
d55e5bfc
RD
12913 wxPyHtmlListBox *result;
12914 char *kwnames[] = {
12915 NULL
12916 };
12917
12918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
12919 {
0439c23b 12920 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12921 PyThreadState* __tstate = wxPyBeginAllowThreads();
12922 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
12923
12924 wxPyEndAllowThreads(__tstate);
110da5b0 12925 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12926 }
12927 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
12928 return resultobj;
12929 fail:
12930 return NULL;
12931}
12932
12933
c370783e 12934static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12935 PyObject *resultobj = NULL;
d55e5bfc
RD
12936 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12937 PyObject *arg2 = (PyObject *) 0 ;
12938 PyObject *arg3 = (PyObject *) 0 ;
12939 PyObject * obj0 = 0 ;
12940 PyObject * obj1 = 0 ;
12941 PyObject * obj2 = 0 ;
12942 char *kwnames[] = {
12943 (char *) "self",(char *) "self",(char *) "_class", NULL
12944 };
12945
12946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
12947 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12948 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12949 arg2 = obj1;
12950 arg3 = obj2;
12951 {
12952 PyThreadState* __tstate = wxPyBeginAllowThreads();
12953 (arg1)->_setCallbackInfo(arg2,arg3);
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_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12966 PyObject *resultobj = NULL;
d55e5bfc
RD
12967 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12968 wxWindow *arg2 = (wxWindow *) 0 ;
12969 int arg3 = (int) wxID_ANY ;
12970 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12971 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12972 wxSize const &arg5_defvalue = wxDefaultSize ;
12973 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12974 long arg6 = (long) 0 ;
12975 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
12976 wxString *arg7 = (wxString *) &arg7_defvalue ;
12977 bool result;
12978 wxPoint temp4 ;
12979 wxSize temp5 ;
b411df4a 12980 bool temp7 = false ;
d55e5bfc
RD
12981 PyObject * obj0 = 0 ;
12982 PyObject * obj1 = 0 ;
12983 PyObject * obj2 = 0 ;
12984 PyObject * obj3 = 0 ;
12985 PyObject * obj4 = 0 ;
12986 PyObject * obj5 = 0 ;
12987 PyObject * obj6 = 0 ;
12988 char *kwnames[] = {
12989 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12990 };
12991
12992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
12993 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12994 if (SWIG_arg_fail(1)) SWIG_fail;
12995 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12996 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 12997 if (obj2) {
36ed4f51 12998 {
32fe5131 12999 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
13000 if (SWIG_arg_fail(3)) SWIG_fail;
13001 }
d55e5bfc
RD
13002 }
13003 if (obj3) {
13004 {
13005 arg4 = &temp4;
13006 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13007 }
13008 }
13009 if (obj4) {
13010 {
13011 arg5 = &temp5;
13012 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13013 }
13014 }
13015 if (obj5) {
36ed4f51 13016 {
32fe5131 13017 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
13018 if (SWIG_arg_fail(6)) SWIG_fail;
13019 }
d55e5bfc
RD
13020 }
13021 if (obj6) {
13022 {
13023 arg7 = wxString_in_helper(obj6);
13024 if (arg7 == NULL) SWIG_fail;
b411df4a 13025 temp7 = true;
d55e5bfc
RD
13026 }
13027 }
13028 {
13029 PyThreadState* __tstate = wxPyBeginAllowThreads();
13030 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13031
13032 wxPyEndAllowThreads(__tstate);
13033 if (PyErr_Occurred()) SWIG_fail;
13034 }
13035 {
13036 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13037 }
13038 {
13039 if (temp7)
13040 delete arg7;
13041 }
13042 return resultobj;
13043 fail:
13044 {
13045 if (temp7)
13046 delete arg7;
13047 }
13048 return NULL;
13049}
13050
13051
c370783e 13052static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13053 PyObject *resultobj = NULL;
d55e5bfc
RD
13054 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
13055 PyObject * obj0 = 0 ;
13056 char *kwnames[] = {
13057 (char *) "self", NULL
13058 };
13059
13060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
36ed4f51
RD
13061 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
13062 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13063 {
13064 PyThreadState* __tstate = wxPyBeginAllowThreads();
13065 (arg1)->RefreshAll();
13066
13067 wxPyEndAllowThreads(__tstate);
13068 if (PyErr_Occurred()) SWIG_fail;
13069 }
13070 Py_INCREF(Py_None); resultobj = Py_None;
13071 return resultobj;
13072 fail:
13073 return NULL;
13074}
13075
13076
c370783e 13077static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13078 PyObject *resultobj = NULL;
d55e5bfc
RD
13079 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
13080 size_t arg2 ;
13081 PyObject * obj0 = 0 ;
13082 PyObject * obj1 = 0 ;
13083 char *kwnames[] = {
13084 (char *) "self",(char *) "count", NULL
13085 };
13086
13087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
13088 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
13089 if (SWIG_arg_fail(1)) SWIG_fail;
13090 {
32fe5131 13091 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
13092 if (SWIG_arg_fail(2)) SWIG_fail;
13093 }
d55e5bfc
RD
13094 {
13095 PyThreadState* __tstate = wxPyBeginAllowThreads();
13096 (arg1)->SetItemCount(arg2);
13097
13098 wxPyEndAllowThreads(__tstate);
13099 if (PyErr_Occurred()) SWIG_fail;
13100 }
13101 Py_INCREF(Py_None); resultobj = Py_None;
13102 return resultobj;
13103 fail:
13104 return NULL;
13105}
13106
13107
c370783e 13108static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13109 PyObject *resultobj = NULL;
d6c14a4c
RD
13110 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
13111 wxFileSystem *result;
13112 PyObject * obj0 = 0 ;
13113 char *kwnames[] = {
13114 (char *) "self", NULL
13115 };
13116
13117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail;
36ed4f51
RD
13118 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
13119 if (SWIG_arg_fail(1)) SWIG_fail;
d6c14a4c
RD
13120 {
13121 PyThreadState* __tstate = wxPyBeginAllowThreads();
13122 {
13123 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
13124 result = (wxFileSystem *) &_result_ref;
13125 }
13126
13127 wxPyEndAllowThreads(__tstate);
13128 if (PyErr_Occurred()) SWIG_fail;
13129 }
13130 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0);
13131 return resultobj;
13132 fail:
13133 return NULL;
13134}
13135
13136
c370783e 13137static PyObject * HtmlListBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13138 PyObject *obj;
13139 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13140 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
13141 Py_INCREF(obj);
13142 return Py_BuildValue((char *)"");
13143}
c370783e 13144static PyObject *_wrap_new_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13145 PyObject *resultobj = NULL;
5e483524 13146 wxPyTaskBarIcon *result;
d55e5bfc
RD
13147 char *kwnames[] = {
13148 NULL
13149 };
13150
13151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
13152 {
0439c23b 13153 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 13154 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 13155 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
d55e5bfc
RD
13156
13157 wxPyEndAllowThreads(__tstate);
110da5b0 13158 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 13159 }
5e483524 13160 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTaskBarIcon, 1);
d55e5bfc
RD
13161 return resultobj;
13162 fail:
13163 return NULL;
13164}
13165
13166
7e08d4ef
RD
13167static PyObject *_wrap_delete_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
13168 PyObject *resultobj = NULL;
13169 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13170 PyObject * obj0 = 0 ;
13171 char *kwnames[] = {
13172 (char *) "self", NULL
13173 };
13174
13175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
13176 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13177 if (SWIG_arg_fail(1)) SWIG_fail;
13178 {
13179 PyThreadState* __tstate = wxPyBeginAllowThreads();
13180 delete arg1;
13181
13182 wxPyEndAllowThreads(__tstate);
13183 if (PyErr_Occurred()) SWIG_fail;
13184 }
13185 Py_INCREF(Py_None); resultobj = Py_None;
13186 return resultobj;
13187 fail:
13188 return NULL;
13189}
13190
13191
5e483524 13192static PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13193 PyObject *resultobj = NULL;
5e483524
RD
13194 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13195 PyObject *arg2 = (PyObject *) 0 ;
13196 PyObject *arg3 = (PyObject *) 0 ;
13197 int arg4 ;
d55e5bfc 13198 PyObject * obj0 = 0 ;
5e483524
RD
13199 PyObject * obj1 = 0 ;
13200 PyObject * obj2 = 0 ;
13201 PyObject * obj3 = 0 ;
d55e5bfc 13202 char *kwnames[] = {
5e483524 13203 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
d55e5bfc
RD
13204 };
13205
5e483524 13206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
13207 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13208 if (SWIG_arg_fail(1)) SWIG_fail;
5e483524
RD
13209 arg2 = obj1;
13210 arg3 = obj2;
36ed4f51 13211 {
32fe5131 13212 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
13213 if (SWIG_arg_fail(4)) SWIG_fail;
13214 }
d55e5bfc
RD
13215 {
13216 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 13217 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
d55e5bfc
RD
13218
13219 wxPyEndAllowThreads(__tstate);
13220 if (PyErr_Occurred()) SWIG_fail;
13221 }
13222 Py_INCREF(Py_None); resultobj = Py_None;
13223 return resultobj;
13224 fail:
13225 return NULL;
13226}
13227
13228
c370783e 13229static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13230 PyObject *resultobj = NULL;
5e483524 13231 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d55e5bfc
RD
13232 PyObject * obj0 = 0 ;
13233 char *kwnames[] = {
13234 (char *) "self", NULL
13235 };
13236
13237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
36ed4f51
RD
13238 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13239 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13240 {
13241 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 13242 wxPyTaskBarIcon_Destroy(arg1);
d55e5bfc
RD
13243
13244 wxPyEndAllowThreads(__tstate);
13245 if (PyErr_Occurred()) SWIG_fail;
13246 }
13247 Py_INCREF(Py_None); resultobj = Py_None;
13248 return resultobj;
13249 fail:
13250 return NULL;
13251}
13252
13253
b411df4a 13254static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13255 PyObject *resultobj = NULL;
5e483524 13256 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
b411df4a
RD
13257 bool result;
13258 PyObject * obj0 = 0 ;
13259 char *kwnames[] = {
13260 (char *) "self", NULL
13261 };
13262
13263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
36ed4f51
RD
13264 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13265 if (SWIG_arg_fail(1)) SWIG_fail;
b411df4a
RD
13266 {
13267 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 13268 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
b411df4a
RD
13269
13270 wxPyEndAllowThreads(__tstate);
13271 if (PyErr_Occurred()) SWIG_fail;
13272 }
13273 {
13274 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13275 }
13276 return resultobj;
13277 fail:
13278 return NULL;
13279}
13280
13281
13282static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13283 PyObject *resultobj = NULL;
5e483524 13284 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
b411df4a
RD
13285 bool result;
13286 PyObject * obj0 = 0 ;
13287 char *kwnames[] = {
13288 (char *) "self", NULL
13289 };
13290
13291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
36ed4f51
RD
13292 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13293 if (SWIG_arg_fail(1)) SWIG_fail;
b411df4a
RD
13294 {
13295 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 13296 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
b411df4a
RD
13297
13298 wxPyEndAllowThreads(__tstate);
13299 if (PyErr_Occurred()) SWIG_fail;
13300 }
13301 {
13302 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13303 }
13304 return resultobj;
13305 fail:
13306 return NULL;
13307}
13308
13309
13310static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13311 PyObject *resultobj = NULL;
5e483524 13312 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
b411df4a
RD
13313 wxIcon *arg2 = 0 ;
13314 wxString const &arg3_defvalue = wxPyEmptyString ;
13315 wxString *arg3 = (wxString *) &arg3_defvalue ;
13316 bool result;
13317 bool temp3 = false ;
13318 PyObject * obj0 = 0 ;
13319 PyObject * obj1 = 0 ;
13320 PyObject * obj2 = 0 ;
13321 char *kwnames[] = {
13322 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
13323 };
13324
13325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
13326 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13327 if (SWIG_arg_fail(1)) SWIG_fail;
13328 {
13329 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
13330 if (SWIG_arg_fail(2)) SWIG_fail;
13331 if (arg2 == NULL) {
13332 SWIG_null_ref("wxIcon");
13333 }
13334 if (SWIG_arg_fail(2)) SWIG_fail;
b411df4a
RD
13335 }
13336 if (obj2) {
13337 {
13338 arg3 = wxString_in_helper(obj2);
13339 if (arg3 == NULL) SWIG_fail;
13340 temp3 = true;
13341 }
13342 }
13343 {
13344 PyThreadState* __tstate = wxPyBeginAllowThreads();
13345 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
13346
13347 wxPyEndAllowThreads(__tstate);
13348 if (PyErr_Occurred()) SWIG_fail;
13349 }
13350 {
13351 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13352 }
13353 {
13354 if (temp3)
13355 delete arg3;
13356 }
13357 return resultobj;
13358 fail:
13359 {
13360 if (temp3)
13361 delete arg3;
13362 }
13363 return NULL;
13364}
13365
13366
13367static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13368 PyObject *resultobj = NULL;
5e483524 13369 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
b411df4a
RD
13370 bool result;
13371 PyObject * obj0 = 0 ;
13372 char *kwnames[] = {
13373 (char *) "self", NULL
13374 };
13375
13376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
36ed4f51
RD
13377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13378 if (SWIG_arg_fail(1)) SWIG_fail;
b411df4a
RD
13379 {
13380 PyThreadState* __tstate = wxPyBeginAllowThreads();
13381 result = (bool)(arg1)->RemoveIcon();
13382
13383 wxPyEndAllowThreads(__tstate);
13384 if (PyErr_Occurred()) SWIG_fail;
13385 }
13386 {
13387 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13388 }
13389 return resultobj;
13390 fail:
13391 return NULL;
13392}
13393
13394
13395static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13396 PyObject *resultobj = NULL;
5e483524 13397 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
b411df4a
RD
13398 wxMenu *arg2 = (wxMenu *) 0 ;
13399 bool result;
13400 PyObject * obj0 = 0 ;
13401 PyObject * obj1 = 0 ;
13402 char *kwnames[] = {
13403 (char *) "self",(char *) "menu", NULL
13404 };
13405
13406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
13407 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13408 if (SWIG_arg_fail(1)) SWIG_fail;
13409 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
13410 if (SWIG_arg_fail(2)) SWIG_fail;
b411df4a
RD
13411 {
13412 PyThreadState* __tstate = wxPyBeginAllowThreads();
13413 result = (bool)(arg1)->PopupMenu(arg2);
13414
13415 wxPyEndAllowThreads(__tstate);
13416 if (PyErr_Occurred()) SWIG_fail;
13417 }
13418 {
13419 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13420 }
13421 return resultobj;
13422 fail:
13423 return NULL;
13424}
13425
13426
c370783e 13427static PyObject * TaskBarIcon_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13428 PyObject *obj;
13429 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5e483524 13430 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon, obj);
d55e5bfc
RD
13431 Py_INCREF(obj);
13432 return Py_BuildValue((char *)"");
13433}
c370783e 13434static PyObject *_wrap_new_TaskBarIconEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13435 PyObject *resultobj = NULL;
d55e5bfc
RD
13436 wxEventType arg1 ;
13437 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
13438 wxTaskBarIconEvent *result;
13439 PyObject * obj0 = 0 ;
13440 PyObject * obj1 = 0 ;
13441 char *kwnames[] = {
13442 (char *) "evtType",(char *) "tbIcon", NULL
13443 };
13444
13445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
36ed4f51 13446 {
32fe5131 13447 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
36ed4f51
RD
13448 if (SWIG_arg_fail(1)) SWIG_fail;
13449 }
13450 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13451 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
13452 {
13453 PyThreadState* __tstate = wxPyBeginAllowThreads();
13454 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
13455
13456 wxPyEndAllowThreads(__tstate);
13457 if (PyErr_Occurred()) SWIG_fail;
13458 }
13459 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
13460 return resultobj;
13461 fail:
13462 return NULL;
13463}
13464
13465
c370783e 13466static PyObject * TaskBarIconEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13467 PyObject *obj;
13468 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13469 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
13470 Py_INCREF(obj);
13471 return Py_BuildValue((char *)"");
13472}
c370783e 13473static int _wrap_FileSelectorPromptStr_set(PyObject *) {
d55e5bfc
RD
13474 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
13475 return 1;
13476}
13477
13478
36ed4f51 13479static PyObject *_wrap_FileSelectorPromptStr_get(void) {
32fe5131 13480 PyObject *pyobj = NULL;
d55e5bfc
RD
13481
13482 {
13483#if wxUSE_UNICODE
13484 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
13485#else
13486 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
13487#endif
13488 }
13489 return pyobj;
13490}
13491
13492
c370783e 13493static int _wrap_DirSelectorPromptStr_set(PyObject *) {
d55e5bfc
RD
13494 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
13495 return 1;
13496}
13497
13498
36ed4f51 13499static PyObject *_wrap_DirSelectorPromptStr_get(void) {
32fe5131 13500 PyObject *pyobj = NULL;
d55e5bfc
RD
13501
13502 {
13503#if wxUSE_UNICODE
13504 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
13505#else
13506 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
13507#endif
13508 }
13509 return pyobj;
13510}
13511
13512
c370783e 13513static int _wrap_DirDialogNameStr_set(PyObject *) {
d55e5bfc
RD
13514 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
13515 return 1;
13516}
13517
13518
36ed4f51 13519static PyObject *_wrap_DirDialogNameStr_get(void) {
32fe5131 13520 PyObject *pyobj = NULL;
d55e5bfc
RD
13521
13522 {
13523#if wxUSE_UNICODE
13524 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
13525#else
13526 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
13527#endif
13528 }
13529 return pyobj;
13530}
13531
13532
c370783e 13533static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
d55e5bfc
RD
13534 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
13535 return 1;
13536}
13537
13538
36ed4f51 13539static PyObject *_wrap_FileSelectorDefaultWildcardStr_get(void) {
32fe5131 13540 PyObject *pyobj = NULL;
d55e5bfc
RD
13541
13542 {
13543#if wxUSE_UNICODE
13544 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
13545#else
13546 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
13547#endif
13548 }
13549 return pyobj;
13550}
13551
13552
c370783e 13553static int _wrap_GetTextFromUserPromptStr_set(PyObject *) {
d55e5bfc
RD
13554 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
13555 return 1;
13556}
13557
13558
36ed4f51 13559static PyObject *_wrap_GetTextFromUserPromptStr_get(void) {
32fe5131 13560 PyObject *pyobj = NULL;
d55e5bfc
RD
13561
13562 {
13563#if wxUSE_UNICODE
13564 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
13565#else
13566 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
13567#endif
13568 }
13569 return pyobj;
13570}
13571
13572
c370783e 13573static int _wrap_MessageBoxCaptionStr_set(PyObject *) {
d55e5bfc
RD
13574 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
13575 return 1;
13576}
13577
13578
36ed4f51 13579static PyObject *_wrap_MessageBoxCaptionStr_get(void) {
32fe5131 13580 PyObject *pyobj = NULL;
d55e5bfc
RD
13581
13582 {
13583#if wxUSE_UNICODE
13584 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
13585#else
13586 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
13587#endif
13588 }
13589 return pyobj;
13590}
13591
13592
c370783e 13593static PyObject *_wrap_new_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13594 PyObject *resultobj = NULL;
d55e5bfc
RD
13595 wxColourData *result;
13596 char *kwnames[] = {
13597 NULL
13598 };
13599
13600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
13601 {
13602 PyThreadState* __tstate = wxPyBeginAllowThreads();
13603 result = (wxColourData *)new wxColourData();
13604
13605 wxPyEndAllowThreads(__tstate);
13606 if (PyErr_Occurred()) SWIG_fail;
13607 }
13608 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
13609 return resultobj;
13610 fail:
13611 return NULL;
13612}
13613
13614
c370783e 13615static PyObject *_wrap_delete_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13616 PyObject *resultobj = NULL;
d55e5bfc
RD
13617 wxColourData *arg1 = (wxColourData *) 0 ;
13618 PyObject * obj0 = 0 ;
13619 char *kwnames[] = {
13620 (char *) "self", NULL
13621 };
13622
13623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
36ed4f51
RD
13624 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13625 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13626 {
13627 PyThreadState* __tstate = wxPyBeginAllowThreads();
13628 delete arg1;
13629
13630 wxPyEndAllowThreads(__tstate);
13631 if (PyErr_Occurred()) SWIG_fail;
13632 }
13633 Py_INCREF(Py_None); resultobj = Py_None;
13634 return resultobj;
13635 fail:
13636 return NULL;
13637}
13638
13639
c370783e 13640static PyObject *_wrap_ColourData_GetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13641 PyObject *resultobj = NULL;
d55e5bfc
RD
13642 wxColourData *arg1 = (wxColourData *) 0 ;
13643 bool result;
13644 PyObject * obj0 = 0 ;
13645 char *kwnames[] = {
13646 (char *) "self", NULL
13647 };
13648
13649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
36ed4f51
RD
13650 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13651 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13652 {
13653 PyThreadState* __tstate = wxPyBeginAllowThreads();
13654 result = (bool)(arg1)->GetChooseFull();
13655
13656 wxPyEndAllowThreads(__tstate);
13657 if (PyErr_Occurred()) SWIG_fail;
13658 }
13659 {
13660 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13661 }
13662 return resultobj;
13663 fail:
13664 return NULL;
13665}
13666
13667
c370783e 13668static PyObject *_wrap_ColourData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13669 PyObject *resultobj = NULL;
d55e5bfc
RD
13670 wxColourData *arg1 = (wxColourData *) 0 ;
13671 wxColour result;
13672 PyObject * obj0 = 0 ;
13673 char *kwnames[] = {
13674 (char *) "self", NULL
13675 };
13676
13677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
13678 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13679 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13680 {
13681 PyThreadState* __tstate = wxPyBeginAllowThreads();
13682 result = (arg1)->GetColour();
13683
13684 wxPyEndAllowThreads(__tstate);
13685 if (PyErr_Occurred()) SWIG_fail;
13686 }
13687 {
13688 wxColour * resultptr;
32fe5131 13689 resultptr = new wxColour(static_cast<wxColour & >(result));
d55e5bfc
RD
13690 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13691 }
13692 return resultobj;
13693 fail:
13694 return NULL;
13695}
13696
13697
c370783e 13698static PyObject *_wrap_ColourData_GetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13699 PyObject *resultobj = NULL;
d55e5bfc
RD
13700 wxColourData *arg1 = (wxColourData *) 0 ;
13701 int arg2 ;
13702 wxColour result;
13703 PyObject * obj0 = 0 ;
13704 PyObject * obj1 = 0 ;
13705 char *kwnames[] = {
13706 (char *) "self",(char *) "i", NULL
13707 };
13708
13709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
13710 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13711 if (SWIG_arg_fail(1)) SWIG_fail;
13712 {
32fe5131 13713 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
13714 if (SWIG_arg_fail(2)) SWIG_fail;
13715 }
d55e5bfc
RD
13716 {
13717 PyThreadState* __tstate = wxPyBeginAllowThreads();
13718 result = (arg1)->GetCustomColour(arg2);
13719
13720 wxPyEndAllowThreads(__tstate);
13721 if (PyErr_Occurred()) SWIG_fail;
13722 }
13723 {
13724 wxColour * resultptr;
32fe5131 13725 resultptr = new wxColour(static_cast<wxColour & >(result));
d55e5bfc
RD
13726 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13727 }
13728 return resultobj;
13729 fail:
13730 return NULL;
13731}
13732
13733
c370783e 13734static PyObject *_wrap_ColourData_SetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13735 PyObject *resultobj = NULL;
d55e5bfc
RD
13736 wxColourData *arg1 = (wxColourData *) 0 ;
13737 int arg2 ;
13738 PyObject * obj0 = 0 ;
13739 PyObject * obj1 = 0 ;
13740 char *kwnames[] = {
13741 (char *) "self",(char *) "flag", NULL
13742 };
13743
13744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
13745 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13746 if (SWIG_arg_fail(1)) SWIG_fail;
13747 {
32fe5131 13748 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
13749 if (SWIG_arg_fail(2)) SWIG_fail;
13750 }
d55e5bfc
RD
13751 {
13752 PyThreadState* __tstate = wxPyBeginAllowThreads();
13753 (arg1)->SetChooseFull(arg2);
13754
13755 wxPyEndAllowThreads(__tstate);
13756 if (PyErr_Occurred()) SWIG_fail;
13757 }
13758 Py_INCREF(Py_None); resultobj = Py_None;
13759 return resultobj;
13760 fail:
13761 return NULL;
13762}
13763
13764
c370783e 13765static PyObject *_wrap_ColourData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13766 PyObject *resultobj = NULL;
d55e5bfc
RD
13767 wxColourData *arg1 = (wxColourData *) 0 ;
13768 wxColour *arg2 = 0 ;
13769 wxColour temp2 ;
13770 PyObject * obj0 = 0 ;
13771 PyObject * obj1 = 0 ;
13772 char *kwnames[] = {
13773 (char *) "self",(char *) "colour", NULL
13774 };
13775
13776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
13777 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13778 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13779 {
13780 arg2 = &temp2;
13781 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13782 }
13783 {
13784 PyThreadState* __tstate = wxPyBeginAllowThreads();
13785 (arg1)->SetColour((wxColour const &)*arg2);
13786
13787 wxPyEndAllowThreads(__tstate);
13788 if (PyErr_Occurred()) SWIG_fail;
13789 }
13790 Py_INCREF(Py_None); resultobj = Py_None;
13791 return resultobj;
13792 fail:
13793 return NULL;
13794}
13795
13796
c370783e 13797static PyObject *_wrap_ColourData_SetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13798 PyObject *resultobj = NULL;
d55e5bfc
RD
13799 wxColourData *arg1 = (wxColourData *) 0 ;
13800 int arg2 ;
13801 wxColour *arg3 = 0 ;
13802 wxColour temp3 ;
13803 PyObject * obj0 = 0 ;
13804 PyObject * obj1 = 0 ;
13805 PyObject * obj2 = 0 ;
13806 char *kwnames[] = {
13807 (char *) "self",(char *) "i",(char *) "colour", NULL
13808 };
13809
13810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
13811 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13812 if (SWIG_arg_fail(1)) SWIG_fail;
13813 {
32fe5131 13814 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
13815 if (SWIG_arg_fail(2)) SWIG_fail;
13816 }
d55e5bfc
RD
13817 {
13818 arg3 = &temp3;
13819 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
13820 }
13821 {
13822 PyThreadState* __tstate = wxPyBeginAllowThreads();
13823 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
13824
13825 wxPyEndAllowThreads(__tstate);
13826 if (PyErr_Occurred()) SWIG_fail;
13827 }
13828 Py_INCREF(Py_None); resultobj = Py_None;
13829 return resultobj;
13830 fail:
13831 return NULL;
13832}
13833
13834
c370783e 13835static PyObject * ColourData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13836 PyObject *obj;
13837 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13838 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
13839 Py_INCREF(obj);
13840 return Py_BuildValue((char *)"");
13841}
c370783e 13842static PyObject *_wrap_new_ColourDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13843 PyObject *resultobj = NULL;
d55e5bfc
RD
13844 wxWindow *arg1 = (wxWindow *) 0 ;
13845 wxColourData *arg2 = (wxColourData *) NULL ;
13846 wxColourDialog *result;
13847 PyObject * obj0 = 0 ;
13848 PyObject * obj1 = 0 ;
13849 char *kwnames[] = {
13850 (char *) "parent",(char *) "data", NULL
13851 };
13852
13853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
13854 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13855 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 13856 if (obj1) {
36ed4f51
RD
13857 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13858 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
13859 }
13860 {
0439c23b 13861 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13862 PyThreadState* __tstate = wxPyBeginAllowThreads();
13863 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
13864
13865 wxPyEndAllowThreads(__tstate);
110da5b0 13866 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13867 }
13868 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
13869 return resultobj;
13870 fail:
13871 return NULL;
13872}
13873
13874
c370783e 13875static PyObject *_wrap_ColourDialog_GetColourData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13876 PyObject *resultobj = NULL;
d55e5bfc
RD
13877 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
13878 wxColourData *result;
13879 PyObject * obj0 = 0 ;
13880 char *kwnames[] = {
13881 (char *) "self", NULL
13882 };
13883
13884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
36ed4f51
RD
13885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourDialog, SWIG_POINTER_EXCEPTION | 0);
13886 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13887 {
13888 PyThreadState* __tstate = wxPyBeginAllowThreads();
13889 {
13890 wxColourData &_result_ref = (arg1)->GetColourData();
13891 result = (wxColourData *) &_result_ref;
13892 }
13893
13894 wxPyEndAllowThreads(__tstate);
13895 if (PyErr_Occurred()) SWIG_fail;
13896 }
13897 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
13898 return resultobj;
13899 fail:
13900 return NULL;
13901}
13902
13903
c370783e 13904static PyObject * ColourDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13905 PyObject *obj;
13906 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13907 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
13908 Py_INCREF(obj);
13909 return Py_BuildValue((char *)"");
13910}
32fe5131
RD
13911static PyObject *_wrap_GetColourFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
13912 PyObject *resultobj = NULL;
13913 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
13914 wxColour const &arg2_defvalue = wxNullColour ;
13915 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
13916 wxString const &arg3_defvalue = wxPyEmptyString ;
13917 wxString *arg3 = (wxString *) &arg3_defvalue ;
13918 wxColour result;
13919 wxColour temp2 ;
13920 bool temp3 = false ;
13921 PyObject * obj0 = 0 ;
13922 PyObject * obj1 = 0 ;
13923 PyObject * obj2 = 0 ;
13924 char *kwnames[] = {
13925 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
13926 };
13927
13928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) goto fail;
13929 if (obj0) {
13930 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13931 if (SWIG_arg_fail(1)) SWIG_fail;
13932 }
13933 if (obj1) {
13934 {
13935 arg2 = &temp2;
13936 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13937 }
13938 }
13939 if (obj2) {
13940 {
13941 arg3 = wxString_in_helper(obj2);
13942 if (arg3 == NULL) SWIG_fail;
13943 temp3 = true;
13944 }
13945 }
13946 {
13947 PyThreadState* __tstate = wxPyBeginAllowThreads();
13948 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
13949
13950 wxPyEndAllowThreads(__tstate);
13951 if (PyErr_Occurred()) SWIG_fail;
13952 }
13953 {
13954 wxColour * resultptr;
13955 resultptr = new wxColour(static_cast<wxColour & >(result));
13956 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13957 }
13958 {
13959 if (temp3)
13960 delete arg3;
13961 }
13962 return resultobj;
13963 fail:
13964 {
13965 if (temp3)
13966 delete arg3;
13967 }
13968 return NULL;
13969}
13970
13971
c370783e 13972static PyObject *_wrap_new_DirDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13973 PyObject *resultobj = NULL;
d55e5bfc
RD
13974 wxWindow *arg1 = (wxWindow *) 0 ;
13975 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
13976 wxString *arg2 = (wxString *) &arg2_defvalue ;
13977 wxString const &arg3_defvalue = wxPyEmptyString ;
13978 wxString *arg3 = (wxString *) &arg3_defvalue ;
13979 long arg4 = (long) 0 ;
13980 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13981 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13982 wxSize const &arg6_defvalue = wxDefaultSize ;
13983 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13984 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
13985 wxString *arg7 = (wxString *) &arg7_defvalue ;
13986 wxDirDialog *result;
b411df4a
RD
13987 bool temp2 = false ;
13988 bool temp3 = false ;
d55e5bfc
RD
13989 wxPoint temp5 ;
13990 wxSize temp6 ;
b411df4a 13991 bool temp7 = false ;
d55e5bfc
RD
13992 PyObject * obj0 = 0 ;
13993 PyObject * obj1 = 0 ;
13994 PyObject * obj2 = 0 ;
13995 PyObject * obj3 = 0 ;
13996 PyObject * obj4 = 0 ;
13997 PyObject * obj5 = 0 ;
13998 PyObject * obj6 = 0 ;
13999 char *kwnames[] = {
14000 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
14001 };
14002
14003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
14004 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14005 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14006 if (obj1) {
14007 {
14008 arg2 = wxString_in_helper(obj1);
14009 if (arg2 == NULL) SWIG_fail;
b411df4a 14010 temp2 = true;
d55e5bfc
RD
14011 }
14012 }
14013 if (obj2) {
14014 {
14015 arg3 = wxString_in_helper(obj2);
14016 if (arg3 == NULL) SWIG_fail;
b411df4a 14017 temp3 = true;
d55e5bfc
RD
14018 }
14019 }
14020 if (obj3) {
36ed4f51 14021 {
32fe5131 14022 arg4 = static_cast<long >(SWIG_As_long(obj3));
36ed4f51
RD
14023 if (SWIG_arg_fail(4)) SWIG_fail;
14024 }
d55e5bfc
RD
14025 }
14026 if (obj4) {
14027 {
14028 arg5 = &temp5;
14029 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14030 }
14031 }
14032 if (obj5) {
14033 {
14034 arg6 = &temp6;
14035 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14036 }
14037 }
14038 if (obj6) {
14039 {
14040 arg7 = wxString_in_helper(obj6);
14041 if (arg7 == NULL) SWIG_fail;
b411df4a 14042 temp7 = true;
d55e5bfc
RD
14043 }
14044 }
14045 {
0439c23b 14046 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14047 PyThreadState* __tstate = wxPyBeginAllowThreads();
14048 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
14049
14050 wxPyEndAllowThreads(__tstate);
110da5b0 14051 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14052 }
14053 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
14054 {
14055 if (temp2)
14056 delete arg2;
14057 }
14058 {
14059 if (temp3)
14060 delete arg3;
14061 }
14062 {
14063 if (temp7)
14064 delete arg7;
14065 }
14066 return resultobj;
14067 fail:
14068 {
14069 if (temp2)
14070 delete arg2;
14071 }
14072 {
14073 if (temp3)
14074 delete arg3;
14075 }
14076 {
14077 if (temp7)
14078 delete arg7;
14079 }
14080 return NULL;
14081}
14082
14083
c370783e 14084static PyObject *_wrap_DirDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14085 PyObject *resultobj = NULL;
d55e5bfc
RD
14086 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
14087 wxString result;
14088 PyObject * obj0 = 0 ;
14089 char *kwnames[] = {
14090 (char *) "self", NULL
14091 };
14092
14093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
36ed4f51
RD
14094 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
14095 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14096 {
14097 PyThreadState* __tstate = wxPyBeginAllowThreads();
14098 result = (arg1)->GetPath();
14099
14100 wxPyEndAllowThreads(__tstate);
14101 if (PyErr_Occurred()) SWIG_fail;
14102 }
14103 {
14104#if wxUSE_UNICODE
14105 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14106#else
14107 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14108#endif
14109 }
14110 return resultobj;
14111 fail:
14112 return NULL;
14113}
14114
14115
c370783e 14116static PyObject *_wrap_DirDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14117 PyObject *resultobj = NULL;
d55e5bfc
RD
14118 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
14119 wxString result;
14120 PyObject * obj0 = 0 ;
14121 char *kwnames[] = {
14122 (char *) "self", NULL
14123 };
14124
14125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
36ed4f51
RD
14126 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
14127 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14128 {
14129 PyThreadState* __tstate = wxPyBeginAllowThreads();
14130 result = (arg1)->GetMessage();
14131
14132 wxPyEndAllowThreads(__tstate);
14133 if (PyErr_Occurred()) SWIG_fail;
14134 }
14135 {
14136#if wxUSE_UNICODE
14137 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14138#else
14139 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14140#endif
14141 }
14142 return resultobj;
14143 fail:
14144 return NULL;
14145}
14146
14147
c370783e 14148static PyObject *_wrap_DirDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14149 PyObject *resultobj = NULL;
d55e5bfc
RD
14150 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
14151 long result;
14152 PyObject * obj0 = 0 ;
14153 char *kwnames[] = {
14154 (char *) "self", NULL
14155 };
14156
14157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
36ed4f51
RD
14158 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
14159 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14160 {
14161 PyThreadState* __tstate = wxPyBeginAllowThreads();
14162 result = (long)(arg1)->GetStyle();
14163
14164 wxPyEndAllowThreads(__tstate);
14165 if (PyErr_Occurred()) SWIG_fail;
14166 }
36ed4f51 14167 {
32fe5131 14168 resultobj = SWIG_From_long(static_cast<long >(result));
36ed4f51 14169 }
d55e5bfc
RD
14170 return resultobj;
14171 fail:
14172 return NULL;
14173}
14174
14175
c370783e 14176static PyObject *_wrap_DirDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14177 PyObject *resultobj = NULL;
d55e5bfc
RD
14178 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
14179 wxString *arg2 = 0 ;
b411df4a 14180 bool temp2 = false ;
d55e5bfc
RD
14181 PyObject * obj0 = 0 ;
14182 PyObject * obj1 = 0 ;
14183 char *kwnames[] = {
14184 (char *) "self",(char *) "message", NULL
14185 };
14186
14187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14188 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
14189 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14190 {
14191 arg2 = wxString_in_helper(obj1);
14192 if (arg2 == NULL) SWIG_fail;
b411df4a 14193 temp2 = true;
d55e5bfc
RD
14194 }
14195 {
14196 PyThreadState* __tstate = wxPyBeginAllowThreads();
14197 (arg1)->SetMessage((wxString const &)*arg2);
14198
14199 wxPyEndAllowThreads(__tstate);
14200 if (PyErr_Occurred()) SWIG_fail;
14201 }
14202 Py_INCREF(Py_None); resultobj = Py_None;
14203 {
14204 if (temp2)
14205 delete arg2;
14206 }
14207 return resultobj;
14208 fail:
14209 {
14210 if (temp2)
14211 delete arg2;
14212 }
14213 return NULL;
14214}
14215
14216
c370783e 14217static PyObject *_wrap_DirDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14218 PyObject *resultobj = NULL;
d55e5bfc
RD
14219 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
14220 wxString *arg2 = 0 ;
b411df4a 14221 bool temp2 = false ;
d55e5bfc
RD
14222 PyObject * obj0 = 0 ;
14223 PyObject * obj1 = 0 ;
14224 char *kwnames[] = {
14225 (char *) "self",(char *) "path", NULL
14226 };
14227
14228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14229 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
14230 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14231 {
14232 arg2 = wxString_in_helper(obj1);
14233 if (arg2 == NULL) SWIG_fail;
b411df4a 14234 temp2 = true;
d55e5bfc
RD
14235 }
14236 {
14237 PyThreadState* __tstate = wxPyBeginAllowThreads();
14238 (arg1)->SetPath((wxString const &)*arg2);
14239
14240 wxPyEndAllowThreads(__tstate);
14241 if (PyErr_Occurred()) SWIG_fail;
14242 }
14243 Py_INCREF(Py_None); resultobj = Py_None;
14244 {
14245 if (temp2)
14246 delete arg2;
14247 }
14248 return resultobj;
14249 fail:
14250 {
14251 if (temp2)
14252 delete arg2;
14253 }
14254 return NULL;
14255}
14256
14257
c370783e 14258static PyObject * DirDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14259 PyObject *obj;
14260 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14261 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
14262 Py_INCREF(obj);
14263 return Py_BuildValue((char *)"");
14264}
c370783e 14265static PyObject *_wrap_new_FileDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14266 PyObject *resultobj = NULL;
d55e5bfc
RD
14267 wxWindow *arg1 = (wxWindow *) 0 ;
14268 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
14269 wxString *arg2 = (wxString *) &arg2_defvalue ;
14270 wxString const &arg3_defvalue = wxPyEmptyString ;
14271 wxString *arg3 = (wxString *) &arg3_defvalue ;
14272 wxString const &arg4_defvalue = wxPyEmptyString ;
14273 wxString *arg4 = (wxString *) &arg4_defvalue ;
14274 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
14275 wxString *arg5 = (wxString *) &arg5_defvalue ;
14276 long arg6 = (long) 0 ;
14277 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14278 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14279 wxFileDialog *result;
b411df4a
RD
14280 bool temp2 = false ;
14281 bool temp3 = false ;
14282 bool temp4 = false ;
14283 bool temp5 = false ;
d55e5bfc
RD
14284 wxPoint temp7 ;
14285 PyObject * obj0 = 0 ;
14286 PyObject * obj1 = 0 ;
14287 PyObject * obj2 = 0 ;
14288 PyObject * obj3 = 0 ;
14289 PyObject * obj4 = 0 ;
14290 PyObject * obj5 = 0 ;
14291 PyObject * obj6 = 0 ;
14292 char *kwnames[] = {
14293 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
14294 };
14295
14296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
14297 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14298 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14299 if (obj1) {
14300 {
14301 arg2 = wxString_in_helper(obj1);
14302 if (arg2 == NULL) SWIG_fail;
b411df4a 14303 temp2 = true;
d55e5bfc
RD
14304 }
14305 }
14306 if (obj2) {
14307 {
14308 arg3 = wxString_in_helper(obj2);
14309 if (arg3 == NULL) SWIG_fail;
b411df4a 14310 temp3 = true;
d55e5bfc
RD
14311 }
14312 }
14313 if (obj3) {
14314 {
14315 arg4 = wxString_in_helper(obj3);
14316 if (arg4 == NULL) SWIG_fail;
b411df4a 14317 temp4 = true;
d55e5bfc
RD
14318 }
14319 }
14320 if (obj4) {
14321 {
14322 arg5 = wxString_in_helper(obj4);
14323 if (arg5 == NULL) SWIG_fail;
b411df4a 14324 temp5 = true;
d55e5bfc
RD
14325 }
14326 }
14327 if (obj5) {
36ed4f51 14328 {
32fe5131 14329 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
14330 if (SWIG_arg_fail(6)) SWIG_fail;
14331 }
d55e5bfc
RD
14332 }
14333 if (obj6) {
14334 {
14335 arg7 = &temp7;
14336 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
14337 }
14338 }
14339 {
0439c23b 14340 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14341 PyThreadState* __tstate = wxPyBeginAllowThreads();
14342 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
14343
14344 wxPyEndAllowThreads(__tstate);
110da5b0 14345 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14346 }
14347 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
14348 {
14349 if (temp2)
14350 delete arg2;
14351 }
14352 {
14353 if (temp3)
14354 delete arg3;
14355 }
14356 {
14357 if (temp4)
14358 delete arg4;
14359 }
14360 {
14361 if (temp5)
14362 delete arg5;
14363 }
14364 return resultobj;
14365 fail:
14366 {
14367 if (temp2)
14368 delete arg2;
14369 }
14370 {
14371 if (temp3)
14372 delete arg3;
14373 }
14374 {
14375 if (temp4)
14376 delete arg4;
14377 }
14378 {
14379 if (temp5)
14380 delete arg5;
14381 }
14382 return NULL;
14383}
14384
14385
c370783e 14386static PyObject *_wrap_FileDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14387 PyObject *resultobj = NULL;
d55e5bfc
RD
14388 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14389 wxString *arg2 = 0 ;
b411df4a 14390 bool temp2 = false ;
d55e5bfc
RD
14391 PyObject * obj0 = 0 ;
14392 PyObject * obj1 = 0 ;
14393 char *kwnames[] = {
14394 (char *) "self",(char *) "message", NULL
14395 };
14396
14397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14398 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14399 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14400 {
14401 arg2 = wxString_in_helper(obj1);
14402 if (arg2 == NULL) SWIG_fail;
b411df4a 14403 temp2 = true;
d55e5bfc
RD
14404 }
14405 {
14406 PyThreadState* __tstate = wxPyBeginAllowThreads();
14407 (arg1)->SetMessage((wxString const &)*arg2);
14408
14409 wxPyEndAllowThreads(__tstate);
14410 if (PyErr_Occurred()) SWIG_fail;
14411 }
14412 Py_INCREF(Py_None); resultobj = Py_None;
14413 {
14414 if (temp2)
14415 delete arg2;
14416 }
14417 return resultobj;
14418 fail:
14419 {
14420 if (temp2)
14421 delete arg2;
14422 }
14423 return NULL;
14424}
14425
14426
c370783e 14427static PyObject *_wrap_FileDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14428 PyObject *resultobj = NULL;
d55e5bfc
RD
14429 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14430 wxString *arg2 = 0 ;
b411df4a 14431 bool temp2 = false ;
d55e5bfc
RD
14432 PyObject * obj0 = 0 ;
14433 PyObject * obj1 = 0 ;
14434 char *kwnames[] = {
14435 (char *) "self",(char *) "path", NULL
14436 };
14437
14438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14439 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14440 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14441 {
14442 arg2 = wxString_in_helper(obj1);
14443 if (arg2 == NULL) SWIG_fail;
b411df4a 14444 temp2 = true;
d55e5bfc
RD
14445 }
14446 {
14447 PyThreadState* __tstate = wxPyBeginAllowThreads();
14448 (arg1)->SetPath((wxString const &)*arg2);
14449
14450 wxPyEndAllowThreads(__tstate);
14451 if (PyErr_Occurred()) SWIG_fail;
14452 }
14453 Py_INCREF(Py_None); resultobj = Py_None;
14454 {
14455 if (temp2)
14456 delete arg2;
14457 }
14458 return resultobj;
14459 fail:
14460 {
14461 if (temp2)
14462 delete arg2;
14463 }
14464 return NULL;
14465}
14466
14467
c370783e 14468static PyObject *_wrap_FileDialog_SetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14469 PyObject *resultobj = NULL;
d55e5bfc
RD
14470 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14471 wxString *arg2 = 0 ;
b411df4a 14472 bool temp2 = false ;
d55e5bfc
RD
14473 PyObject * obj0 = 0 ;
14474 PyObject * obj1 = 0 ;
14475 char *kwnames[] = {
14476 (char *) "self",(char *) "dir", NULL
14477 };
14478
14479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14481 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14482 {
14483 arg2 = wxString_in_helper(obj1);
14484 if (arg2 == NULL) SWIG_fail;
b411df4a 14485 temp2 = true;
d55e5bfc
RD
14486 }
14487 {
14488 PyThreadState* __tstate = wxPyBeginAllowThreads();
14489 (arg1)->SetDirectory((wxString const &)*arg2);
14490
14491 wxPyEndAllowThreads(__tstate);
14492 if (PyErr_Occurred()) SWIG_fail;
14493 }
14494 Py_INCREF(Py_None); resultobj = Py_None;
14495 {
14496 if (temp2)
14497 delete arg2;
14498 }
14499 return resultobj;
14500 fail:
14501 {
14502 if (temp2)
14503 delete arg2;
14504 }
14505 return NULL;
14506}
14507
14508
c370783e 14509static PyObject *_wrap_FileDialog_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14510 PyObject *resultobj = NULL;
d55e5bfc
RD
14511 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14512 wxString *arg2 = 0 ;
b411df4a 14513 bool temp2 = false ;
d55e5bfc
RD
14514 PyObject * obj0 = 0 ;
14515 PyObject * obj1 = 0 ;
14516 char *kwnames[] = {
14517 (char *) "self",(char *) "name", NULL
14518 };
14519
14520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14521 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14522 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14523 {
14524 arg2 = wxString_in_helper(obj1);
14525 if (arg2 == NULL) SWIG_fail;
b411df4a 14526 temp2 = true;
d55e5bfc
RD
14527 }
14528 {
14529 PyThreadState* __tstate = wxPyBeginAllowThreads();
14530 (arg1)->SetFilename((wxString const &)*arg2);
14531
14532 wxPyEndAllowThreads(__tstate);
14533 if (PyErr_Occurred()) SWIG_fail;
14534 }
14535 Py_INCREF(Py_None); resultobj = Py_None;
14536 {
14537 if (temp2)
14538 delete arg2;
14539 }
14540 return resultobj;
14541 fail:
14542 {
14543 if (temp2)
14544 delete arg2;
14545 }
14546 return NULL;
14547}
14548
14549
c370783e 14550static PyObject *_wrap_FileDialog_SetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14551 PyObject *resultobj = NULL;
d55e5bfc
RD
14552 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14553 wxString *arg2 = 0 ;
b411df4a 14554 bool temp2 = false ;
d55e5bfc
RD
14555 PyObject * obj0 = 0 ;
14556 PyObject * obj1 = 0 ;
14557 char *kwnames[] = {
14558 (char *) "self",(char *) "wildCard", NULL
14559 };
14560
14561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14563 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14564 {
14565 arg2 = wxString_in_helper(obj1);
14566 if (arg2 == NULL) SWIG_fail;
b411df4a 14567 temp2 = true;
d55e5bfc
RD
14568 }
14569 {
14570 PyThreadState* __tstate = wxPyBeginAllowThreads();
14571 (arg1)->SetWildcard((wxString const &)*arg2);
14572
14573 wxPyEndAllowThreads(__tstate);
14574 if (PyErr_Occurred()) SWIG_fail;
14575 }
14576 Py_INCREF(Py_None); resultobj = Py_None;
14577 {
14578 if (temp2)
14579 delete arg2;
14580 }
14581 return resultobj;
14582 fail:
14583 {
14584 if (temp2)
14585 delete arg2;
14586 }
14587 return NULL;
14588}
14589
14590
c370783e 14591static PyObject *_wrap_FileDialog_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14592 PyObject *resultobj = NULL;
d55e5bfc
RD
14593 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14594 long arg2 ;
14595 PyObject * obj0 = 0 ;
14596 PyObject * obj1 = 0 ;
14597 char *kwnames[] = {
14598 (char *) "self",(char *) "style", NULL
14599 };
14600
14601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14602 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14603 if (SWIG_arg_fail(1)) SWIG_fail;
14604 {
32fe5131 14605 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
14606 if (SWIG_arg_fail(2)) SWIG_fail;
14607 }
d55e5bfc
RD
14608 {
14609 PyThreadState* __tstate = wxPyBeginAllowThreads();
14610 (arg1)->SetStyle(arg2);
14611
14612 wxPyEndAllowThreads(__tstate);
14613 if (PyErr_Occurred()) SWIG_fail;
14614 }
14615 Py_INCREF(Py_None); resultobj = Py_None;
14616 return resultobj;
14617 fail:
14618 return NULL;
14619}
14620
14621
c370783e 14622static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14623 PyObject *resultobj = NULL;
d55e5bfc
RD
14624 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14625 int arg2 ;
14626 PyObject * obj0 = 0 ;
14627 PyObject * obj1 = 0 ;
14628 char *kwnames[] = {
14629 (char *) "self",(char *) "filterIndex", NULL
14630 };
14631
14632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14633 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14634 if (SWIG_arg_fail(1)) SWIG_fail;
14635 {
32fe5131 14636 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
14637 if (SWIG_arg_fail(2)) SWIG_fail;
14638 }
d55e5bfc
RD
14639 {
14640 PyThreadState* __tstate = wxPyBeginAllowThreads();
14641 (arg1)->SetFilterIndex(arg2);
14642
14643 wxPyEndAllowThreads(__tstate);
14644 if (PyErr_Occurred()) SWIG_fail;
14645 }
14646 Py_INCREF(Py_None); resultobj = Py_None;
14647 return resultobj;
14648 fail:
14649 return NULL;
14650}
14651
14652
c370783e 14653static PyObject *_wrap_FileDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14654 PyObject *resultobj = NULL;
d55e5bfc
RD
14655 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14656 wxString result;
14657 PyObject * obj0 = 0 ;
14658 char *kwnames[] = {
14659 (char *) "self", NULL
14660 };
14661
14662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
36ed4f51
RD
14663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14664 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14665 {
14666 PyThreadState* __tstate = wxPyBeginAllowThreads();
14667 result = ((wxFileDialog const *)arg1)->GetMessage();
14668
14669 wxPyEndAllowThreads(__tstate);
14670 if (PyErr_Occurred()) SWIG_fail;
14671 }
14672 {
14673#if wxUSE_UNICODE
14674 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14675#else
14676 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14677#endif
14678 }
14679 return resultobj;
14680 fail:
14681 return NULL;
14682}
14683
14684
c370783e 14685static PyObject *_wrap_FileDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14686 PyObject *resultobj = NULL;
d55e5bfc
RD
14687 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14688 wxString result;
14689 PyObject * obj0 = 0 ;
14690 char *kwnames[] = {
14691 (char *) "self", NULL
14692 };
14693
14694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
36ed4f51
RD
14695 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14696 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14697 {
14698 PyThreadState* __tstate = wxPyBeginAllowThreads();
14699 result = ((wxFileDialog const *)arg1)->GetPath();
14700
14701 wxPyEndAllowThreads(__tstate);
14702 if (PyErr_Occurred()) SWIG_fail;
14703 }
14704 {
14705#if wxUSE_UNICODE
14706 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14707#else
14708 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14709#endif
14710 }
14711 return resultobj;
14712 fail:
14713 return NULL;
14714}
14715
14716
c370783e 14717static PyObject *_wrap_FileDialog_GetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14718 PyObject *resultobj = NULL;
d55e5bfc
RD
14719 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14720 wxString result;
14721 PyObject * obj0 = 0 ;
14722 char *kwnames[] = {
14723 (char *) "self", NULL
14724 };
14725
14726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
36ed4f51
RD
14727 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14728 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14729 {
14730 PyThreadState* __tstate = wxPyBeginAllowThreads();
14731 result = ((wxFileDialog const *)arg1)->GetDirectory();
14732
14733 wxPyEndAllowThreads(__tstate);
14734 if (PyErr_Occurred()) SWIG_fail;
14735 }
14736 {
14737#if wxUSE_UNICODE
14738 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14739#else
14740 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14741#endif
14742 }
14743 return resultobj;
14744 fail:
14745 return NULL;
14746}
14747
14748
c370783e 14749static PyObject *_wrap_FileDialog_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14750 PyObject *resultobj = NULL;
d55e5bfc
RD
14751 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14752 wxString result;
14753 PyObject * obj0 = 0 ;
14754 char *kwnames[] = {
14755 (char *) "self", NULL
14756 };
14757
14758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
36ed4f51
RD
14759 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14760 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14761 {
14762 PyThreadState* __tstate = wxPyBeginAllowThreads();
14763 result = ((wxFileDialog const *)arg1)->GetFilename();
14764
14765 wxPyEndAllowThreads(__tstate);
14766 if (PyErr_Occurred()) SWIG_fail;
14767 }
14768 {
14769#if wxUSE_UNICODE
14770 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14771#else
14772 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14773#endif
14774 }
14775 return resultobj;
14776 fail:
14777 return NULL;
14778}
14779
14780
c370783e 14781static PyObject *_wrap_FileDialog_GetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14782 PyObject *resultobj = NULL;
d55e5bfc
RD
14783 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14784 wxString result;
14785 PyObject * obj0 = 0 ;
14786 char *kwnames[] = {
14787 (char *) "self", NULL
14788 };
14789
14790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
36ed4f51
RD
14791 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14792 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14793 {
14794 PyThreadState* __tstate = wxPyBeginAllowThreads();
14795 result = ((wxFileDialog const *)arg1)->GetWildcard();
14796
14797 wxPyEndAllowThreads(__tstate);
14798 if (PyErr_Occurred()) SWIG_fail;
14799 }
14800 {
14801#if wxUSE_UNICODE
14802 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14803#else
14804 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14805#endif
14806 }
14807 return resultobj;
14808 fail:
14809 return NULL;
14810}
14811
14812
c370783e 14813static PyObject *_wrap_FileDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14814 PyObject *resultobj = NULL;
d55e5bfc
RD
14815 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14816 long result;
14817 PyObject * obj0 = 0 ;
14818 char *kwnames[] = {
14819 (char *) "self", NULL
14820 };
14821
14822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
36ed4f51
RD
14823 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14824 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14825 {
14826 PyThreadState* __tstate = wxPyBeginAllowThreads();
14827 result = (long)((wxFileDialog const *)arg1)->GetStyle();
14828
14829 wxPyEndAllowThreads(__tstate);
14830 if (PyErr_Occurred()) SWIG_fail;
14831 }
36ed4f51 14832 {
32fe5131 14833 resultobj = SWIG_From_long(static_cast<long >(result));
36ed4f51 14834 }
d55e5bfc
RD
14835 return resultobj;
14836 fail:
14837 return NULL;
14838}
14839
14840
c370783e 14841static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14842 PyObject *resultobj = NULL;
d55e5bfc
RD
14843 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14844 int result;
14845 PyObject * obj0 = 0 ;
14846 char *kwnames[] = {
14847 (char *) "self", NULL
14848 };
14849
14850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
36ed4f51
RD
14851 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14852 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14853 {
14854 PyThreadState* __tstate = wxPyBeginAllowThreads();
14855 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
14856
14857 wxPyEndAllowThreads(__tstate);
14858 if (PyErr_Occurred()) SWIG_fail;
14859 }
36ed4f51 14860 {
32fe5131 14861 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 14862 }
d55e5bfc
RD
14863 return resultobj;
14864 fail:
14865 return NULL;
14866}
14867
14868
c370783e 14869static PyObject *_wrap_FileDialog_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14870 PyObject *resultobj = NULL;
d55e5bfc
RD
14871 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14872 PyObject *result;
14873 PyObject * obj0 = 0 ;
14874 char *kwnames[] = {
14875 (char *) "self", NULL
14876 };
14877
14878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
36ed4f51
RD
14879 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14880 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14881 {
14882 PyThreadState* __tstate = wxPyBeginAllowThreads();
14883 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
14884
14885 wxPyEndAllowThreads(__tstate);
14886 if (PyErr_Occurred()) SWIG_fail;
14887 }
14888 resultobj = result;
14889 return resultobj;
14890 fail:
14891 return NULL;
14892}
14893
14894
c370783e 14895static PyObject *_wrap_FileDialog_GetPaths(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14896 PyObject *resultobj = NULL;
d55e5bfc
RD
14897 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14898 PyObject *result;
14899 PyObject * obj0 = 0 ;
14900 char *kwnames[] = {
14901 (char *) "self", NULL
14902 };
14903
14904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
36ed4f51
RD
14905 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14906 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14907 {
14908 PyThreadState* __tstate = wxPyBeginAllowThreads();
14909 result = (PyObject *)wxFileDialog_GetPaths(arg1);
14910
14911 wxPyEndAllowThreads(__tstate);
14912 if (PyErr_Occurred()) SWIG_fail;
14913 }
14914 resultobj = result;
14915 return resultobj;
14916 fail:
14917 return NULL;
14918}
14919
14920
c370783e 14921static PyObject * FileDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14922 PyObject *obj;
14923 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14924 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
14925 Py_INCREF(obj);
14926 return Py_BuildValue((char *)"");
14927}
c370783e 14928static PyObject *_wrap_new_MultiChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14929 PyObject *resultobj = NULL;
d55e5bfc
RD
14930 wxWindow *arg1 = (wxWindow *) 0 ;
14931 wxString *arg2 = 0 ;
14932 wxString *arg3 = 0 ;
14933 int arg4 = (int) 0 ;
bfddbb17 14934 wxString *arg5 = (wxString *) NULL ;
d55e5bfc
RD
14935 long arg6 = (long) wxCHOICEDLG_STYLE ;
14936 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14937 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14938 wxMultiChoiceDialog *result;
b411df4a
RD
14939 bool temp2 = false ;
14940 bool temp3 = false ;
36ed4f51 14941 wxPoint temp7 ;
d55e5bfc
RD
14942 PyObject * obj0 = 0 ;
14943 PyObject * obj1 = 0 ;
14944 PyObject * obj2 = 0 ;
14945 PyObject * obj3 = 0 ;
14946 PyObject * obj4 = 0 ;
14947 PyObject * obj5 = 0 ;
14948 char *kwnames[] = {
14949 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14950 };
14951
14952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
14953 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14954 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14955 {
14956 arg2 = wxString_in_helper(obj1);
14957 if (arg2 == NULL) SWIG_fail;
b411df4a 14958 temp2 = true;
d55e5bfc
RD
14959 }
14960 {
14961 arg3 = wxString_in_helper(obj2);
14962 if (arg3 == NULL) SWIG_fail;
b411df4a 14963 temp3 = true;
d55e5bfc
RD
14964 }
14965 if (obj3) {
14966 {
14967 arg4 = PyList_Size(obj3);
14968 arg5 = wxString_LIST_helper(obj3);
14969 if (arg5 == NULL) SWIG_fail;
14970 }
14971 }
14972 if (obj4) {
36ed4f51 14973 {
32fe5131 14974 arg6 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
14975 if (SWIG_arg_fail(6)) SWIG_fail;
14976 }
d55e5bfc
RD
14977 }
14978 if (obj5) {
14979 {
36ed4f51 14980 arg7 = &temp7;
d55e5bfc
RD
14981 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
14982 }
14983 }
14984 {
0439c23b 14985 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14986 PyThreadState* __tstate = wxPyBeginAllowThreads();
14987 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
14988
14989 wxPyEndAllowThreads(__tstate);
110da5b0 14990 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14991 }
14992 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
14993 {
14994 if (temp2)
14995 delete arg2;
14996 }
14997 {
14998 if (temp3)
14999 delete arg3;
15000 }
15001 {
15002 if (arg5) delete [] arg5;
15003 }
15004 return resultobj;
15005 fail:
15006 {
15007 if (temp2)
15008 delete arg2;
15009 }
15010 {
15011 if (temp3)
15012 delete arg3;
15013 }
15014 {
15015 if (arg5) delete [] arg5;
15016 }
15017 return NULL;
15018}
15019
15020
c370783e 15021static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15022 PyObject *resultobj = NULL;
d55e5bfc
RD
15023 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
15024 wxArrayInt *arg2 = 0 ;
b411df4a 15025 bool temp2 = false ;
d55e5bfc
RD
15026 PyObject * obj0 = 0 ;
15027 PyObject * obj1 = 0 ;
15028 char *kwnames[] = {
15029 (char *) "self",(char *) "selections", NULL
15030 };
15031
15032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15033 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
15034 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15035 {
15036 if (! PySequence_Check(obj1)) {
15037 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
15038 SWIG_fail;
15039 }
15040 arg2 = new wxArrayInt;
b411df4a 15041 temp2 = true;
d55e5bfc
RD
15042 int i, len=PySequence_Length(obj1);
15043 for (i=0; i<len; i++) {
15044 PyObject* item = PySequence_GetItem(obj1, i);
15045 PyObject* number = PyNumber_Int(item);
15046 arg2->Add(PyInt_AS_LONG(number));
15047 Py_DECREF(item);
15048 Py_DECREF(number);
15049 }
15050 }
15051 {
15052 PyThreadState* __tstate = wxPyBeginAllowThreads();
15053 (arg1)->SetSelections((wxArrayInt const &)*arg2);
15054
15055 wxPyEndAllowThreads(__tstate);
15056 if (PyErr_Occurred()) SWIG_fail;
15057 }
15058 Py_INCREF(Py_None); resultobj = Py_None;
15059 {
15060 if (temp2) delete arg2;
15061 }
15062 return resultobj;
15063 fail:
15064 {
15065 if (temp2) delete arg2;
15066 }
15067 return NULL;
15068}
15069
15070
c370783e 15071static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15072 PyObject *resultobj = NULL;
d55e5bfc
RD
15073 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
15074 PyObject *result;
15075 PyObject * obj0 = 0 ;
15076 char *kwnames[] = {
15077 (char *) "self", NULL
15078 };
15079
15080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
36ed4f51
RD
15081 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
15082 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15083 {
15084 PyThreadState* __tstate = wxPyBeginAllowThreads();
15085 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
15086
15087 wxPyEndAllowThreads(__tstate);
15088 if (PyErr_Occurred()) SWIG_fail;
15089 }
15090 resultobj = result;
15091 return resultobj;
15092 fail:
15093 return NULL;
15094}
15095
15096
c370783e 15097static PyObject * MultiChoiceDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15098 PyObject *obj;
15099 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15100 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
15101 Py_INCREF(obj);
15102 return Py_BuildValue((char *)"");
15103}
c370783e 15104static PyObject *_wrap_new_SingleChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15105 PyObject *resultobj = NULL;
d55e5bfc
RD
15106 wxWindow *arg1 = (wxWindow *) 0 ;
15107 wxString *arg2 = 0 ;
15108 wxString *arg3 = 0 ;
15109 int arg4 ;
15110 wxString *arg5 = (wxString *) 0 ;
15111 long arg6 = (long) wxCHOICEDLG_STYLE ;
15112 wxPoint const &arg7_defvalue = wxDefaultPosition ;
15113 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
15114 wxSingleChoiceDialog *result;
b411df4a
RD
15115 bool temp2 = false ;
15116 bool temp3 = false ;
36ed4f51 15117 wxPoint temp7 ;
d55e5bfc
RD
15118 PyObject * obj0 = 0 ;
15119 PyObject * obj1 = 0 ;
15120 PyObject * obj2 = 0 ;
15121 PyObject * obj3 = 0 ;
15122 PyObject * obj4 = 0 ;
15123 PyObject * obj5 = 0 ;
15124 char *kwnames[] = {
15125 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
15126 };
15127
15128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
15129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15130 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15131 {
15132 arg2 = wxString_in_helper(obj1);
15133 if (arg2 == NULL) SWIG_fail;
b411df4a 15134 temp2 = true;
d55e5bfc
RD
15135 }
15136 {
15137 arg3 = wxString_in_helper(obj2);
15138 if (arg3 == NULL) SWIG_fail;
b411df4a 15139 temp3 = true;
d55e5bfc
RD
15140 }
15141 {
15142 arg4 = PyList_Size(obj3);
15143 arg5 = wxString_LIST_helper(obj3);
15144 if (arg5 == NULL) SWIG_fail;
15145 }
15146 if (obj4) {
36ed4f51 15147 {
32fe5131 15148 arg6 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
15149 if (SWIG_arg_fail(6)) SWIG_fail;
15150 }
d55e5bfc
RD
15151 }
15152 if (obj5) {
15153 {
36ed4f51 15154 arg7 = &temp7;
d55e5bfc
RD
15155 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
15156 }
15157 }
15158 {
0439c23b 15159 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15160 PyThreadState* __tstate = wxPyBeginAllowThreads();
15161 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
15162
15163 wxPyEndAllowThreads(__tstate);
110da5b0 15164 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15165 }
15166 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
15167 {
15168 if (temp2)
15169 delete arg2;
15170 }
15171 {
15172 if (temp3)
15173 delete arg3;
15174 }
15175 {
15176 if (arg5) delete [] arg5;
15177 }
15178 return resultobj;
15179 fail:
15180 {
15181 if (temp2)
15182 delete arg2;
15183 }
15184 {
15185 if (temp3)
15186 delete arg3;
15187 }
15188 {
15189 if (arg5) delete [] arg5;
15190 }
15191 return NULL;
15192}
15193
15194
c370783e 15195static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15196 PyObject *resultobj = NULL;
d55e5bfc
RD
15197 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
15198 int result;
15199 PyObject * obj0 = 0 ;
15200 char *kwnames[] = {
15201 (char *) "self", NULL
15202 };
15203
15204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
15205 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
15206 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15207 {
15208 PyThreadState* __tstate = wxPyBeginAllowThreads();
15209 result = (int)(arg1)->GetSelection();
15210
15211 wxPyEndAllowThreads(__tstate);
15212 if (PyErr_Occurred()) SWIG_fail;
15213 }
36ed4f51 15214 {
32fe5131 15215 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 15216 }
d55e5bfc
RD
15217 return resultobj;
15218 fail:
15219 return NULL;
15220}
15221
15222
c370783e 15223static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15224 PyObject *resultobj = NULL;
d55e5bfc
RD
15225 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
15226 wxString result;
15227 PyObject * obj0 = 0 ;
15228 char *kwnames[] = {
15229 (char *) "self", NULL
15230 };
15231
15232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
15233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
15234 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15235 {
15236 PyThreadState* __tstate = wxPyBeginAllowThreads();
15237 result = (arg1)->GetStringSelection();
15238
15239 wxPyEndAllowThreads(__tstate);
15240 if (PyErr_Occurred()) SWIG_fail;
15241 }
15242 {
15243#if wxUSE_UNICODE
15244 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15245#else
15246 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15247#endif
15248 }
15249 return resultobj;
15250 fail:
15251 return NULL;
15252}
15253
15254
c370783e 15255static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15256 PyObject *resultobj = NULL;
d55e5bfc
RD
15257 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
15258 int arg2 ;
15259 PyObject * obj0 = 0 ;
15260 PyObject * obj1 = 0 ;
15261 char *kwnames[] = {
15262 (char *) "self",(char *) "sel", NULL
15263 };
15264
15265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15266 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
15267 if (SWIG_arg_fail(1)) SWIG_fail;
15268 {
32fe5131 15269 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
15270 if (SWIG_arg_fail(2)) SWIG_fail;
15271 }
d55e5bfc
RD
15272 {
15273 PyThreadState* __tstate = wxPyBeginAllowThreads();
15274 (arg1)->SetSelection(arg2);
15275
15276 wxPyEndAllowThreads(__tstate);
15277 if (PyErr_Occurred()) SWIG_fail;
15278 }
15279 Py_INCREF(Py_None); resultobj = Py_None;
15280 return resultobj;
15281 fail:
15282 return NULL;
15283}
15284
15285
c370783e 15286static PyObject * SingleChoiceDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15287 PyObject *obj;
15288 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15289 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
15290 Py_INCREF(obj);
15291 return Py_BuildValue((char *)"");
15292}
c370783e 15293static PyObject *_wrap_new_TextEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15294 PyObject *resultobj = NULL;
d55e5bfc
RD
15295 wxWindow *arg1 = (wxWindow *) 0 ;
15296 wxString *arg2 = 0 ;
15297 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
15298 wxString *arg3 = (wxString *) &arg3_defvalue ;
15299 wxString const &arg4_defvalue = wxPyEmptyString ;
15300 wxString *arg4 = (wxString *) &arg4_defvalue ;
070c48b4 15301 long arg5 = (long) wxTextEntryDialogStyle ;
d55e5bfc
RD
15302 wxPoint const &arg6_defvalue = wxDefaultPosition ;
15303 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
15304 wxTextEntryDialog *result;
b411df4a
RD
15305 bool temp2 = false ;
15306 bool temp3 = false ;
15307 bool temp4 = false ;
d55e5bfc
RD
15308 wxPoint temp6 ;
15309 PyObject * obj0 = 0 ;
15310 PyObject * obj1 = 0 ;
15311 PyObject * obj2 = 0 ;
15312 PyObject * obj3 = 0 ;
15313 PyObject * obj4 = 0 ;
15314 PyObject * obj5 = 0 ;
15315 char *kwnames[] = {
15316 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
15317 };
15318
15319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
15320 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15321 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15322 {
15323 arg2 = wxString_in_helper(obj1);
15324 if (arg2 == NULL) SWIG_fail;
b411df4a 15325 temp2 = true;
d55e5bfc
RD
15326 }
15327 if (obj2) {
15328 {
15329 arg3 = wxString_in_helper(obj2);
15330 if (arg3 == NULL) SWIG_fail;
b411df4a 15331 temp3 = true;
d55e5bfc
RD
15332 }
15333 }
15334 if (obj3) {
15335 {
15336 arg4 = wxString_in_helper(obj3);
15337 if (arg4 == NULL) SWIG_fail;
b411df4a 15338 temp4 = true;
d55e5bfc
RD
15339 }
15340 }
15341 if (obj4) {
36ed4f51 15342 {
32fe5131 15343 arg5 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
15344 if (SWIG_arg_fail(5)) SWIG_fail;
15345 }
d55e5bfc
RD
15346 }
15347 if (obj5) {
15348 {
15349 arg6 = &temp6;
15350 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
15351 }
15352 }
15353 {
0439c23b 15354 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15355 PyThreadState* __tstate = wxPyBeginAllowThreads();
15356 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
15357
15358 wxPyEndAllowThreads(__tstate);
110da5b0 15359 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15360 }
15361 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
15362 {
15363 if (temp2)
15364 delete arg2;
15365 }
15366 {
15367 if (temp3)
15368 delete arg3;
15369 }
15370 {
15371 if (temp4)
15372 delete arg4;
15373 }
15374 return resultobj;
15375 fail:
15376 {
15377 if (temp2)
15378 delete arg2;
15379 }
15380 {
15381 if (temp3)
15382 delete arg3;
15383 }
15384 {
15385 if (temp4)
15386 delete arg4;
15387 }
15388 return NULL;
15389}
15390
15391
c370783e 15392static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15393 PyObject *resultobj = NULL;
d55e5bfc
RD
15394 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
15395 wxString result;
15396 PyObject * obj0 = 0 ;
15397 char *kwnames[] = {
15398 (char *) "self", NULL
15399 };
15400
15401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
36ed4f51
RD
15402 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_EXCEPTION | 0);
15403 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15404 {
15405 PyThreadState* __tstate = wxPyBeginAllowThreads();
15406 result = (arg1)->GetValue();
15407
15408 wxPyEndAllowThreads(__tstate);
15409 if (PyErr_Occurred()) SWIG_fail;
15410 }
15411 {
15412#if wxUSE_UNICODE
15413 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15414#else
15415 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15416#endif
15417 }
15418 return resultobj;
15419 fail:
15420 return NULL;
15421}
15422
15423
c370783e 15424static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15425 PyObject *resultobj = NULL;
d55e5bfc
RD
15426 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
15427 wxString *arg2 = 0 ;
b411df4a 15428 bool temp2 = false ;
d55e5bfc
RD
15429 PyObject * obj0 = 0 ;
15430 PyObject * obj1 = 0 ;
15431 char *kwnames[] = {
15432 (char *) "self",(char *) "value", NULL
15433 };
15434
15435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15436 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_EXCEPTION | 0);
15437 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15438 {
15439 arg2 = wxString_in_helper(obj1);
15440 if (arg2 == NULL) SWIG_fail;
b411df4a 15441 temp2 = true;
d55e5bfc
RD
15442 }
15443 {
15444 PyThreadState* __tstate = wxPyBeginAllowThreads();
15445 (arg1)->SetValue((wxString const &)*arg2);
15446
15447 wxPyEndAllowThreads(__tstate);
15448 if (PyErr_Occurred()) SWIG_fail;
15449 }
15450 Py_INCREF(Py_None); resultobj = Py_None;
15451 {
15452 if (temp2)
15453 delete arg2;
15454 }
15455 return resultobj;
15456 fail:
15457 {
15458 if (temp2)
15459 delete arg2;
15460 }
15461 return NULL;
15462}
15463
15464
c370783e 15465static PyObject * TextEntryDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15466 PyObject *obj;
15467 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15468 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
15469 Py_INCREF(obj);
15470 return Py_BuildValue((char *)"");
15471}
070c48b4
RD
15472static int _wrap_GetPasswordFromUserPromptStr_set(PyObject *) {
15473 PyErr_SetString(PyExc_TypeError,"Variable GetPasswordFromUserPromptStr is read-only.");
15474 return 1;
15475}
15476
15477
36ed4f51 15478static PyObject *_wrap_GetPasswordFromUserPromptStr_get(void) {
32fe5131 15479 PyObject *pyobj = NULL;
070c48b4
RD
15480
15481 {
15482#if wxUSE_UNICODE
15483 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
15484#else
15485 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
15486#endif
15487 }
15488 return pyobj;
15489}
15490
15491
15492static PyObject *_wrap_new_PasswordEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15493 PyObject *resultobj = NULL;
070c48b4
RD
15494 wxWindow *arg1 = (wxWindow *) 0 ;
15495 wxString *arg2 = 0 ;
15496 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
15497 wxString *arg3 = (wxString *) &arg3_defvalue ;
15498 wxString const &arg4_defvalue = wxPyEmptyString ;
15499 wxString *arg4 = (wxString *) &arg4_defvalue ;
15500 long arg5 = (long) wxTextEntryDialogStyle ;
15501 wxPoint const &arg6_defvalue = wxDefaultPosition ;
15502 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
15503 wxPasswordEntryDialog *result;
15504 bool temp2 = false ;
15505 bool temp3 = false ;
15506 bool temp4 = false ;
15507 wxPoint temp6 ;
15508 PyObject * obj0 = 0 ;
15509 PyObject * obj1 = 0 ;
15510 PyObject * obj2 = 0 ;
15511 PyObject * obj3 = 0 ;
15512 PyObject * obj4 = 0 ;
15513 PyObject * obj5 = 0 ;
15514 char *kwnames[] = {
15515 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
15516 };
15517
15518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
15519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15520 if (SWIG_arg_fail(1)) SWIG_fail;
070c48b4
RD
15521 {
15522 arg2 = wxString_in_helper(obj1);
15523 if (arg2 == NULL) SWIG_fail;
15524 temp2 = true;
15525 }
15526 if (obj2) {
15527 {
15528 arg3 = wxString_in_helper(obj2);
15529 if (arg3 == NULL) SWIG_fail;
15530 temp3 = true;
15531 }
15532 }
15533 if (obj3) {
15534 {
15535 arg4 = wxString_in_helper(obj3);
15536 if (arg4 == NULL) SWIG_fail;
15537 temp4 = true;
15538 }
15539 }
15540 if (obj4) {
36ed4f51 15541 {
32fe5131 15542 arg5 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
15543 if (SWIG_arg_fail(5)) SWIG_fail;
15544 }
070c48b4
RD
15545 }
15546 if (obj5) {
15547 {
15548 arg6 = &temp6;
15549 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
15550 }
15551 }
15552 {
15553 PyThreadState* __tstate = wxPyBeginAllowThreads();
15554 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
15555
15556 wxPyEndAllowThreads(__tstate);
15557 if (PyErr_Occurred()) SWIG_fail;
15558 }
15559 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPasswordEntryDialog, 1);
15560 {
15561 if (temp2)
15562 delete arg2;
15563 }
15564 {
15565 if (temp3)
15566 delete arg3;
15567 }
15568 {
15569 if (temp4)
15570 delete arg4;
15571 }
15572 return resultobj;
15573 fail:
15574 {
15575 if (temp2)
15576 delete arg2;
15577 }
15578 {
15579 if (temp3)
15580 delete arg3;
15581 }
15582 {
15583 if (temp4)
15584 delete arg4;
15585 }
15586 return NULL;
15587}
15588
15589
15590static PyObject * PasswordEntryDialog_swigregister(PyObject *, PyObject *args) {
15591 PyObject *obj;
15592 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15593 SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog, obj);
15594 Py_INCREF(obj);
15595 return Py_BuildValue((char *)"");
15596}
c370783e 15597static PyObject *_wrap_new_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15598 PyObject *resultobj = NULL;
d55e5bfc
RD
15599 wxFontData *result;
15600 char *kwnames[] = {
15601 NULL
15602 };
15603
15604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
15605 {
15606 PyThreadState* __tstate = wxPyBeginAllowThreads();
15607 result = (wxFontData *)new wxFontData();
15608
15609 wxPyEndAllowThreads(__tstate);
15610 if (PyErr_Occurred()) SWIG_fail;
15611 }
15612 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
15613 return resultobj;
15614 fail:
15615 return NULL;
15616}
15617
15618
c370783e 15619static PyObject *_wrap_delete_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15620 PyObject *resultobj = NULL;
d55e5bfc
RD
15621 wxFontData *arg1 = (wxFontData *) 0 ;
15622 PyObject * obj0 = 0 ;
15623 char *kwnames[] = {
15624 (char *) "self", NULL
15625 };
15626
15627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
36ed4f51
RD
15628 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15629 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15630 {
15631 PyThreadState* __tstate = wxPyBeginAllowThreads();
15632 delete arg1;
15633
15634 wxPyEndAllowThreads(__tstate);
15635 if (PyErr_Occurred()) SWIG_fail;
15636 }
15637 Py_INCREF(Py_None); resultobj = Py_None;
15638 return resultobj;
15639 fail:
15640 return NULL;
15641}
15642
15643
c370783e 15644static PyObject *_wrap_FontData_EnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15645 PyObject *resultobj = NULL;
d55e5bfc
RD
15646 wxFontData *arg1 = (wxFontData *) 0 ;
15647 bool arg2 ;
15648 PyObject * obj0 = 0 ;
15649 PyObject * obj1 = 0 ;
15650 char *kwnames[] = {
15651 (char *) "self",(char *) "enable", NULL
15652 };
15653
15654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15656 if (SWIG_arg_fail(1)) SWIG_fail;
15657 {
32fe5131 15658 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
15659 if (SWIG_arg_fail(2)) SWIG_fail;
15660 }
d55e5bfc
RD
15661 {
15662 PyThreadState* __tstate = wxPyBeginAllowThreads();
15663 (arg1)->EnableEffects(arg2);
15664
15665 wxPyEndAllowThreads(__tstate);
15666 if (PyErr_Occurred()) SWIG_fail;
15667 }
15668 Py_INCREF(Py_None); resultobj = Py_None;
15669 return resultobj;
15670 fail:
15671 return NULL;
15672}
15673
15674
c370783e 15675static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15676 PyObject *resultobj = NULL;
d55e5bfc
RD
15677 wxFontData *arg1 = (wxFontData *) 0 ;
15678 bool result;
15679 PyObject * obj0 = 0 ;
15680 char *kwnames[] = {
15681 (char *) "self", NULL
15682 };
15683
15684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
36ed4f51
RD
15685 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15686 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15687 {
15688 PyThreadState* __tstate = wxPyBeginAllowThreads();
15689 result = (bool)(arg1)->GetAllowSymbols();
15690
15691 wxPyEndAllowThreads(__tstate);
15692 if (PyErr_Occurred()) SWIG_fail;
15693 }
15694 {
15695 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15696 }
15697 return resultobj;
15698 fail:
15699 return NULL;
15700}
15701
15702
c370783e 15703static PyObject *_wrap_FontData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15704 PyObject *resultobj = NULL;
d55e5bfc
RD
15705 wxFontData *arg1 = (wxFontData *) 0 ;
15706 wxColour result;
15707 PyObject * obj0 = 0 ;
15708 char *kwnames[] = {
15709 (char *) "self", NULL
15710 };
15711
15712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
15713 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15714 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15715 {
15716 PyThreadState* __tstate = wxPyBeginAllowThreads();
15717 result = (arg1)->GetColour();
15718
15719 wxPyEndAllowThreads(__tstate);
15720 if (PyErr_Occurred()) SWIG_fail;
15721 }
15722 {
15723 wxColour * resultptr;
32fe5131 15724 resultptr = new wxColour(static_cast<wxColour & >(result));
d55e5bfc
RD
15725 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
15726 }
15727 return resultobj;
15728 fail:
15729 return NULL;
15730}
15731
15732
c370783e 15733static PyObject *_wrap_FontData_GetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15734 PyObject *resultobj = NULL;
d55e5bfc
RD
15735 wxFontData *arg1 = (wxFontData *) 0 ;
15736 wxFont result;
15737 PyObject * obj0 = 0 ;
15738 char *kwnames[] = {
15739 (char *) "self", NULL
15740 };
15741
15742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
36ed4f51
RD
15743 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15744 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15745 {
15746 PyThreadState* __tstate = wxPyBeginAllowThreads();
15747 result = (arg1)->GetChosenFont();
15748
15749 wxPyEndAllowThreads(__tstate);
15750 if (PyErr_Occurred()) SWIG_fail;
15751 }
15752 {
15753 wxFont * resultptr;
32fe5131 15754 resultptr = new wxFont(static_cast<wxFont & >(result));
d55e5bfc
RD
15755 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
15756 }
15757 return resultobj;
15758 fail:
15759 return NULL;
15760}
15761
15762
c370783e 15763static PyObject *_wrap_FontData_GetEnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15764 PyObject *resultobj = NULL;
d55e5bfc
RD
15765 wxFontData *arg1 = (wxFontData *) 0 ;
15766 bool result;
15767 PyObject * obj0 = 0 ;
15768 char *kwnames[] = {
15769 (char *) "self", NULL
15770 };
15771
15772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
36ed4f51
RD
15773 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15774 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15775 {
15776 PyThreadState* __tstate = wxPyBeginAllowThreads();
15777 result = (bool)(arg1)->GetEnableEffects();
15778
15779 wxPyEndAllowThreads(__tstate);
15780 if (PyErr_Occurred()) SWIG_fail;
15781 }
15782 {
15783 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15784 }
15785 return resultobj;
15786 fail:
15787 return NULL;
15788}
15789
15790
c370783e 15791static PyObject *_wrap_FontData_GetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15792 PyObject *resultobj = NULL;
d55e5bfc
RD
15793 wxFontData *arg1 = (wxFontData *) 0 ;
15794 wxFont result;
15795 PyObject * obj0 = 0 ;
15796 char *kwnames[] = {
15797 (char *) "self", NULL
15798 };
15799
15800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
36ed4f51
RD
15801 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15802 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15803 {
15804 PyThreadState* __tstate = wxPyBeginAllowThreads();
15805 result = (arg1)->GetInitialFont();
15806
15807 wxPyEndAllowThreads(__tstate);
15808 if (PyErr_Occurred()) SWIG_fail;
15809 }
15810 {
15811 wxFont * resultptr;
32fe5131 15812 resultptr = new wxFont(static_cast<wxFont & >(result));
d55e5bfc
RD
15813 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
15814 }
15815 return resultobj;
15816 fail:
15817 return NULL;
15818}
15819
15820
c370783e 15821static PyObject *_wrap_FontData_GetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15822 PyObject *resultobj = NULL;
d55e5bfc
RD
15823 wxFontData *arg1 = (wxFontData *) 0 ;
15824 bool result;
15825 PyObject * obj0 = 0 ;
15826 char *kwnames[] = {
15827 (char *) "self", NULL
15828 };
15829
15830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
36ed4f51
RD
15831 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15832 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15833 {
15834 PyThreadState* __tstate = wxPyBeginAllowThreads();
15835 result = (bool)(arg1)->GetShowHelp();
15836
15837 wxPyEndAllowThreads(__tstate);
15838 if (PyErr_Occurred()) SWIG_fail;
15839 }
15840 {
15841 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15842 }
15843 return resultobj;
15844 fail:
15845 return NULL;
15846}
15847
15848
c370783e 15849static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15850 PyObject *resultobj = NULL;
d55e5bfc
RD
15851 wxFontData *arg1 = (wxFontData *) 0 ;
15852 bool arg2 ;
15853 PyObject * obj0 = 0 ;
15854 PyObject * obj1 = 0 ;
15855 char *kwnames[] = {
15856 (char *) "self",(char *) "allowSymbols", NULL
15857 };
15858
15859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15860 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15861 if (SWIG_arg_fail(1)) SWIG_fail;
15862 {
32fe5131 15863 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
15864 if (SWIG_arg_fail(2)) SWIG_fail;
15865 }
d55e5bfc
RD
15866 {
15867 PyThreadState* __tstate = wxPyBeginAllowThreads();
15868 (arg1)->SetAllowSymbols(arg2);
15869
15870 wxPyEndAllowThreads(__tstate);
15871 if (PyErr_Occurred()) SWIG_fail;
15872 }
15873 Py_INCREF(Py_None); resultobj = Py_None;
15874 return resultobj;
15875 fail:
15876 return NULL;
15877}
15878
15879
c370783e 15880static PyObject *_wrap_FontData_SetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15881 PyObject *resultobj = NULL;
d55e5bfc
RD
15882 wxFontData *arg1 = (wxFontData *) 0 ;
15883 wxFont *arg2 = 0 ;
15884 PyObject * obj0 = 0 ;
15885 PyObject * obj1 = 0 ;
15886 char *kwnames[] = {
15887 (char *) "self",(char *) "font", NULL
15888 };
15889
15890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15891 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15892 if (SWIG_arg_fail(1)) SWIG_fail;
15893 {
15894 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
15895 if (SWIG_arg_fail(2)) SWIG_fail;
15896 if (arg2 == NULL) {
15897 SWIG_null_ref("wxFont");
15898 }
15899 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
15900 }
15901 {
15902 PyThreadState* __tstate = wxPyBeginAllowThreads();
15903 (arg1)->SetChosenFont((wxFont const &)*arg2);
15904
15905 wxPyEndAllowThreads(__tstate);
15906 if (PyErr_Occurred()) SWIG_fail;
15907 }
15908 Py_INCREF(Py_None); resultobj = Py_None;
15909 return resultobj;
15910 fail:
15911 return NULL;
15912}
15913
15914
c370783e 15915static PyObject *_wrap_FontData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15916 PyObject *resultobj = NULL;
d55e5bfc
RD
15917 wxFontData *arg1 = (wxFontData *) 0 ;
15918 wxColour *arg2 = 0 ;
15919 wxColour temp2 ;
15920 PyObject * obj0 = 0 ;
15921 PyObject * obj1 = 0 ;
15922 char *kwnames[] = {
15923 (char *) "self",(char *) "colour", NULL
15924 };
15925
15926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15927 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15928 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15929 {
15930 arg2 = &temp2;
15931 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15932 }
15933 {
15934 PyThreadState* __tstate = wxPyBeginAllowThreads();
15935 (arg1)->SetColour((wxColour const &)*arg2);
15936
15937 wxPyEndAllowThreads(__tstate);
15938 if (PyErr_Occurred()) SWIG_fail;
15939 }
15940 Py_INCREF(Py_None); resultobj = Py_None;
15941 return resultobj;
15942 fail:
15943 return NULL;
15944}
15945
15946
c370783e 15947static PyObject *_wrap_FontData_SetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15948 PyObject *resultobj = NULL;
d55e5bfc
RD
15949 wxFontData *arg1 = (wxFontData *) 0 ;
15950 wxFont *arg2 = 0 ;
15951 PyObject * obj0 = 0 ;
15952 PyObject * obj1 = 0 ;
15953 char *kwnames[] = {
15954 (char *) "self",(char *) "font", NULL
15955 };
15956
15957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15958 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15959 if (SWIG_arg_fail(1)) SWIG_fail;
15960 {
15961 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
15962 if (SWIG_arg_fail(2)) SWIG_fail;
15963 if (arg2 == NULL) {
15964 SWIG_null_ref("wxFont");
15965 }
15966 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
15967 }
15968 {
15969 PyThreadState* __tstate = wxPyBeginAllowThreads();
15970 (arg1)->SetInitialFont((wxFont const &)*arg2);
15971
15972 wxPyEndAllowThreads(__tstate);
15973 if (PyErr_Occurred()) SWIG_fail;
15974 }
15975 Py_INCREF(Py_None); resultobj = Py_None;
15976 return resultobj;
15977 fail:
15978 return NULL;
15979}
15980
15981
c370783e 15982static PyObject *_wrap_FontData_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15983 PyObject *resultobj = NULL;
d55e5bfc
RD
15984 wxFontData *arg1 = (wxFontData *) 0 ;
15985 int arg2 ;
15986 int arg3 ;
15987 PyObject * obj0 = 0 ;
15988 PyObject * obj1 = 0 ;
15989 PyObject * obj2 = 0 ;
15990 char *kwnames[] = {
15991 (char *) "self",(char *) "min",(char *) "max", NULL
15992 };
15993
15994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
15995 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15996 if (SWIG_arg_fail(1)) SWIG_fail;
15997 {
32fe5131 15998 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
15999 if (SWIG_arg_fail(2)) SWIG_fail;
16000 }
16001 {
32fe5131 16002 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
16003 if (SWIG_arg_fail(3)) SWIG_fail;
16004 }
d55e5bfc
RD
16005 {
16006 PyThreadState* __tstate = wxPyBeginAllowThreads();
16007 (arg1)->SetRange(arg2,arg3);
16008
16009 wxPyEndAllowThreads(__tstate);
16010 if (PyErr_Occurred()) SWIG_fail;
16011 }
16012 Py_INCREF(Py_None); resultobj = Py_None;
16013 return resultobj;
16014 fail:
16015 return NULL;
16016}
16017
16018
c370783e 16019static PyObject *_wrap_FontData_SetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16020 PyObject *resultobj = NULL;
d55e5bfc
RD
16021 wxFontData *arg1 = (wxFontData *) 0 ;
16022 bool arg2 ;
16023 PyObject * obj0 = 0 ;
16024 PyObject * obj1 = 0 ;
16025 char *kwnames[] = {
16026 (char *) "self",(char *) "showHelp", NULL
16027 };
16028
16029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16030 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
16031 if (SWIG_arg_fail(1)) SWIG_fail;
16032 {
32fe5131 16033 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
16034 if (SWIG_arg_fail(2)) SWIG_fail;
16035 }
d55e5bfc
RD
16036 {
16037 PyThreadState* __tstate = wxPyBeginAllowThreads();
16038 (arg1)->SetShowHelp(arg2);
16039
16040 wxPyEndAllowThreads(__tstate);
16041 if (PyErr_Occurred()) SWIG_fail;
16042 }
16043 Py_INCREF(Py_None); resultobj = Py_None;
16044 return resultobj;
16045 fail:
16046 return NULL;
16047}
16048
16049
c370783e 16050static PyObject * FontData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16051 PyObject *obj;
16052 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16053 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
16054 Py_INCREF(obj);
16055 return Py_BuildValue((char *)"");
16056}
c370783e 16057static PyObject *_wrap_new_FontDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16058 PyObject *resultobj = NULL;
d55e5bfc
RD
16059 wxWindow *arg1 = (wxWindow *) 0 ;
16060 wxFontData *arg2 = 0 ;
16061 wxFontDialog *result;
16062 PyObject * obj0 = 0 ;
16063 PyObject * obj1 = 0 ;
16064 char *kwnames[] = {
16065 (char *) "parent",(char *) "data", NULL
16066 };
16067
16068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16069 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16070 if (SWIG_arg_fail(1)) SWIG_fail;
16071 {
16072 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
16073 if (SWIG_arg_fail(2)) SWIG_fail;
16074 if (arg2 == NULL) {
16075 SWIG_null_ref("wxFontData");
16076 }
16077 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
16078 }
16079 {
0439c23b 16080 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
16081 PyThreadState* __tstate = wxPyBeginAllowThreads();
16082 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
16083
16084 wxPyEndAllowThreads(__tstate);
110da5b0 16085 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
16086 }
16087 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
16088 return resultobj;
16089 fail:
16090 return NULL;
16091}
16092
16093
c370783e 16094static PyObject *_wrap_FontDialog_GetFontData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16095 PyObject *resultobj = NULL;
d55e5bfc
RD
16096 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
16097 wxFontData *result;
16098 PyObject * obj0 = 0 ;
16099 char *kwnames[] = {
32fe5131
RD
16100 (char *) "self", NULL
16101 };
16102
16103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
16104 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontDialog, SWIG_POINTER_EXCEPTION | 0);
16105 if (SWIG_arg_fail(1)) SWIG_fail;
16106 {
16107 PyThreadState* __tstate = wxPyBeginAllowThreads();
16108 {
16109 wxFontData &_result_ref = (arg1)->GetFontData();
16110 result = (wxFontData *) &_result_ref;
16111 }
16112
16113 wxPyEndAllowThreads(__tstate);
16114 if (PyErr_Occurred()) SWIG_fail;
16115 }
16116 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
16117 return resultobj;
16118 fail:
16119 return NULL;
16120}
16121
16122
16123static PyObject * FontDialog_swigregister(PyObject *, PyObject *args) {
16124 PyObject *obj;
16125 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16126 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
16127 Py_INCREF(obj);
16128 return Py_BuildValue((char *)"");
16129}
16130static PyObject *_wrap_GetFontFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
16131 PyObject *resultobj = NULL;
16132 wxWindow *arg1 = (wxWindow *) NULL ;
16133 wxFont const &arg2_defvalue = wxNullFont ;
16134 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
16135 wxString const &arg3_defvalue = wxPyEmptyString ;
16136 wxString *arg3 = (wxString *) &arg3_defvalue ;
16137 wxFont result;
16138 bool temp3 = false ;
16139 PyObject * obj0 = 0 ;
16140 PyObject * obj1 = 0 ;
16141 PyObject * obj2 = 0 ;
16142 char *kwnames[] = {
16143 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
d55e5bfc
RD
16144 };
16145
32fe5131
RD
16146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) goto fail;
16147 if (obj0) {
16148 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16149 if (SWIG_arg_fail(1)) SWIG_fail;
16150 }
16151 if (obj1) {
d55e5bfc 16152 {
32fe5131
RD
16153 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
16154 if (SWIG_arg_fail(2)) SWIG_fail;
16155 if (arg2 == NULL) {
16156 SWIG_null_ref("wxFont");
16157 }
16158 if (SWIG_arg_fail(2)) SWIG_fail;
16159 }
16160 }
16161 if (obj2) {
16162 {
16163 arg3 = wxString_in_helper(obj2);
16164 if (arg3 == NULL) SWIG_fail;
16165 temp3 = true;
d55e5bfc 16166 }
32fe5131
RD
16167 }
16168 {
16169 PyThreadState* __tstate = wxPyBeginAllowThreads();
16170 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
d55e5bfc
RD
16171
16172 wxPyEndAllowThreads(__tstate);
16173 if (PyErr_Occurred()) SWIG_fail;
16174 }
32fe5131
RD
16175 {
16176 wxFont * resultptr;
16177 resultptr = new wxFont(static_cast<wxFont & >(result));
16178 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
16179 }
16180 {
16181 if (temp3)
16182 delete arg3;
16183 }
d55e5bfc
RD
16184 return resultobj;
16185 fail:
32fe5131
RD
16186 {
16187 if (temp3)
16188 delete arg3;
16189 }
d55e5bfc
RD
16190 return NULL;
16191}
16192
16193
c370783e 16194static PyObject *_wrap_new_MessageDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16195 PyObject *resultobj = NULL;
d55e5bfc
RD
16196 wxWindow *arg1 = (wxWindow *) 0 ;
16197 wxString *arg2 = 0 ;
16198 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
16199 wxString *arg3 = (wxString *) &arg3_defvalue ;
16200 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
16201 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16202 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16203 wxMessageDialog *result;
b411df4a
RD
16204 bool temp2 = false ;
16205 bool temp3 = false ;
d55e5bfc
RD
16206 wxPoint temp5 ;
16207 PyObject * obj0 = 0 ;
16208 PyObject * obj1 = 0 ;
16209 PyObject * obj2 = 0 ;
16210 PyObject * obj3 = 0 ;
16211 PyObject * obj4 = 0 ;
16212 char *kwnames[] = {
16213 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
16214 };
16215
16216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
16217 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16218 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16219 {
16220 arg2 = wxString_in_helper(obj1);
16221 if (arg2 == NULL) SWIG_fail;
b411df4a 16222 temp2 = true;
d55e5bfc
RD
16223 }
16224 if (obj2) {
16225 {
16226 arg3 = wxString_in_helper(obj2);
16227 if (arg3 == NULL) SWIG_fail;
b411df4a 16228 temp3 = true;
d55e5bfc
RD
16229 }
16230 }
16231 if (obj3) {
36ed4f51 16232 {
32fe5131 16233 arg4 = static_cast<long >(SWIG_As_long(obj3));
36ed4f51
RD
16234 if (SWIG_arg_fail(4)) SWIG_fail;
16235 }
d55e5bfc
RD
16236 }
16237 if (obj4) {
16238 {
16239 arg5 = &temp5;
16240 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16241 }
16242 }
16243 {
0439c23b 16244 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
16245 PyThreadState* __tstate = wxPyBeginAllowThreads();
16246 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
16247
16248 wxPyEndAllowThreads(__tstate);
110da5b0 16249 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
16250 }
16251 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
16252 {
16253 if (temp2)
16254 delete arg2;
16255 }
16256 {
16257 if (temp3)
16258 delete arg3;
16259 }
16260 return resultobj;
16261 fail:
16262 {
16263 if (temp2)
16264 delete arg2;
16265 }
16266 {
16267 if (temp3)
16268 delete arg3;
16269 }
16270 return NULL;
16271}
16272
16273
c370783e 16274static PyObject * MessageDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16275 PyObject *obj;
16276 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16277 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
16278 Py_INCREF(obj);
16279 return Py_BuildValue((char *)"");
16280}
c370783e 16281static PyObject *_wrap_new_ProgressDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16282 PyObject *resultobj = NULL;
d55e5bfc
RD
16283 wxString *arg1 = 0 ;
16284 wxString *arg2 = 0 ;
16285 int arg3 = (int) 100 ;
16286 wxWindow *arg4 = (wxWindow *) NULL ;
16287 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
16288 wxProgressDialog *result;
b411df4a
RD
16289 bool temp1 = false ;
16290 bool temp2 = false ;
d55e5bfc
RD
16291 PyObject * obj0 = 0 ;
16292 PyObject * obj1 = 0 ;
16293 PyObject * obj2 = 0 ;
16294 PyObject * obj3 = 0 ;
16295 PyObject * obj4 = 0 ;
16296 char *kwnames[] = {
16297 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
16298 };
16299
16300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16301 {
16302 arg1 = wxString_in_helper(obj0);
16303 if (arg1 == NULL) SWIG_fail;
b411df4a 16304 temp1 = true;
d55e5bfc
RD
16305 }
16306 {
16307 arg2 = wxString_in_helper(obj1);
16308 if (arg2 == NULL) SWIG_fail;
b411df4a 16309 temp2 = true;
d55e5bfc
RD
16310 }
16311 if (obj2) {
36ed4f51 16312 {
32fe5131 16313 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
16314 if (SWIG_arg_fail(3)) SWIG_fail;
16315 }
d55e5bfc
RD
16316 }
16317 if (obj3) {
36ed4f51
RD
16318 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16319 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
16320 }
16321 if (obj4) {
36ed4f51 16322 {
32fe5131 16323 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
16324 if (SWIG_arg_fail(5)) SWIG_fail;
16325 }
d55e5bfc
RD
16326 }
16327 {
0439c23b 16328 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
16329 PyThreadState* __tstate = wxPyBeginAllowThreads();
16330 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
16331
16332 wxPyEndAllowThreads(__tstate);
110da5b0 16333 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
16334 }
16335 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
16336 {
16337 if (temp1)
16338 delete arg1;
16339 }
16340 {
16341 if (temp2)
16342 delete arg2;
16343 }
16344 return resultobj;
16345 fail:
16346 {
16347 if (temp1)
16348 delete arg1;
16349 }
16350 {
16351 if (temp2)
16352 delete arg2;
16353 }
16354 return NULL;
16355}
16356
16357
c370783e 16358static PyObject *_wrap_ProgressDialog_Update(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16359 PyObject *resultobj = NULL;
d55e5bfc
RD
16360 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
16361 int arg2 ;
16362 wxString const &arg3_defvalue = wxPyEmptyString ;
16363 wxString *arg3 = (wxString *) &arg3_defvalue ;
16364 bool result;
b411df4a 16365 bool temp3 = false ;
d55e5bfc
RD
16366 PyObject * obj0 = 0 ;
16367 PyObject * obj1 = 0 ;
16368 PyObject * obj2 = 0 ;
16369 char *kwnames[] = {
16370 (char *) "self",(char *) "value",(char *) "newmsg", NULL
16371 };
16372
16373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
16374 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0);
16375 if (SWIG_arg_fail(1)) SWIG_fail;
16376 {
32fe5131 16377 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
16378 if (SWIG_arg_fail(2)) SWIG_fail;
16379 }
d55e5bfc
RD
16380 if (obj2) {
16381 {
16382 arg3 = wxString_in_helper(obj2);
16383 if (arg3 == NULL) SWIG_fail;
b411df4a 16384 temp3 = true;
d55e5bfc
RD
16385 }
16386 }
16387 {
16388 PyThreadState* __tstate = wxPyBeginAllowThreads();
16389 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
16390
16391 wxPyEndAllowThreads(__tstate);
16392 if (PyErr_Occurred()) SWIG_fail;
16393 }
16394 {
16395 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16396 }
16397 {
16398 if (temp3)
16399 delete arg3;
16400 }
16401 return resultobj;
16402 fail:
16403 {
16404 if (temp3)
16405 delete arg3;
16406 }
16407 return NULL;
16408}
16409
16410
c370783e 16411static PyObject *_wrap_ProgressDialog_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16412 PyObject *resultobj = NULL;
d55e5bfc
RD
16413 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
16414 PyObject * obj0 = 0 ;
16415 char *kwnames[] = {
16416 (char *) "self", NULL
16417 };
16418
16419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
36ed4f51
RD
16420 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0);
16421 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16422 {
16423 PyThreadState* __tstate = wxPyBeginAllowThreads();
16424 (arg1)->Resume();
16425
16426 wxPyEndAllowThreads(__tstate);
16427 if (PyErr_Occurred()) SWIG_fail;
16428 }
16429 Py_INCREF(Py_None); resultobj = Py_None;
16430 return resultobj;
16431 fail:
16432 return NULL;
16433}
16434
16435
c370783e 16436static PyObject * ProgressDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16437 PyObject *obj;
16438 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16439 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
16440 Py_INCREF(obj);
16441 return Py_BuildValue((char *)"");
16442}
c370783e 16443static PyObject *_wrap_new_FindDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16444 PyObject *resultobj = NULL;
d55e5bfc
RD
16445 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16446 int arg2 = (int) 0 ;
16447 wxFindDialogEvent *result;
16448 PyObject * obj0 = 0 ;
16449 PyObject * obj1 = 0 ;
16450 char *kwnames[] = {
16451 (char *) "commandType",(char *) "id", NULL
16452 };
16453
16454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
16455 if (obj0) {
36ed4f51 16456 {
32fe5131 16457 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
36ed4f51
RD
16458 if (SWIG_arg_fail(1)) SWIG_fail;
16459 }
d55e5bfc
RD
16460 }
16461 if (obj1) {
36ed4f51 16462 {
32fe5131 16463 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
16464 if (SWIG_arg_fail(2)) SWIG_fail;
16465 }
d55e5bfc
RD
16466 }
16467 {
16468 PyThreadState* __tstate = wxPyBeginAllowThreads();
16469 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
16470
16471 wxPyEndAllowThreads(__tstate);
16472 if (PyErr_Occurred()) SWIG_fail;
16473 }
16474 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
16475 return resultobj;
16476 fail:
16477 return NULL;
16478}
16479
16480
c370783e 16481static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16482 PyObject *resultobj = NULL;
d55e5bfc
RD
16483 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16484 int result;
16485 PyObject * obj0 = 0 ;
16486 char *kwnames[] = {
16487 (char *) "self", NULL
16488 };
16489
16490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
36ed4f51
RD
16491 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16492 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16493 {
16494 PyThreadState* __tstate = wxPyBeginAllowThreads();
16495 result = (int)(arg1)->GetFlags();
16496
16497 wxPyEndAllowThreads(__tstate);
16498 if (PyErr_Occurred()) SWIG_fail;
16499 }
36ed4f51 16500 {
32fe5131 16501 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 16502 }
d55e5bfc
RD
16503 return resultobj;
16504 fail:
16505 return NULL;
16506}
16507
16508
c370783e 16509static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16510 PyObject *resultobj = NULL;
d55e5bfc
RD
16511 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16512 wxString *result;
16513 PyObject * obj0 = 0 ;
16514 char *kwnames[] = {
16515 (char *) "self", NULL
16516 };
16517
16518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
36ed4f51
RD
16519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16520 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16521 {
16522 PyThreadState* __tstate = wxPyBeginAllowThreads();
16523 {
16524 wxString const &_result_ref = (arg1)->GetFindString();
16525 result = (wxString *) &_result_ref;
16526 }
16527
16528 wxPyEndAllowThreads(__tstate);
16529 if (PyErr_Occurred()) SWIG_fail;
16530 }
16531 {
16532#if wxUSE_UNICODE
16533 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16534#else
16535 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16536#endif
16537 }
16538 return resultobj;
16539 fail:
16540 return NULL;
16541}
16542
16543
c370783e 16544static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16545 PyObject *resultobj = NULL;
d55e5bfc
RD
16546 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16547 wxString *result;
16548 PyObject * obj0 = 0 ;
16549 char *kwnames[] = {
16550 (char *) "self", NULL
16551 };
16552
16553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
36ed4f51
RD
16554 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16555 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16556 {
16557 PyThreadState* __tstate = wxPyBeginAllowThreads();
16558 {
16559 wxString const &_result_ref = (arg1)->GetReplaceString();
16560 result = (wxString *) &_result_ref;
16561 }
16562
16563 wxPyEndAllowThreads(__tstate);
16564 if (PyErr_Occurred()) SWIG_fail;
16565 }
16566 {
16567#if wxUSE_UNICODE
16568 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16569#else
16570 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16571#endif
16572 }
16573 return resultobj;
16574 fail:
16575 return NULL;
16576}
16577
16578
c370783e 16579static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16580 PyObject *resultobj = NULL;
d55e5bfc
RD
16581 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16582 wxFindReplaceDialog *result;
16583 PyObject * obj0 = 0 ;
16584 char *kwnames[] = {
16585 (char *) "self", NULL
16586 };
16587
16588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
36ed4f51
RD
16589 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16590 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16591 {
16592 PyThreadState* __tstate = wxPyBeginAllowThreads();
16593 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
16594
16595 wxPyEndAllowThreads(__tstate);
16596 if (PyErr_Occurred()) SWIG_fail;
16597 }
16598 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
16599 return resultobj;
16600 fail:
16601 return NULL;
16602}
16603
16604
c370783e 16605static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16606 PyObject *resultobj = NULL;
d55e5bfc
RD
16607 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16608 int arg2 ;
16609 PyObject * obj0 = 0 ;
16610 PyObject * obj1 = 0 ;
16611 char *kwnames[] = {
16612 (char *) "self",(char *) "flags", NULL
16613 };
16614
16615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16616 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16617 if (SWIG_arg_fail(1)) SWIG_fail;
16618 {
32fe5131 16619 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
16620 if (SWIG_arg_fail(2)) SWIG_fail;
16621 }
d55e5bfc
RD
16622 {
16623 PyThreadState* __tstate = wxPyBeginAllowThreads();
16624 (arg1)->SetFlags(arg2);
16625
16626 wxPyEndAllowThreads(__tstate);
16627 if (PyErr_Occurred()) SWIG_fail;
16628 }
16629 Py_INCREF(Py_None); resultobj = Py_None;
16630 return resultobj;
16631 fail:
16632 return NULL;
16633}
16634
16635
c370783e 16636static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16637 PyObject *resultobj = NULL;
d55e5bfc
RD
16638 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16639 wxString *arg2 = 0 ;
b411df4a 16640 bool temp2 = false ;
d55e5bfc
RD
16641 PyObject * obj0 = 0 ;
16642 PyObject * obj1 = 0 ;
16643 char *kwnames[] = {
16644 (char *) "self",(char *) "str", NULL
16645 };
16646
16647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16648 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16649 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16650 {
16651 arg2 = wxString_in_helper(obj1);
16652 if (arg2 == NULL) SWIG_fail;
b411df4a 16653 temp2 = true;
d55e5bfc
RD
16654 }
16655 {
16656 PyThreadState* __tstate = wxPyBeginAllowThreads();
16657 (arg1)->SetFindString((wxString const &)*arg2);
16658
16659 wxPyEndAllowThreads(__tstate);
16660 if (PyErr_Occurred()) SWIG_fail;
16661 }
16662 Py_INCREF(Py_None); resultobj = Py_None;
16663 {
16664 if (temp2)
16665 delete arg2;
16666 }
16667 return resultobj;
16668 fail:
16669 {
16670 if (temp2)
16671 delete arg2;
16672 }
16673 return NULL;
16674}
16675
16676
c370783e 16677static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16678 PyObject *resultobj = NULL;
d55e5bfc
RD
16679 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16680 wxString *arg2 = 0 ;
b411df4a 16681 bool temp2 = false ;
d55e5bfc
RD
16682 PyObject * obj0 = 0 ;
16683 PyObject * obj1 = 0 ;
16684 char *kwnames[] = {
16685 (char *) "self",(char *) "str", NULL
16686 };
16687
16688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16689 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16690 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16691 {
16692 arg2 = wxString_in_helper(obj1);
16693 if (arg2 == NULL) SWIG_fail;
b411df4a 16694 temp2 = true;
d55e5bfc
RD
16695 }
16696 {
16697 PyThreadState* __tstate = wxPyBeginAllowThreads();
16698 (arg1)->SetReplaceString((wxString const &)*arg2);
16699
16700 wxPyEndAllowThreads(__tstate);
16701 if (PyErr_Occurred()) SWIG_fail;
16702 }
16703 Py_INCREF(Py_None); resultobj = Py_None;
16704 {
16705 if (temp2)
16706 delete arg2;
16707 }
16708 return resultobj;
16709 fail:
16710 {
16711 if (temp2)
16712 delete arg2;
16713 }
16714 return NULL;
16715}
16716
16717
c370783e 16718static PyObject * FindDialogEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16719 PyObject *obj;
16720 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16721 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
16722 Py_INCREF(obj);
16723 return Py_BuildValue((char *)"");
16724}
c370783e 16725static PyObject *_wrap_new_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16726 PyObject *resultobj = NULL;
d55e5bfc
RD
16727 int arg1 = (int) 0 ;
16728 wxFindReplaceData *result;
16729 PyObject * obj0 = 0 ;
16730 char *kwnames[] = {
16731 (char *) "flags", NULL
16732 };
16733
16734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
16735 if (obj0) {
36ed4f51 16736 {
32fe5131 16737 arg1 = static_cast<int >(SWIG_As_int(obj0));
36ed4f51
RD
16738 if (SWIG_arg_fail(1)) SWIG_fail;
16739 }
d55e5bfc
RD
16740 }
16741 {
16742 PyThreadState* __tstate = wxPyBeginAllowThreads();
16743 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
16744
16745 wxPyEndAllowThreads(__tstate);
16746 if (PyErr_Occurred()) SWIG_fail;
16747 }
16748 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
16749 return resultobj;
16750 fail:
16751 return NULL;
16752}
16753
16754
c370783e 16755static PyObject *_wrap_delete_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16756 PyObject *resultobj = NULL;
d55e5bfc
RD
16757 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16758 PyObject * obj0 = 0 ;
16759 char *kwnames[] = {
16760 (char *) "self", NULL
16761 };
16762
16763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
36ed4f51
RD
16764 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16765 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16766 {
16767 PyThreadState* __tstate = wxPyBeginAllowThreads();
16768 delete arg1;
16769
16770 wxPyEndAllowThreads(__tstate);
16771 if (PyErr_Occurred()) SWIG_fail;
16772 }
16773 Py_INCREF(Py_None); resultobj = Py_None;
16774 return resultobj;
16775 fail:
16776 return NULL;
16777}
16778
16779
c370783e 16780static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16781 PyObject *resultobj = NULL;
d55e5bfc
RD
16782 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16783 wxString *result;
16784 PyObject * obj0 = 0 ;
16785 char *kwnames[] = {
16786 (char *) "self", NULL
16787 };
16788
16789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
36ed4f51
RD
16790 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16791 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16792 {
16793 PyThreadState* __tstate = wxPyBeginAllowThreads();
16794 {
16795 wxString const &_result_ref = (arg1)->GetFindString();
16796 result = (wxString *) &_result_ref;
16797 }
16798
16799 wxPyEndAllowThreads(__tstate);
16800 if (PyErr_Occurred()) SWIG_fail;
16801 }
16802 {
16803#if wxUSE_UNICODE
16804 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16805#else
16806 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16807#endif
16808 }
16809 return resultobj;
16810 fail:
16811 return NULL;
16812}
16813
16814
c370783e 16815static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16816 PyObject *resultobj = NULL;
d55e5bfc
RD
16817 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16818 wxString *result;
16819 PyObject * obj0 = 0 ;
16820 char *kwnames[] = {
16821 (char *) "self", NULL
16822 };
16823
16824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
36ed4f51
RD
16825 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16826 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16827 {
16828 PyThreadState* __tstate = wxPyBeginAllowThreads();
16829 {
16830 wxString const &_result_ref = (arg1)->GetReplaceString();
16831 result = (wxString *) &_result_ref;
16832 }
16833
16834 wxPyEndAllowThreads(__tstate);
16835 if (PyErr_Occurred()) SWIG_fail;
16836 }
16837 {
16838#if wxUSE_UNICODE
16839 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16840#else
16841 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16842#endif
16843 }
16844 return resultobj;
16845 fail:
16846 return NULL;
16847}
16848
16849
c370783e 16850static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16851 PyObject *resultobj = NULL;
d55e5bfc
RD
16852 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16853 int result;
16854 PyObject * obj0 = 0 ;
16855 char *kwnames[] = {
16856 (char *) "self", NULL
16857 };
16858
16859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
36ed4f51
RD
16860 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16861 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16862 {
16863 PyThreadState* __tstate = wxPyBeginAllowThreads();
16864 result = (int)(arg1)->GetFlags();
16865
16866 wxPyEndAllowThreads(__tstate);
16867 if (PyErr_Occurred()) SWIG_fail;
16868 }
36ed4f51 16869 {
32fe5131 16870 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 16871 }
d55e5bfc
RD
16872 return resultobj;
16873 fail:
16874 return NULL;
16875}
16876
16877
c370783e 16878static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16879 PyObject *resultobj = NULL;
d55e5bfc
RD
16880 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16881 int arg2 ;
16882 PyObject * obj0 = 0 ;
16883 PyObject * obj1 = 0 ;
16884 char *kwnames[] = {
16885 (char *) "self",(char *) "flags", NULL
16886 };
16887
16888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16889 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16890 if (SWIG_arg_fail(1)) SWIG_fail;
16891 {
32fe5131 16892 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
16893 if (SWIG_arg_fail(2)) SWIG_fail;
16894 }
d55e5bfc
RD
16895 {
16896 PyThreadState* __tstate = wxPyBeginAllowThreads();
16897 (arg1)->SetFlags(arg2);
16898
16899 wxPyEndAllowThreads(__tstate);
16900 if (PyErr_Occurred()) SWIG_fail;
16901 }
16902 Py_INCREF(Py_None); resultobj = Py_None;
16903 return resultobj;
16904 fail:
16905 return NULL;
16906}
16907
16908
c370783e 16909static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16910 PyObject *resultobj = NULL;
d55e5bfc
RD
16911 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16912 wxString *arg2 = 0 ;
b411df4a 16913 bool temp2 = false ;
d55e5bfc
RD
16914 PyObject * obj0 = 0 ;
16915 PyObject * obj1 = 0 ;
16916 char *kwnames[] = {
16917 (char *) "self",(char *) "str", NULL
16918 };
16919
16920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16921 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16922 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16923 {
16924 arg2 = wxString_in_helper(obj1);
16925 if (arg2 == NULL) SWIG_fail;
b411df4a 16926 temp2 = true;
d55e5bfc
RD
16927 }
16928 {
16929 PyThreadState* __tstate = wxPyBeginAllowThreads();
16930 (arg1)->SetFindString((wxString const &)*arg2);
16931
16932 wxPyEndAllowThreads(__tstate);
16933 if (PyErr_Occurred()) SWIG_fail;
16934 }
16935 Py_INCREF(Py_None); resultobj = Py_None;
16936 {
16937 if (temp2)
16938 delete arg2;
16939 }
16940 return resultobj;
16941 fail:
16942 {
16943 if (temp2)
16944 delete arg2;
16945 }
16946 return NULL;
16947}
16948
16949
c370783e 16950static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16951 PyObject *resultobj = NULL;
d55e5bfc
RD
16952 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16953 wxString *arg2 = 0 ;
b411df4a 16954 bool temp2 = false ;
d55e5bfc
RD
16955 PyObject * obj0 = 0 ;
16956 PyObject * obj1 = 0 ;
16957 char *kwnames[] = {
16958 (char *) "self",(char *) "str", NULL
16959 };
16960
16961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16962 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16963 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16964 {
16965 arg2 = wxString_in_helper(obj1);
16966 if (arg2 == NULL) SWIG_fail;
b411df4a 16967 temp2 = true;
d55e5bfc
RD
16968 }
16969 {
16970 PyThreadState* __tstate = wxPyBeginAllowThreads();
16971 (arg1)->SetReplaceString((wxString const &)*arg2);
16972
16973 wxPyEndAllowThreads(__tstate);
16974 if (PyErr_Occurred()) SWIG_fail;
16975 }
16976 Py_INCREF(Py_None); resultobj = Py_None;
16977 {
16978 if (temp2)
16979 delete arg2;
16980 }
16981 return resultobj;
16982 fail:
16983 {
16984 if (temp2)
16985 delete arg2;
16986 }
16987 return NULL;
16988}
16989
16990
c370783e 16991static PyObject * FindReplaceData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16992 PyObject *obj;
16993 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16994 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
16995 Py_INCREF(obj);
16996 return Py_BuildValue((char *)"");
16997}
c370783e 16998static PyObject *_wrap_new_FindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16999 PyObject *resultobj = NULL;
d55e5bfc
RD
17000 wxWindow *arg1 = (wxWindow *) 0 ;
17001 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
17002 wxString *arg3 = 0 ;
17003 int arg4 = (int) 0 ;
17004 wxFindReplaceDialog *result;
b411df4a 17005 bool temp3 = false ;
d55e5bfc
RD
17006 PyObject * obj0 = 0 ;
17007 PyObject * obj1 = 0 ;
17008 PyObject * obj2 = 0 ;
17009 PyObject * obj3 = 0 ;
17010 char *kwnames[] = {
17011 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
17012 };
17013
17014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
17015 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17016 if (SWIG_arg_fail(1)) SWIG_fail;
17017 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
17018 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
17019 {
17020 arg3 = wxString_in_helper(obj2);
17021 if (arg3 == NULL) SWIG_fail;
b411df4a 17022 temp3 = true;
d55e5bfc
RD
17023 }
17024 if (obj3) {
36ed4f51 17025 {
32fe5131 17026 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
17027 if (SWIG_arg_fail(4)) SWIG_fail;
17028 }
d55e5bfc
RD
17029 }
17030 {
0439c23b 17031 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17032 PyThreadState* __tstate = wxPyBeginAllowThreads();
17033 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
17034
17035 wxPyEndAllowThreads(__tstate);
110da5b0 17036 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
17037 }
17038 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
17039 {
17040 if (temp3)
17041 delete arg3;
17042 }
17043 return resultobj;
17044 fail:
17045 {
17046 if (temp3)
17047 delete arg3;
17048 }
17049 return NULL;
17050}
17051
17052
c370783e 17053static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17054 PyObject *resultobj = NULL;
d55e5bfc
RD
17055 wxFindReplaceDialog *result;
17056 char *kwnames[] = {
17057 NULL
17058 };
17059
17060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
17061 {
0439c23b 17062 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17063 PyThreadState* __tstate = wxPyBeginAllowThreads();
17064 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
17065
17066 wxPyEndAllowThreads(__tstate);
110da5b0 17067 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
17068 }
17069 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
17070 return resultobj;
17071 fail:
17072 return NULL;
17073}
17074
17075
c370783e 17076static PyObject *_wrap_FindReplaceDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17077 PyObject *resultobj = NULL;
d55e5bfc
RD
17078 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
17079 wxWindow *arg2 = (wxWindow *) 0 ;
17080 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
17081 wxString *arg4 = 0 ;
17082 int arg5 = (int) 0 ;
17083 bool result;
b411df4a 17084 bool temp4 = false ;
d55e5bfc
RD
17085 PyObject * obj0 = 0 ;
17086 PyObject * obj1 = 0 ;
17087 PyObject * obj2 = 0 ;
17088 PyObject * obj3 = 0 ;
17089 PyObject * obj4 = 0 ;
17090 char *kwnames[] = {
17091 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
17092 };
17093
17094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
17095 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
17096 if (SWIG_arg_fail(1)) SWIG_fail;
17097 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17098 if (SWIG_arg_fail(2)) SWIG_fail;
17099 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
17100 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
17101 {
17102 arg4 = wxString_in_helper(obj3);
17103 if (arg4 == NULL) SWIG_fail;
b411df4a 17104 temp4 = true;
d55e5bfc
RD
17105 }
17106 if (obj4) {
36ed4f51 17107 {
32fe5131 17108 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
17109 if (SWIG_arg_fail(5)) SWIG_fail;
17110 }
d55e5bfc
RD
17111 }
17112 {
17113 PyThreadState* __tstate = wxPyBeginAllowThreads();
17114 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
17115
17116 wxPyEndAllowThreads(__tstate);
17117 if (PyErr_Occurred()) SWIG_fail;
17118 }
17119 {
17120 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17121 }
17122 {
17123 if (temp4)
17124 delete arg4;
17125 }
17126 return resultobj;
17127 fail:
17128 {
17129 if (temp4)
17130 delete arg4;
17131 }
17132 return NULL;
17133}
17134
17135
c370783e 17136static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17137 PyObject *resultobj = NULL;
d55e5bfc
RD
17138 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
17139 wxFindReplaceData *result;
17140 PyObject * obj0 = 0 ;
17141 char *kwnames[] = {
17142 (char *) "self", NULL
17143 };
17144
17145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
36ed4f51
RD
17146 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
17147 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17148 {
17149 PyThreadState* __tstate = wxPyBeginAllowThreads();
17150 result = (wxFindReplaceData *)(arg1)->GetData();
17151
17152 wxPyEndAllowThreads(__tstate);
17153 if (PyErr_Occurred()) SWIG_fail;
17154 }
17155 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
17156 return resultobj;
17157 fail:
17158 return NULL;
17159}
17160
17161
c370783e 17162static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17163 PyObject *resultobj = NULL;
d55e5bfc
RD
17164 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
17165 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
17166 PyObject * obj0 = 0 ;
17167 PyObject * obj1 = 0 ;
17168 char *kwnames[] = {
17169 (char *) "self",(char *) "data", NULL
17170 };
17171
17172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
17173 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
17174 if (SWIG_arg_fail(1)) SWIG_fail;
17175 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
17176 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
17177 {
17178 PyThreadState* __tstate = wxPyBeginAllowThreads();
17179 (arg1)->SetData(arg2);
17180
17181 wxPyEndAllowThreads(__tstate);
17182 if (PyErr_Occurred()) SWIG_fail;
17183 }
17184 Py_INCREF(Py_None); resultobj = Py_None;
17185 return resultobj;
17186 fail:
17187 return NULL;
17188}
17189
17190
c370783e 17191static PyObject * FindReplaceDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17192 PyObject *obj;
17193 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17194 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
17195 Py_INCREF(obj);
17196 return Py_BuildValue((char *)"");
17197}
c370783e 17198static PyObject *_wrap_new_MDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17199 PyObject *resultobj = NULL;
d55e5bfc 17200 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
17201 int arg2 = (int) (int)-1 ;
17202 wxString const &arg3_defvalue = wxPyEmptyString ;
17203 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
17204 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17205 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17206 wxSize const &arg5_defvalue = wxDefaultSize ;
17207 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17208 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
17209 wxString const &arg7_defvalue = wxPyFrameNameStr ;
17210 wxString *arg7 = (wxString *) &arg7_defvalue ;
17211 wxMDIParentFrame *result;
b411df4a 17212 bool temp3 = false ;
d55e5bfc
RD
17213 wxPoint temp4 ;
17214 wxSize temp5 ;
b411df4a 17215 bool temp7 = false ;
d55e5bfc
RD
17216 PyObject * obj0 = 0 ;
17217 PyObject * obj1 = 0 ;
17218 PyObject * obj2 = 0 ;
17219 PyObject * obj3 = 0 ;
17220 PyObject * obj4 = 0 ;
17221 PyObject * obj5 = 0 ;
17222 PyObject * obj6 = 0 ;
17223 char *kwnames[] = {
17224 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17225 };
17226
bfddbb17 17227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
17228 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17229 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 17230 if (obj1) {
36ed4f51 17231 {
32fe5131 17232 arg2 = static_cast<int const >(SWIG_As_int(obj1));
36ed4f51
RD
17233 if (SWIG_arg_fail(2)) SWIG_fail;
17234 }
bfddbb17
RD
17235 }
17236 if (obj2) {
17237 {
17238 arg3 = wxString_in_helper(obj2);
17239 if (arg3 == NULL) SWIG_fail;
b411df4a 17240 temp3 = true;
bfddbb17 17241 }
d55e5bfc
RD
17242 }
17243 if (obj3) {
17244 {
17245 arg4 = &temp4;
17246 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17247 }
17248 }
17249 if (obj4) {
17250 {
17251 arg5 = &temp5;
17252 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17253 }
17254 }
17255 if (obj5) {
36ed4f51 17256 {
32fe5131 17257 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
17258 if (SWIG_arg_fail(6)) SWIG_fail;
17259 }
d55e5bfc
RD
17260 }
17261 if (obj6) {
17262 {
17263 arg7 = wxString_in_helper(obj6);
17264 if (arg7 == NULL) SWIG_fail;
b411df4a 17265 temp7 = true;
d55e5bfc
RD
17266 }
17267 }
17268 {
0439c23b 17269 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17270 PyThreadState* __tstate = wxPyBeginAllowThreads();
17271 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17272
17273 wxPyEndAllowThreads(__tstate);
110da5b0 17274 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
17275 }
17276 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
17277 {
17278 if (temp3)
17279 delete arg3;
17280 }
17281 {
17282 if (temp7)
17283 delete arg7;
17284 }
17285 return resultobj;
17286 fail:
17287 {
17288 if (temp3)
17289 delete arg3;
17290 }
17291 {
17292 if (temp7)
17293 delete arg7;
17294 }
17295 return NULL;
17296}
17297
17298
c370783e 17299static PyObject *_wrap_new_PreMDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17300 PyObject *resultobj = NULL;
d55e5bfc
RD
17301 wxMDIParentFrame *result;
17302 char *kwnames[] = {
17303 NULL
17304 };
17305
17306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
17307 {
0439c23b 17308 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17309 PyThreadState* __tstate = wxPyBeginAllowThreads();
17310 result = (wxMDIParentFrame *)new wxMDIParentFrame();
17311
17312 wxPyEndAllowThreads(__tstate);
110da5b0 17313 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
17314 }
17315 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
17316 return resultobj;
17317 fail:
17318 return NULL;
17319}
17320
17321
c370783e 17322static PyObject *_wrap_MDIParentFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17323 PyObject *resultobj = NULL;
d55e5bfc
RD
17324 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17325 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
17326 int arg3 = (int) (int)-1 ;
17327 wxString const &arg4_defvalue = wxPyEmptyString ;
17328 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
17329 wxPoint const &arg5_defvalue = wxDefaultPosition ;
17330 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
17331 wxSize const &arg6_defvalue = wxDefaultSize ;
17332 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17333 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
17334 wxString const &arg8_defvalue = wxPyFrameNameStr ;
17335 wxString *arg8 = (wxString *) &arg8_defvalue ;
17336 bool result;
b411df4a 17337 bool temp4 = false ;
d55e5bfc
RD
17338 wxPoint temp5 ;
17339 wxSize temp6 ;
b411df4a 17340 bool temp8 = false ;
d55e5bfc
RD
17341 PyObject * obj0 = 0 ;
17342 PyObject * obj1 = 0 ;
17343 PyObject * obj2 = 0 ;
17344 PyObject * obj3 = 0 ;
17345 PyObject * obj4 = 0 ;
17346 PyObject * obj5 = 0 ;
17347 PyObject * obj6 = 0 ;
17348 PyObject * obj7 = 0 ;
17349 char *kwnames[] = {
17350 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17351 };
17352
bfddbb17 17353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
17354 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17355 if (SWIG_arg_fail(1)) SWIG_fail;
17356 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17357 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 17358 if (obj2) {
36ed4f51 17359 {
32fe5131 17360 arg3 = static_cast<int const >(SWIG_As_int(obj2));
36ed4f51
RD
17361 if (SWIG_arg_fail(3)) SWIG_fail;
17362 }
bfddbb17
RD
17363 }
17364 if (obj3) {
17365 {
17366 arg4 = wxString_in_helper(obj3);
17367 if (arg4 == NULL) SWIG_fail;
b411df4a 17368 temp4 = true;
bfddbb17 17369 }
d55e5bfc
RD
17370 }
17371 if (obj4) {
17372 {
17373 arg5 = &temp5;
17374 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
17375 }
17376 }
17377 if (obj5) {
17378 {
17379 arg6 = &temp6;
17380 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
17381 }
17382 }
17383 if (obj6) {
36ed4f51 17384 {
32fe5131 17385 arg7 = static_cast<long >(SWIG_As_long(obj6));
36ed4f51
RD
17386 if (SWIG_arg_fail(7)) SWIG_fail;
17387 }
d55e5bfc
RD
17388 }
17389 if (obj7) {
17390 {
17391 arg8 = wxString_in_helper(obj7);
17392 if (arg8 == NULL) SWIG_fail;
b411df4a 17393 temp8 = true;
d55e5bfc
RD
17394 }
17395 }
17396 {
17397 PyThreadState* __tstate = wxPyBeginAllowThreads();
17398 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
17399
17400 wxPyEndAllowThreads(__tstate);
17401 if (PyErr_Occurred()) SWIG_fail;
17402 }
17403 {
17404 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17405 }
17406 {
17407 if (temp4)
17408 delete arg4;
17409 }
17410 {
17411 if (temp8)
17412 delete arg8;
17413 }
17414 return resultobj;
17415 fail:
17416 {
17417 if (temp4)
17418 delete arg4;
17419 }
17420 {
17421 if (temp8)
17422 delete arg8;
17423 }
17424 return NULL;
17425}
17426
17427
c370783e 17428static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17429 PyObject *resultobj = NULL;
d55e5bfc
RD
17430 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17431 PyObject * obj0 = 0 ;
17432 char *kwnames[] = {
17433 (char *) "self", NULL
17434 };
17435
17436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
36ed4f51
RD
17437 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17438 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17439 {
17440 PyThreadState* __tstate = wxPyBeginAllowThreads();
17441 (arg1)->ActivateNext();
17442
17443 wxPyEndAllowThreads(__tstate);
17444 if (PyErr_Occurred()) SWIG_fail;
17445 }
17446 Py_INCREF(Py_None); resultobj = Py_None;
17447 return resultobj;
17448 fail:
17449 return NULL;
17450}
17451
17452
c370783e 17453static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17454 PyObject *resultobj = NULL;
d55e5bfc
RD
17455 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17456 PyObject * obj0 = 0 ;
17457 char *kwnames[] = {
17458 (char *) "self", NULL
17459 };
17460
17461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
36ed4f51
RD
17462 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17463 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17464 {
17465 PyThreadState* __tstate = wxPyBeginAllowThreads();
17466 (arg1)->ActivatePrevious();
17467
17468 wxPyEndAllowThreads(__tstate);
17469 if (PyErr_Occurred()) SWIG_fail;
17470 }
17471 Py_INCREF(Py_None); resultobj = Py_None;
17472 return resultobj;
17473 fail:
17474 return NULL;
17475}
17476
17477
c370783e 17478static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17479 PyObject *resultobj = NULL;
d55e5bfc
RD
17480 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17481 PyObject * obj0 = 0 ;
17482 char *kwnames[] = {
17483 (char *) "self", NULL
17484 };
17485
17486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
36ed4f51
RD
17487 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17488 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17489 {
17490 PyThreadState* __tstate = wxPyBeginAllowThreads();
17491 (arg1)->ArrangeIcons();
17492
17493 wxPyEndAllowThreads(__tstate);
17494 if (PyErr_Occurred()) SWIG_fail;
17495 }
17496 Py_INCREF(Py_None); resultobj = Py_None;
17497 return resultobj;
17498 fail:
17499 return NULL;
17500}
17501
17502
c370783e 17503static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17504 PyObject *resultobj = NULL;
d55e5bfc
RD
17505 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17506 PyObject * obj0 = 0 ;
17507 char *kwnames[] = {
17508 (char *) "self", NULL
17509 };
17510
17511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
36ed4f51
RD
17512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17513 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17514 {
17515 PyThreadState* __tstate = wxPyBeginAllowThreads();
17516 (arg1)->Cascade();
17517
17518 wxPyEndAllowThreads(__tstate);
17519 if (PyErr_Occurred()) SWIG_fail;
17520 }
17521 Py_INCREF(Py_None); resultobj = Py_None;
17522 return resultobj;
17523 fail:
17524 return NULL;
17525}
17526
17527
c370783e 17528static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17529 PyObject *resultobj = NULL;
d55e5bfc
RD
17530 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17531 wxMDIChildFrame *result;
17532 PyObject * obj0 = 0 ;
17533 char *kwnames[] = {
17534 (char *) "self", NULL
17535 };
17536
17537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
36ed4f51
RD
17538 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17539 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17540 {
17541 PyThreadState* __tstate = wxPyBeginAllowThreads();
17542 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
17543
17544 wxPyEndAllowThreads(__tstate);
17545 if (PyErr_Occurred()) SWIG_fail;
17546 }
17547 {
7e08d4ef 17548 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
17549 }
17550 return resultobj;
17551 fail:
17552 return NULL;
17553}
17554
17555
c370783e 17556static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17557 PyObject *resultobj = NULL;
d55e5bfc
RD
17558 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17559 wxMDIClientWindow *result;
17560 PyObject * obj0 = 0 ;
17561 char *kwnames[] = {
17562 (char *) "self", NULL
17563 };
17564
17565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
17566 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17567 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17568 {
17569 PyThreadState* __tstate = wxPyBeginAllowThreads();
17570 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
17571
17572 wxPyEndAllowThreads(__tstate);
17573 if (PyErr_Occurred()) SWIG_fail;
17574 }
17575 {
7e08d4ef 17576 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
17577 }
17578 return resultobj;
17579 fail:
17580 return NULL;
17581}
17582
17583
c370783e 17584static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17585 PyObject *resultobj = NULL;
d55e5bfc
RD
17586 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17587 wxWindow *result;
17588 PyObject * obj0 = 0 ;
17589 char *kwnames[] = {
17590 (char *) "self", NULL
17591 };
17592
17593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
36ed4f51
RD
17594 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17595 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17596 {
17597 PyThreadState* __tstate = wxPyBeginAllowThreads();
17598 result = (wxWindow *)(arg1)->GetToolBar();
17599
17600 wxPyEndAllowThreads(__tstate);
17601 if (PyErr_Occurred()) SWIG_fail;
17602 }
17603 {
412d302d 17604 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
17605 }
17606 return resultobj;
17607 fail:
17608 return NULL;
17609}
17610
17611
c370783e 17612static PyObject *_wrap_MDIParentFrame_Tile(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17613 PyObject *resultobj = NULL;
d55e5bfc 17614 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
3837a853 17615 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
d55e5bfc 17616 PyObject * obj0 = 0 ;
3837a853 17617 PyObject * obj1 = 0 ;
d55e5bfc 17618 char *kwnames[] = {
3837a853 17619 (char *) "self",(char *) "orient", NULL
d55e5bfc
RD
17620 };
17621
3837a853 17622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
17623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17624 if (SWIG_arg_fail(1)) SWIG_fail;
3837a853
RD
17625 if (obj1) {
17626 {
32fe5131 17627 arg2 = static_cast<wxOrientation >(SWIG_As_int(obj1));
3837a853
RD
17628 if (SWIG_arg_fail(2)) SWIG_fail;
17629 }
17630 }
d55e5bfc
RD
17631 {
17632 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 17633 (arg1)->Tile(arg2);
d55e5bfc
RD
17634
17635 wxPyEndAllowThreads(__tstate);
17636 if (PyErr_Occurred()) SWIG_fail;
17637 }
17638 Py_INCREF(Py_None); resultobj = Py_None;
17639 return resultobj;
17640 fail:
17641 return NULL;
17642}
17643
17644
c370783e 17645static PyObject * MDIParentFrame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17646 PyObject *obj;
17647 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17648 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
17649 Py_INCREF(obj);
17650 return Py_BuildValue((char *)"");
17651}
c370783e 17652static PyObject *_wrap_new_MDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17653 PyObject *resultobj = NULL;
d55e5bfc 17654 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
bfddbb17
RD
17655 int arg2 = (int) (int)-1 ;
17656 wxString const &arg3_defvalue = wxPyEmptyString ;
17657 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
17658 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17659 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17660 wxSize const &arg5_defvalue = wxDefaultSize ;
17661 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17662 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
17663 wxString const &arg7_defvalue = wxPyFrameNameStr ;
17664 wxString *arg7 = (wxString *) &arg7_defvalue ;
17665 wxMDIChildFrame *result;
b411df4a 17666 bool temp3 = false ;
d55e5bfc
RD
17667 wxPoint temp4 ;
17668 wxSize temp5 ;
b411df4a 17669 bool temp7 = false ;
d55e5bfc
RD
17670 PyObject * obj0 = 0 ;
17671 PyObject * obj1 = 0 ;
17672 PyObject * obj2 = 0 ;
17673 PyObject * obj3 = 0 ;
17674 PyObject * obj4 = 0 ;
17675 PyObject * obj5 = 0 ;
17676 PyObject * obj6 = 0 ;
17677 char *kwnames[] = {
17678 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17679 };
17680
bfddbb17 17681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
17682 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17683 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 17684 if (obj1) {
36ed4f51 17685 {
32fe5131 17686 arg2 = static_cast<int const >(SWIG_As_int(obj1));
36ed4f51
RD
17687 if (SWIG_arg_fail(2)) SWIG_fail;
17688 }
bfddbb17
RD
17689 }
17690 if (obj2) {
17691 {
17692 arg3 = wxString_in_helper(obj2);
17693 if (arg3 == NULL) SWIG_fail;
b411df4a 17694 temp3 = true;
bfddbb17 17695 }
d55e5bfc
RD
17696 }
17697 if (obj3) {
17698 {
17699 arg4 = &temp4;
17700 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17701 }
17702 }
17703 if (obj4) {
17704 {
17705 arg5 = &temp5;
17706 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17707 }
17708 }
17709 if (obj5) {
36ed4f51 17710 {
32fe5131 17711 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
17712 if (SWIG_arg_fail(6)) SWIG_fail;
17713 }
d55e5bfc
RD
17714 }
17715 if (obj6) {
17716 {
17717 arg7 = wxString_in_helper(obj6);
17718 if (arg7 == NULL) SWIG_fail;
b411df4a 17719 temp7 = true;
d55e5bfc
RD
17720 }
17721 }
17722 {
0439c23b 17723 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17724 PyThreadState* __tstate = wxPyBeginAllowThreads();
17725 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17726
17727 wxPyEndAllowThreads(__tstate);
110da5b0 17728 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 17729 }
b0f7404b 17730 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
d55e5bfc
RD
17731 {
17732 if (temp3)
17733 delete arg3;
17734 }
17735 {
17736 if (temp7)
17737 delete arg7;
17738 }
17739 return resultobj;
17740 fail:
17741 {
17742 if (temp3)
17743 delete arg3;
17744 }
17745 {
17746 if (temp7)
17747 delete arg7;
17748 }
17749 return NULL;
17750}
17751
17752
c370783e 17753static PyObject *_wrap_new_PreMDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17754 PyObject *resultobj = NULL;
d55e5bfc
RD
17755 wxMDIChildFrame *result;
17756 char *kwnames[] = {
17757 NULL
17758 };
17759
17760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
17761 {
0439c23b 17762 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17763 PyThreadState* __tstate = wxPyBeginAllowThreads();
17764 result = (wxMDIChildFrame *)new wxMDIChildFrame();
17765
17766 wxPyEndAllowThreads(__tstate);
110da5b0 17767 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 17768 }
b0f7404b 17769 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
d55e5bfc
RD
17770 return resultobj;
17771 fail:
17772 return NULL;
17773}
17774
17775
c370783e 17776static PyObject *_wrap_MDIChildFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17777 PyObject *resultobj = NULL;
d55e5bfc
RD
17778 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17779 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
bfddbb17
RD
17780 int arg3 = (int) (int)-1 ;
17781 wxString const &arg4_defvalue = wxPyEmptyString ;
17782 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
17783 wxPoint const &arg5_defvalue = wxDefaultPosition ;
17784 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
17785 wxSize const &arg6_defvalue = wxDefaultSize ;
17786 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17787 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
17788 wxString const &arg8_defvalue = wxPyFrameNameStr ;
17789 wxString *arg8 = (wxString *) &arg8_defvalue ;
17790 bool result;
b411df4a 17791 bool temp4 = false ;
d55e5bfc
RD
17792 wxPoint temp5 ;
17793 wxSize temp6 ;
b411df4a 17794 bool temp8 = false ;
d55e5bfc
RD
17795 PyObject * obj0 = 0 ;
17796 PyObject * obj1 = 0 ;
17797 PyObject * obj2 = 0 ;
17798 PyObject * obj3 = 0 ;
17799 PyObject * obj4 = 0 ;
17800 PyObject * obj5 = 0 ;
17801 PyObject * obj6 = 0 ;
17802 PyObject * obj7 = 0 ;
17803 char *kwnames[] = {
17804 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17805 };
17806
bfddbb17 17807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
17808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17809 if (SWIG_arg_fail(1)) SWIG_fail;
17810 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17811 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 17812 if (obj2) {
36ed4f51 17813 {
32fe5131 17814 arg3 = static_cast<int const >(SWIG_As_int(obj2));
36ed4f51
RD
17815 if (SWIG_arg_fail(3)) SWIG_fail;
17816 }
bfddbb17
RD
17817 }
17818 if (obj3) {
17819 {
17820 arg4 = wxString_in_helper(obj3);
17821 if (arg4 == NULL) SWIG_fail;
b411df4a 17822 temp4 = true;
bfddbb17 17823 }
d55e5bfc
RD
17824 }
17825 if (obj4) {
17826 {
17827 arg5 = &temp5;
17828 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
17829 }
17830 }
17831 if (obj5) {
17832 {
17833 arg6 = &temp6;
17834 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
17835 }
17836 }
17837 if (obj6) {
36ed4f51 17838 {
32fe5131 17839 arg7 = static_cast<long >(SWIG_As_long(obj6));
36ed4f51
RD
17840 if (SWIG_arg_fail(7)) SWIG_fail;
17841 }
d55e5bfc
RD
17842 }
17843 if (obj7) {
17844 {
17845 arg8 = wxString_in_helper(obj7);
17846 if (arg8 == NULL) SWIG_fail;
b411df4a 17847 temp8 = true;
d55e5bfc
RD
17848 }
17849 }
17850 {
17851 PyThreadState* __tstate = wxPyBeginAllowThreads();
17852 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
17853
17854 wxPyEndAllowThreads(__tstate);
17855 if (PyErr_Occurred()) SWIG_fail;
17856 }
17857 {
17858 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17859 }
17860 {
17861 if (temp4)
17862 delete arg4;
17863 }
17864 {
17865 if (temp8)
17866 delete arg8;
17867 }
17868 return resultobj;
17869 fail:
17870 {
17871 if (temp4)
17872 delete arg4;
17873 }
17874 {
17875 if (temp8)
17876 delete arg8;
17877 }
17878 return NULL;
17879}
17880
17881
c370783e 17882static PyObject *_wrap_MDIChildFrame_Activate(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17883 PyObject *resultobj = NULL;
d55e5bfc
RD
17884 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17885 PyObject * obj0 = 0 ;
17886 char *kwnames[] = {
17887 (char *) "self", NULL
17888 };
17889
17890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
36ed4f51
RD
17891 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17892 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17893 {
17894 PyThreadState* __tstate = wxPyBeginAllowThreads();
17895 (arg1)->Activate();
17896
17897 wxPyEndAllowThreads(__tstate);
17898 if (PyErr_Occurred()) SWIG_fail;
17899 }
17900 Py_INCREF(Py_None); resultobj = Py_None;
17901 return resultobj;
17902 fail:
17903 return NULL;
17904}
17905
17906
c370783e 17907static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17908 PyObject *resultobj = NULL;
d55e5bfc 17909 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
5cbf236d 17910 bool arg2 = (bool) true ;
d55e5bfc
RD
17911 PyObject * obj0 = 0 ;
17912 PyObject * obj1 = 0 ;
17913 char *kwnames[] = {
17914 (char *) "self",(char *) "maximize", NULL
17915 };
17916
5cbf236d 17917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
17918 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17919 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d 17920 if (obj1) {
36ed4f51 17921 {
32fe5131 17922 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
17923 if (SWIG_arg_fail(2)) SWIG_fail;
17924 }
5cbf236d 17925 }
d55e5bfc
RD
17926 {
17927 PyThreadState* __tstate = wxPyBeginAllowThreads();
17928 (arg1)->Maximize(arg2);
17929
17930 wxPyEndAllowThreads(__tstate);
17931 if (PyErr_Occurred()) SWIG_fail;
17932 }
17933 Py_INCREF(Py_None); resultobj = Py_None;
17934 return resultobj;
17935 fail:
17936 return NULL;
17937}
17938
17939
c370783e 17940static PyObject *_wrap_MDIChildFrame_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17941 PyObject *resultobj = NULL;
d55e5bfc
RD
17942 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17943 PyObject * obj0 = 0 ;
17944 char *kwnames[] = {
17945 (char *) "self", NULL
17946 };
17947
17948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
36ed4f51
RD
17949 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17950 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17951 {
17952 PyThreadState* __tstate = wxPyBeginAllowThreads();
17953 (arg1)->Restore();
17954
17955 wxPyEndAllowThreads(__tstate);
17956 if (PyErr_Occurred()) SWIG_fail;
17957 }
17958 Py_INCREF(Py_None); resultobj = Py_None;
17959 return resultobj;
17960 fail:
17961 return NULL;
17962}
17963
17964
c370783e 17965static PyObject * MDIChildFrame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17966 PyObject *obj;
17967 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17968 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
17969 Py_INCREF(obj);
17970 return Py_BuildValue((char *)"");
17971}
c370783e 17972static PyObject *_wrap_new_MDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17973 PyObject *resultobj = NULL;
d55e5bfc
RD
17974 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17975 long arg2 = (long) 0 ;
17976 wxMDIClientWindow *result;
17977 PyObject * obj0 = 0 ;
17978 PyObject * obj1 = 0 ;
17979 char *kwnames[] = {
17980 (char *) "parent",(char *) "style", NULL
17981 };
17982
17983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
17984 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17985 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 17986 if (obj1) {
36ed4f51 17987 {
32fe5131 17988 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
17989 if (SWIG_arg_fail(2)) SWIG_fail;
17990 }
d55e5bfc
RD
17991 }
17992 {
0439c23b 17993 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17994 PyThreadState* __tstate = wxPyBeginAllowThreads();
17995 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
17996
17997 wxPyEndAllowThreads(__tstate);
110da5b0 17998 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 17999 }
b0f7404b 18000 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
d55e5bfc
RD
18001 return resultobj;
18002 fail:
18003 return NULL;
18004}
18005
18006
c370783e 18007static PyObject *_wrap_new_PreMDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18008 PyObject *resultobj = NULL;
d55e5bfc
RD
18009 wxMDIClientWindow *result;
18010 char *kwnames[] = {
18011 NULL
18012 };
18013
18014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
18015 {
0439c23b 18016 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
18017 PyThreadState* __tstate = wxPyBeginAllowThreads();
18018 result = (wxMDIClientWindow *)new wxMDIClientWindow();
18019
18020 wxPyEndAllowThreads(__tstate);
110da5b0 18021 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 18022 }
b0f7404b 18023 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
d55e5bfc
RD
18024 return resultobj;
18025 fail:
18026 return NULL;
18027}
18028
18029
c370783e 18030static PyObject *_wrap_MDIClientWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18031 PyObject *resultobj = NULL;
d55e5bfc
RD
18032 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
18033 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
18034 long arg3 = (long) 0 ;
18035 bool result;
18036 PyObject * obj0 = 0 ;
18037 PyObject * obj1 = 0 ;
18038 PyObject * obj2 = 0 ;
18039 char *kwnames[] = {
18040 (char *) "self",(char *) "parent",(char *) "style", NULL
18041 };
18042
18043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
18044 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_EXCEPTION | 0);
18045 if (SWIG_arg_fail(1)) SWIG_fail;
18046 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
18047 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 18048 if (obj2) {
36ed4f51 18049 {
32fe5131 18050 arg3 = static_cast<long >(SWIG_As_long(obj2));
36ed4f51
RD
18051 if (SWIG_arg_fail(3)) SWIG_fail;
18052 }
d55e5bfc
RD
18053 }
18054 {
18055 PyThreadState* __tstate = wxPyBeginAllowThreads();
18056 result = (bool)(arg1)->Create(arg2,arg3);
18057
18058 wxPyEndAllowThreads(__tstate);
18059 if (PyErr_Occurred()) SWIG_fail;
18060 }
18061 {
18062 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18063 }
18064 return resultobj;
18065 fail:
18066 return NULL;
18067}
18068
18069
c370783e 18070static PyObject * MDIClientWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
18071 PyObject *obj;
18072 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18073 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
18074 Py_INCREF(obj);
18075 return Py_BuildValue((char *)"");
18076}
c370783e 18077static PyObject *_wrap_new_PyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18078 PyObject *resultobj = NULL;
d55e5bfc 18079 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 18080 int arg2 = (int) (int)-1 ;
d55e5bfc
RD
18081 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18082 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18083 wxSize const &arg4_defvalue = wxDefaultSize ;
18084 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18085 long arg5 = (long) 0 ;
18086 wxString const &arg6_defvalue = wxPyPanelNameStr ;
18087 wxString *arg6 = (wxString *) &arg6_defvalue ;
18088 wxPyWindow *result;
18089 wxPoint temp3 ;
18090 wxSize temp4 ;
b411df4a 18091 bool temp6 = false ;
d55e5bfc
RD
18092 PyObject * obj0 = 0 ;
18093 PyObject * obj1 = 0 ;
18094 PyObject * obj2 = 0 ;
18095 PyObject * obj3 = 0 ;
18096 PyObject * obj4 = 0 ;
18097 PyObject * obj5 = 0 ;
18098 char *kwnames[] = {
18099 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18100 };
18101
bfddbb17 18102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
18103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18104 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 18105 if (obj1) {
36ed4f51 18106 {
32fe5131 18107 arg2 = static_cast<int const >(SWIG_As_int(obj1));
36ed4f51
RD
18108 if (SWIG_arg_fail(2)) SWIG_fail;
18109 }
bfddbb17 18110 }
d55e5bfc
RD
18111 if (obj2) {
18112 {
18113 arg3 = &temp3;
18114 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18115 }
18116 }
18117 if (obj3) {
18118 {
18119 arg4 = &temp4;
18120 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18121 }
18122 }
18123 if (obj4) {
36ed4f51 18124 {
32fe5131 18125 arg5 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
18126 if (SWIG_arg_fail(5)) SWIG_fail;
18127 }
d55e5bfc
RD
18128 }
18129 if (obj5) {
18130 {
18131 arg6 = wxString_in_helper(obj5);
18132 if (arg6 == NULL) SWIG_fail;
b411df4a 18133 temp6 = true;
d55e5bfc
RD
18134 }
18135 }
18136 {
0439c23b 18137 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
18138 PyThreadState* __tstate = wxPyBeginAllowThreads();
18139 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18140
18141 wxPyEndAllowThreads(__tstate);
110da5b0 18142 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
18143 }
18144 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
18145 {
18146 if (temp6)
18147 delete arg6;
18148 }
18149 return resultobj;
18150 fail:
18151 {
18152 if (temp6)
18153 delete arg6;
18154 }
18155 return NULL;
18156}
18157
18158
c370783e 18159static PyObject *_wrap_new_PrePyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18160 PyObject *resultobj = NULL;
d55e5bfc
RD
18161 wxPyWindow *result;
18162 char *kwnames[] = {
18163 NULL
18164 };
18165
18166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
18167 {
0439c23b 18168 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
18169 PyThreadState* __tstate = wxPyBeginAllowThreads();
18170 result = (wxPyWindow *)new wxPyWindow();
18171
18172 wxPyEndAllowThreads(__tstate);
110da5b0 18173 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
18174 }
18175 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
18176 return resultobj;
18177 fail:
18178 return NULL;
18179}
18180
18181
c370783e 18182static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18183 PyObject *resultobj = NULL;
d55e5bfc
RD
18184 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18185 PyObject *arg2 = (PyObject *) 0 ;
18186 PyObject *arg3 = (PyObject *) 0 ;
18187 PyObject * obj0 = 0 ;
18188 PyObject * obj1 = 0 ;
18189 PyObject * obj2 = 0 ;
18190 char *kwnames[] = {
18191 (char *) "self",(char *) "self",(char *) "_class", NULL
18192 };
18193
18194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
18195 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18196 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18197 arg2 = obj1;
18198 arg3 = obj2;
18199 {
18200 PyThreadState* __tstate = wxPyBeginAllowThreads();
18201 (arg1)->_setCallbackInfo(arg2,arg3);
18202
18203 wxPyEndAllowThreads(__tstate);
18204 if (PyErr_Occurred()) SWIG_fail;
18205 }
18206 Py_INCREF(Py_None); resultobj = Py_None;
18207 return resultobj;
18208 fail:
18209 return NULL;
18210}
18211
18212
c370783e 18213static PyObject *_wrap_PyWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18214 PyObject *resultobj = NULL;
a5ee0656
RD
18215 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18216 wxSize *arg2 = 0 ;
18217 wxSize temp2 ;
18218 PyObject * obj0 = 0 ;
18219 PyObject * obj1 = 0 ;
18220 char *kwnames[] = {
18221 (char *) "self",(char *) "size", NULL
18222 };
18223
18224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
18225 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18226 if (SWIG_arg_fail(1)) SWIG_fail;
a5ee0656
RD
18227 {
18228 arg2 = &temp2;
18229 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18230 }
18231 {
18232 PyThreadState* __tstate = wxPyBeginAllowThreads();
18233 (arg1)->SetBestSize((wxSize const &)*arg2);
18234
18235 wxPyEndAllowThreads(__tstate);
18236 if (PyErr_Occurred()) SWIG_fail;
18237 }
18238 Py_INCREF(Py_None); resultobj = Py_None;
18239 return resultobj;
18240 fail:
18241 return NULL;
18242}
18243
18244
976dbff5 18245static PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18246 PyObject *resultobj = NULL;
976dbff5
RD
18247 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18248 wxDC *arg2 = (wxDC *) 0 ;
18249 bool result;
18250 PyObject * obj0 = 0 ;
18251 PyObject * obj1 = 0 ;
18252 char *kwnames[] = {
18253 (char *) "self",(char *) "dc", NULL
18254 };
18255
18256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail;
18257 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18258 if (SWIG_arg_fail(1)) SWIG_fail;
18259 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
18260 if (SWIG_arg_fail(2)) SWIG_fail;
18261 {
18262 PyThreadState* __tstate = wxPyBeginAllowThreads();
18263 result = (bool)(arg1)->DoEraseBackground(arg2);
18264
18265 wxPyEndAllowThreads(__tstate);
18266 if (PyErr_Occurred()) SWIG_fail;
18267 }
18268 {
18269 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18270 }
18271 return resultobj;
18272 fail:
18273 return NULL;
18274}
18275
18276
7f7aa166 18277static PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18278 PyObject *resultobj = NULL;
d55e5bfc
RD
18279 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18280 int arg2 ;
18281 int arg3 ;
18282 int arg4 ;
18283 int arg5 ;
18284 PyObject * obj0 = 0 ;
18285 PyObject * obj1 = 0 ;
18286 PyObject * obj2 = 0 ;
18287 PyObject * obj3 = 0 ;
18288 PyObject * obj4 = 0 ;
18289 char *kwnames[] = {
18290 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18291 };
18292
7f7aa166 18293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
18294 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18295 if (SWIG_arg_fail(1)) SWIG_fail;
18296 {
32fe5131 18297 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
18298 if (SWIG_arg_fail(2)) SWIG_fail;
18299 }
18300 {
32fe5131 18301 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
18302 if (SWIG_arg_fail(3)) SWIG_fail;
18303 }
18304 {
32fe5131 18305 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
18306 if (SWIG_arg_fail(4)) SWIG_fail;
18307 }
18308 {
32fe5131 18309 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
18310 if (SWIG_arg_fail(5)) SWIG_fail;
18311 }
d55e5bfc
RD
18312 {
18313 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 18314 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
d55e5bfc
RD
18315
18316 wxPyEndAllowThreads(__tstate);
18317 if (PyErr_Occurred()) SWIG_fail;
18318 }
18319 Py_INCREF(Py_None); resultobj = Py_None;
18320 return resultobj;
18321 fail:
18322 return NULL;
18323}
18324
18325
7f7aa166 18326static PyObject *_wrap_PyWindow_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18327 PyObject *resultobj = NULL;
d55e5bfc
RD
18328 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18329 int arg2 ;
18330 int arg3 ;
18331 int arg4 ;
18332 int arg5 ;
18333 int arg6 = (int) wxSIZE_AUTO ;
18334 PyObject * obj0 = 0 ;
18335 PyObject * obj1 = 0 ;
18336 PyObject * obj2 = 0 ;
18337 PyObject * obj3 = 0 ;
18338 PyObject * obj4 = 0 ;
18339 PyObject * obj5 = 0 ;
18340 char *kwnames[] = {
18341 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
18342 };
18343
7f7aa166 18344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
18345 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18346 if (SWIG_arg_fail(1)) SWIG_fail;
18347 {
32fe5131 18348 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
18349 if (SWIG_arg_fail(2)) SWIG_fail;
18350 }
18351 {
32fe5131 18352 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
18353 if (SWIG_arg_fail(3)) SWIG_fail;
18354 }
18355 {
32fe5131 18356 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
18357 if (SWIG_arg_fail(4)) SWIG_fail;
18358 }
18359 {
32fe5131 18360 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
18361 if (SWIG_arg_fail(5)) SWIG_fail;
18362 }
d55e5bfc 18363 if (obj5) {
36ed4f51 18364 {
32fe5131 18365 arg6 = static_cast<int >(SWIG_As_int(obj5));
36ed4f51
RD
18366 if (SWIG_arg_fail(6)) SWIG_fail;
18367 }
d55e5bfc
RD
18368 }
18369 {
18370 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 18371 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
d55e5bfc
RD
18372
18373 wxPyEndAllowThreads(__tstate);
18374 if (PyErr_Occurred()) SWIG_fail;
18375 }
18376 Py_INCREF(Py_None); resultobj = Py_None;
18377 return resultobj;
18378 fail:
18379 return NULL;
18380}
18381
18382
7f7aa166 18383static PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18384 PyObject *resultobj = NULL;
d55e5bfc
RD
18385 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18386 int arg2 ;
18387 int arg3 ;
18388 PyObject * obj0 = 0 ;
18389 PyObject * obj1 = 0 ;
18390 PyObject * obj2 = 0 ;
18391 char *kwnames[] = {
18392 (char *) "self",(char *) "width",(char *) "height", NULL
18393 };
18394
7f7aa166 18395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
18396 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18397 if (SWIG_arg_fail(1)) SWIG_fail;
18398 {
32fe5131 18399 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
18400 if (SWIG_arg_fail(2)) SWIG_fail;
18401 }
18402 {
32fe5131 18403 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
18404 if (SWIG_arg_fail(3)) SWIG_fail;
18405 }
d55e5bfc
RD
18406 {
18407 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 18408 (arg1)->DoSetClientSize(arg2,arg3);
d55e5bfc
RD
18409
18410 wxPyEndAllowThreads(__tstate);
18411 if (PyErr_Occurred()) SWIG_fail;
18412 }
18413 Py_INCREF(Py_None); resultobj = Py_None;
18414 return resultobj;
18415 fail:
18416 return NULL;
18417}
18418
18419
7f7aa166 18420static PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18421 PyObject *resultobj = NULL;
d55e5bfc
RD
18422 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18423 int arg2 ;
18424 int arg3 ;
18425 PyObject * obj0 = 0 ;
18426 PyObject * obj1 = 0 ;
18427 PyObject * obj2 = 0 ;
18428 char *kwnames[] = {
18429 (char *) "self",(char *) "x",(char *) "y", NULL
18430 };
18431
7f7aa166 18432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
18433 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18434 if (SWIG_arg_fail(1)) SWIG_fail;
18435 {
32fe5131 18436 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
18437 if (SWIG_arg_fail(2)) SWIG_fail;
18438 }
18439 {
32fe5131 18440 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
18441 if (SWIG_arg_fail(3)) SWIG_fail;
18442 }
d55e5bfc
RD
18443 {
18444 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 18445 (arg1)->DoSetVirtualSize(arg2,arg3);
d55e5bfc
RD
18446
18447 wxPyEndAllowThreads(__tstate);
18448 if (PyErr_Occurred()) SWIG_fail;
18449 }
18450 Py_INCREF(Py_None); resultobj = Py_None;
18451 return resultobj;
18452 fail:
18453 return NULL;
18454}
18455
18456
7f7aa166 18457static PyObject *_wrap_PyWindow_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18458 PyObject *resultobj = NULL;
d55e5bfc
RD
18459 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18460 int *arg2 = (int *) 0 ;
18461 int *arg3 = (int *) 0 ;
18462 int temp2 ;
c370783e 18463 int res2 = 0 ;
d55e5bfc 18464 int temp3 ;
c370783e 18465 int res3 = 0 ;
d55e5bfc
RD
18466 PyObject * obj0 = 0 ;
18467 char *kwnames[] = {
18468 (char *) "self", NULL
18469 };
18470
c370783e
RD
18471 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18472 arg3 = &temp3; res3 = SWIG_NEWOBJ;
7f7aa166 18473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_DoGetSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
18474 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18475 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18476 {
18477 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 18478 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
d55e5bfc
RD
18479
18480 wxPyEndAllowThreads(__tstate);
18481 if (PyErr_Occurred()) SWIG_fail;
18482 }
18483 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
18484 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18485 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18486 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18487 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
18488 return resultobj;
18489 fail:
18490 return NULL;
18491}
18492
18493
7f7aa166 18494static PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18495 PyObject *resultobj = NULL;
d55e5bfc
RD
18496 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18497 int *arg2 = (int *) 0 ;
18498 int *arg3 = (int *) 0 ;
18499 int temp2 ;
c370783e 18500 int res2 = 0 ;
d55e5bfc 18501 int temp3 ;
c370783e 18502 int res3 = 0 ;
d55e5bfc
RD
18503 PyObject * obj0 = 0 ;
18504 char *kwnames[] = {
18505 (char *) "self", NULL
18506 };
18507
c370783e
RD
18508 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18509 arg3 = &temp3; res3 = SWIG_NEWOBJ;
7f7aa166 18510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_DoGetClientSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
18511 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18512 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18513 {
18514 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 18515 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
d55e5bfc
RD
18516
18517 wxPyEndAllowThreads(__tstate);
18518 if (PyErr_Occurred()) SWIG_fail;
18519 }
18520 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
18521 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18522 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18523 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18524 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
18525 return resultobj;
18526 fail:
18527 return NULL;
18528}
18529
18530
7f7aa166 18531static PyObject *_wrap_PyWindow_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18532 PyObject *resultobj = NULL;
d55e5bfc
RD
18533 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18534 int *arg2 = (int *) 0 ;
18535 int *arg3 = (int *) 0 ;
18536 int temp2 ;
c370783e 18537 int res2 = 0 ;
d55e5bfc 18538 int temp3 ;
c370783e 18539 int res3 = 0 ;
d55e5bfc
RD
18540 PyObject * obj0 = 0 ;
18541 char *kwnames[] = {
18542 (char *) "self", NULL
18543 };
18544
c370783e
RD
18545 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18546 arg3 = &temp3; res3 = SWIG_NEWOBJ;
7f7aa166 18547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_DoGetPosition",kwnames,&obj0)) goto fail;
36ed4f51
RD
18548 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18549 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18550 {
18551 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 18552 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
d55e5bfc
RD
18553
18554 wxPyEndAllowThreads(__tstate);
18555 if (PyErr_Occurred()) SWIG_fail;
18556 }
18557 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
18558 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18559 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18560 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18561 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
18562 return resultobj;
18563 fail:
18564 return NULL;
18565}
18566
18567
7f7aa166 18568static PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18569 PyObject *resultobj = NULL;
d55e5bfc
RD
18570 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18571 wxSize result;
18572 PyObject * obj0 = 0 ;
18573 char *kwnames[] = {
18574 (char *) "self", NULL
18575 };
18576
7f7aa166 18577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_DoGetVirtualSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
18578 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18579 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18580 {
18581 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 18582 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
d55e5bfc
RD
18583
18584 wxPyEndAllowThreads(__tstate);
18585 if (PyErr_Occurred()) SWIG_fail;
18586 }
18587 {
18588 wxSize * resultptr;
32fe5131 18589 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
18590 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18591 }
18592 return resultobj;
18593 fail:
18594 return NULL;
18595}
18596
18597
7f7aa166 18598static PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18599 PyObject *resultobj = NULL;
d55e5bfc
RD
18600 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18601 wxSize result;
18602 PyObject * obj0 = 0 ;
18603 char *kwnames[] = {
18604 (char *) "self", NULL
18605 };
18606
7f7aa166 18607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_DoGetBestSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
18608 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18609 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18610 {
18611 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 18612 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
d55e5bfc
RD
18613
18614 wxPyEndAllowThreads(__tstate);
18615 if (PyErr_Occurred()) SWIG_fail;
18616 }
18617 {
18618 wxSize * resultptr;
32fe5131 18619 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
18620 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18621 }
18622 return resultobj;
18623 fail:
18624 return NULL;
18625}
18626
18627
7f7aa166 18628static PyObject *_wrap_PyWindow_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18629 PyObject *resultobj = NULL;
d55e5bfc
RD
18630 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18631 PyObject * obj0 = 0 ;
18632 char *kwnames[] = {
18633 (char *) "self", NULL
18634 };
18635
7f7aa166 18636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_InitDialog",kwnames,&obj0)) goto fail;
36ed4f51
RD
18637 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18638 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18639 {
18640 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 18641 (arg1)->InitDialog();
d55e5bfc
RD
18642
18643 wxPyEndAllowThreads(__tstate);
18644 if (PyErr_Occurred()) SWIG_fail;
18645 }
18646 Py_INCREF(Py_None); resultobj = Py_None;
18647 return resultobj;
18648 fail:
18649 return NULL;
18650}
18651
18652
7f7aa166 18653static PyObject *_wrap_PyWindow_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18654 PyObject *resultobj = NULL;
d55e5bfc
RD
18655 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18656 bool result;
18657 PyObject * obj0 = 0 ;
18658 char *kwnames[] = {
18659 (char *) "self", NULL
18660 };
18661
7f7aa166 18662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_TransferDataToWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
18663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18664 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18665 {
18666 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 18667 result = (bool)(arg1)->TransferDataToWindow();
d55e5bfc
RD
18668
18669 wxPyEndAllowThreads(__tstate);
18670 if (PyErr_Occurred()) SWIG_fail;
18671 }
18672 {
18673 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18674 }
18675 return resultobj;
18676 fail:
18677 return NULL;
18678}
18679
18680
7f7aa166 18681static PyObject *_wrap_PyWindow_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18682 PyObject *resultobj = NULL;
d55e5bfc
RD
18683 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18684 bool result;
18685 PyObject * obj0 = 0 ;
18686 char *kwnames[] = {
18687 (char *) "self", NULL
18688 };
18689
7f7aa166 18690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_TransferDataFromWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
18691 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18692 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18693 {
18694 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 18695 result = (bool)(arg1)->TransferDataFromWindow();
d55e5bfc
RD
18696
18697 wxPyEndAllowThreads(__tstate);
18698 if (PyErr_Occurred()) SWIG_fail;
18699 }
18700 {
18701 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18702 }
18703 return resultobj;
18704 fail:
18705 return NULL;
18706}
18707
18708
7f7aa166 18709static PyObject *_wrap_PyWindow_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18710 PyObject *resultobj = NULL;
d55e5bfc
RD
18711 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18712 bool result;
18713 PyObject * obj0 = 0 ;
18714 char *kwnames[] = {
18715 (char *) "self", NULL
18716 };
18717
7f7aa166 18718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_Validate",kwnames,&obj0)) goto fail;
36ed4f51
RD
18719 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18720 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18721 {
18722 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 18723 result = (bool)(arg1)->Validate();
d55e5bfc
RD
18724
18725 wxPyEndAllowThreads(__tstate);
18726 if (PyErr_Occurred()) SWIG_fail;
18727 }
18728 {
18729 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18730 }
18731 return resultobj;
18732 fail:
18733 return NULL;
18734}
18735
18736
7f7aa166 18737static PyObject *_wrap_PyWindow_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18738 PyObject *resultobj = NULL;
d55e5bfc
RD
18739 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18740 bool result;
18741 PyObject * obj0 = 0 ;
18742 char *kwnames[] = {
18743 (char *) "self", NULL
18744 };
18745
7f7aa166 18746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_AcceptsFocus",kwnames,&obj0)) goto fail;
36ed4f51
RD
18747 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18748 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18749 {
18750 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 18751 result = (bool)((wxPyWindow const *)arg1)->AcceptsFocus();
d55e5bfc
RD
18752
18753 wxPyEndAllowThreads(__tstate);
18754 if (PyErr_Occurred()) SWIG_fail;
18755 }
18756 {
18757 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18758 }
18759 return resultobj;
18760 fail:
18761 return NULL;
18762}
18763
18764
7f7aa166 18765static PyObject *_wrap_PyWindow_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18766 PyObject *resultobj = NULL;
d55e5bfc
RD
18767 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18768 bool result;
18769 PyObject * obj0 = 0 ;
18770 char *kwnames[] = {
18771 (char *) "self", NULL
18772 };
18773
7f7aa166 18774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
36ed4f51
RD
18775 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18776 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18777 {
18778 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 18779 result = (bool)((wxPyWindow const *)arg1)->AcceptsFocusFromKeyboard();
d55e5bfc
RD
18780
18781 wxPyEndAllowThreads(__tstate);
18782 if (PyErr_Occurred()) SWIG_fail;
18783 }
18784 {
18785 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18786 }
18787 return resultobj;
18788 fail:
18789 return NULL;
18790}
18791
18792
7f7aa166 18793static PyObject *_wrap_PyWindow_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18794 PyObject *resultobj = NULL;
d55e5bfc
RD
18795 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18796 wxSize result;
18797 PyObject * obj0 = 0 ;
18798 char *kwnames[] = {
18799 (char *) "self", NULL
18800 };
18801
7f7aa166 18802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_GetMaxSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
18803 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18804 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18805 {
18806 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 18807 result = ((wxPyWindow const *)arg1)->GetMaxSize();
d55e5bfc
RD
18808
18809 wxPyEndAllowThreads(__tstate);
18810 if (PyErr_Occurred()) SWIG_fail;
18811 }
18812 {
18813 wxSize * resultptr;
32fe5131 18814 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
18815 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18816 }
18817 return resultobj;
18818 fail:
18819 return NULL;
18820}
18821
18822
7f7aa166 18823static PyObject *_wrap_PyWindow_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18824 PyObject *resultobj = NULL;
d55e5bfc
RD
18825 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18826 wxWindow *arg2 = (wxWindow *) 0 ;
18827 PyObject * obj0 = 0 ;
18828 PyObject * obj1 = 0 ;
18829 char *kwnames[] = {
18830 (char *) "self",(char *) "child", NULL
18831 };
18832
7f7aa166 18833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_AddChild",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
18834 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18835 if (SWIG_arg_fail(1)) SWIG_fail;
18836 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18837 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
18838 {
18839 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 18840 (arg1)->AddChild(arg2);
d55e5bfc
RD
18841
18842 wxPyEndAllowThreads(__tstate);
18843 if (PyErr_Occurred()) SWIG_fail;
18844 }
18845 Py_INCREF(Py_None); resultobj = Py_None;
18846 return resultobj;
18847 fail:
18848 return NULL;
18849}
18850
18851
7f7aa166 18852static PyObject *_wrap_PyWindow_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18853 PyObject *resultobj = NULL;
d55e5bfc
RD
18854 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18855 wxWindow *arg2 = (wxWindow *) 0 ;
18856 PyObject * obj0 = 0 ;
18857 PyObject * obj1 = 0 ;
18858 char *kwnames[] = {
18859 (char *) "self",(char *) "child", NULL
18860 };
18861
7f7aa166 18862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
18863 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18864 if (SWIG_arg_fail(1)) SWIG_fail;
18865 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18866 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
18867 {
18868 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 18869 (arg1)->RemoveChild(arg2);
d55e5bfc
RD
18870
18871 wxPyEndAllowThreads(__tstate);
18872 if (PyErr_Occurred()) SWIG_fail;
18873 }
18874 Py_INCREF(Py_None); resultobj = Py_None;
18875 return resultobj;
18876 fail:
18877 return NULL;
18878}
18879
18880
7f7aa166 18881static PyObject *_wrap_PyWindow_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18882 PyObject *resultobj = NULL;
d55e5bfc
RD
18883 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18884 bool result;
18885 PyObject * obj0 = 0 ;
18886 char *kwnames[] = {
18887 (char *) "self", NULL
18888 };
18889
7f7aa166 18890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_ShouldInheritColours",kwnames,&obj0)) goto fail;
36ed4f51
RD
18891 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18892 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18893 {
18894 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 18895 result = (bool)((wxPyWindow const *)arg1)->ShouldInheritColours();
d55e5bfc
RD
18896
18897 wxPyEndAllowThreads(__tstate);
18898 if (PyErr_Occurred()) SWIG_fail;
18899 }
18900 {
18901 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18902 }
18903 return resultobj;
18904 fail:
18905 return NULL;
18906}
18907
18908
7f7aa166 18909static PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18910 PyObject *resultobj = NULL;
a5ee0656
RD
18911 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18912 wxVisualAttributes result;
18913 PyObject * obj0 = 0 ;
18914 char *kwnames[] = {
18915 (char *) "self", NULL
18916 };
18917
7f7aa166 18918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_GetDefaultAttributes",kwnames,&obj0)) goto fail;
36ed4f51
RD
18919 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18920 if (SWIG_arg_fail(1)) SWIG_fail;
a5ee0656
RD
18921 {
18922 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 18923 result = (arg1)->GetDefaultAttributes();
a5ee0656
RD
18924
18925 wxPyEndAllowThreads(__tstate);
18926 if (PyErr_Occurred()) SWIG_fail;
18927 }
18928 {
18929 wxVisualAttributes * resultptr;
32fe5131 18930 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
a5ee0656
RD
18931 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
18932 }
18933 return resultobj;
18934 fail:
18935 return NULL;
18936}
18937
18938
7f7aa166 18939static PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18940 PyObject *resultobj = NULL;
8d38bd1d
RD
18941 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18942 PyObject * obj0 = 0 ;
18943 char *kwnames[] = {
18944 (char *) "self", NULL
18945 };
18946
7f7aa166 18947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_OnInternalIdle",kwnames,&obj0)) goto fail;
8d38bd1d
RD
18948 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18949 if (SWIG_arg_fail(1)) SWIG_fail;
18950 {
18951 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 18952 (arg1)->OnInternalIdle();
8d38bd1d
RD
18953
18954 wxPyEndAllowThreads(__tstate);
18955 if (PyErr_Occurred()) SWIG_fail;
18956 }
18957 Py_INCREF(Py_None); resultobj = Py_None;
18958 return resultobj;
18959 fail:
18960 return NULL;
18961}
18962
18963
c370783e 18964static PyObject * PyWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
18965 PyObject *obj;
18966 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18967 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
18968 Py_INCREF(obj);
18969 return Py_BuildValue((char *)"");
18970}
c370783e 18971static PyObject *_wrap_new_PyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18972 PyObject *resultobj = NULL;
d55e5bfc 18973 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 18974 int arg2 = (int) (int)-1 ;
d55e5bfc
RD
18975 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18976 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18977 wxSize const &arg4_defvalue = wxDefaultSize ;
18978 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18979 long arg5 = (long) 0 ;
18980 wxString const &arg6_defvalue = wxPyPanelNameStr ;
18981 wxString *arg6 = (wxString *) &arg6_defvalue ;
18982 wxPyPanel *result;
18983 wxPoint temp3 ;
18984 wxSize temp4 ;
b411df4a 18985 bool temp6 = false ;
d55e5bfc
RD
18986 PyObject * obj0 = 0 ;
18987 PyObject * obj1 = 0 ;
18988 PyObject * obj2 = 0 ;
18989 PyObject * obj3 = 0 ;
18990 PyObject * obj4 = 0 ;
18991 PyObject * obj5 = 0 ;
18992 char *kwnames[] = {
18993 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18994 };
18995
bfddbb17 18996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
18997 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18998 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 18999 if (obj1) {
36ed4f51 19000 {
32fe5131 19001 arg2 = static_cast<int const >(SWIG_As_int(obj1));
36ed4f51
RD
19002 if (SWIG_arg_fail(2)) SWIG_fail;
19003 }
bfddbb17 19004 }
d55e5bfc
RD
19005 if (obj2) {
19006 {
19007 arg3 = &temp3;
19008 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19009 }
19010 }
19011 if (obj3) {
19012 {
19013 arg4 = &temp4;
19014 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19015 }
19016 }
19017 if (obj4) {
36ed4f51 19018 {
32fe5131 19019 arg5 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
19020 if (SWIG_arg_fail(5)) SWIG_fail;
19021 }
d55e5bfc
RD
19022 }
19023 if (obj5) {
19024 {
19025 arg6 = wxString_in_helper(obj5);
19026 if (arg6 == NULL) SWIG_fail;
b411df4a 19027 temp6 = true;
d55e5bfc
RD
19028 }
19029 }
19030 {
0439c23b 19031 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
19032 PyThreadState* __tstate = wxPyBeginAllowThreads();
19033 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
19034
19035 wxPyEndAllowThreads(__tstate);
110da5b0 19036 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
19037 }
19038 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
19039 {
19040 if (temp6)
19041 delete arg6;
19042 }
19043 return resultobj;
19044 fail:
19045 {
19046 if (temp6)
19047 delete arg6;
19048 }
19049 return NULL;
19050}
19051
19052
c370783e 19053static PyObject *_wrap_new_PrePyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19054 PyObject *resultobj = NULL;
d55e5bfc
RD
19055 wxPyPanel *result;
19056 char *kwnames[] = {
19057 NULL
19058 };
19059
19060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
19061 {
0439c23b 19062 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
19063 PyThreadState* __tstate = wxPyBeginAllowThreads();
19064 result = (wxPyPanel *)new wxPyPanel();
19065
19066 wxPyEndAllowThreads(__tstate);
110da5b0 19067 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
19068 }
19069 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
19070 return resultobj;
19071 fail:
19072 return NULL;
19073}
19074
19075
c370783e 19076static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19077 PyObject *resultobj = NULL;
d55e5bfc
RD
19078 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19079 PyObject *arg2 = (PyObject *) 0 ;
19080 PyObject *arg3 = (PyObject *) 0 ;
19081 PyObject * obj0 = 0 ;
19082 PyObject * obj1 = 0 ;
19083 PyObject * obj2 = 0 ;
19084 char *kwnames[] = {
19085 (char *) "self",(char *) "self",(char *) "_class", NULL
19086 };
19087
19088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
19089 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19090 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19091 arg2 = obj1;
19092 arg3 = obj2;
19093 {
19094 PyThreadState* __tstate = wxPyBeginAllowThreads();
19095 (arg1)->_setCallbackInfo(arg2,arg3);
19096
19097 wxPyEndAllowThreads(__tstate);
19098 if (PyErr_Occurred()) SWIG_fail;
19099 }
19100 Py_INCREF(Py_None); resultobj = Py_None;
19101 return resultobj;
19102 fail:
19103 return NULL;
19104}
19105
19106
c370783e 19107static PyObject *_wrap_PyPanel_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19108 PyObject *resultobj = NULL;
a5ee0656
RD
19109 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19110 wxSize *arg2 = 0 ;
19111 wxSize temp2 ;
19112 PyObject * obj0 = 0 ;
19113 PyObject * obj1 = 0 ;
19114 char *kwnames[] = {
19115 (char *) "self",(char *) "size", NULL
19116 };
19117
19118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19119 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19120 if (SWIG_arg_fail(1)) SWIG_fail;
a5ee0656
RD
19121 {
19122 arg2 = &temp2;
19123 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19124 }
19125 {
19126 PyThreadState* __tstate = wxPyBeginAllowThreads();
19127 (arg1)->SetBestSize((wxSize const &)*arg2);
19128
19129 wxPyEndAllowThreads(__tstate);
19130 if (PyErr_Occurred()) SWIG_fail;
19131 }
19132 Py_INCREF(Py_None); resultobj = Py_None;
19133 return resultobj;
19134 fail:
19135 return NULL;
19136}
19137
19138
976dbff5 19139static PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19140 PyObject *resultobj = NULL;
976dbff5
RD
19141 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19142 wxDC *arg2 = (wxDC *) 0 ;
19143 bool result;
19144 PyObject * obj0 = 0 ;
19145 PyObject * obj1 = 0 ;
19146 char *kwnames[] = {
19147 (char *) "self",(char *) "dc", NULL
19148 };
19149
19150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail;
19151 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19152 if (SWIG_arg_fail(1)) SWIG_fail;
19153 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
19154 if (SWIG_arg_fail(2)) SWIG_fail;
19155 {
19156 PyThreadState* __tstate = wxPyBeginAllowThreads();
19157 result = (bool)(arg1)->DoEraseBackground(arg2);
19158
19159 wxPyEndAllowThreads(__tstate);
19160 if (PyErr_Occurred()) SWIG_fail;
19161 }
19162 {
19163 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19164 }
19165 return resultobj;
19166 fail:
19167 return NULL;
19168}
19169
19170
7f7aa166 19171static PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19172 PyObject *resultobj = NULL;
d55e5bfc
RD
19173 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19174 int arg2 ;
19175 int arg3 ;
19176 int arg4 ;
19177 int arg5 ;
19178 PyObject * obj0 = 0 ;
19179 PyObject * obj1 = 0 ;
19180 PyObject * obj2 = 0 ;
19181 PyObject * obj3 = 0 ;
19182 PyObject * obj4 = 0 ;
19183 char *kwnames[] = {
19184 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19185 };
19186
7f7aa166 19187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
19188 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19189 if (SWIG_arg_fail(1)) SWIG_fail;
19190 {
32fe5131 19191 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
19192 if (SWIG_arg_fail(2)) SWIG_fail;
19193 }
19194 {
32fe5131 19195 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
19196 if (SWIG_arg_fail(3)) SWIG_fail;
19197 }
19198 {
32fe5131 19199 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
19200 if (SWIG_arg_fail(4)) SWIG_fail;
19201 }
19202 {
32fe5131 19203 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
19204 if (SWIG_arg_fail(5)) SWIG_fail;
19205 }
d55e5bfc
RD
19206 {
19207 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 19208 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
d55e5bfc
RD
19209
19210 wxPyEndAllowThreads(__tstate);
19211 if (PyErr_Occurred()) SWIG_fail;
19212 }
19213 Py_INCREF(Py_None); resultobj = Py_None;
19214 return resultobj;
19215 fail:
19216 return NULL;
19217}
19218
19219
7f7aa166 19220static PyObject *_wrap_PyPanel_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19221 PyObject *resultobj = NULL;
d55e5bfc
RD
19222 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19223 int arg2 ;
19224 int arg3 ;
19225 int arg4 ;
19226 int arg5 ;
19227 int arg6 = (int) wxSIZE_AUTO ;
19228 PyObject * obj0 = 0 ;
19229 PyObject * obj1 = 0 ;
19230 PyObject * obj2 = 0 ;
19231 PyObject * obj3 = 0 ;
19232 PyObject * obj4 = 0 ;
19233 PyObject * obj5 = 0 ;
19234 char *kwnames[] = {
19235 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19236 };
19237
7f7aa166 19238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
19239 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19240 if (SWIG_arg_fail(1)) SWIG_fail;
19241 {
32fe5131 19242 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
19243 if (SWIG_arg_fail(2)) SWIG_fail;
19244 }
19245 {
32fe5131 19246 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
19247 if (SWIG_arg_fail(3)) SWIG_fail;
19248 }
19249 {
32fe5131 19250 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
19251 if (SWIG_arg_fail(4)) SWIG_fail;
19252 }
19253 {
32fe5131 19254 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
19255 if (SWIG_arg_fail(5)) SWIG_fail;
19256 }
d55e5bfc 19257 if (obj5) {
36ed4f51 19258 {
32fe5131 19259 arg6 = static_cast<int >(SWIG_As_int(obj5));
36ed4f51
RD
19260 if (SWIG_arg_fail(6)) SWIG_fail;
19261 }
d55e5bfc
RD
19262 }
19263 {
19264 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 19265 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
d55e5bfc
RD
19266
19267 wxPyEndAllowThreads(__tstate);
19268 if (PyErr_Occurred()) SWIG_fail;
19269 }
19270 Py_INCREF(Py_None); resultobj = Py_None;
19271 return resultobj;
19272 fail:
19273 return NULL;
19274}
19275
19276
7f7aa166 19277static PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19278 PyObject *resultobj = NULL;
d55e5bfc
RD
19279 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19280 int arg2 ;
19281 int arg3 ;
19282 PyObject * obj0 = 0 ;
19283 PyObject * obj1 = 0 ;
19284 PyObject * obj2 = 0 ;
19285 char *kwnames[] = {
19286 (char *) "self",(char *) "width",(char *) "height", NULL
19287 };
19288
7f7aa166 19289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
19290 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19291 if (SWIG_arg_fail(1)) SWIG_fail;
19292 {
32fe5131 19293 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
19294 if (SWIG_arg_fail(2)) SWIG_fail;
19295 }
19296 {
32fe5131 19297 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
19298 if (SWIG_arg_fail(3)) SWIG_fail;
19299 }
d55e5bfc
RD
19300 {
19301 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 19302 (arg1)->DoSetClientSize(arg2,arg3);
d55e5bfc
RD
19303
19304 wxPyEndAllowThreads(__tstate);
19305 if (PyErr_Occurred()) SWIG_fail;
19306 }
19307 Py_INCREF(Py_None); resultobj = Py_None;
19308 return resultobj;
19309 fail:
19310 return NULL;
19311}
19312
19313
7f7aa166 19314static PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19315 PyObject *resultobj = NULL;
d55e5bfc
RD
19316 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19317 int arg2 ;
19318 int arg3 ;
19319 PyObject * obj0 = 0 ;
19320 PyObject * obj1 = 0 ;
19321 PyObject * obj2 = 0 ;
19322 char *kwnames[] = {
19323 (char *) "self",(char *) "x",(char *) "y", NULL
19324 };
19325
7f7aa166 19326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
19327 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19328 if (SWIG_arg_fail(1)) SWIG_fail;
19329 {
32fe5131 19330 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
19331 if (SWIG_arg_fail(2)) SWIG_fail;
19332 }
19333 {
32fe5131 19334 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
19335 if (SWIG_arg_fail(3)) SWIG_fail;
19336 }
d55e5bfc
RD
19337 {
19338 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 19339 (arg1)->DoSetVirtualSize(arg2,arg3);
d55e5bfc
RD
19340
19341 wxPyEndAllowThreads(__tstate);
19342 if (PyErr_Occurred()) SWIG_fail;
19343 }
19344 Py_INCREF(Py_None); resultobj = Py_None;
19345 return resultobj;
19346 fail:
19347 return NULL;
19348}
19349
19350
7f7aa166 19351static PyObject *_wrap_PyPanel_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19352 PyObject *resultobj = NULL;
d55e5bfc
RD
19353 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19354 int *arg2 = (int *) 0 ;
19355 int *arg3 = (int *) 0 ;
19356 int temp2 ;
c370783e 19357 int res2 = 0 ;
d55e5bfc 19358 int temp3 ;
c370783e 19359 int res3 = 0 ;
d55e5bfc
RD
19360 PyObject * obj0 = 0 ;
19361 char *kwnames[] = {
19362 (char *) "self", NULL
19363 };
19364
c370783e
RD
19365 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19366 arg3 = &temp3; res3 = SWIG_NEWOBJ;
7f7aa166 19367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_DoGetSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
19368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19369 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19370 {
19371 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 19372 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
d55e5bfc
RD
19373
19374 wxPyEndAllowThreads(__tstate);
19375 if (PyErr_Occurred()) SWIG_fail;
19376 }
19377 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
19378 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19379 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19380 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19381 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
19382 return resultobj;
19383 fail:
19384 return NULL;
19385}
19386
19387
7f7aa166 19388static PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19389 PyObject *resultobj = NULL;
d55e5bfc
RD
19390 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19391 int *arg2 = (int *) 0 ;
19392 int *arg3 = (int *) 0 ;
19393 int temp2 ;
c370783e 19394 int res2 = 0 ;
d55e5bfc 19395 int temp3 ;
c370783e 19396 int res3 = 0 ;
d55e5bfc
RD
19397 PyObject * obj0 = 0 ;
19398 char *kwnames[] = {
19399 (char *) "self", NULL
19400 };
19401
c370783e
RD
19402 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19403 arg3 = &temp3; res3 = SWIG_NEWOBJ;
7f7aa166 19404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_DoGetClientSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
19405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19406 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19407 {
19408 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 19409 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
d55e5bfc
RD
19410
19411 wxPyEndAllowThreads(__tstate);
19412 if (PyErr_Occurred()) SWIG_fail;
19413 }
19414 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
19415 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19416 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19417 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19418 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
19419 return resultobj;
19420 fail:
19421 return NULL;
19422}
19423
19424
7f7aa166 19425static PyObject *_wrap_PyPanel_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19426 PyObject *resultobj = NULL;
d55e5bfc
RD
19427 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19428 int *arg2 = (int *) 0 ;
19429 int *arg3 = (int *) 0 ;
19430 int temp2 ;
c370783e 19431 int res2 = 0 ;
d55e5bfc 19432 int temp3 ;
c370783e 19433 int res3 = 0 ;
d55e5bfc
RD
19434 PyObject * obj0 = 0 ;
19435 char *kwnames[] = {
19436 (char *) "self", NULL
19437 };
19438
c370783e
RD
19439 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19440 arg3 = &temp3; res3 = SWIG_NEWOBJ;
7f7aa166 19441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_DoGetPosition",kwnames,&obj0)) goto fail;
36ed4f51
RD
19442 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19443 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19444 {
19445 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 19446 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
d55e5bfc
RD
19447
19448 wxPyEndAllowThreads(__tstate);
19449 if (PyErr_Occurred()) SWIG_fail;
19450 }
19451 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
19452 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19453 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19454 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19455 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
19456 return resultobj;
19457 fail:
19458 return NULL;
19459}
19460
19461
7f7aa166 19462static PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19463 PyObject *resultobj = NULL;
d55e5bfc
RD
19464 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19465 wxSize result;
19466 PyObject * obj0 = 0 ;
19467 char *kwnames[] = {
19468 (char *) "self", NULL
19469 };
19470
7f7aa166 19471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_DoGetVirtualSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
19472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19473 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19474 {
19475 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 19476 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
d55e5bfc
RD
19477
19478 wxPyEndAllowThreads(__tstate);
19479 if (PyErr_Occurred()) SWIG_fail;
19480 }
19481 {
19482 wxSize * resultptr;
32fe5131 19483 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
19484 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19485 }
19486 return resultobj;
19487 fail:
19488 return NULL;
19489}
19490
19491
7f7aa166 19492static PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19493 PyObject *resultobj = NULL;
d55e5bfc
RD
19494 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19495 wxSize result;
19496 PyObject * obj0 = 0 ;
19497 char *kwnames[] = {
19498 (char *) "self", NULL
19499 };
19500
7f7aa166 19501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_DoGetBestSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
19502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19503 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19504 {
19505 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 19506 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
d55e5bfc
RD
19507
19508 wxPyEndAllowThreads(__tstate);
19509 if (PyErr_Occurred()) SWIG_fail;
19510 }
19511 {
19512 wxSize * resultptr;
32fe5131 19513 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
19514 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19515 }
19516 return resultobj;
19517 fail:
19518 return NULL;
19519}
19520
19521
7f7aa166 19522static PyObject *_wrap_PyPanel_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19523 PyObject *resultobj = NULL;
d55e5bfc
RD
19524 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19525 PyObject * obj0 = 0 ;
19526 char *kwnames[] = {
19527 (char *) "self", NULL
19528 };
19529
7f7aa166 19530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_InitDialog",kwnames,&obj0)) goto fail;
36ed4f51
RD
19531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19532 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19533 {
19534 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 19535 (arg1)->InitDialog();
d55e5bfc
RD
19536
19537 wxPyEndAllowThreads(__tstate);
19538 if (PyErr_Occurred()) SWIG_fail;
19539 }
19540 Py_INCREF(Py_None); resultobj = Py_None;
19541 return resultobj;
19542 fail:
19543 return NULL;
19544}
19545
19546
7f7aa166 19547static PyObject *_wrap_PyPanel_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19548 PyObject *resultobj = NULL;
d55e5bfc
RD
19549 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19550 bool result;
19551 PyObject * obj0 = 0 ;
19552 char *kwnames[] = {
19553 (char *) "self", NULL
19554 };
19555
7f7aa166 19556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_TransferDataToWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
19557 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19558 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19559 {
19560 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 19561 result = (bool)(arg1)->TransferDataToWindow();
d55e5bfc
RD
19562
19563 wxPyEndAllowThreads(__tstate);
19564 if (PyErr_Occurred()) SWIG_fail;
19565 }
19566 {
19567 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19568 }
19569 return resultobj;
19570 fail:
19571 return NULL;
19572}
19573
19574
7f7aa166 19575static PyObject *_wrap_PyPanel_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19576 PyObject *resultobj = NULL;
d55e5bfc
RD
19577 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19578 bool result;
19579 PyObject * obj0 = 0 ;
19580 char *kwnames[] = {
19581 (char *) "self", NULL
19582 };
19583
7f7aa166 19584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_TransferDataFromWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
19585 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19586 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19587 {
19588 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 19589 result = (bool)(arg1)->TransferDataFromWindow();
d55e5bfc
RD
19590
19591 wxPyEndAllowThreads(__tstate);
19592 if (PyErr_Occurred()) SWIG_fail;
19593 }
19594 {
19595 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19596 }
19597 return resultobj;
19598 fail:
19599 return NULL;
19600}
19601
19602
7f7aa166 19603static PyObject *_wrap_PyPanel_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19604 PyObject *resultobj = NULL;
d55e5bfc
RD
19605 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19606 bool result;
19607 PyObject * obj0 = 0 ;
19608 char *kwnames[] = {
19609 (char *) "self", NULL
19610 };
19611
7f7aa166 19612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_Validate",kwnames,&obj0)) goto fail;
36ed4f51
RD
19613 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19614 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19615 {
19616 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 19617 result = (bool)(arg1)->Validate();
d55e5bfc
RD
19618
19619 wxPyEndAllowThreads(__tstate);
19620 if (PyErr_Occurred()) SWIG_fail;
19621 }
19622 {
19623 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19624 }
19625 return resultobj;
19626 fail:
19627 return NULL;
19628}
19629
19630
7f7aa166 19631static PyObject *_wrap_PyPanel_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19632 PyObject *resultobj = NULL;
d55e5bfc
RD
19633 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19634 bool result;
19635 PyObject * obj0 = 0 ;
19636 char *kwnames[] = {
19637 (char *) "self", NULL
19638 };
19639
7f7aa166 19640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_AcceptsFocus",kwnames,&obj0)) goto fail;
36ed4f51
RD
19641 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19642 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19643 {
19644 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 19645 result = (bool)((wxPyPanel const *)arg1)->AcceptsFocus();
d55e5bfc
RD
19646
19647 wxPyEndAllowThreads(__tstate);
19648 if (PyErr_Occurred()) SWIG_fail;
19649 }
19650 {
19651 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19652 }
19653 return resultobj;
19654 fail:
19655 return NULL;
19656}
19657
19658
7f7aa166 19659static PyObject *_wrap_PyPanel_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19660 PyObject *resultobj = NULL;
d55e5bfc
RD
19661 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19662 bool result;
19663 PyObject * obj0 = 0 ;
19664 char *kwnames[] = {
19665 (char *) "self", NULL
19666 };
19667
7f7aa166 19668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
36ed4f51
RD
19669 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19670 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19671 {
19672 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 19673 result = (bool)((wxPyPanel const *)arg1)->AcceptsFocusFromKeyboard();
d55e5bfc
RD
19674
19675 wxPyEndAllowThreads(__tstate);
19676 if (PyErr_Occurred()) SWIG_fail;
19677 }
19678 {
19679 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19680 }
19681 return resultobj;
19682 fail:
19683 return NULL;
19684}
19685
19686
7f7aa166 19687static PyObject *_wrap_PyPanel_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19688 PyObject *resultobj = NULL;
d55e5bfc
RD
19689 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19690 wxSize result;
19691 PyObject * obj0 = 0 ;
19692 char *kwnames[] = {
19693 (char *) "self", NULL
19694 };
19695
7f7aa166 19696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_GetMaxSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
19697 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19698 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19699 {
19700 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 19701 result = ((wxPyPanel const *)arg1)->GetMaxSize();
d55e5bfc
RD
19702
19703 wxPyEndAllowThreads(__tstate);
19704 if (PyErr_Occurred()) SWIG_fail;
19705 }
19706 {
19707 wxSize * resultptr;
32fe5131 19708 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
19709 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19710 }
19711 return resultobj;
19712 fail:
19713 return NULL;
19714}
19715
19716
7f7aa166 19717static PyObject *_wrap_PyPanel_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19718 PyObject *resultobj = NULL;
d55e5bfc
RD
19719 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19720 wxWindow *arg2 = (wxWindow *) 0 ;
19721 PyObject * obj0 = 0 ;
19722 PyObject * obj1 = 0 ;
19723 char *kwnames[] = {
19724 (char *) "self",(char *) "child", NULL
19725 };
19726
7f7aa166 19727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_AddChild",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19728 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19729 if (SWIG_arg_fail(1)) SWIG_fail;
19730 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19731 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
19732 {
19733 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 19734 (arg1)->AddChild(arg2);
d55e5bfc
RD
19735
19736 wxPyEndAllowThreads(__tstate);
19737 if (PyErr_Occurred()) SWIG_fail;
19738 }
19739 Py_INCREF(Py_None); resultobj = Py_None;
19740 return resultobj;
19741 fail:
19742 return NULL;
19743}
19744
19745
7f7aa166 19746static PyObject *_wrap_PyPanel_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19747 PyObject *resultobj = NULL;
d55e5bfc
RD
19748 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19749 wxWindow *arg2 = (wxWindow *) 0 ;
19750 PyObject * obj0 = 0 ;
19751 PyObject * obj1 = 0 ;
19752 char *kwnames[] = {
19753 (char *) "self",(char *) "child", NULL
19754 };
19755
7f7aa166 19756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19757 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19758 if (SWIG_arg_fail(1)) SWIG_fail;
19759 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19760 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
19761 {
19762 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 19763 (arg1)->RemoveChild(arg2);
d55e5bfc
RD
19764
19765 wxPyEndAllowThreads(__tstate);
19766 if (PyErr_Occurred()) SWIG_fail;
19767 }
19768 Py_INCREF(Py_None); resultobj = Py_None;
19769 return resultobj;
19770 fail:
19771 return NULL;
19772}
19773
19774
7f7aa166 19775static PyObject *_wrap_PyPanel_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19776 PyObject *resultobj = NULL;
d55e5bfc
RD
19777 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19778 bool result;
19779 PyObject * obj0 = 0 ;
19780 char *kwnames[] = {
19781 (char *) "self", NULL
19782 };
19783
7f7aa166 19784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_ShouldInheritColours",kwnames,&obj0)) goto fail;
36ed4f51
RD
19785 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19786 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19787 {
19788 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 19789 result = (bool)((wxPyPanel const *)arg1)->ShouldInheritColours();
d55e5bfc
RD
19790
19791 wxPyEndAllowThreads(__tstate);
19792 if (PyErr_Occurred()) SWIG_fail;
19793 }
19794 {
19795 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19796 }
19797 return resultobj;
19798 fail:
19799 return NULL;
19800}
19801
19802
7f7aa166 19803static PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19804 PyObject *resultobj = NULL;
a5ee0656
RD
19805 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19806 wxVisualAttributes result;
19807 PyObject * obj0 = 0 ;
19808 char *kwnames[] = {
19809 (char *) "self", NULL
19810 };
19811
7f7aa166 19812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_GetDefaultAttributes",kwnames,&obj0)) goto fail;
36ed4f51
RD
19813 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19814 if (SWIG_arg_fail(1)) SWIG_fail;
a5ee0656
RD
19815 {
19816 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 19817 result = (arg1)->GetDefaultAttributes();
a5ee0656
RD
19818
19819 wxPyEndAllowThreads(__tstate);
19820 if (PyErr_Occurred()) SWIG_fail;
19821 }
19822 {
19823 wxVisualAttributes * resultptr;
32fe5131 19824 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
a5ee0656
RD
19825 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
19826 }
19827 return resultobj;
19828 fail:
19829 return NULL;
19830}
19831
19832
7f7aa166 19833static PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19834 PyObject *resultobj = NULL;
8d38bd1d
RD
19835 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19836 PyObject * obj0 = 0 ;
19837 char *kwnames[] = {
19838 (char *) "self", NULL
19839 };
19840
7f7aa166 19841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_OnInternalIdle",kwnames,&obj0)) goto fail;
8d38bd1d
RD
19842 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19843 if (SWIG_arg_fail(1)) SWIG_fail;
19844 {
19845 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 19846 (arg1)->OnInternalIdle();
8d38bd1d
RD
19847
19848 wxPyEndAllowThreads(__tstate);
19849 if (PyErr_Occurred()) SWIG_fail;
19850 }
19851 Py_INCREF(Py_None); resultobj = Py_None;
19852 return resultobj;
19853 fail:
19854 return NULL;
19855}
19856
19857
c370783e 19858static PyObject * PyPanel_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
19859 PyObject *obj;
19860 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19861 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
19862 Py_INCREF(obj);
19863 return Py_BuildValue((char *)"");
19864}
c370783e 19865static PyObject *_wrap_new_PyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19866 PyObject *resultobj = NULL;
d55e5bfc 19867 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 19868 int arg2 = (int) (int)-1 ;
d55e5bfc
RD
19869 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19870 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19871 wxSize const &arg4_defvalue = wxDefaultSize ;
19872 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19873 long arg5 = (long) 0 ;
19874 wxString const &arg6_defvalue = wxPyPanelNameStr ;
19875 wxString *arg6 = (wxString *) &arg6_defvalue ;
19876 wxPyScrolledWindow *result;
19877 wxPoint temp3 ;
19878 wxSize temp4 ;
b411df4a 19879 bool temp6 = false ;
d55e5bfc
RD
19880 PyObject * obj0 = 0 ;
19881 PyObject * obj1 = 0 ;
19882 PyObject * obj2 = 0 ;
19883 PyObject * obj3 = 0 ;
19884 PyObject * obj4 = 0 ;
19885 PyObject * obj5 = 0 ;
19886 char *kwnames[] = {
19887 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19888 };
19889
bfddbb17 19890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
19891 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19892 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 19893 if (obj1) {
36ed4f51 19894 {
32fe5131 19895 arg2 = static_cast<int const >(SWIG_As_int(obj1));
36ed4f51
RD
19896 if (SWIG_arg_fail(2)) SWIG_fail;
19897 }
bfddbb17 19898 }
d55e5bfc
RD
19899 if (obj2) {
19900 {
19901 arg3 = &temp3;
19902 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19903 }
19904 }
19905 if (obj3) {
19906 {
19907 arg4 = &temp4;
19908 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19909 }
19910 }
19911 if (obj4) {
36ed4f51 19912 {
32fe5131 19913 arg5 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
19914 if (SWIG_arg_fail(5)) SWIG_fail;
19915 }
d55e5bfc
RD
19916 }
19917 if (obj5) {
19918 {
19919 arg6 = wxString_in_helper(obj5);
19920 if (arg6 == NULL) SWIG_fail;
b411df4a 19921 temp6 = true;
d55e5bfc
RD
19922 }
19923 }
19924 {
0439c23b 19925 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
19926 PyThreadState* __tstate = wxPyBeginAllowThreads();
19927 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
19928
19929 wxPyEndAllowThreads(__tstate);
110da5b0 19930 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
19931 }
19932 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
19933 {
19934 if (temp6)
19935 delete arg6;
19936 }
19937 return resultobj;
19938 fail:
19939 {
19940 if (temp6)
19941 delete arg6;
19942 }
19943 return NULL;
19944}
19945
19946
c370783e 19947static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19948 PyObject *resultobj = NULL;
d55e5bfc
RD
19949 wxPyScrolledWindow *result;
19950 char *kwnames[] = {
19951 NULL
19952 };
19953
19954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
19955 {
0439c23b 19956 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
19957 PyThreadState* __tstate = wxPyBeginAllowThreads();
19958 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
19959
19960 wxPyEndAllowThreads(__tstate);
110da5b0 19961 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
19962 }
19963 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
19964 return resultobj;
19965 fail:
19966 return NULL;
19967}
19968
19969
c370783e 19970static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19971 PyObject *resultobj = NULL;
d55e5bfc
RD
19972 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19973 PyObject *arg2 = (PyObject *) 0 ;
19974 PyObject *arg3 = (PyObject *) 0 ;
19975 PyObject * obj0 = 0 ;
19976 PyObject * obj1 = 0 ;
19977 PyObject * obj2 = 0 ;
19978 char *kwnames[] = {
19979 (char *) "self",(char *) "self",(char *) "_class", NULL
19980 };
19981
19982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
19983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19984 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19985 arg2 = obj1;
19986 arg3 = obj2;
19987 {
19988 PyThreadState* __tstate = wxPyBeginAllowThreads();
19989 (arg1)->_setCallbackInfo(arg2,arg3);
19990
19991 wxPyEndAllowThreads(__tstate);
19992 if (PyErr_Occurred()) SWIG_fail;
19993 }
19994 Py_INCREF(Py_None); resultobj = Py_None;
19995 return resultobj;
19996 fail:
19997 return NULL;
19998}
19999
20000
c370783e 20001static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20002 PyObject *resultobj = NULL;
a5ee0656
RD
20003 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20004 wxSize *arg2 = 0 ;
20005 wxSize temp2 ;
20006 PyObject * obj0 = 0 ;
20007 PyObject * obj1 = 0 ;
20008 char *kwnames[] = {
20009 (char *) "self",(char *) "size", NULL
20010 };
20011
20012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20013 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20014 if (SWIG_arg_fail(1)) SWIG_fail;
a5ee0656
RD
20015 {
20016 arg2 = &temp2;
20017 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20018 }
20019 {
20020 PyThreadState* __tstate = wxPyBeginAllowThreads();
20021 (arg1)->SetBestSize((wxSize const &)*arg2);
20022
20023 wxPyEndAllowThreads(__tstate);
20024 if (PyErr_Occurred()) SWIG_fail;
20025 }
20026 Py_INCREF(Py_None); resultobj = Py_None;
20027 return resultobj;
20028 fail:
20029 return NULL;
20030}
20031
20032
976dbff5 20033static PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20034 PyObject *resultobj = NULL;
976dbff5
RD
20035 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20036 wxDC *arg2 = (wxDC *) 0 ;
20037 bool result;
20038 PyObject * obj0 = 0 ;
20039 PyObject * obj1 = 0 ;
20040 char *kwnames[] = {
20041 (char *) "self",(char *) "dc", NULL
20042 };
20043
20044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail;
20045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20046 if (SWIG_arg_fail(1)) SWIG_fail;
20047 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
20048 if (SWIG_arg_fail(2)) SWIG_fail;
20049 {
20050 PyThreadState* __tstate = wxPyBeginAllowThreads();
20051 result = (bool)(arg1)->DoEraseBackground(arg2);
20052
20053 wxPyEndAllowThreads(__tstate);
20054 if (PyErr_Occurred()) SWIG_fail;
20055 }
20056 {
20057 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20058 }
20059 return resultobj;
20060 fail:
20061 return NULL;
20062}
20063
20064
7f7aa166 20065static PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20066 PyObject *resultobj = NULL;
d55e5bfc
RD
20067 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20068 int arg2 ;
20069 int arg3 ;
20070 int arg4 ;
20071 int arg5 ;
20072 PyObject * obj0 = 0 ;
20073 PyObject * obj1 = 0 ;
20074 PyObject * obj2 = 0 ;
20075 PyObject * obj3 = 0 ;
20076 PyObject * obj4 = 0 ;
20077 char *kwnames[] = {
20078 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
20079 };
20080
7f7aa166 20081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
20082 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20083 if (SWIG_arg_fail(1)) SWIG_fail;
20084 {
32fe5131 20085 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
20086 if (SWIG_arg_fail(2)) SWIG_fail;
20087 }
20088 {
32fe5131 20089 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
20090 if (SWIG_arg_fail(3)) SWIG_fail;
20091 }
20092 {
32fe5131 20093 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
20094 if (SWIG_arg_fail(4)) SWIG_fail;
20095 }
20096 {
32fe5131 20097 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
20098 if (SWIG_arg_fail(5)) SWIG_fail;
20099 }
d55e5bfc
RD
20100 {
20101 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 20102 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
d55e5bfc
RD
20103
20104 wxPyEndAllowThreads(__tstate);
20105 if (PyErr_Occurred()) SWIG_fail;
20106 }
20107 Py_INCREF(Py_None); resultobj = Py_None;
20108 return resultobj;
20109 fail:
20110 return NULL;
20111}
20112
20113
7f7aa166 20114static PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20115 PyObject *resultobj = NULL;
d55e5bfc
RD
20116 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20117 int arg2 ;
20118 int arg3 ;
20119 int arg4 ;
20120 int arg5 ;
20121 int arg6 = (int) wxSIZE_AUTO ;
20122 PyObject * obj0 = 0 ;
20123 PyObject * obj1 = 0 ;
20124 PyObject * obj2 = 0 ;
20125 PyObject * obj3 = 0 ;
20126 PyObject * obj4 = 0 ;
20127 PyObject * obj5 = 0 ;
20128 char *kwnames[] = {
20129 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
20130 };
20131
7f7aa166 20132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
20133 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20134 if (SWIG_arg_fail(1)) SWIG_fail;
20135 {
32fe5131 20136 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
20137 if (SWIG_arg_fail(2)) SWIG_fail;
20138 }
20139 {
32fe5131 20140 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
20141 if (SWIG_arg_fail(3)) SWIG_fail;
20142 }
20143 {
32fe5131 20144 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
20145 if (SWIG_arg_fail(4)) SWIG_fail;
20146 }
20147 {
32fe5131 20148 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
20149 if (SWIG_arg_fail(5)) SWIG_fail;
20150 }
d55e5bfc 20151 if (obj5) {
36ed4f51 20152 {
32fe5131 20153 arg6 = static_cast<int >(SWIG_As_int(obj5));
36ed4f51
RD
20154 if (SWIG_arg_fail(6)) SWIG_fail;
20155 }
d55e5bfc
RD
20156 }
20157 {
20158 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 20159 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
d55e5bfc
RD
20160
20161 wxPyEndAllowThreads(__tstate);
20162 if (PyErr_Occurred()) SWIG_fail;
20163 }
20164 Py_INCREF(Py_None); resultobj = Py_None;
20165 return resultobj;
20166 fail:
20167 return NULL;
20168}
20169
20170
7f7aa166 20171static PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20172 PyObject *resultobj = NULL;
d55e5bfc
RD
20173 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20174 int arg2 ;
20175 int arg3 ;
20176 PyObject * obj0 = 0 ;
20177 PyObject * obj1 = 0 ;
20178 PyObject * obj2 = 0 ;
20179 char *kwnames[] = {
20180 (char *) "self",(char *) "width",(char *) "height", NULL
20181 };
20182
7f7aa166 20183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
20184 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20185 if (SWIG_arg_fail(1)) SWIG_fail;
20186 {
32fe5131 20187 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
20188 if (SWIG_arg_fail(2)) SWIG_fail;
20189 }
20190 {
32fe5131 20191 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
20192 if (SWIG_arg_fail(3)) SWIG_fail;
20193 }
d55e5bfc
RD
20194 {
20195 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 20196 (arg1)->DoSetClientSize(arg2,arg3);
d55e5bfc
RD
20197
20198 wxPyEndAllowThreads(__tstate);
20199 if (PyErr_Occurred()) SWIG_fail;
20200 }
20201 Py_INCREF(Py_None); resultobj = Py_None;
20202 return resultobj;
20203 fail:
20204 return NULL;
20205}
20206
20207
7f7aa166 20208static PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20209 PyObject *resultobj = NULL;
d55e5bfc
RD
20210 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20211 int arg2 ;
20212 int arg3 ;
20213 PyObject * obj0 = 0 ;
20214 PyObject * obj1 = 0 ;
20215 PyObject * obj2 = 0 ;
20216 char *kwnames[] = {
20217 (char *) "self",(char *) "x",(char *) "y", NULL
20218 };
20219
7f7aa166 20220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
20221 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20222 if (SWIG_arg_fail(1)) SWIG_fail;
20223 {
32fe5131 20224 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
20225 if (SWIG_arg_fail(2)) SWIG_fail;
20226 }
20227 {
32fe5131 20228 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
20229 if (SWIG_arg_fail(3)) SWIG_fail;
20230 }
d55e5bfc
RD
20231 {
20232 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 20233 (arg1)->DoSetVirtualSize(arg2,arg3);
d55e5bfc
RD
20234
20235 wxPyEndAllowThreads(__tstate);
20236 if (PyErr_Occurred()) SWIG_fail;
20237 }
20238 Py_INCREF(Py_None); resultobj = Py_None;
20239 return resultobj;
20240 fail:
20241 return NULL;
20242}
20243
20244
7f7aa166 20245static PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20246 PyObject *resultobj = NULL;
d55e5bfc
RD
20247 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20248 int *arg2 = (int *) 0 ;
20249 int *arg3 = (int *) 0 ;
20250 int temp2 ;
c370783e 20251 int res2 = 0 ;
d55e5bfc 20252 int temp3 ;
c370783e 20253 int res3 = 0 ;
d55e5bfc
RD
20254 PyObject * obj0 = 0 ;
20255 char *kwnames[] = {
20256 (char *) "self", NULL
20257 };
20258
c370783e
RD
20259 arg2 = &temp2; res2 = SWIG_NEWOBJ;
20260 arg3 = &temp3; res3 = SWIG_NEWOBJ;
7f7aa166 20261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_DoGetSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
20262 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20263 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20264 {
20265 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 20266 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
d55e5bfc
RD
20267
20268 wxPyEndAllowThreads(__tstate);
20269 if (PyErr_Occurred()) SWIG_fail;
20270 }
20271 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
20272 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
20273 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
20274 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
20275 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
20276 return resultobj;
20277 fail:
20278 return NULL;
20279}
20280
20281
7f7aa166 20282static PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20283 PyObject *resultobj = NULL;
d55e5bfc
RD
20284 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20285 int *arg2 = (int *) 0 ;
20286 int *arg3 = (int *) 0 ;
20287 int temp2 ;
c370783e 20288 int res2 = 0 ;
d55e5bfc 20289 int temp3 ;
c370783e 20290 int res3 = 0 ;
d55e5bfc
RD
20291 PyObject * obj0 = 0 ;
20292 char *kwnames[] = {
20293 (char *) "self", NULL
20294 };
20295
c370783e
RD
20296 arg2 = &temp2; res2 = SWIG_NEWOBJ;
20297 arg3 = &temp3; res3 = SWIG_NEWOBJ;
7f7aa166 20298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_DoGetClientSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
20299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20300 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20301 {
20302 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 20303 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
d55e5bfc
RD
20304
20305 wxPyEndAllowThreads(__tstate);
20306 if (PyErr_Occurred()) SWIG_fail;
20307 }
20308 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
20309 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
20310 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
20311 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
20312 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
20313 return resultobj;
20314 fail:
20315 return NULL;
20316}
20317
20318
7f7aa166 20319static PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20320 PyObject *resultobj = NULL;
d55e5bfc
RD
20321 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20322 int *arg2 = (int *) 0 ;
20323 int *arg3 = (int *) 0 ;
20324 int temp2 ;
c370783e 20325 int res2 = 0 ;
d55e5bfc 20326 int temp3 ;
c370783e 20327 int res3 = 0 ;
d55e5bfc
RD
20328 PyObject * obj0 = 0 ;
20329 char *kwnames[] = {
20330 (char *) "self", NULL
20331 };
20332
c370783e
RD
20333 arg2 = &temp2; res2 = SWIG_NEWOBJ;
20334 arg3 = &temp3; res3 = SWIG_NEWOBJ;
7f7aa166 20335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_DoGetPosition",kwnames,&obj0)) goto fail;
36ed4f51
RD
20336 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20337 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20338 {
20339 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 20340 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
d55e5bfc
RD
20341
20342 wxPyEndAllowThreads(__tstate);
20343 if (PyErr_Occurred()) SWIG_fail;
20344 }
20345 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
20346 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
20347 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
20348 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
20349 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
20350 return resultobj;
20351 fail:
20352 return NULL;
20353}
20354
20355
7f7aa166 20356static PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20357 PyObject *resultobj = NULL;
d55e5bfc
RD
20358 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20359 wxSize result;
20360 PyObject * obj0 = 0 ;
20361 char *kwnames[] = {
20362 (char *) "self", NULL
20363 };
20364
7f7aa166 20365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_DoGetVirtualSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
20366 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20367 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20368 {
20369 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 20370 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
d55e5bfc
RD
20371
20372 wxPyEndAllowThreads(__tstate);
20373 if (PyErr_Occurred()) SWIG_fail;
20374 }
20375 {
20376 wxSize * resultptr;
32fe5131 20377 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
20378 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20379 }
20380 return resultobj;
20381 fail:
20382 return NULL;
20383}
20384
20385
7f7aa166 20386static PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20387 PyObject *resultobj = NULL;
d55e5bfc
RD
20388 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20389 wxSize result;
20390 PyObject * obj0 = 0 ;
20391 char *kwnames[] = {
20392 (char *) "self", NULL
20393 };
20394
7f7aa166 20395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_DoGetBestSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
20396 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20397 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20398 {
20399 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 20400 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
d55e5bfc
RD
20401
20402 wxPyEndAllowThreads(__tstate);
20403 if (PyErr_Occurred()) SWIG_fail;
20404 }
20405 {
20406 wxSize * resultptr;
32fe5131 20407 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
20408 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20409 }
20410 return resultobj;
20411 fail:
20412 return NULL;
20413}
20414
20415
7f7aa166 20416static PyObject *_wrap_PyScrolledWindow_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20417 PyObject *resultobj = NULL;
d55e5bfc
RD
20418 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20419 PyObject * obj0 = 0 ;
20420 char *kwnames[] = {
20421 (char *) "self", NULL
20422 };
20423
7f7aa166 20424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_InitDialog",kwnames,&obj0)) goto fail;
36ed4f51
RD
20425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20426 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20427 {
20428 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 20429 (arg1)->InitDialog();
d55e5bfc
RD
20430
20431 wxPyEndAllowThreads(__tstate);
20432 if (PyErr_Occurred()) SWIG_fail;
20433 }
20434 Py_INCREF(Py_None); resultobj = Py_None;
20435 return resultobj;
20436 fail:
20437 return NULL;
20438}
20439
20440
7f7aa166 20441static PyObject *_wrap_PyScrolledWindow_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20442 PyObject *resultobj = NULL;
d55e5bfc
RD
20443 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20444 bool result;
20445 PyObject * obj0 = 0 ;
20446 char *kwnames[] = {
20447 (char *) "self", NULL
20448 };
20449
7f7aa166 20450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_TransferDataToWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
20451 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20452 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20453 {
20454 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 20455 result = (bool)(arg1)->TransferDataToWindow();
d55e5bfc
RD
20456
20457 wxPyEndAllowThreads(__tstate);
20458 if (PyErr_Occurred()) SWIG_fail;
20459 }
20460 {
20461 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20462 }
20463 return resultobj;
20464 fail:
20465 return NULL;
20466}
20467
20468
7f7aa166 20469static PyObject *_wrap_PyScrolledWindow_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20470 PyObject *resultobj = NULL;
d55e5bfc
RD
20471 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20472 bool result;
20473 PyObject * obj0 = 0 ;
20474 char *kwnames[] = {
20475 (char *) "self", NULL
20476 };
20477
7f7aa166 20478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_TransferDataFromWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
20479 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20480 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20481 {
20482 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 20483 result = (bool)(arg1)->TransferDataFromWindow();
d55e5bfc
RD
20484
20485 wxPyEndAllowThreads(__tstate);
20486 if (PyErr_Occurred()) SWIG_fail;
20487 }
20488 {
20489 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20490 }
20491 return resultobj;
20492 fail:
20493 return NULL;
20494}
20495
20496
7f7aa166 20497static PyObject *_wrap_PyScrolledWindow_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20498 PyObject *resultobj = NULL;
d55e5bfc
RD
20499 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20500 bool result;
20501 PyObject * obj0 = 0 ;
20502 char *kwnames[] = {
20503 (char *) "self", NULL
20504 };
20505
7f7aa166 20506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_Validate",kwnames,&obj0)) goto fail;
36ed4f51
RD
20507 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20508 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20509 {
20510 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 20511 result = (bool)(arg1)->Validate();
d55e5bfc
RD
20512
20513 wxPyEndAllowThreads(__tstate);
20514 if (PyErr_Occurred()) SWIG_fail;
20515 }
20516 {
20517 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20518 }
20519 return resultobj;
20520 fail:
20521 return NULL;
20522}
20523
20524
7f7aa166 20525static PyObject *_wrap_PyScrolledWindow_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20526 PyObject *resultobj = NULL;
d55e5bfc
RD
20527 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20528 bool result;
20529 PyObject * obj0 = 0 ;
20530 char *kwnames[] = {
20531 (char *) "self", NULL
20532 };
20533
7f7aa166 20534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_AcceptsFocus",kwnames,&obj0)) goto fail;
36ed4f51
RD
20535 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20536 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20537 {
20538 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 20539 result = (bool)((wxPyScrolledWindow const *)arg1)->AcceptsFocus();
d55e5bfc
RD
20540
20541 wxPyEndAllowThreads(__tstate);
20542 if (PyErr_Occurred()) SWIG_fail;
20543 }
20544 {
20545 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20546 }
20547 return resultobj;
20548 fail:
20549 return NULL;
20550}
20551
20552
7f7aa166 20553static PyObject *_wrap_PyScrolledWindow_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20554 PyObject *resultobj = NULL;
d55e5bfc
RD
20555 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20556 bool result;
20557 PyObject * obj0 = 0 ;
20558 char *kwnames[] = {
20559 (char *) "self", NULL
20560 };
20561
7f7aa166 20562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
36ed4f51
RD
20563 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20564 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20565 {
20566 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 20567 result = (bool)((wxPyScrolledWindow const *)arg1)->AcceptsFocusFromKeyboard();
d55e5bfc
RD
20568
20569 wxPyEndAllowThreads(__tstate);
20570 if (PyErr_Occurred()) SWIG_fail;
20571 }
20572 {
20573 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20574 }
20575 return resultobj;
20576 fail:
20577 return NULL;
20578}
20579
20580
7f7aa166 20581static PyObject *_wrap_PyScrolledWindow_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20582 PyObject *resultobj = NULL;
d55e5bfc
RD
20583 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20584 wxSize result;
20585 PyObject * obj0 = 0 ;
20586 char *kwnames[] = {
20587 (char *) "self", NULL
20588 };
20589
7f7aa166 20590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_GetMaxSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
20591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20592 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20593 {
20594 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 20595 result = ((wxPyScrolledWindow const *)arg1)->GetMaxSize();
d55e5bfc
RD
20596
20597 wxPyEndAllowThreads(__tstate);
20598 if (PyErr_Occurred()) SWIG_fail;
20599 }
20600 {
20601 wxSize * resultptr;
32fe5131 20602 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
20603 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20604 }
20605 return resultobj;
20606 fail:
20607 return NULL;
20608}
20609
20610
7f7aa166 20611static PyObject *_wrap_PyScrolledWindow_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20612 PyObject *resultobj = NULL;
d55e5bfc
RD
20613 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20614 wxWindow *arg2 = (wxWindow *) 0 ;
20615 PyObject * obj0 = 0 ;
20616 PyObject * obj1 = 0 ;
20617 char *kwnames[] = {
20618 (char *) "self",(char *) "child", NULL
20619 };
20620
7f7aa166 20621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_AddChild",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20623 if (SWIG_arg_fail(1)) SWIG_fail;
20624 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
20625 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
20626 {
20627 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 20628 (arg1)->AddChild(arg2);
d55e5bfc
RD
20629
20630 wxPyEndAllowThreads(__tstate);
20631 if (PyErr_Occurred()) SWIG_fail;
20632 }
20633 Py_INCREF(Py_None); resultobj = Py_None;
20634 return resultobj;
20635 fail:
20636 return NULL;
20637}
20638
20639
7f7aa166 20640static PyObject *_wrap_PyScrolledWindow_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20641 PyObject *resultobj = NULL;
d55e5bfc
RD
20642 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20643 wxWindow *arg2 = (wxWindow *) 0 ;
20644 PyObject * obj0 = 0 ;
20645 PyObject * obj1 = 0 ;
20646 char *kwnames[] = {
20647 (char *) "self",(char *) "child", NULL
20648 };
20649
7f7aa166 20650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20651 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20652 if (SWIG_arg_fail(1)) SWIG_fail;
20653 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
20654 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
20655 {
20656 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 20657 (arg1)->RemoveChild(arg2);
d55e5bfc
RD
20658
20659 wxPyEndAllowThreads(__tstate);
20660 if (PyErr_Occurred()) SWIG_fail;
20661 }
20662 Py_INCREF(Py_None); resultobj = Py_None;
20663 return resultobj;
20664 fail:
20665 return NULL;
20666}
20667
20668
7f7aa166 20669static PyObject *_wrap_PyScrolledWindow_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20670 PyObject *resultobj = NULL;
d55e5bfc
RD
20671 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20672 bool result;
20673 PyObject * obj0 = 0 ;
20674 char *kwnames[] = {
20675 (char *) "self", NULL
20676 };
20677
7f7aa166 20678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_ShouldInheritColours",kwnames,&obj0)) goto fail;
36ed4f51
RD
20679 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20680 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20681 {
20682 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 20683 result = (bool)((wxPyScrolledWindow const *)arg1)->ShouldInheritColours();
d55e5bfc
RD
20684
20685 wxPyEndAllowThreads(__tstate);
20686 if (PyErr_Occurred()) SWIG_fail;
20687 }
20688 {
20689 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20690 }
20691 return resultobj;
20692 fail:
20693 return NULL;
20694}
20695
20696
7f7aa166 20697static PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20698 PyObject *resultobj = NULL;
a5ee0656
RD
20699 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20700 wxVisualAttributes result;
20701 PyObject * obj0 = 0 ;
20702 char *kwnames[] = {
20703 (char *) "self", NULL
20704 };
20705
7f7aa166 20706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_GetDefaultAttributes",kwnames,&obj0)) goto fail;
36ed4f51
RD
20707 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20708 if (SWIG_arg_fail(1)) SWIG_fail;
a5ee0656
RD
20709 {
20710 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 20711 result = (arg1)->GetDefaultAttributes();
a5ee0656
RD
20712
20713 wxPyEndAllowThreads(__tstate);
20714 if (PyErr_Occurred()) SWIG_fail;
20715 }
20716 {
20717 wxVisualAttributes * resultptr;
32fe5131 20718 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
a5ee0656
RD
20719 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
20720 }
20721 return resultobj;
20722 fail:
20723 return NULL;
20724}
20725
20726
7f7aa166 20727static PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20728 PyObject *resultobj = NULL;
8d38bd1d
RD
20729 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20730 PyObject * obj0 = 0 ;
20731 char *kwnames[] = {
20732 (char *) "self", NULL
20733 };
20734
7f7aa166 20735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_OnInternalIdle",kwnames,&obj0)) goto fail;
8d38bd1d
RD
20736 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20737 if (SWIG_arg_fail(1)) SWIG_fail;
20738 {
20739 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 20740 (arg1)->OnInternalIdle();
8d38bd1d
RD
20741
20742 wxPyEndAllowThreads(__tstate);
20743 if (PyErr_Occurred()) SWIG_fail;
20744 }
20745 Py_INCREF(Py_None); resultobj = Py_None;
20746 return resultobj;
20747 fail:
20748 return NULL;
20749}
20750
20751
c370783e 20752static PyObject * PyScrolledWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
20753 PyObject *obj;
20754 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20755 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
20756 Py_INCREF(obj);
20757 return Py_BuildValue((char *)"");
20758}
c370783e 20759static int _wrap_PrintoutTitleStr_set(PyObject *) {
d55e5bfc
RD
20760 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
20761 return 1;
20762}
20763
20764
36ed4f51 20765static PyObject *_wrap_PrintoutTitleStr_get(void) {
32fe5131 20766 PyObject *pyobj = NULL;
d55e5bfc
RD
20767
20768 {
20769#if wxUSE_UNICODE
20770 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
20771#else
20772 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
20773#endif
20774 }
20775 return pyobj;
20776}
20777
20778
c370783e 20779static int _wrap_PreviewCanvasNameStr_set(PyObject *) {
d55e5bfc
RD
20780 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
20781 return 1;
20782}
20783
20784
36ed4f51 20785static PyObject *_wrap_PreviewCanvasNameStr_get(void) {
32fe5131 20786 PyObject *pyobj = NULL;
d55e5bfc
RD
20787
20788 {
20789#if wxUSE_UNICODE
20790 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
20791#else
20792 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
20793#endif
20794 }
20795 return pyobj;
20796}
20797
20798
c370783e 20799static PyObject *_wrap_new_PrintData__SWIG_0(PyObject *, PyObject *args) {
32fe5131 20800 PyObject *resultobj = NULL;
d55e5bfc 20801 wxPrintData *result;
d55e5bfc 20802
09c21d3b 20803 if(!PyArg_ParseTuple(args,(char *)":new_PrintData")) goto fail;
d55e5bfc
RD
20804 {
20805 PyThreadState* __tstate = wxPyBeginAllowThreads();
20806 result = (wxPrintData *)new wxPrintData();
20807
20808 wxPyEndAllowThreads(__tstate);
20809 if (PyErr_Occurred()) SWIG_fail;
20810 }
20811 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
20812 return resultobj;
20813 fail:
20814 return NULL;
20815}
20816
20817
c370783e 20818static PyObject *_wrap_new_PrintData__SWIG_1(PyObject *, PyObject *args) {
32fe5131 20819 PyObject *resultobj = NULL;
09c21d3b
RD
20820 wxPrintData *arg1 = 0 ;
20821 wxPrintData *result;
20822 PyObject * obj0 = 0 ;
20823
20824 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintData",&obj0)) goto fail;
36ed4f51
RD
20825 {
20826 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20827 if (SWIG_arg_fail(1)) SWIG_fail;
20828 if (arg1 == NULL) {
20829 SWIG_null_ref("wxPrintData");
20830 }
20831 if (SWIG_arg_fail(1)) SWIG_fail;
09c21d3b
RD
20832 }
20833 {
20834 PyThreadState* __tstate = wxPyBeginAllowThreads();
20835 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
20836
20837 wxPyEndAllowThreads(__tstate);
20838 if (PyErr_Occurred()) SWIG_fail;
20839 }
20840 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
20841 return resultobj;
20842 fail:
20843 return NULL;
20844}
20845
20846
20847static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
20848 int argc;
20849 PyObject *argv[2];
20850 int ii;
20851
20852 argc = PyObject_Length(args);
20853 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
20854 argv[ii] = PyTuple_GetItem(args,ii);
20855 }
20856 if (argc == 0) {
20857 return _wrap_new_PrintData__SWIG_0(self,args);
20858 }
20859 if (argc == 1) {
20860 int _v;
20861 {
36ed4f51 20862 void *ptr = 0;
09c21d3b
RD
20863 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
20864 _v = 0;
20865 PyErr_Clear();
20866 } else {
36ed4f51 20867 _v = (ptr != 0);
09c21d3b
RD
20868 }
20869 }
20870 if (_v) {
20871 return _wrap_new_PrintData__SWIG_1(self,args);
20872 }
20873 }
20874
36ed4f51 20875 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
09c21d3b
RD
20876 return NULL;
20877}
20878
20879
c370783e 20880static PyObject *_wrap_delete_PrintData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20881 PyObject *resultobj = NULL;
d55e5bfc
RD
20882 wxPrintData *arg1 = (wxPrintData *) 0 ;
20883 PyObject * obj0 = 0 ;
20884 char *kwnames[] = {
20885 (char *) "self", NULL
20886 };
20887
20888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
36ed4f51
RD
20889 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20890 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20891 {
20892 PyThreadState* __tstate = wxPyBeginAllowThreads();
20893 delete arg1;
20894
20895 wxPyEndAllowThreads(__tstate);
20896 if (PyErr_Occurred()) SWIG_fail;
20897 }
20898 Py_INCREF(Py_None); resultobj = Py_None;
20899 return resultobj;
20900 fail:
20901 return NULL;
20902}
20903
20904
c370783e 20905static PyObject *_wrap_PrintData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20906 PyObject *resultobj = NULL;
d55e5bfc
RD
20907 wxPrintData *arg1 = (wxPrintData *) 0 ;
20908 int result;
20909 PyObject * obj0 = 0 ;
20910 char *kwnames[] = {
20911 (char *) "self", NULL
20912 };
20913
20914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
36ed4f51
RD
20915 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20916 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20917 {
20918 PyThreadState* __tstate = wxPyBeginAllowThreads();
20919 result = (int)(arg1)->GetNoCopies();
20920
20921 wxPyEndAllowThreads(__tstate);
20922 if (PyErr_Occurred()) SWIG_fail;
20923 }
36ed4f51 20924 {
32fe5131 20925 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 20926 }
d55e5bfc
RD
20927 return resultobj;
20928 fail:
20929 return NULL;
20930}
20931
20932
c370783e 20933static PyObject *_wrap_PrintData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20934 PyObject *resultobj = NULL;
d55e5bfc
RD
20935 wxPrintData *arg1 = (wxPrintData *) 0 ;
20936 bool result;
20937 PyObject * obj0 = 0 ;
20938 char *kwnames[] = {
20939 (char *) "self", NULL
20940 };
20941
20942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
36ed4f51
RD
20943 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20944 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20945 {
20946 PyThreadState* __tstate = wxPyBeginAllowThreads();
20947 result = (bool)(arg1)->GetCollate();
20948
20949 wxPyEndAllowThreads(__tstate);
20950 if (PyErr_Occurred()) SWIG_fail;
20951 }
20952 {
20953 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20954 }
20955 return resultobj;
20956 fail:
20957 return NULL;
20958}
20959
20960
c370783e 20961static PyObject *_wrap_PrintData_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20962 PyObject *resultobj = NULL;
d55e5bfc
RD
20963 wxPrintData *arg1 = (wxPrintData *) 0 ;
20964 int result;
20965 PyObject * obj0 = 0 ;
20966 char *kwnames[] = {
20967 (char *) "self", NULL
20968 };
20969
20970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
36ed4f51
RD
20971 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20972 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20973 {
20974 PyThreadState* __tstate = wxPyBeginAllowThreads();
20975 result = (int)(arg1)->GetOrientation();
20976
20977 wxPyEndAllowThreads(__tstate);
20978 if (PyErr_Occurred()) SWIG_fail;
20979 }
36ed4f51 20980 {
32fe5131 20981 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 20982 }
d55e5bfc
RD
20983 return resultobj;
20984 fail:
20985 return NULL;
20986}
20987
20988
c370783e 20989static PyObject *_wrap_PrintData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20990 PyObject *resultobj = NULL;
d55e5bfc
RD
20991 wxPrintData *arg1 = (wxPrintData *) 0 ;
20992 bool result;
20993 PyObject * obj0 = 0 ;
20994 char *kwnames[] = {
20995 (char *) "self", NULL
20996 };
20997
20998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
36ed4f51
RD
20999 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21000 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21001 {
21002 PyThreadState* __tstate = wxPyBeginAllowThreads();
21003 result = (bool)(arg1)->Ok();
21004
21005 wxPyEndAllowThreads(__tstate);
21006 if (PyErr_Occurred()) SWIG_fail;
21007 }
21008 {
21009 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21010 }
21011 return resultobj;
21012 fail:
21013 return NULL;
21014}
21015
21016
c370783e 21017static PyObject *_wrap_PrintData_GetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21018 PyObject *resultobj = NULL;
d55e5bfc
RD
21019 wxPrintData *arg1 = (wxPrintData *) 0 ;
21020 wxString *result;
21021 PyObject * obj0 = 0 ;
21022 char *kwnames[] = {
21023 (char *) "self", NULL
21024 };
21025
21026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
36ed4f51
RD
21027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21028 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21029 {
21030 PyThreadState* __tstate = wxPyBeginAllowThreads();
21031 {
21032 wxString const &_result_ref = (arg1)->GetPrinterName();
21033 result = (wxString *) &_result_ref;
21034 }
21035
21036 wxPyEndAllowThreads(__tstate);
21037 if (PyErr_Occurred()) SWIG_fail;
21038 }
21039 {
21040#if wxUSE_UNICODE
21041 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21042#else
21043 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21044#endif
21045 }
21046 return resultobj;
21047 fail:
21048 return NULL;
21049}
21050
21051
c370783e 21052static PyObject *_wrap_PrintData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21053 PyObject *resultobj = NULL;
d55e5bfc
RD
21054 wxPrintData *arg1 = (wxPrintData *) 0 ;
21055 bool result;
21056 PyObject * obj0 = 0 ;
21057 char *kwnames[] = {
21058 (char *) "self", NULL
21059 };
21060
21061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
21062 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21063 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21064 {
21065 PyThreadState* __tstate = wxPyBeginAllowThreads();
21066 result = (bool)(arg1)->GetColour();
21067
21068 wxPyEndAllowThreads(__tstate);
21069 if (PyErr_Occurred()) SWIG_fail;
21070 }
21071 {
21072 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21073 }
21074 return resultobj;
21075 fail:
21076 return NULL;
21077}
21078
21079
c370783e 21080static PyObject *_wrap_PrintData_GetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21081 PyObject *resultobj = NULL;
d55e5bfc 21082 wxPrintData *arg1 = (wxPrintData *) 0 ;
36ed4f51 21083 wxDuplexMode result;
d55e5bfc
RD
21084 PyObject * obj0 = 0 ;
21085 char *kwnames[] = {
21086 (char *) "self", NULL
21087 };
21088
21089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
36ed4f51
RD
21090 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21091 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21092 {
21093 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 21094 result = (wxDuplexMode)(arg1)->GetDuplex();
d55e5bfc
RD
21095
21096 wxPyEndAllowThreads(__tstate);
21097 if (PyErr_Occurred()) SWIG_fail;
21098 }
36ed4f51 21099 resultobj = SWIG_From_int((result));
d55e5bfc
RD
21100 return resultobj;
21101 fail:
21102 return NULL;
21103}
21104
21105
c370783e 21106static PyObject *_wrap_PrintData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21107 PyObject *resultobj = NULL;
d55e5bfc 21108 wxPrintData *arg1 = (wxPrintData *) 0 ;
36ed4f51 21109 wxPaperSize result;
d55e5bfc
RD
21110 PyObject * obj0 = 0 ;
21111 char *kwnames[] = {
21112 (char *) "self", NULL
21113 };
21114
21115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
36ed4f51
RD
21116 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21117 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21118 {
21119 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 21120 result = (wxPaperSize)(arg1)->GetPaperId();
d55e5bfc
RD
21121
21122 wxPyEndAllowThreads(__tstate);
21123 if (PyErr_Occurred()) SWIG_fail;
21124 }
36ed4f51 21125 resultobj = SWIG_From_int((result));
d55e5bfc
RD
21126 return resultobj;
21127 fail:
21128 return NULL;
21129}
21130
21131
c370783e 21132static PyObject *_wrap_PrintData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21133 PyObject *resultobj = NULL;
d55e5bfc
RD
21134 wxPrintData *arg1 = (wxPrintData *) 0 ;
21135 wxSize *result;
21136 PyObject * obj0 = 0 ;
21137 char *kwnames[] = {
21138 (char *) "self", NULL
21139 };
21140
21141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
21142 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21143 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21144 {
21145 PyThreadState* __tstate = wxPyBeginAllowThreads();
21146 {
21147 wxSize const &_result_ref = (arg1)->GetPaperSize();
21148 result = (wxSize *) &_result_ref;
21149 }
21150
21151 wxPyEndAllowThreads(__tstate);
21152 if (PyErr_Occurred()) SWIG_fail;
21153 }
21154 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
21155 return resultobj;
21156 fail:
21157 return NULL;
21158}
21159
21160
c370783e 21161static PyObject *_wrap_PrintData_GetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21162 PyObject *resultobj = NULL;
d55e5bfc
RD
21163 wxPrintData *arg1 = (wxPrintData *) 0 ;
21164 int result;
21165 PyObject * obj0 = 0 ;
21166 char *kwnames[] = {
21167 (char *) "self", NULL
21168 };
21169
21170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
36ed4f51
RD
21171 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21172 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21173 {
21174 PyThreadState* __tstate = wxPyBeginAllowThreads();
21175 result = (int)(arg1)->GetQuality();
21176
21177 wxPyEndAllowThreads(__tstate);
21178 if (PyErr_Occurred()) SWIG_fail;
21179 }
36ed4f51 21180 {
32fe5131 21181 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 21182 }
d55e5bfc
RD
21183 return resultobj;
21184 fail:
21185 return NULL;
21186}
21187
21188
b411df4a 21189static PyObject *_wrap_PrintData_GetBin(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21190 PyObject *resultobj = NULL;
b411df4a 21191 wxPrintData *arg1 = (wxPrintData *) 0 ;
36ed4f51 21192 wxPrintBin result;
b411df4a
RD
21193 PyObject * obj0 = 0 ;
21194 char *kwnames[] = {
21195 (char *) "self", NULL
21196 };
21197
21198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetBin",kwnames,&obj0)) goto fail;
36ed4f51
RD
21199 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21200 if (SWIG_arg_fail(1)) SWIG_fail;
b411df4a
RD
21201 {
21202 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 21203 result = (wxPrintBin)(arg1)->GetBin();
b411df4a
RD
21204
21205 wxPyEndAllowThreads(__tstate);
21206 if (PyErr_Occurred()) SWIG_fail;
21207 }
36ed4f51 21208 resultobj = SWIG_From_int((result));
b411df4a
RD
21209 return resultobj;
21210 fail:
21211 return NULL;
21212}
21213
21214
070c48b4 21215static PyObject *_wrap_PrintData_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21216 PyObject *resultobj = NULL;
070c48b4 21217 wxPrintData *arg1 = (wxPrintData *) 0 ;
36ed4f51 21218 wxPrintMode result;
070c48b4
RD
21219 PyObject * obj0 = 0 ;
21220 char *kwnames[] = {
21221 (char *) "self", NULL
21222 };
21223
21224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
36ed4f51
RD
21225 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21226 if (SWIG_arg_fail(1)) SWIG_fail;
070c48b4
RD
21227 {
21228 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 21229 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
070c48b4
RD
21230
21231 wxPyEndAllowThreads(__tstate);
21232 if (PyErr_Occurred()) SWIG_fail;
21233 }
36ed4f51 21234 resultobj = SWIG_From_int((result));
070c48b4
RD
21235 return resultobj;
21236 fail:
21237 return NULL;
21238}
21239
21240
c370783e 21241static PyObject *_wrap_PrintData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21242 PyObject *resultobj = NULL;
d55e5bfc
RD
21243 wxPrintData *arg1 = (wxPrintData *) 0 ;
21244 int arg2 ;
21245 PyObject * obj0 = 0 ;
21246 PyObject * obj1 = 0 ;
21247 char *kwnames[] = {
21248 (char *) "self",(char *) "v", NULL
21249 };
21250
21251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21253 if (SWIG_arg_fail(1)) SWIG_fail;
21254 {
32fe5131 21255 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
21256 if (SWIG_arg_fail(2)) SWIG_fail;
21257 }
d55e5bfc
RD
21258 {
21259 PyThreadState* __tstate = wxPyBeginAllowThreads();
21260 (arg1)->SetNoCopies(arg2);
21261
21262 wxPyEndAllowThreads(__tstate);
21263 if (PyErr_Occurred()) SWIG_fail;
21264 }
21265 Py_INCREF(Py_None); resultobj = Py_None;
21266 return resultobj;
21267 fail:
21268 return NULL;
21269}
21270
21271
c370783e 21272static PyObject *_wrap_PrintData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21273 PyObject *resultobj = NULL;
d55e5bfc
RD
21274 wxPrintData *arg1 = (wxPrintData *) 0 ;
21275 bool arg2 ;
21276 PyObject * obj0 = 0 ;
21277 PyObject * obj1 = 0 ;
21278 char *kwnames[] = {
21279 (char *) "self",(char *) "flag", NULL
21280 };
21281
21282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21284 if (SWIG_arg_fail(1)) SWIG_fail;
21285 {
32fe5131 21286 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
21287 if (SWIG_arg_fail(2)) SWIG_fail;
21288 }
d55e5bfc
RD
21289 {
21290 PyThreadState* __tstate = wxPyBeginAllowThreads();
21291 (arg1)->SetCollate(arg2);
21292
21293 wxPyEndAllowThreads(__tstate);
21294 if (PyErr_Occurred()) SWIG_fail;
21295 }
21296 Py_INCREF(Py_None); resultobj = Py_None;
21297 return resultobj;
21298 fail:
21299 return NULL;
21300}
21301
21302
c370783e 21303static PyObject *_wrap_PrintData_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21304 PyObject *resultobj = NULL;
d55e5bfc
RD
21305 wxPrintData *arg1 = (wxPrintData *) 0 ;
21306 int arg2 ;
21307 PyObject * obj0 = 0 ;
21308 PyObject * obj1 = 0 ;
21309 char *kwnames[] = {
21310 (char *) "self",(char *) "orient", NULL
21311 };
21312
21313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21314 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21315 if (SWIG_arg_fail(1)) SWIG_fail;
21316 {
32fe5131 21317 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
21318 if (SWIG_arg_fail(2)) SWIG_fail;
21319 }
d55e5bfc
RD
21320 {
21321 PyThreadState* __tstate = wxPyBeginAllowThreads();
21322 (arg1)->SetOrientation(arg2);
21323
21324 wxPyEndAllowThreads(__tstate);
21325 if (PyErr_Occurred()) SWIG_fail;
21326 }
21327 Py_INCREF(Py_None); resultobj = Py_None;
21328 return resultobj;
21329 fail:
21330 return NULL;
21331}
21332
21333
c370783e 21334static PyObject *_wrap_PrintData_SetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21335 PyObject *resultobj = NULL;
d55e5bfc
RD
21336 wxPrintData *arg1 = (wxPrintData *) 0 ;
21337 wxString *arg2 = 0 ;
b411df4a 21338 bool temp2 = false ;
d55e5bfc
RD
21339 PyObject * obj0 = 0 ;
21340 PyObject * obj1 = 0 ;
21341 char *kwnames[] = {
21342 (char *) "self",(char *) "name", NULL
21343 };
21344
21345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21346 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21347 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21348 {
21349 arg2 = wxString_in_helper(obj1);
21350 if (arg2 == NULL) SWIG_fail;
b411df4a 21351 temp2 = true;
d55e5bfc
RD
21352 }
21353 {
21354 PyThreadState* __tstate = wxPyBeginAllowThreads();
21355 (arg1)->SetPrinterName((wxString const &)*arg2);
21356
21357 wxPyEndAllowThreads(__tstate);
21358 if (PyErr_Occurred()) SWIG_fail;
21359 }
21360 Py_INCREF(Py_None); resultobj = Py_None;
21361 {
21362 if (temp2)
21363 delete arg2;
21364 }
21365 return resultobj;
21366 fail:
21367 {
21368 if (temp2)
21369 delete arg2;
21370 }
21371 return NULL;
21372}
21373
21374
c370783e 21375static PyObject *_wrap_PrintData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21376 PyObject *resultobj = NULL;
d55e5bfc
RD
21377 wxPrintData *arg1 = (wxPrintData *) 0 ;
21378 bool arg2 ;
21379 PyObject * obj0 = 0 ;
21380 PyObject * obj1 = 0 ;
21381 char *kwnames[] = {
21382 (char *) "self",(char *) "colour", NULL
21383 };
21384
21385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21387 if (SWIG_arg_fail(1)) SWIG_fail;
21388 {
32fe5131 21389 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
21390 if (SWIG_arg_fail(2)) SWIG_fail;
21391 }
d55e5bfc
RD
21392 {
21393 PyThreadState* __tstate = wxPyBeginAllowThreads();
21394 (arg1)->SetColour(arg2);
21395
21396 wxPyEndAllowThreads(__tstate);
21397 if (PyErr_Occurred()) SWIG_fail;
21398 }
21399 Py_INCREF(Py_None); resultobj = Py_None;
21400 return resultobj;
21401 fail:
21402 return NULL;
21403}
21404
21405
c370783e 21406static PyObject *_wrap_PrintData_SetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21407 PyObject *resultobj = NULL;
d55e5bfc 21408 wxPrintData *arg1 = (wxPrintData *) 0 ;
36ed4f51 21409 wxDuplexMode arg2 ;
d55e5bfc
RD
21410 PyObject * obj0 = 0 ;
21411 PyObject * obj1 = 0 ;
21412 char *kwnames[] = {
21413 (char *) "self",(char *) "duplex", NULL
21414 };
21415
21416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21417 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21418 if (SWIG_arg_fail(1)) SWIG_fail;
21419 {
32fe5131 21420 arg2 = static_cast<wxDuplexMode >(SWIG_As_int(obj1));
36ed4f51
RD
21421 if (SWIG_arg_fail(2)) SWIG_fail;
21422 }
d55e5bfc
RD
21423 {
21424 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 21425 (arg1)->SetDuplex(arg2);
d55e5bfc
RD
21426
21427 wxPyEndAllowThreads(__tstate);
21428 if (PyErr_Occurred()) SWIG_fail;
21429 }
21430 Py_INCREF(Py_None); resultobj = Py_None;
21431 return resultobj;
21432 fail:
21433 return NULL;
21434}
21435
21436
c370783e 21437static PyObject *_wrap_PrintData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21438 PyObject *resultobj = NULL;
d55e5bfc 21439 wxPrintData *arg1 = (wxPrintData *) 0 ;
36ed4f51 21440 wxPaperSize arg2 ;
d55e5bfc
RD
21441 PyObject * obj0 = 0 ;
21442 PyObject * obj1 = 0 ;
21443 char *kwnames[] = {
21444 (char *) "self",(char *) "sizeId", NULL
21445 };
21446
21447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21448 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21449 if (SWIG_arg_fail(1)) SWIG_fail;
21450 {
32fe5131 21451 arg2 = static_cast<wxPaperSize >(SWIG_As_int(obj1));
36ed4f51
RD
21452 if (SWIG_arg_fail(2)) SWIG_fail;
21453 }
d55e5bfc
RD
21454 {
21455 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 21456 (arg1)->SetPaperId(arg2);
d55e5bfc
RD
21457
21458 wxPyEndAllowThreads(__tstate);
21459 if (PyErr_Occurred()) SWIG_fail;
21460 }
21461 Py_INCREF(Py_None); resultobj = Py_None;
21462 return resultobj;
21463 fail:
21464 return NULL;
21465}
21466
21467
c370783e 21468static PyObject *_wrap_PrintData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21469 PyObject *resultobj = NULL;
d55e5bfc
RD
21470 wxPrintData *arg1 = (wxPrintData *) 0 ;
21471 wxSize *arg2 = 0 ;
21472 wxSize temp2 ;
21473 PyObject * obj0 = 0 ;
21474 PyObject * obj1 = 0 ;
21475 char *kwnames[] = {
21476 (char *) "self",(char *) "sz", NULL
21477 };
21478
21479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21481 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21482 {
21483 arg2 = &temp2;
21484 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21485 }
21486 {
21487 PyThreadState* __tstate = wxPyBeginAllowThreads();
21488 (arg1)->SetPaperSize((wxSize const &)*arg2);
21489
21490 wxPyEndAllowThreads(__tstate);
21491 if (PyErr_Occurred()) SWIG_fail;
21492 }
21493 Py_INCREF(Py_None); resultobj = Py_None;
21494 return resultobj;
21495 fail:
21496 return NULL;
21497}
21498
21499
c370783e 21500static PyObject *_wrap_PrintData_SetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21501 PyObject *resultobj = NULL;
d55e5bfc
RD
21502 wxPrintData *arg1 = (wxPrintData *) 0 ;
21503 int arg2 ;
21504 PyObject * obj0 = 0 ;
21505 PyObject * obj1 = 0 ;
21506 char *kwnames[] = {
21507 (char *) "self",(char *) "quality", NULL
21508 };
21509
21510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21511 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21512 if (SWIG_arg_fail(1)) SWIG_fail;
21513 {
32fe5131 21514 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
21515 if (SWIG_arg_fail(2)) SWIG_fail;
21516 }
d55e5bfc
RD
21517 {
21518 PyThreadState* __tstate = wxPyBeginAllowThreads();
21519 (arg1)->SetQuality(arg2);
21520
21521 wxPyEndAllowThreads(__tstate);
21522 if (PyErr_Occurred()) SWIG_fail;
21523 }
21524 Py_INCREF(Py_None); resultobj = Py_None;
21525 return resultobj;
21526 fail:
21527 return NULL;
21528}
21529
21530
b411df4a 21531static PyObject *_wrap_PrintData_SetBin(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21532 PyObject *resultobj = NULL;
b411df4a 21533 wxPrintData *arg1 = (wxPrintData *) 0 ;
36ed4f51 21534 wxPrintBin arg2 ;
b411df4a
RD
21535 PyObject * obj0 = 0 ;
21536 PyObject * obj1 = 0 ;
21537 char *kwnames[] = {
21538 (char *) "self",(char *) "bin", NULL
21539 };
21540
21541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21542 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21543 if (SWIG_arg_fail(1)) SWIG_fail;
21544 {
32fe5131 21545 arg2 = static_cast<wxPrintBin >(SWIG_As_int(obj1));
36ed4f51
RD
21546 if (SWIG_arg_fail(2)) SWIG_fail;
21547 }
b411df4a
RD
21548 {
21549 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 21550 (arg1)->SetBin(arg2);
b411df4a
RD
21551
21552 wxPyEndAllowThreads(__tstate);
21553 if (PyErr_Occurred()) SWIG_fail;
21554 }
21555 Py_INCREF(Py_None); resultobj = Py_None;
21556 return resultobj;
21557 fail:
21558 return NULL;
21559}
21560
21561
070c48b4 21562static PyObject *_wrap_PrintData_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21563 PyObject *resultobj = NULL;
d55e5bfc 21564 wxPrintData *arg1 = (wxPrintData *) 0 ;
36ed4f51 21565 wxPrintMode arg2 ;
070c48b4
RD
21566 PyObject * obj0 = 0 ;
21567 PyObject * obj1 = 0 ;
21568 char *kwnames[] = {
21569 (char *) "self",(char *) "printMode", NULL
21570 };
21571
21572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21573 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21574 if (SWIG_arg_fail(1)) SWIG_fail;
21575 {
32fe5131 21576 arg2 = static_cast<wxPrintMode >(SWIG_As_int(obj1));
36ed4f51
RD
21577 if (SWIG_arg_fail(2)) SWIG_fail;
21578 }
070c48b4
RD
21579 {
21580 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 21581 (arg1)->SetPrintMode(arg2);
070c48b4
RD
21582
21583 wxPyEndAllowThreads(__tstate);
21584 if (PyErr_Occurred()) SWIG_fail;
21585 }
21586 Py_INCREF(Py_None); resultobj = Py_None;
21587 return resultobj;
21588 fail:
21589 return NULL;
21590}
21591
21592
21593static PyObject *_wrap_PrintData_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21594 PyObject *resultobj = NULL;
070c48b4
RD
21595 wxPrintData *arg1 = (wxPrintData *) 0 ;
21596 wxString result;
d55e5bfc
RD
21597 PyObject * obj0 = 0 ;
21598 char *kwnames[] = {
21599 (char *) "self", NULL
21600 };
21601
070c48b4 21602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
36ed4f51
RD
21603 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21604 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21605 {
21606 PyThreadState* __tstate = wxPyBeginAllowThreads();
070c48b4 21607 result = ((wxPrintData const *)arg1)->GetFilename();
d55e5bfc
RD
21608
21609 wxPyEndAllowThreads(__tstate);
21610 if (PyErr_Occurred()) SWIG_fail;
21611 }
21612 {
21613#if wxUSE_UNICODE
070c48b4 21614 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d55e5bfc 21615#else
070c48b4 21616 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d55e5bfc
RD
21617#endif
21618 }
21619 return resultobj;
21620 fail:
21621 return NULL;
21622}
21623
21624
070c48b4 21625static PyObject *_wrap_PrintData_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21626 PyObject *resultobj = NULL;
070c48b4
RD
21627 wxPrintData *arg1 = (wxPrintData *) 0 ;
21628 wxString *arg2 = 0 ;
21629 bool temp2 = false ;
21630 PyObject * obj0 = 0 ;
21631 PyObject * obj1 = 0 ;
21632 char *kwnames[] = {
21633 (char *) "self",(char *) "filename", NULL
21634 };
21635
21636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21637 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21638 if (SWIG_arg_fail(1)) SWIG_fail;
070c48b4
RD
21639 {
21640 arg2 = wxString_in_helper(obj1);
21641 if (arg2 == NULL) SWIG_fail;
21642 temp2 = true;
21643 }
21644 {
21645 PyThreadState* __tstate = wxPyBeginAllowThreads();
21646 (arg1)->SetFilename((wxString const &)*arg2);
21647
21648 wxPyEndAllowThreads(__tstate);
21649 if (PyErr_Occurred()) SWIG_fail;
21650 }
21651 Py_INCREF(Py_None); resultobj = Py_None;
21652 {
21653 if (temp2)
21654 delete arg2;
21655 }
21656 return resultobj;
21657 fail:
21658 {
21659 if (temp2)
21660 delete arg2;
21661 }
21662 return NULL;
21663}
21664
21665
7fbf8399 21666static PyObject *_wrap_PrintData_GetPrivData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21667 PyObject *resultobj = NULL;
7fbf8399
RD
21668 wxPrintData *arg1 = (wxPrintData *) 0 ;
21669 PyObject *result;
21670 PyObject * obj0 = 0 ;
21671 char *kwnames[] = {
21672 (char *) "self", NULL
21673 };
21674
21675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrivData",kwnames,&obj0)) goto fail;
21676 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21677 if (SWIG_arg_fail(1)) SWIG_fail;
21678 {
21679 PyThreadState* __tstate = wxPyBeginAllowThreads();
21680 result = (PyObject *)wxPrintData_GetPrivData(arg1);
21681
21682 wxPyEndAllowThreads(__tstate);
21683 if (PyErr_Occurred()) SWIG_fail;
21684 }
21685 resultobj = result;
21686 return resultobj;
21687 fail:
21688 return NULL;
21689}
21690
21691
21692static PyObject *_wrap_PrintData_SetPrivData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21693 PyObject *resultobj = NULL;
7fbf8399
RD
21694 wxPrintData *arg1 = (wxPrintData *) 0 ;
21695 PyObject *arg2 = (PyObject *) 0 ;
21696 PyObject * obj0 = 0 ;
21697 PyObject * obj1 = 0 ;
21698 char *kwnames[] = {
21699 (char *) "self",(char *) "data", NULL
21700 };
21701
21702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) goto fail;
21703 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21704 if (SWIG_arg_fail(1)) SWIG_fail;
21705 arg2 = obj1;
21706 {
21707 PyThreadState* __tstate = wxPyBeginAllowThreads();
21708 wxPrintData_SetPrivData(arg1,arg2);
21709
21710 wxPyEndAllowThreads(__tstate);
21711 if (PyErr_Occurred()) SWIG_fail;
21712 }
21713 Py_INCREF(Py_None); resultobj = Py_None;
21714 return resultobj;
21715 fail:
21716 return NULL;
21717}
21718
21719
c370783e 21720static PyObject * PrintData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
21721 PyObject *obj;
21722 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21723 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
21724 Py_INCREF(obj);
21725 return Py_BuildValue((char *)"");
21726}
c370783e 21727static PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *, PyObject *args) {
32fe5131 21728 PyObject *resultobj = NULL;
d55e5bfc 21729 wxPageSetupDialogData *result;
d55e5bfc 21730
09c21d3b 21731 if(!PyArg_ParseTuple(args,(char *)":new_PageSetupDialogData")) goto fail;
d55e5bfc
RD
21732 {
21733 PyThreadState* __tstate = wxPyBeginAllowThreads();
21734 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
21735
21736 wxPyEndAllowThreads(__tstate);
21737 if (PyErr_Occurred()) SWIG_fail;
21738 }
21739 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
21740 return resultobj;
21741 fail:
21742 return NULL;
21743}
21744
21745
c370783e 21746static PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *, PyObject *args) {
32fe5131 21747 PyObject *resultobj = NULL;
09c21d3b
RD
21748 wxPageSetupDialogData *arg1 = 0 ;
21749 wxPageSetupDialogData *result;
21750 PyObject * obj0 = 0 ;
21751
21752 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
36ed4f51
RD
21753 {
21754 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21755 if (SWIG_arg_fail(1)) SWIG_fail;
21756 if (arg1 == NULL) {
21757 SWIG_null_ref("wxPageSetupDialogData");
21758 }
21759 if (SWIG_arg_fail(1)) SWIG_fail;
09c21d3b
RD
21760 }
21761 {
21762 PyThreadState* __tstate = wxPyBeginAllowThreads();
21763 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
21764
21765 wxPyEndAllowThreads(__tstate);
21766 if (PyErr_Occurred()) SWIG_fail;
21767 }
21768 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
21769 return resultobj;
21770 fail:
21771 return NULL;
21772}
21773
21774
fef4c27a 21775static PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *, PyObject *args) {
32fe5131 21776 PyObject *resultobj = NULL;
fef4c27a
RD
21777 wxPrintData *arg1 = 0 ;
21778 wxPageSetupDialogData *result;
21779 PyObject * obj0 = 0 ;
21780
21781 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
21782 {
21783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21784 if (SWIG_arg_fail(1)) SWIG_fail;
21785 if (arg1 == NULL) {
21786 SWIG_null_ref("wxPrintData");
21787 }
21788 if (SWIG_arg_fail(1)) SWIG_fail;
21789 }
21790 {
21791 PyThreadState* __tstate = wxPyBeginAllowThreads();
21792 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
21793
21794 wxPyEndAllowThreads(__tstate);
21795 if (PyErr_Occurred()) SWIG_fail;
21796 }
21797 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
21798 return resultobj;
21799 fail:
21800 return NULL;
21801}
21802
21803
09c21d3b
RD
21804static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
21805 int argc;
21806 PyObject *argv[2];
21807 int ii;
21808
21809 argc = PyObject_Length(args);
21810 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
21811 argv[ii] = PyTuple_GetItem(args,ii);
21812 }
21813 if (argc == 0) {
21814 return _wrap_new_PageSetupDialogData__SWIG_0(self,args);
21815 }
21816 if (argc == 1) {
21817 int _v;
21818 {
36ed4f51 21819 void *ptr = 0;
09c21d3b
RD
21820 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPageSetupDialogData, 0) == -1) {
21821 _v = 0;
21822 PyErr_Clear();
21823 } else {
36ed4f51 21824 _v = (ptr != 0);
09c21d3b
RD
21825 }
21826 }
21827 if (_v) {
21828 return _wrap_new_PageSetupDialogData__SWIG_1(self,args);
21829 }
21830 }
fef4c27a
RD
21831 if (argc == 1) {
21832 int _v;
21833 {
21834 void *ptr = 0;
21835 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
21836 _v = 0;
21837 PyErr_Clear();
21838 } else {
21839 _v = (ptr != 0);
21840 }
21841 }
21842 if (_v) {
21843 return _wrap_new_PageSetupDialogData__SWIG_2(self,args);
21844 }
21845 }
09c21d3b 21846
36ed4f51 21847 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
09c21d3b
RD
21848 return NULL;
21849}
21850
21851
c370783e 21852static PyObject *_wrap_delete_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21853 PyObject *resultobj = NULL;
d55e5bfc
RD
21854 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21855 PyObject * obj0 = 0 ;
21856 char *kwnames[] = {
21857 (char *) "self", NULL
21858 };
21859
21860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
36ed4f51
RD
21861 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21862 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21863 {
21864 PyThreadState* __tstate = wxPyBeginAllowThreads();
21865 delete arg1;
21866
21867 wxPyEndAllowThreads(__tstate);
21868 if (PyErr_Occurred()) SWIG_fail;
21869 }
21870 Py_INCREF(Py_None); resultobj = Py_None;
21871 return resultobj;
21872 fail:
21873 return NULL;
21874}
21875
21876
c370783e 21877static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21878 PyObject *resultobj = NULL;
d55e5bfc
RD
21879 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21880 bool arg2 ;
21881 PyObject * obj0 = 0 ;
21882 PyObject * obj1 = 0 ;
21883 char *kwnames[] = {
21884 (char *) "self",(char *) "flag", NULL
21885 };
21886
21887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21888 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21889 if (SWIG_arg_fail(1)) SWIG_fail;
21890 {
32fe5131 21891 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
21892 if (SWIG_arg_fail(2)) SWIG_fail;
21893 }
d55e5bfc
RD
21894 {
21895 PyThreadState* __tstate = wxPyBeginAllowThreads();
21896 (arg1)->EnableHelp(arg2);
21897
21898 wxPyEndAllowThreads(__tstate);
21899 if (PyErr_Occurred()) SWIG_fail;
21900 }
21901 Py_INCREF(Py_None); resultobj = Py_None;
21902 return resultobj;
21903 fail:
21904 return NULL;
21905}
21906
21907
c370783e 21908static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21909 PyObject *resultobj = NULL;
d55e5bfc
RD
21910 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21911 bool arg2 ;
21912 PyObject * obj0 = 0 ;
21913 PyObject * obj1 = 0 ;
21914 char *kwnames[] = {
21915 (char *) "self",(char *) "flag", NULL
21916 };
21917
21918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21919 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21920 if (SWIG_arg_fail(1)) SWIG_fail;
21921 {
32fe5131 21922 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
21923 if (SWIG_arg_fail(2)) SWIG_fail;
21924 }
d55e5bfc
RD
21925 {
21926 PyThreadState* __tstate = wxPyBeginAllowThreads();
21927 (arg1)->EnableMargins(arg2);
21928
21929 wxPyEndAllowThreads(__tstate);
21930 if (PyErr_Occurred()) SWIG_fail;
21931 }
21932 Py_INCREF(Py_None); resultobj = Py_None;
21933 return resultobj;
21934 fail:
21935 return NULL;
21936}
21937
21938
c370783e 21939static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21940 PyObject *resultobj = NULL;
d55e5bfc
RD
21941 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21942 bool arg2 ;
21943 PyObject * obj0 = 0 ;
21944 PyObject * obj1 = 0 ;
21945 char *kwnames[] = {
21946 (char *) "self",(char *) "flag", NULL
21947 };
21948
21949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21950 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21951 if (SWIG_arg_fail(1)) SWIG_fail;
21952 {
32fe5131 21953 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
21954 if (SWIG_arg_fail(2)) SWIG_fail;
21955 }
d55e5bfc
RD
21956 {
21957 PyThreadState* __tstate = wxPyBeginAllowThreads();
21958 (arg1)->EnableOrientation(arg2);
21959
21960 wxPyEndAllowThreads(__tstate);
21961 if (PyErr_Occurred()) SWIG_fail;
21962 }
21963 Py_INCREF(Py_None); resultobj = Py_None;
21964 return resultobj;
21965 fail:
21966 return NULL;
21967}
21968
21969
c370783e 21970static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21971 PyObject *resultobj = NULL;
d55e5bfc
RD
21972 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21973 bool arg2 ;
21974 PyObject * obj0 = 0 ;
21975 PyObject * obj1 = 0 ;
21976 char *kwnames[] = {
21977 (char *) "self",(char *) "flag", NULL
21978 };
21979
21980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21981 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21982 if (SWIG_arg_fail(1)) SWIG_fail;
21983 {
32fe5131 21984 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
21985 if (SWIG_arg_fail(2)) SWIG_fail;
21986 }
d55e5bfc
RD
21987 {
21988 PyThreadState* __tstate = wxPyBeginAllowThreads();
21989 (arg1)->EnablePaper(arg2);
21990
21991 wxPyEndAllowThreads(__tstate);
21992 if (PyErr_Occurred()) SWIG_fail;
21993 }
21994 Py_INCREF(Py_None); resultobj = Py_None;
21995 return resultobj;
21996 fail:
21997 return NULL;
21998}
21999
22000
c370783e 22001static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22002 PyObject *resultobj = NULL;
d55e5bfc
RD
22003 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22004 bool arg2 ;
22005 PyObject * obj0 = 0 ;
22006 PyObject * obj1 = 0 ;
22007 char *kwnames[] = {
22008 (char *) "self",(char *) "flag", NULL
22009 };
22010
22011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22012 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22013 if (SWIG_arg_fail(1)) SWIG_fail;
22014 {
32fe5131 22015 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
22016 if (SWIG_arg_fail(2)) SWIG_fail;
22017 }
d55e5bfc
RD
22018 {
22019 PyThreadState* __tstate = wxPyBeginAllowThreads();
22020 (arg1)->EnablePrinter(arg2);
22021
22022 wxPyEndAllowThreads(__tstate);
22023 if (PyErr_Occurred()) SWIG_fail;
22024 }
22025 Py_INCREF(Py_None); resultobj = Py_None;
22026 return resultobj;
22027 fail:
22028 return NULL;
22029}
22030
22031
c370783e 22032static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(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_GetDefaultMinMargins",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)->GetDefaultMinMargins();
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_GetEnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22061 PyObject *resultobj = NULL;
d55e5bfc
RD
22062 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22063 bool result;
22064 PyObject * obj0 = 0 ;
22065 char *kwnames[] = {
22066 (char *) "self", NULL
22067 };
22068
22069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",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 = (bool)(arg1)->GetEnableMargins();
22075
22076 wxPyEndAllowThreads(__tstate);
22077 if (PyErr_Occurred()) SWIG_fail;
22078 }
22079 {
22080 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22081 }
22082 return resultobj;
22083 fail:
22084 return NULL;
22085}
22086
22087
c370783e 22088static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22089 PyObject *resultobj = NULL;
d55e5bfc
RD
22090 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22091 bool result;
22092 PyObject * obj0 = 0 ;
22093 char *kwnames[] = {
22094 (char *) "self", NULL
22095 };
22096
22097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
36ed4f51
RD
22098 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22099 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22100 {
22101 PyThreadState* __tstate = wxPyBeginAllowThreads();
22102 result = (bool)(arg1)->GetEnableOrientation();
22103
22104 wxPyEndAllowThreads(__tstate);
22105 if (PyErr_Occurred()) SWIG_fail;
22106 }
22107 {
22108 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22109 }
22110 return resultobj;
22111 fail:
22112 return NULL;
22113}
22114
22115
c370783e 22116static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22117 PyObject *resultobj = NULL;
d55e5bfc
RD
22118 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22119 bool result;
22120 PyObject * obj0 = 0 ;
22121 char *kwnames[] = {
22122 (char *) "self", NULL
22123 };
22124
22125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
36ed4f51
RD
22126 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22127 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22128 {
22129 PyThreadState* __tstate = wxPyBeginAllowThreads();
22130 result = (bool)(arg1)->GetEnablePaper();
22131
22132 wxPyEndAllowThreads(__tstate);
22133 if (PyErr_Occurred()) SWIG_fail;
22134 }
22135 {
22136 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22137 }
22138 return resultobj;
22139 fail:
22140 return NULL;
22141}
22142
22143
c370783e 22144static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22145 PyObject *resultobj = NULL;
d55e5bfc
RD
22146 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22147 bool result;
22148 PyObject * obj0 = 0 ;
22149 char *kwnames[] = {
22150 (char *) "self", NULL
22151 };
22152
22153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
36ed4f51
RD
22154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22155 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22156 {
22157 PyThreadState* __tstate = wxPyBeginAllowThreads();
22158 result = (bool)(arg1)->GetEnablePrinter();
22159
22160 wxPyEndAllowThreads(__tstate);
22161 if (PyErr_Occurred()) SWIG_fail;
22162 }
22163 {
22164 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22165 }
22166 return resultobj;
22167 fail:
22168 return NULL;
22169}
22170
22171
c370783e 22172static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22173 PyObject *resultobj = NULL;
d55e5bfc
RD
22174 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22175 bool result;
22176 PyObject * obj0 = 0 ;
22177 char *kwnames[] = {
22178 (char *) "self", NULL
22179 };
22180
22181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
36ed4f51
RD
22182 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22183 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22184 {
22185 PyThreadState* __tstate = wxPyBeginAllowThreads();
22186 result = (bool)(arg1)->GetEnableHelp();
22187
22188 wxPyEndAllowThreads(__tstate);
22189 if (PyErr_Occurred()) SWIG_fail;
22190 }
22191 {
22192 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22193 }
22194 return resultobj;
22195 fail:
22196 return NULL;
22197}
22198
22199
c370783e 22200static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22201 PyObject *resultobj = NULL;
d55e5bfc
RD
22202 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22203 bool result;
22204 PyObject * obj0 = 0 ;
22205 char *kwnames[] = {
22206 (char *) "self", NULL
22207 };
22208
22209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
36ed4f51
RD
22210 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22211 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22212 {
22213 PyThreadState* __tstate = wxPyBeginAllowThreads();
22214 result = (bool)(arg1)->GetDefaultInfo();
22215
22216 wxPyEndAllowThreads(__tstate);
22217 if (PyErr_Occurred()) SWIG_fail;
22218 }
22219 {
22220 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22221 }
22222 return resultobj;
22223 fail:
22224 return NULL;
22225}
22226
22227
c370783e 22228static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22229 PyObject *resultobj = NULL;
d55e5bfc
RD
22230 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22231 wxPoint result;
22232 PyObject * obj0 = 0 ;
22233 char *kwnames[] = {
22234 (char *) "self", NULL
22235 };
22236
22237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
36ed4f51
RD
22238 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22239 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22240 {
22241 PyThreadState* __tstate = wxPyBeginAllowThreads();
22242 result = (arg1)->GetMarginTopLeft();
22243
22244 wxPyEndAllowThreads(__tstate);
22245 if (PyErr_Occurred()) SWIG_fail;
22246 }
22247 {
22248 wxPoint * resultptr;
32fe5131 22249 resultptr = new wxPoint(static_cast<wxPoint & >(result));
d55e5bfc
RD
22250 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22251 }
22252 return resultobj;
22253 fail:
22254 return NULL;
22255}
22256
22257
c370783e 22258static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22259 PyObject *resultobj = NULL;
d55e5bfc
RD
22260 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22261 wxPoint result;
22262 PyObject * obj0 = 0 ;
22263 char *kwnames[] = {
22264 (char *) "self", NULL
22265 };
22266
22267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
36ed4f51
RD
22268 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22269 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22270 {
22271 PyThreadState* __tstate = wxPyBeginAllowThreads();
22272 result = (arg1)->GetMarginBottomRight();
22273
22274 wxPyEndAllowThreads(__tstate);
22275 if (PyErr_Occurred()) SWIG_fail;
22276 }
22277 {
22278 wxPoint * resultptr;
32fe5131 22279 resultptr = new wxPoint(static_cast<wxPoint & >(result));
d55e5bfc
RD
22280 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22281 }
22282 return resultobj;
22283 fail:
22284 return NULL;
22285}
22286
22287
c370783e 22288static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22289 PyObject *resultobj = NULL;
d55e5bfc
RD
22290 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22291 wxPoint result;
22292 PyObject * obj0 = 0 ;
22293 char *kwnames[] = {
22294 (char *) "self", NULL
22295 };
22296
22297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
36ed4f51
RD
22298 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22299 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22300 {
22301 PyThreadState* __tstate = wxPyBeginAllowThreads();
22302 result = (arg1)->GetMinMarginTopLeft();
22303
22304 wxPyEndAllowThreads(__tstate);
22305 if (PyErr_Occurred()) SWIG_fail;
22306 }
22307 {
22308 wxPoint * resultptr;
32fe5131 22309 resultptr = new wxPoint(static_cast<wxPoint & >(result));
d55e5bfc
RD
22310 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22311 }
22312 return resultobj;
22313 fail:
22314 return NULL;
22315}
22316
22317
c370783e 22318static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22319 PyObject *resultobj = NULL;
d55e5bfc
RD
22320 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22321 wxPoint result;
22322 PyObject * obj0 = 0 ;
22323 char *kwnames[] = {
22324 (char *) "self", NULL
22325 };
22326
22327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
36ed4f51
RD
22328 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22329 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22330 {
22331 PyThreadState* __tstate = wxPyBeginAllowThreads();
22332 result = (arg1)->GetMinMarginBottomRight();
22333
22334 wxPyEndAllowThreads(__tstate);
22335 if (PyErr_Occurred()) SWIG_fail;
22336 }
22337 {
22338 wxPoint * resultptr;
32fe5131 22339 resultptr = new wxPoint(static_cast<wxPoint & >(result));
d55e5bfc
RD
22340 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22341 }
22342 return resultobj;
22343 fail:
22344 return NULL;
22345}
22346
22347
c370783e 22348static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22349 PyObject *resultobj = NULL;
d55e5bfc 22350 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
36ed4f51 22351 wxPaperSize result;
d55e5bfc
RD
22352 PyObject * obj0 = 0 ;
22353 char *kwnames[] = {
22354 (char *) "self", NULL
22355 };
22356
22357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
36ed4f51
RD
22358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22359 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22360 {
22361 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 22362 result = (wxPaperSize)(arg1)->GetPaperId();
d55e5bfc
RD
22363
22364 wxPyEndAllowThreads(__tstate);
22365 if (PyErr_Occurred()) SWIG_fail;
22366 }
36ed4f51 22367 resultobj = SWIG_From_int((result));
d55e5bfc
RD
22368 return resultobj;
22369 fail:
22370 return NULL;
22371}
22372
22373
c370783e 22374static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22375 PyObject *resultobj = NULL;
d55e5bfc
RD
22376 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22377 wxSize result;
22378 PyObject * obj0 = 0 ;
22379 char *kwnames[] = {
22380 (char *) "self", NULL
22381 };
22382
22383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
22384 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22385 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22386 {
22387 PyThreadState* __tstate = wxPyBeginAllowThreads();
22388 result = (arg1)->GetPaperSize();
22389
22390 wxPyEndAllowThreads(__tstate);
22391 if (PyErr_Occurred()) SWIG_fail;
22392 }
22393 {
22394 wxSize * resultptr;
32fe5131 22395 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
22396 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
22397 }
22398 return resultobj;
22399 fail:
22400 return NULL;
22401}
22402
22403
c370783e 22404static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22405 PyObject *resultobj = NULL;
d55e5bfc
RD
22406 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22407 wxPrintData *result;
22408 PyObject * obj0 = 0 ;
22409 char *kwnames[] = {
22410 (char *) "self", NULL
22411 };
22412
22413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
36ed4f51
RD
22414 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22415 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22416 {
22417 PyThreadState* __tstate = wxPyBeginAllowThreads();
22418 {
22419 wxPrintData &_result_ref = (arg1)->GetPrintData();
22420 result = (wxPrintData *) &_result_ref;
22421 }
22422
22423 wxPyEndAllowThreads(__tstate);
22424 if (PyErr_Occurred()) SWIG_fail;
22425 }
22426 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
22427 return resultobj;
22428 fail:
22429 return NULL;
22430}
22431
22432
c370783e 22433static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22434 PyObject *resultobj = NULL;
d55e5bfc
RD
22435 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22436 bool result;
22437 PyObject * obj0 = 0 ;
22438 char *kwnames[] = {
22439 (char *) "self", NULL
22440 };
22441
22442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
36ed4f51
RD
22443 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22444 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22445 {
22446 PyThreadState* __tstate = wxPyBeginAllowThreads();
22447 result = (bool)(arg1)->Ok();
22448
22449 wxPyEndAllowThreads(__tstate);
22450 if (PyErr_Occurred()) SWIG_fail;
22451 }
22452 {
22453 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22454 }
22455 return resultobj;
22456 fail:
22457 return NULL;
22458}
22459
22460
c370783e 22461static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22462 PyObject *resultobj = NULL;
d55e5bfc
RD
22463 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22464 bool arg2 ;
22465 PyObject * obj0 = 0 ;
22466 PyObject * obj1 = 0 ;
22467 char *kwnames[] = {
22468 (char *) "self",(char *) "flag", NULL
22469 };
22470
22471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22473 if (SWIG_arg_fail(1)) SWIG_fail;
22474 {
32fe5131 22475 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
22476 if (SWIG_arg_fail(2)) SWIG_fail;
22477 }
d55e5bfc
RD
22478 {
22479 PyThreadState* __tstate = wxPyBeginAllowThreads();
22480 (arg1)->SetDefaultInfo(arg2);
22481
22482 wxPyEndAllowThreads(__tstate);
22483 if (PyErr_Occurred()) SWIG_fail;
22484 }
22485 Py_INCREF(Py_None); resultobj = Py_None;
22486 return resultobj;
22487 fail:
22488 return NULL;
22489}
22490
22491
c370783e 22492static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22493 PyObject *resultobj = NULL;
d55e5bfc
RD
22494 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22495 bool arg2 ;
22496 PyObject * obj0 = 0 ;
22497 PyObject * obj1 = 0 ;
22498 char *kwnames[] = {
22499 (char *) "self",(char *) "flag", NULL
22500 };
22501
22502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22503 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22504 if (SWIG_arg_fail(1)) SWIG_fail;
22505 {
32fe5131 22506 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
22507 if (SWIG_arg_fail(2)) SWIG_fail;
22508 }
d55e5bfc
RD
22509 {
22510 PyThreadState* __tstate = wxPyBeginAllowThreads();
22511 (arg1)->SetDefaultMinMargins(arg2);
22512
22513 wxPyEndAllowThreads(__tstate);
22514 if (PyErr_Occurred()) SWIG_fail;
22515 }
22516 Py_INCREF(Py_None); resultobj = Py_None;
22517 return resultobj;
22518 fail:
22519 return NULL;
22520}
22521
22522
c370783e 22523static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22524 PyObject *resultobj = NULL;
d55e5bfc
RD
22525 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22526 wxPoint *arg2 = 0 ;
22527 wxPoint temp2 ;
22528 PyObject * obj0 = 0 ;
22529 PyObject * obj1 = 0 ;
22530 char *kwnames[] = {
22531 (char *) "self",(char *) "pt", NULL
22532 };
22533
22534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22535 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22536 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22537 {
22538 arg2 = &temp2;
22539 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22540 }
22541 {
22542 PyThreadState* __tstate = wxPyBeginAllowThreads();
22543 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
22544
22545 wxPyEndAllowThreads(__tstate);
22546 if (PyErr_Occurred()) SWIG_fail;
22547 }
22548 Py_INCREF(Py_None); resultobj = Py_None;
22549 return resultobj;
22550 fail:
22551 return NULL;
22552}
22553
22554
c370783e 22555static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22556 PyObject *resultobj = NULL;
d55e5bfc
RD
22557 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22558 wxPoint *arg2 = 0 ;
22559 wxPoint temp2 ;
22560 PyObject * obj0 = 0 ;
22561 PyObject * obj1 = 0 ;
22562 char *kwnames[] = {
22563 (char *) "self",(char *) "pt", NULL
22564 };
22565
22566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22567 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22568 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22569 {
22570 arg2 = &temp2;
22571 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22572 }
22573 {
22574 PyThreadState* __tstate = wxPyBeginAllowThreads();
22575 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
22576
22577 wxPyEndAllowThreads(__tstate);
22578 if (PyErr_Occurred()) SWIG_fail;
22579 }
22580 Py_INCREF(Py_None); resultobj = Py_None;
22581 return resultobj;
22582 fail:
22583 return NULL;
22584}
22585
22586
c370783e 22587static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22588 PyObject *resultobj = NULL;
d55e5bfc
RD
22589 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22590 wxPoint *arg2 = 0 ;
22591 wxPoint temp2 ;
22592 PyObject * obj0 = 0 ;
22593 PyObject * obj1 = 0 ;
22594 char *kwnames[] = {
22595 (char *) "self",(char *) "pt", NULL
22596 };
22597
22598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22599 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22600 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22601 {
22602 arg2 = &temp2;
22603 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22604 }
22605 {
22606 PyThreadState* __tstate = wxPyBeginAllowThreads();
22607 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
22608
22609 wxPyEndAllowThreads(__tstate);
22610 if (PyErr_Occurred()) SWIG_fail;
22611 }
22612 Py_INCREF(Py_None); resultobj = Py_None;
22613 return resultobj;
22614 fail:
22615 return NULL;
22616}
22617
22618
c370783e 22619static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22620 PyObject *resultobj = NULL;
d55e5bfc
RD
22621 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22622 wxPoint *arg2 = 0 ;
22623 wxPoint temp2 ;
22624 PyObject * obj0 = 0 ;
22625 PyObject * obj1 = 0 ;
22626 char *kwnames[] = {
22627 (char *) "self",(char *) "pt", NULL
22628 };
22629
22630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22632 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22633 {
22634 arg2 = &temp2;
22635 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22636 }
22637 {
22638 PyThreadState* __tstate = wxPyBeginAllowThreads();
22639 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
22640
22641 wxPyEndAllowThreads(__tstate);
22642 if (PyErr_Occurred()) SWIG_fail;
22643 }
22644 Py_INCREF(Py_None); resultobj = Py_None;
22645 return resultobj;
22646 fail:
22647 return NULL;
22648}
22649
22650
c370783e 22651static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22652 PyObject *resultobj = NULL;
d55e5bfc 22653 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
36ed4f51 22654 wxPaperSize arg2 ;
d55e5bfc
RD
22655 PyObject * obj0 = 0 ;
22656 PyObject * obj1 = 0 ;
22657 char *kwnames[] = {
22658 (char *) "self",(char *) "id", NULL
22659 };
22660
22661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22662 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22663 if (SWIG_arg_fail(1)) SWIG_fail;
22664 {
32fe5131 22665 arg2 = static_cast<wxPaperSize >(SWIG_As_int(obj1));
36ed4f51
RD
22666 if (SWIG_arg_fail(2)) SWIG_fail;
22667 }
d55e5bfc
RD
22668 {
22669 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 22670 (arg1)->SetPaperId(arg2);
d55e5bfc
RD
22671
22672 wxPyEndAllowThreads(__tstate);
22673 if (PyErr_Occurred()) SWIG_fail;
22674 }
22675 Py_INCREF(Py_None); resultobj = Py_None;
22676 return resultobj;
22677 fail:
22678 return NULL;
22679}
22680
22681
c370783e 22682static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22683 PyObject *resultobj = NULL;
d55e5bfc
RD
22684 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22685 wxSize *arg2 = 0 ;
22686 wxSize temp2 ;
22687 PyObject * obj0 = 0 ;
22688 PyObject * obj1 = 0 ;
22689 char *kwnames[] = {
22690 (char *) "self",(char *) "size", NULL
22691 };
22692
22693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22694 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22695 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22696 {
22697 arg2 = &temp2;
22698 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22699 }
22700 {
22701 PyThreadState* __tstate = wxPyBeginAllowThreads();
22702 (arg1)->SetPaperSize((wxSize const &)*arg2);
22703
22704 wxPyEndAllowThreads(__tstate);
22705 if (PyErr_Occurred()) SWIG_fail;
22706 }
22707 Py_INCREF(Py_None); resultobj = Py_None;
22708 return resultobj;
22709 fail:
22710 return NULL;
22711}
22712
22713
c370783e 22714static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22715 PyObject *resultobj = NULL;
d55e5bfc
RD
22716 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22717 wxPrintData *arg2 = 0 ;
22718 PyObject * obj0 = 0 ;
22719 PyObject * obj1 = 0 ;
22720 char *kwnames[] = {
22721 (char *) "self",(char *) "printData", NULL
22722 };
22723
22724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22725 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22726 if (SWIG_arg_fail(1)) SWIG_fail;
22727 {
22728 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
22729 if (SWIG_arg_fail(2)) SWIG_fail;
22730 if (arg2 == NULL) {
22731 SWIG_null_ref("wxPrintData");
22732 }
22733 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22734 }
22735 {
22736 PyThreadState* __tstate = wxPyBeginAllowThreads();
22737 (arg1)->SetPrintData((wxPrintData const &)*arg2);
22738
22739 wxPyEndAllowThreads(__tstate);
22740 if (PyErr_Occurred()) SWIG_fail;
22741 }
22742 Py_INCREF(Py_None); resultobj = Py_None;
22743 return resultobj;
22744 fail:
22745 return NULL;
22746}
22747
22748
fef4c27a 22749static PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22750 PyObject *resultobj = NULL;
fef4c27a
RD
22751 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22752 PyObject * obj0 = 0 ;
22753 char *kwnames[] = {
22754 (char *) "self", NULL
22755 };
22756
22757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_CalculateIdFromPaperSize",kwnames,&obj0)) goto fail;
22758 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22759 if (SWIG_arg_fail(1)) SWIG_fail;
22760 {
22761 PyThreadState* __tstate = wxPyBeginAllowThreads();
22762 (arg1)->CalculateIdFromPaperSize();
22763
22764 wxPyEndAllowThreads(__tstate);
22765 if (PyErr_Occurred()) SWIG_fail;
22766 }
22767 Py_INCREF(Py_None); resultobj = Py_None;
22768 return resultobj;
22769 fail:
22770 return NULL;
22771}
22772
22773
22774static PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22775 PyObject *resultobj = NULL;
fef4c27a
RD
22776 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22777 PyObject * obj0 = 0 ;
22778 char *kwnames[] = {
22779 (char *) "self", NULL
22780 };
22781
22782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_CalculatePaperSizeFromId",kwnames,&obj0)) goto fail;
22783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22784 if (SWIG_arg_fail(1)) SWIG_fail;
22785 {
22786 PyThreadState* __tstate = wxPyBeginAllowThreads();
22787 (arg1)->CalculatePaperSizeFromId();
22788
22789 wxPyEndAllowThreads(__tstate);
22790 if (PyErr_Occurred()) SWIG_fail;
22791 }
22792 Py_INCREF(Py_None); resultobj = Py_None;
22793 return resultobj;
22794 fail:
22795 return NULL;
22796}
22797
22798
c370783e 22799static PyObject * PageSetupDialogData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
22800 PyObject *obj;
22801 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22802 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
22803 Py_INCREF(obj);
22804 return Py_BuildValue((char *)"");
22805}
c370783e 22806static PyObject *_wrap_new_PageSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22807 PyObject *resultobj = NULL;
d55e5bfc
RD
22808 wxWindow *arg1 = (wxWindow *) 0 ;
22809 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
22810 wxPageSetupDialog *result;
22811 PyObject * obj0 = 0 ;
22812 PyObject * obj1 = 0 ;
22813 char *kwnames[] = {
22814 (char *) "parent",(char *) "data", NULL
22815 };
22816
22817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22818 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
22819 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 22820 if (obj1) {
36ed4f51
RD
22821 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22822 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22823 }
22824 {
0439c23b 22825 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
22826 PyThreadState* __tstate = wxPyBeginAllowThreads();
22827 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
22828
22829 wxPyEndAllowThreads(__tstate);
110da5b0 22830 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
22831 }
22832 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
22833 return resultobj;
22834 fail:
22835 return NULL;
22836}
22837
22838
c370783e 22839static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22840 PyObject *resultobj = NULL;
d55e5bfc
RD
22841 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
22842 wxPageSetupDialogData *result;
22843 PyObject * obj0 = 0 ;
22844 char *kwnames[] = {
22845 (char *) "self", NULL
22846 };
22847
22848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
36ed4f51
RD
22849 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
22850 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22851 {
22852 PyThreadState* __tstate = wxPyBeginAllowThreads();
22853 {
22854 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
22855 result = (wxPageSetupDialogData *) &_result_ref;
22856 }
22857
22858 wxPyEndAllowThreads(__tstate);
22859 if (PyErr_Occurred()) SWIG_fail;
22860 }
22861 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
22862 return resultobj;
22863 fail:
22864 return NULL;
22865}
22866
22867
6e0de3df 22868static PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22869 PyObject *resultobj = NULL;
6e0de3df
RD
22870 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
22871 wxPageSetupDialogData *result;
22872 PyObject * obj0 = 0 ;
22873 char *kwnames[] = {
22874 (char *) "self", NULL
22875 };
22876
22877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames,&obj0)) goto fail;
36ed4f51
RD
22878 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
22879 if (SWIG_arg_fail(1)) SWIG_fail;
6e0de3df
RD
22880 {
22881 PyThreadState* __tstate = wxPyBeginAllowThreads();
22882 {
22883 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
22884 result = (wxPageSetupDialogData *) &_result_ref;
22885 }
22886
22887 wxPyEndAllowThreads(__tstate);
22888 if (PyErr_Occurred()) SWIG_fail;
22889 }
22890 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
22891 return resultobj;
22892 fail:
22893 return NULL;
22894}
22895
22896
c370783e 22897static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22898 PyObject *resultobj = NULL;
d55e5bfc
RD
22899 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
22900 int result;
22901 PyObject * obj0 = 0 ;
22902 char *kwnames[] = {
22903 (char *) "self", NULL
22904 };
22905
22906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
36ed4f51
RD
22907 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
22908 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22909 {
22910 PyThreadState* __tstate = wxPyBeginAllowThreads();
22911 result = (int)(arg1)->ShowModal();
22912
22913 wxPyEndAllowThreads(__tstate);
22914 if (PyErr_Occurred()) SWIG_fail;
22915 }
36ed4f51 22916 {
32fe5131 22917 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 22918 }
d55e5bfc
RD
22919 return resultobj;
22920 fail:
22921 return NULL;
22922}
22923
22924
c370783e 22925static PyObject * PageSetupDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
22926 PyObject *obj;
22927 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22928 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
22929 Py_INCREF(obj);
22930 return Py_BuildValue((char *)"");
22931}
c370783e 22932static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *, PyObject *args) {
32fe5131 22933 PyObject *resultobj = NULL;
d55e5bfc
RD
22934 wxPrintDialogData *result;
22935
22936 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
22937 {
22938 PyThreadState* __tstate = wxPyBeginAllowThreads();
22939 result = (wxPrintDialogData *)new wxPrintDialogData();
22940
22941 wxPyEndAllowThreads(__tstate);
22942 if (PyErr_Occurred()) SWIG_fail;
22943 }
22944 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
22945 return resultobj;
22946 fail:
22947 return NULL;
22948}
22949
22950
c370783e 22951static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *, PyObject *args) {
32fe5131 22952 PyObject *resultobj = NULL;
d55e5bfc
RD
22953 wxPrintData *arg1 = 0 ;
22954 wxPrintDialogData *result;
22955 PyObject * obj0 = 0 ;
22956
22957 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
36ed4f51
RD
22958 {
22959 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
22960 if (SWIG_arg_fail(1)) SWIG_fail;
22961 if (arg1 == NULL) {
22962 SWIG_null_ref("wxPrintData");
22963 }
22964 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22965 }
22966 {
22967 PyThreadState* __tstate = wxPyBeginAllowThreads();
22968 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
22969
22970 wxPyEndAllowThreads(__tstate);
22971 if (PyErr_Occurred()) SWIG_fail;
22972 }
22973 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
22974 return resultobj;
22975 fail:
22976 return NULL;
22977}
22978
22979
fef4c27a 22980static PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *, PyObject *args) {
32fe5131 22981 PyObject *resultobj = NULL;
fef4c27a
RD
22982 wxPrintDialogData *arg1 = 0 ;
22983 wxPrintDialogData *result;
22984 PyObject * obj0 = 0 ;
22985
22986 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
22987 {
22988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
22989 if (SWIG_arg_fail(1)) SWIG_fail;
22990 if (arg1 == NULL) {
22991 SWIG_null_ref("wxPrintDialogData");
22992 }
22993 if (SWIG_arg_fail(1)) SWIG_fail;
22994 }
22995 {
22996 PyThreadState* __tstate = wxPyBeginAllowThreads();
22997 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
22998
22999 wxPyEndAllowThreads(__tstate);
23000 if (PyErr_Occurred()) SWIG_fail;
23001 }
23002 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
23003 return resultobj;
23004 fail:
23005 return NULL;
23006}
23007
23008
d55e5bfc
RD
23009static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
23010 int argc;
23011 PyObject *argv[2];
23012 int ii;
23013
23014 argc = PyObject_Length(args);
23015 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
23016 argv[ii] = PyTuple_GetItem(args,ii);
23017 }
23018 if (argc == 0) {
23019 return _wrap_new_PrintDialogData__SWIG_0(self,args);
23020 }
23021 if (argc == 1) {
23022 int _v;
23023 {
36ed4f51 23024 void *ptr = 0;
d55e5bfc
RD
23025 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23026 _v = 0;
23027 PyErr_Clear();
23028 } else {
36ed4f51 23029 _v = (ptr != 0);
d55e5bfc
RD
23030 }
23031 }
23032 if (_v) {
23033 return _wrap_new_PrintDialogData__SWIG_1(self,args);
23034 }
23035 }
fef4c27a
RD
23036 if (argc == 1) {
23037 int _v;
23038 {
23039 void *ptr = 0;
23040 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23041 _v = 0;
23042 PyErr_Clear();
23043 } else {
23044 _v = (ptr != 0);
23045 }
23046 }
23047 if (_v) {
23048 return _wrap_new_PrintDialogData__SWIG_2(self,args);
23049 }
23050 }
d55e5bfc 23051
36ed4f51 23052 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
d55e5bfc
RD
23053 return NULL;
23054}
23055
23056
c370783e 23057static PyObject *_wrap_delete_PrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23058 PyObject *resultobj = NULL;
d55e5bfc
RD
23059 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23060 PyObject * obj0 = 0 ;
23061 char *kwnames[] = {
23062 (char *) "self", NULL
23063 };
23064
23065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
36ed4f51
RD
23066 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23067 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23068 {
23069 PyThreadState* __tstate = wxPyBeginAllowThreads();
23070 delete arg1;
23071
23072 wxPyEndAllowThreads(__tstate);
23073 if (PyErr_Occurred()) SWIG_fail;
23074 }
23075 Py_INCREF(Py_None); resultobj = Py_None;
23076 return resultobj;
23077 fail:
23078 return NULL;
23079}
23080
23081
c370783e 23082static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23083 PyObject *resultobj = NULL;
d55e5bfc
RD
23084 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23085 int result;
23086 PyObject * obj0 = 0 ;
23087 char *kwnames[] = {
23088 (char *) "self", NULL
23089 };
23090
23091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",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 = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
23097
23098 wxPyEndAllowThreads(__tstate);
23099 if (PyErr_Occurred()) SWIG_fail;
23100 }
36ed4f51 23101 {
32fe5131 23102 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 23103 }
d55e5bfc
RD
23104 return resultobj;
23105 fail:
23106 return NULL;
23107}
23108
23109
c370783e 23110static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23111 PyObject *resultobj = NULL;
d55e5bfc
RD
23112 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23113 int result;
23114 PyObject * obj0 = 0 ;
23115 char *kwnames[] = {
23116 (char *) "self", NULL
23117 };
23118
23119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",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 = (int)((wxPrintDialogData const *)arg1)->GetToPage();
23125
23126 wxPyEndAllowThreads(__tstate);
23127 if (PyErr_Occurred()) SWIG_fail;
23128 }
36ed4f51 23129 {
32fe5131 23130 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 23131 }
d55e5bfc
RD
23132 return resultobj;
23133 fail:
23134 return NULL;
23135}
23136
23137
c370783e 23138static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23139 PyObject *resultobj = NULL;
d55e5bfc
RD
23140 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23141 int result;
23142 PyObject * obj0 = 0 ;
23143 char *kwnames[] = {
23144 (char *) "self", NULL
23145 };
23146
23147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",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 = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
23153
23154 wxPyEndAllowThreads(__tstate);
23155 if (PyErr_Occurred()) SWIG_fail;
23156 }
36ed4f51 23157 {
32fe5131 23158 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 23159 }
d55e5bfc
RD
23160 return resultobj;
23161 fail:
23162 return NULL;
23163}
23164
23165
c370783e 23166static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23167 PyObject *resultobj = NULL;
d55e5bfc
RD
23168 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23169 int result;
23170 PyObject * obj0 = 0 ;
23171 char *kwnames[] = {
23172 (char *) "self", NULL
23173 };
23174
23175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
36ed4f51
RD
23176 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23177 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23178 {
23179 PyThreadState* __tstate = wxPyBeginAllowThreads();
23180 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
23181
23182 wxPyEndAllowThreads(__tstate);
23183 if (PyErr_Occurred()) SWIG_fail;
23184 }
36ed4f51 23185 {
32fe5131 23186 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 23187 }
d55e5bfc
RD
23188 return resultobj;
23189 fail:
23190 return NULL;
23191}
23192
23193
c370783e 23194static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23195 PyObject *resultobj = NULL;
d55e5bfc
RD
23196 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23197 int result;
23198 PyObject * obj0 = 0 ;
23199 char *kwnames[] = {
23200 (char *) "self", NULL
23201 };
23202
23203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
36ed4f51
RD
23204 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23205 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23206 {
23207 PyThreadState* __tstate = wxPyBeginAllowThreads();
23208 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
23209
23210 wxPyEndAllowThreads(__tstate);
23211 if (PyErr_Occurred()) SWIG_fail;
23212 }
36ed4f51 23213 {
32fe5131 23214 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 23215 }
d55e5bfc
RD
23216 return resultobj;
23217 fail:
23218 return NULL;
23219}
23220
23221
c370783e 23222static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23223 PyObject *resultobj = NULL;
d55e5bfc
RD
23224 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23225 bool result;
23226 PyObject * obj0 = 0 ;
23227 char *kwnames[] = {
23228 (char *) "self", NULL
23229 };
23230
23231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
36ed4f51
RD
23232 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23233 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23234 {
23235 PyThreadState* __tstate = wxPyBeginAllowThreads();
23236 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
23237
23238 wxPyEndAllowThreads(__tstate);
23239 if (PyErr_Occurred()) SWIG_fail;
23240 }
23241 {
23242 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23243 }
23244 return resultobj;
23245 fail:
23246 return NULL;
23247}
23248
23249
c370783e 23250static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23251 PyObject *resultobj = NULL;
d55e5bfc
RD
23252 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23253 bool result;
23254 PyObject * obj0 = 0 ;
23255 char *kwnames[] = {
23256 (char *) "self", NULL
23257 };
23258
23259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
23260 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23261 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23262 {
23263 PyThreadState* __tstate = wxPyBeginAllowThreads();
23264 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
23265
23266 wxPyEndAllowThreads(__tstate);
23267 if (PyErr_Occurred()) SWIG_fail;
23268 }
23269 {
23270 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23271 }
23272 return resultobj;
23273 fail:
23274 return NULL;
23275}
23276
23277
c370783e 23278static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23279 PyObject *resultobj = NULL;
d55e5bfc
RD
23280 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23281 bool result;
23282 PyObject * obj0 = 0 ;
23283 char *kwnames[] = {
23284 (char *) "self", NULL
23285 };
23286
23287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
36ed4f51
RD
23288 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23289 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23290 {
23291 PyThreadState* __tstate = wxPyBeginAllowThreads();
23292 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
23293
23294 wxPyEndAllowThreads(__tstate);
23295 if (PyErr_Occurred()) SWIG_fail;
23296 }
23297 {
23298 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23299 }
23300 return resultobj;
23301 fail:
23302 return NULL;
23303}
23304
23305
c370783e 23306static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23307 PyObject *resultobj = NULL;
d55e5bfc
RD
23308 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23309 bool result;
23310 PyObject * obj0 = 0 ;
23311 char *kwnames[] = {
23312 (char *) "self", NULL
23313 };
23314
23315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
36ed4f51
RD
23316 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23317 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23318 {
23319 PyThreadState* __tstate = wxPyBeginAllowThreads();
23320 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
23321
23322 wxPyEndAllowThreads(__tstate);
23323 if (PyErr_Occurred()) SWIG_fail;
23324 }
23325 {
23326 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23327 }
23328 return resultobj;
23329 fail:
23330 return NULL;
23331}
23332
23333
c370783e 23334static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23335 PyObject *resultobj = NULL;
d55e5bfc
RD
23336 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23337 int arg2 ;
23338 PyObject * obj0 = 0 ;
23339 PyObject * obj1 = 0 ;
23340 char *kwnames[] = {
23341 (char *) "self",(char *) "v", NULL
23342 };
23343
23344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23345 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23346 if (SWIG_arg_fail(1)) SWIG_fail;
23347 {
32fe5131 23348 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
23349 if (SWIG_arg_fail(2)) SWIG_fail;
23350 }
d55e5bfc
RD
23351 {
23352 PyThreadState* __tstate = wxPyBeginAllowThreads();
23353 (arg1)->SetFromPage(arg2);
23354
23355 wxPyEndAllowThreads(__tstate);
23356 if (PyErr_Occurred()) SWIG_fail;
23357 }
23358 Py_INCREF(Py_None); resultobj = Py_None;
23359 return resultobj;
23360 fail:
23361 return NULL;
23362}
23363
23364
c370783e 23365static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23366 PyObject *resultobj = NULL;
d55e5bfc
RD
23367 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23368 int arg2 ;
23369 PyObject * obj0 = 0 ;
23370 PyObject * obj1 = 0 ;
23371 char *kwnames[] = {
23372 (char *) "self",(char *) "v", NULL
23373 };
23374
23375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23376 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23377 if (SWIG_arg_fail(1)) SWIG_fail;
23378 {
32fe5131 23379 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
23380 if (SWIG_arg_fail(2)) SWIG_fail;
23381 }
d55e5bfc
RD
23382 {
23383 PyThreadState* __tstate = wxPyBeginAllowThreads();
23384 (arg1)->SetToPage(arg2);
23385
23386 wxPyEndAllowThreads(__tstate);
23387 if (PyErr_Occurred()) SWIG_fail;
23388 }
23389 Py_INCREF(Py_None); resultobj = Py_None;
23390 return resultobj;
23391 fail:
23392 return NULL;
23393}
23394
23395
c370783e 23396static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23397 PyObject *resultobj = NULL;
d55e5bfc
RD
23398 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23399 int arg2 ;
23400 PyObject * obj0 = 0 ;
23401 PyObject * obj1 = 0 ;
23402 char *kwnames[] = {
23403 (char *) "self",(char *) "v", NULL
23404 };
23405
23406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23407 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23408 if (SWIG_arg_fail(1)) SWIG_fail;
23409 {
32fe5131 23410 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
23411 if (SWIG_arg_fail(2)) SWIG_fail;
23412 }
d55e5bfc
RD
23413 {
23414 PyThreadState* __tstate = wxPyBeginAllowThreads();
23415 (arg1)->SetMinPage(arg2);
23416
23417 wxPyEndAllowThreads(__tstate);
23418 if (PyErr_Occurred()) SWIG_fail;
23419 }
23420 Py_INCREF(Py_None); resultobj = Py_None;
23421 return resultobj;
23422 fail:
23423 return NULL;
23424}
23425
23426
c370783e 23427static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23428 PyObject *resultobj = NULL;
d55e5bfc
RD
23429 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23430 int arg2 ;
23431 PyObject * obj0 = 0 ;
23432 PyObject * obj1 = 0 ;
23433 char *kwnames[] = {
23434 (char *) "self",(char *) "v", NULL
23435 };
23436
23437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23438 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23439 if (SWIG_arg_fail(1)) SWIG_fail;
23440 {
32fe5131 23441 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
23442 if (SWIG_arg_fail(2)) SWIG_fail;
23443 }
d55e5bfc
RD
23444 {
23445 PyThreadState* __tstate = wxPyBeginAllowThreads();
23446 (arg1)->SetMaxPage(arg2);
23447
23448 wxPyEndAllowThreads(__tstate);
23449 if (PyErr_Occurred()) SWIG_fail;
23450 }
23451 Py_INCREF(Py_None); resultobj = Py_None;
23452 return resultobj;
23453 fail:
23454 return NULL;
23455}
23456
23457
c370783e 23458static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23459 PyObject *resultobj = NULL;
d55e5bfc
RD
23460 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23461 int arg2 ;
23462 PyObject * obj0 = 0 ;
23463 PyObject * obj1 = 0 ;
23464 char *kwnames[] = {
23465 (char *) "self",(char *) "v", NULL
23466 };
23467
23468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23469 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23470 if (SWIG_arg_fail(1)) SWIG_fail;
23471 {
32fe5131 23472 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
23473 if (SWIG_arg_fail(2)) SWIG_fail;
23474 }
d55e5bfc
RD
23475 {
23476 PyThreadState* __tstate = wxPyBeginAllowThreads();
23477 (arg1)->SetNoCopies(arg2);
23478
23479 wxPyEndAllowThreads(__tstate);
23480 if (PyErr_Occurred()) SWIG_fail;
23481 }
23482 Py_INCREF(Py_None); resultobj = Py_None;
23483 return resultobj;
23484 fail:
23485 return NULL;
23486}
23487
23488
c370783e 23489static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23490 PyObject *resultobj = NULL;
d55e5bfc
RD
23491 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23492 bool arg2 ;
23493 PyObject * obj0 = 0 ;
23494 PyObject * obj1 = 0 ;
23495 char *kwnames[] = {
23496 (char *) "self",(char *) "flag", NULL
23497 };
23498
23499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23500 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23501 if (SWIG_arg_fail(1)) SWIG_fail;
23502 {
32fe5131 23503 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
23504 if (SWIG_arg_fail(2)) SWIG_fail;
23505 }
d55e5bfc
RD
23506 {
23507 PyThreadState* __tstate = wxPyBeginAllowThreads();
23508 (arg1)->SetAllPages(arg2);
23509
23510 wxPyEndAllowThreads(__tstate);
23511 if (PyErr_Occurred()) SWIG_fail;
23512 }
23513 Py_INCREF(Py_None); resultobj = Py_None;
23514 return resultobj;
23515 fail:
23516 return NULL;
23517}
23518
23519
c370783e 23520static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23521 PyObject *resultobj = NULL;
d55e5bfc
RD
23522 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23523 bool arg2 ;
23524 PyObject * obj0 = 0 ;
23525 PyObject * obj1 = 0 ;
23526 char *kwnames[] = {
23527 (char *) "self",(char *) "flag", NULL
23528 };
23529
23530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23532 if (SWIG_arg_fail(1)) SWIG_fail;
23533 {
32fe5131 23534 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
23535 if (SWIG_arg_fail(2)) SWIG_fail;
23536 }
d55e5bfc
RD
23537 {
23538 PyThreadState* __tstate = wxPyBeginAllowThreads();
23539 (arg1)->SetSelection(arg2);
23540
23541 wxPyEndAllowThreads(__tstate);
23542 if (PyErr_Occurred()) SWIG_fail;
23543 }
23544 Py_INCREF(Py_None); resultobj = Py_None;
23545 return resultobj;
23546 fail:
23547 return NULL;
23548}
23549
23550
c370783e 23551static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23552 PyObject *resultobj = NULL;
d55e5bfc
RD
23553 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23554 bool arg2 ;
23555 PyObject * obj0 = 0 ;
23556 PyObject * obj1 = 0 ;
23557 char *kwnames[] = {
23558 (char *) "self",(char *) "flag", NULL
23559 };
23560
23561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23563 if (SWIG_arg_fail(1)) SWIG_fail;
23564 {
32fe5131 23565 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
23566 if (SWIG_arg_fail(2)) SWIG_fail;
23567 }
d55e5bfc
RD
23568 {
23569 PyThreadState* __tstate = wxPyBeginAllowThreads();
23570 (arg1)->SetCollate(arg2);
23571
23572 wxPyEndAllowThreads(__tstate);
23573 if (PyErr_Occurred()) SWIG_fail;
23574 }
23575 Py_INCREF(Py_None); resultobj = Py_None;
23576 return resultobj;
23577 fail:
23578 return NULL;
23579}
23580
23581
c370783e 23582static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23583 PyObject *resultobj = NULL;
d55e5bfc
RD
23584 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23585 bool arg2 ;
23586 PyObject * obj0 = 0 ;
23587 PyObject * obj1 = 0 ;
23588 char *kwnames[] = {
23589 (char *) "self",(char *) "flag", NULL
23590 };
23591
23592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23593 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23594 if (SWIG_arg_fail(1)) SWIG_fail;
23595 {
32fe5131 23596 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
23597 if (SWIG_arg_fail(2)) SWIG_fail;
23598 }
d55e5bfc
RD
23599 {
23600 PyThreadState* __tstate = wxPyBeginAllowThreads();
23601 (arg1)->SetPrintToFile(arg2);
23602
23603 wxPyEndAllowThreads(__tstate);
23604 if (PyErr_Occurred()) SWIG_fail;
23605 }
23606 Py_INCREF(Py_None); resultobj = Py_None;
23607 return resultobj;
23608 fail:
23609 return NULL;
23610}
23611
23612
c370783e 23613static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23614 PyObject *resultobj = NULL;
d55e5bfc
RD
23615 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23616 bool arg2 ;
23617 PyObject * obj0 = 0 ;
23618 PyObject * obj1 = 0 ;
23619 char *kwnames[] = {
23620 (char *) "self",(char *) "flag", NULL
23621 };
23622
23623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23624 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23625 if (SWIG_arg_fail(1)) SWIG_fail;
23626 {
32fe5131 23627 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
23628 if (SWIG_arg_fail(2)) SWIG_fail;
23629 }
d55e5bfc
RD
23630 {
23631 PyThreadState* __tstate = wxPyBeginAllowThreads();
23632 (arg1)->EnablePrintToFile(arg2);
23633
23634 wxPyEndAllowThreads(__tstate);
23635 if (PyErr_Occurred()) SWIG_fail;
23636 }
23637 Py_INCREF(Py_None); resultobj = Py_None;
23638 return resultobj;
23639 fail:
23640 return NULL;
23641}
23642
23643
c370783e 23644static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23645 PyObject *resultobj = NULL;
d55e5bfc
RD
23646 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23647 bool arg2 ;
23648 PyObject * obj0 = 0 ;
23649 PyObject * obj1 = 0 ;
23650 char *kwnames[] = {
23651 (char *) "self",(char *) "flag", NULL
23652 };
23653
23654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23656 if (SWIG_arg_fail(1)) SWIG_fail;
23657 {
32fe5131 23658 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
23659 if (SWIG_arg_fail(2)) SWIG_fail;
23660 }
d55e5bfc
RD
23661 {
23662 PyThreadState* __tstate = wxPyBeginAllowThreads();
23663 (arg1)->EnableSelection(arg2);
23664
23665 wxPyEndAllowThreads(__tstate);
23666 if (PyErr_Occurred()) SWIG_fail;
23667 }
23668 Py_INCREF(Py_None); resultobj = Py_None;
23669 return resultobj;
23670 fail:
23671 return NULL;
23672}
23673
23674
c370783e 23675static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23676 PyObject *resultobj = NULL;
d55e5bfc
RD
23677 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23678 bool arg2 ;
23679 PyObject * obj0 = 0 ;
23680 PyObject * obj1 = 0 ;
23681 char *kwnames[] = {
23682 (char *) "self",(char *) "flag", NULL
23683 };
23684
23685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23686 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23687 if (SWIG_arg_fail(1)) SWIG_fail;
23688 {
32fe5131 23689 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
23690 if (SWIG_arg_fail(2)) SWIG_fail;
23691 }
d55e5bfc
RD
23692 {
23693 PyThreadState* __tstate = wxPyBeginAllowThreads();
23694 (arg1)->EnablePageNumbers(arg2);
23695
23696 wxPyEndAllowThreads(__tstate);
23697 if (PyErr_Occurred()) SWIG_fail;
23698 }
23699 Py_INCREF(Py_None); resultobj = Py_None;
23700 return resultobj;
23701 fail:
23702 return NULL;
23703}
23704
23705
c370783e 23706static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23707 PyObject *resultobj = NULL;
d55e5bfc
RD
23708 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23709 bool arg2 ;
23710 PyObject * obj0 = 0 ;
23711 PyObject * obj1 = 0 ;
23712 char *kwnames[] = {
23713 (char *) "self",(char *) "flag", NULL
23714 };
23715
23716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23717 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23718 if (SWIG_arg_fail(1)) SWIG_fail;
23719 {
32fe5131 23720 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
23721 if (SWIG_arg_fail(2)) SWIG_fail;
23722 }
d55e5bfc
RD
23723 {
23724 PyThreadState* __tstate = wxPyBeginAllowThreads();
23725 (arg1)->EnableHelp(arg2);
23726
23727 wxPyEndAllowThreads(__tstate);
23728 if (PyErr_Occurred()) SWIG_fail;
23729 }
23730 Py_INCREF(Py_None); resultobj = Py_None;
23731 return resultobj;
23732 fail:
23733 return NULL;
23734}
23735
23736
c370783e 23737static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23738 PyObject *resultobj = NULL;
d55e5bfc
RD
23739 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23740 bool result;
23741 PyObject * obj0 = 0 ;
23742 char *kwnames[] = {
23743 (char *) "self", NULL
23744 };
23745
23746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
36ed4f51
RD
23747 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23748 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23749 {
23750 PyThreadState* __tstate = wxPyBeginAllowThreads();
23751 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
23752
23753 wxPyEndAllowThreads(__tstate);
23754 if (PyErr_Occurred()) SWIG_fail;
23755 }
23756 {
23757 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23758 }
23759 return resultobj;
23760 fail:
23761 return NULL;
23762}
23763
23764
c370783e 23765static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23766 PyObject *resultobj = NULL;
d55e5bfc
RD
23767 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23768 bool result;
23769 PyObject * obj0 = 0 ;
23770 char *kwnames[] = {
23771 (char *) "self", NULL
23772 };
23773
23774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
23775 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23776 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23777 {
23778 PyThreadState* __tstate = wxPyBeginAllowThreads();
23779 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
23780
23781 wxPyEndAllowThreads(__tstate);
23782 if (PyErr_Occurred()) SWIG_fail;
23783 }
23784 {
23785 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23786 }
23787 return resultobj;
23788 fail:
23789 return NULL;
23790}
23791
23792
c370783e 23793static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23794 PyObject *resultobj = NULL;
d55e5bfc
RD
23795 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23796 bool result;
23797 PyObject * obj0 = 0 ;
23798 char *kwnames[] = {
23799 (char *) "self", NULL
23800 };
23801
23802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
36ed4f51
RD
23803 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23804 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23805 {
23806 PyThreadState* __tstate = wxPyBeginAllowThreads();
23807 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
23808
23809 wxPyEndAllowThreads(__tstate);
23810 if (PyErr_Occurred()) SWIG_fail;
23811 }
23812 {
23813 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23814 }
23815 return resultobj;
23816 fail:
23817 return NULL;
23818}
23819
23820
c370783e 23821static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23822 PyObject *resultobj = NULL;
d55e5bfc
RD
23823 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23824 bool result;
23825 PyObject * obj0 = 0 ;
23826 char *kwnames[] = {
23827 (char *) "self", NULL
23828 };
23829
23830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
36ed4f51
RD
23831 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23832 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23833 {
23834 PyThreadState* __tstate = wxPyBeginAllowThreads();
23835 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
23836
23837 wxPyEndAllowThreads(__tstate);
23838 if (PyErr_Occurred()) SWIG_fail;
23839 }
23840 {
23841 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23842 }
23843 return resultobj;
23844 fail:
23845 return NULL;
23846}
23847
23848
c370783e 23849static PyObject *_wrap_PrintDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23850 PyObject *resultobj = NULL;
d55e5bfc
RD
23851 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23852 bool result;
23853 PyObject * obj0 = 0 ;
23854 char *kwnames[] = {
23855 (char *) "self", NULL
23856 };
23857
23858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
36ed4f51
RD
23859 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23860 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23861 {
23862 PyThreadState* __tstate = wxPyBeginAllowThreads();
23863 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
23864
23865 wxPyEndAllowThreads(__tstate);
23866 if (PyErr_Occurred()) SWIG_fail;
23867 }
23868 {
23869 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23870 }
23871 return resultobj;
23872 fail:
23873 return NULL;
23874}
23875
23876
c370783e 23877static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23878 PyObject *resultobj = NULL;
d55e5bfc
RD
23879 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23880 wxPrintData *result;
23881 PyObject * obj0 = 0 ;
23882 char *kwnames[] = {
23883 (char *) "self", NULL
23884 };
23885
23886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
36ed4f51
RD
23887 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23888 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23889 {
23890 PyThreadState* __tstate = wxPyBeginAllowThreads();
23891 {
23892 wxPrintData &_result_ref = (arg1)->GetPrintData();
23893 result = (wxPrintData *) &_result_ref;
23894 }
23895
23896 wxPyEndAllowThreads(__tstate);
23897 if (PyErr_Occurred()) SWIG_fail;
23898 }
23899 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
23900 return resultobj;
23901 fail:
23902 return NULL;
23903}
23904
23905
c370783e 23906static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23907 PyObject *resultobj = NULL;
d55e5bfc
RD
23908 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23909 wxPrintData *arg2 = 0 ;
23910 PyObject * obj0 = 0 ;
23911 PyObject * obj1 = 0 ;
23912 char *kwnames[] = {
23913 (char *) "self",(char *) "printData", NULL
23914 };
23915
23916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23917 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23918 if (SWIG_arg_fail(1)) SWIG_fail;
23919 {
23920 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
23921 if (SWIG_arg_fail(2)) SWIG_fail;
23922 if (arg2 == NULL) {
23923 SWIG_null_ref("wxPrintData");
23924 }
23925 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23926 }
23927 {
23928 PyThreadState* __tstate = wxPyBeginAllowThreads();
23929 (arg1)->SetPrintData((wxPrintData const &)*arg2);
23930
23931 wxPyEndAllowThreads(__tstate);
23932 if (PyErr_Occurred()) SWIG_fail;
23933 }
23934 Py_INCREF(Py_None); resultobj = Py_None;
23935 return resultobj;
23936 fail:
23937 return NULL;
23938}
23939
23940
c370783e 23941static PyObject * PrintDialogData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
23942 PyObject *obj;
23943 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23944 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
23945 Py_INCREF(obj);
23946 return Py_BuildValue((char *)"");
23947}
c370783e 23948static PyObject *_wrap_new_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23949 PyObject *resultobj = NULL;
d55e5bfc
RD
23950 wxWindow *arg1 = (wxWindow *) 0 ;
23951 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
23952 wxPrintDialog *result;
23953 PyObject * obj0 = 0 ;
23954 PyObject * obj1 = 0 ;
23955 char *kwnames[] = {
23956 (char *) "parent",(char *) "data", NULL
23957 };
23958
23959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23960 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23961 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 23962 if (obj1) {
36ed4f51
RD
23963 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23964 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23965 }
23966 {
0439c23b 23967 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
23968 PyThreadState* __tstate = wxPyBeginAllowThreads();
23969 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
23970
23971 wxPyEndAllowThreads(__tstate);
110da5b0 23972 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
23973 }
23974 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
23975 return resultobj;
23976 fail:
23977 return NULL;
23978}
23979
23980
070c48b4 23981static PyObject *_wrap_PrintDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23982 PyObject *resultobj = NULL;
070c48b4
RD
23983 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
23984 int result;
23985 PyObject * obj0 = 0 ;
23986 char *kwnames[] = {
23987 (char *) "self", NULL
23988 };
23989
23990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
36ed4f51
RD
23991 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
23992 if (SWIG_arg_fail(1)) SWIG_fail;
070c48b4
RD
23993 {
23994 PyThreadState* __tstate = wxPyBeginAllowThreads();
23995 result = (int)(arg1)->ShowModal();
23996
23997 wxPyEndAllowThreads(__tstate);
23998 if (PyErr_Occurred()) SWIG_fail;
23999 }
36ed4f51 24000 {
32fe5131 24001 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 24002 }
070c48b4
RD
24003 return resultobj;
24004 fail:
24005 return NULL;
24006}
24007
24008
c370783e 24009static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24010 PyObject *resultobj = NULL;
d55e5bfc
RD
24011 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
24012 wxPrintDialogData *result;
24013 PyObject * obj0 = 0 ;
24014 char *kwnames[] = {
24015 (char *) "self", NULL
24016 };
24017
24018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
36ed4f51
RD
24019 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24020 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24021 {
24022 PyThreadState* __tstate = wxPyBeginAllowThreads();
24023 {
24024 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
24025 result = (wxPrintDialogData *) &_result_ref;
24026 }
24027
24028 wxPyEndAllowThreads(__tstate);
24029 if (PyErr_Occurred()) SWIG_fail;
24030 }
24031 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
24032 return resultobj;
24033 fail:
24034 return NULL;
24035}
24036
24037
070c48b4 24038static PyObject *_wrap_PrintDialog_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24039 PyObject *resultobj = NULL;
d55e5bfc 24040 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
070c48b4 24041 wxPrintData *result;
d55e5bfc
RD
24042 PyObject * obj0 = 0 ;
24043 char *kwnames[] = {
24044 (char *) "self", NULL
24045 };
24046
070c48b4 24047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintData",kwnames,&obj0)) goto fail;
36ed4f51
RD
24048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24049 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24050 {
24051 PyThreadState* __tstate = wxPyBeginAllowThreads();
070c48b4
RD
24052 {
24053 wxPrintData &_result_ref = (arg1)->GetPrintData();
24054 result = (wxPrintData *) &_result_ref;
24055 }
d55e5bfc
RD
24056
24057 wxPyEndAllowThreads(__tstate);
24058 if (PyErr_Occurred()) SWIG_fail;
24059 }
070c48b4 24060 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
d55e5bfc
RD
24061 return resultobj;
24062 fail:
24063 return NULL;
24064}
24065
24066
070c48b4 24067static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24068 PyObject *resultobj = NULL;
d55e5bfc 24069 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
070c48b4 24070 wxDC *result;
d55e5bfc
RD
24071 PyObject * obj0 = 0 ;
24072 char *kwnames[] = {
24073 (char *) "self", NULL
24074 };
24075
070c48b4 24076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
36ed4f51
RD
24077 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24078 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24079 {
24080 PyThreadState* __tstate = wxPyBeginAllowThreads();
070c48b4 24081 result = (wxDC *)(arg1)->GetPrintDC();
d55e5bfc
RD
24082
24083 wxPyEndAllowThreads(__tstate);
24084 if (PyErr_Occurred()) SWIG_fail;
24085 }
070c48b4 24086 {
7e08d4ef 24087 resultobj = wxPyMake_wxObject(result, (bool)1);
070c48b4 24088 }
d55e5bfc
RD
24089 return resultobj;
24090 fail:
24091 return NULL;
24092}
24093
24094
c370783e 24095static PyObject * PrintDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
24096 PyObject *obj;
24097 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24098 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
24099 Py_INCREF(obj);
24100 return Py_BuildValue((char *)"");
24101}
c370783e 24102static PyObject *_wrap_new_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24103 PyObject *resultobj = NULL;
d55e5bfc
RD
24104 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
24105 wxPrinter *result;
24106 PyObject * obj0 = 0 ;
24107 char *kwnames[] = {
24108 (char *) "data", NULL
24109 };
24110
24111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
24112 if (obj0) {
36ed4f51
RD
24113 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24114 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24115 }
24116 {
0439c23b 24117 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
24118 PyThreadState* __tstate = wxPyBeginAllowThreads();
24119 result = (wxPrinter *)new wxPrinter(arg1);
24120
24121 wxPyEndAllowThreads(__tstate);
110da5b0 24122 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
24123 }
24124 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
24125 return resultobj;
24126 fail:
24127 return NULL;
24128}
24129
24130
c370783e 24131static PyObject *_wrap_delete_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24132 PyObject *resultobj = NULL;
d55e5bfc
RD
24133 wxPrinter *arg1 = (wxPrinter *) 0 ;
24134 PyObject * obj0 = 0 ;
24135 char *kwnames[] = {
24136 (char *) "self", NULL
24137 };
24138
24139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
36ed4f51
RD
24140 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24141 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24142 {
24143 PyThreadState* __tstate = wxPyBeginAllowThreads();
24144 delete arg1;
24145
24146 wxPyEndAllowThreads(__tstate);
24147 if (PyErr_Occurred()) SWIG_fail;
24148 }
24149 Py_INCREF(Py_None); resultobj = Py_None;
24150 return resultobj;
24151 fail:
24152 return NULL;
24153}
24154
24155
c370783e 24156static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24157 PyObject *resultobj = NULL;
d55e5bfc
RD
24158 wxPrinter *arg1 = (wxPrinter *) 0 ;
24159 wxWindow *arg2 = (wxWindow *) 0 ;
24160 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
070c48b4 24161 wxWindow *result;
d55e5bfc
RD
24162 PyObject * obj0 = 0 ;
24163 PyObject * obj1 = 0 ;
24164 PyObject * obj2 = 0 ;
24165 char *kwnames[] = {
24166 (char *) "self",(char *) "parent",(char *) "printout", NULL
24167 };
24168
24169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24170 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24171 if (SWIG_arg_fail(1)) SWIG_fail;
24172 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24173 if (SWIG_arg_fail(2)) SWIG_fail;
24174 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24175 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
24176 {
24177 PyThreadState* __tstate = wxPyBeginAllowThreads();
070c48b4 24178 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
d55e5bfc
RD
24179
24180 wxPyEndAllowThreads(__tstate);
24181 if (PyErr_Occurred()) SWIG_fail;
24182 }
d55e5bfc 24183 {
070c48b4 24184 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc 24185 }
d55e5bfc
RD
24186 return resultobj;
24187 fail:
24188 return NULL;
24189}
24190
24191
070c48b4 24192static PyObject *_wrap_Printer_ReportError(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24193 PyObject *resultobj = NULL;
d55e5bfc
RD
24194 wxPrinter *arg1 = (wxPrinter *) 0 ;
24195 wxWindow *arg2 = (wxWindow *) 0 ;
24196 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
070c48b4
RD
24197 wxString *arg4 = 0 ;
24198 bool temp4 = false ;
d55e5bfc
RD
24199 PyObject * obj0 = 0 ;
24200 PyObject * obj1 = 0 ;
24201 PyObject * obj2 = 0 ;
24202 PyObject * obj3 = 0 ;
24203 char *kwnames[] = {
070c48b4 24204 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
d55e5bfc
RD
24205 };
24206
070c48b4 24207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
24208 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24209 if (SWIG_arg_fail(1)) SWIG_fail;
24210 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24211 if (SWIG_arg_fail(2)) SWIG_fail;
24212 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24213 if (SWIG_arg_fail(3)) SWIG_fail;
070c48b4
RD
24214 {
24215 arg4 = wxString_in_helper(obj3);
24216 if (arg4 == NULL) SWIG_fail;
24217 temp4 = true;
d55e5bfc
RD
24218 }
24219 {
24220 PyThreadState* __tstate = wxPyBeginAllowThreads();
070c48b4 24221 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
d55e5bfc
RD
24222
24223 wxPyEndAllowThreads(__tstate);
24224 if (PyErr_Occurred()) SWIG_fail;
24225 }
070c48b4 24226 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc 24227 {
070c48b4
RD
24228 if (temp4)
24229 delete arg4;
d55e5bfc
RD
24230 }
24231 return resultobj;
24232 fail:
070c48b4
RD
24233 {
24234 if (temp4)
24235 delete arg4;
24236 }
d55e5bfc
RD
24237 return NULL;
24238}
24239
24240
070c48b4 24241static PyObject *_wrap_Printer_Setup(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24242 PyObject *resultobj = NULL;
d55e5bfc
RD
24243 wxPrinter *arg1 = (wxPrinter *) 0 ;
24244 wxWindow *arg2 = (wxWindow *) 0 ;
070c48b4 24245 bool result;
d55e5bfc
RD
24246 PyObject * obj0 = 0 ;
24247 PyObject * obj1 = 0 ;
24248 char *kwnames[] = {
24249 (char *) "self",(char *) "parent", NULL
24250 };
24251
070c48b4 24252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24253 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24254 if (SWIG_arg_fail(1)) SWIG_fail;
24255 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24256 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24257 {
24258 PyThreadState* __tstate = wxPyBeginAllowThreads();
070c48b4 24259 result = (bool)(arg1)->Setup(arg2);
d55e5bfc
RD
24260
24261 wxPyEndAllowThreads(__tstate);
24262 if (PyErr_Occurred()) SWIG_fail;
24263 }
24264 {
070c48b4 24265 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d55e5bfc
RD
24266 }
24267 return resultobj;
24268 fail:
24269 return NULL;
24270}
24271
24272
070c48b4 24273static PyObject *_wrap_Printer_Print(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24274 PyObject *resultobj = NULL;
d55e5bfc
RD
24275 wxPrinter *arg1 = (wxPrinter *) 0 ;
24276 wxWindow *arg2 = (wxWindow *) 0 ;
24277 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
070c48b4
RD
24278 bool arg4 = (bool) true ;
24279 bool result;
d55e5bfc
RD
24280 PyObject * obj0 = 0 ;
24281 PyObject * obj1 = 0 ;
24282 PyObject * obj2 = 0 ;
24283 PyObject * obj3 = 0 ;
24284 char *kwnames[] = {
070c48b4 24285 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
d55e5bfc
RD
24286 };
24287
070c48b4 24288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
24289 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24290 if (SWIG_arg_fail(1)) SWIG_fail;
24291 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24292 if (SWIG_arg_fail(2)) SWIG_fail;
24293 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24294 if (SWIG_arg_fail(3)) SWIG_fail;
070c48b4 24295 if (obj3) {
36ed4f51 24296 {
32fe5131 24297 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
36ed4f51
RD
24298 if (SWIG_arg_fail(4)) SWIG_fail;
24299 }
d55e5bfc
RD
24300 }
24301 {
24302 PyThreadState* __tstate = wxPyBeginAllowThreads();
070c48b4 24303 result = (bool)(arg1)->Print(arg2,arg3,arg4);
d55e5bfc
RD
24304
24305 wxPyEndAllowThreads(__tstate);
24306 if (PyErr_Occurred()) SWIG_fail;
24307 }
d55e5bfc 24308 {
070c48b4 24309 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d55e5bfc
RD
24310 }
24311 return resultobj;
24312 fail:
d55e5bfc
RD
24313 return NULL;
24314}
24315
24316
070c48b4 24317static PyObject *_wrap_Printer_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24318 PyObject *resultobj = NULL;
d55e5bfc
RD
24319 wxPrinter *arg1 = (wxPrinter *) 0 ;
24320 wxWindow *arg2 = (wxWindow *) 0 ;
070c48b4 24321 wxDC *result;
d55e5bfc
RD
24322 PyObject * obj0 = 0 ;
24323 PyObject * obj1 = 0 ;
24324 char *kwnames[] = {
24325 (char *) "self",(char *) "parent", NULL
24326 };
24327
070c48b4 24328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24330 if (SWIG_arg_fail(1)) SWIG_fail;
24331 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24332 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24333 {
24334 PyThreadState* __tstate = wxPyBeginAllowThreads();
070c48b4 24335 result = (wxDC *)(arg1)->PrintDialog(arg2);
d55e5bfc
RD
24336
24337 wxPyEndAllowThreads(__tstate);
24338 if (PyErr_Occurred()) SWIG_fail;
24339 }
24340 {
7e08d4ef 24341 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
24342 }
24343 return resultobj;
24344 fail:
24345 return NULL;
24346}
24347
24348
070c48b4 24349static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24350 PyObject *resultobj = NULL;
070c48b4
RD
24351 wxPrinter *arg1 = (wxPrinter *) 0 ;
24352 wxPrintDialogData *result;
24353 PyObject * obj0 = 0 ;
24354 char *kwnames[] = {
24355 (char *) "self", NULL
24356 };
24357
24358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
36ed4f51
RD
24359 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24360 if (SWIG_arg_fail(1)) SWIG_fail;
070c48b4
RD
24361 {
24362 PyThreadState* __tstate = wxPyBeginAllowThreads();
24363 {
24364 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
24365 result = (wxPrintDialogData *) &_result_ref;
24366 }
24367
24368 wxPyEndAllowThreads(__tstate);
24369 if (PyErr_Occurred()) SWIG_fail;
24370 }
24371 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
24372 return resultobj;
24373 fail:
24374 return NULL;
24375}
24376
24377
c370783e 24378static PyObject *_wrap_Printer_GetAbort(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24379 PyObject *resultobj = NULL;
d55e5bfc
RD
24380 wxPrinter *arg1 = (wxPrinter *) 0 ;
24381 bool result;
24382 PyObject * obj0 = 0 ;
24383 char *kwnames[] = {
24384 (char *) "self", NULL
24385 };
24386
24387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
36ed4f51
RD
24388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24389 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24390 {
24391 PyThreadState* __tstate = wxPyBeginAllowThreads();
24392 result = (bool)(arg1)->GetAbort();
24393
24394 wxPyEndAllowThreads(__tstate);
24395 if (PyErr_Occurred()) SWIG_fail;
24396 }
24397 {
24398 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24399 }
24400 return resultobj;
24401 fail:
24402 return NULL;
24403}
24404
24405
c370783e 24406static PyObject *_wrap_Printer_GetLastError(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24407 PyObject *resultobj = NULL;
36ed4f51 24408 wxPrinterError result;
d55e5bfc
RD
24409 char *kwnames[] = {
24410 NULL
24411 };
24412
24413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
24414 {
24415 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 24416 result = (wxPrinterError)wxPrinter::GetLastError();
d55e5bfc
RD
24417
24418 wxPyEndAllowThreads(__tstate);
24419 if (PyErr_Occurred()) SWIG_fail;
24420 }
36ed4f51 24421 resultobj = SWIG_From_int((result));
d55e5bfc
RD
24422 return resultobj;
24423 fail:
24424 return NULL;
24425}
24426
24427
c370783e 24428static PyObject * Printer_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
24429 PyObject *obj;
24430 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24431 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
24432 Py_INCREF(obj);
24433 return Py_BuildValue((char *)"");
24434}
c370783e 24435static PyObject *_wrap_new_Printout(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24436 PyObject *resultobj = NULL;
d55e5bfc
RD
24437 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
24438 wxString *arg1 = (wxString *) &arg1_defvalue ;
24439 wxPyPrintout *result;
b411df4a 24440 bool temp1 = false ;
d55e5bfc
RD
24441 PyObject * obj0 = 0 ;
24442 char *kwnames[] = {
24443 (char *) "title", NULL
24444 };
24445
24446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
24447 if (obj0) {
24448 {
24449 arg1 = wxString_in_helper(obj0);
24450 if (arg1 == NULL) SWIG_fail;
b411df4a 24451 temp1 = true;
d55e5bfc
RD
24452 }
24453 }
24454 {
0439c23b 24455 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
24456 PyThreadState* __tstate = wxPyBeginAllowThreads();
24457 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
24458
24459 wxPyEndAllowThreads(__tstate);
110da5b0 24460 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
24461 }
24462 {
7e08d4ef 24463 resultobj = wxPyMake_wxObject(result, (bool)1);
d55e5bfc
RD
24464 }
24465 {
24466 if (temp1)
24467 delete arg1;
24468 }
24469 return resultobj;
24470 fail:
24471 {
24472 if (temp1)
24473 delete arg1;
24474 }
24475 return NULL;
24476}
24477
24478
c370783e 24479static PyObject *_wrap_Printout__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24480 PyObject *resultobj = NULL;
d55e5bfc
RD
24481 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24482 PyObject *arg2 = (PyObject *) 0 ;
24483 PyObject *arg3 = (PyObject *) 0 ;
24484 PyObject * obj0 = 0 ;
24485 PyObject * obj1 = 0 ;
24486 PyObject * obj2 = 0 ;
24487 char *kwnames[] = {
24488 (char *) "self",(char *) "self",(char *) "_class", NULL
24489 };
24490
24491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24492 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24493 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24494 arg2 = obj1;
24495 arg3 = obj2;
24496 {
24497 PyThreadState* __tstate = wxPyBeginAllowThreads();
24498 (arg1)->_setCallbackInfo(arg2,arg3);
24499
24500 wxPyEndAllowThreads(__tstate);
24501 if (PyErr_Occurred()) SWIG_fail;
24502 }
24503 Py_INCREF(Py_None); resultobj = Py_None;
24504 return resultobj;
24505 fail:
24506 return NULL;
24507}
24508
24509
c370783e 24510static PyObject *_wrap_Printout_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24511 PyObject *resultobj = NULL;
d55e5bfc
RD
24512 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24513 wxString result;
24514 PyObject * obj0 = 0 ;
24515 char *kwnames[] = {
24516 (char *) "self", NULL
24517 };
24518
24519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
36ed4f51
RD
24520 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24521 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24522 {
24523 PyThreadState* __tstate = wxPyBeginAllowThreads();
24524 result = ((wxPyPrintout const *)arg1)->GetTitle();
24525
24526 wxPyEndAllowThreads(__tstate);
24527 if (PyErr_Occurred()) SWIG_fail;
24528 }
24529 {
24530#if wxUSE_UNICODE
24531 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24532#else
24533 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24534#endif
24535 }
24536 return resultobj;
24537 fail:
24538 return NULL;
24539}
24540
24541
c370783e 24542static PyObject *_wrap_Printout_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24543 PyObject *resultobj = NULL;
d55e5bfc
RD
24544 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24545 wxDC *result;
24546 PyObject * obj0 = 0 ;
24547 char *kwnames[] = {
24548 (char *) "self", NULL
24549 };
24550
24551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
36ed4f51
RD
24552 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24553 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24554 {
24555 PyThreadState* __tstate = wxPyBeginAllowThreads();
24556 result = (wxDC *)(arg1)->GetDC();
24557
24558 wxPyEndAllowThreads(__tstate);
24559 if (PyErr_Occurred()) SWIG_fail;
24560 }
24561 {
7e08d4ef 24562 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
24563 }
24564 return resultobj;
24565 fail:
24566 return NULL;
24567}
24568
24569
c370783e 24570static PyObject *_wrap_Printout_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24571 PyObject *resultobj = NULL;
d55e5bfc
RD
24572 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24573 wxDC *arg2 = (wxDC *) 0 ;
24574 PyObject * obj0 = 0 ;
24575 PyObject * obj1 = 0 ;
24576 char *kwnames[] = {
24577 (char *) "self",(char *) "dc", NULL
24578 };
24579
24580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24581 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24582 if (SWIG_arg_fail(1)) SWIG_fail;
24583 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
24584 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24585 {
24586 PyThreadState* __tstate = wxPyBeginAllowThreads();
24587 (arg1)->SetDC(arg2);
24588
24589 wxPyEndAllowThreads(__tstate);
24590 if (PyErr_Occurred()) SWIG_fail;
24591 }
24592 Py_INCREF(Py_None); resultobj = Py_None;
24593 return resultobj;
24594 fail:
24595 return NULL;
24596}
24597
24598
c370783e 24599static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24600 PyObject *resultobj = NULL;
d55e5bfc
RD
24601 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24602 int arg2 ;
24603 int arg3 ;
24604 PyObject * obj0 = 0 ;
24605 PyObject * obj1 = 0 ;
24606 PyObject * obj2 = 0 ;
24607 char *kwnames[] = {
24608 (char *) "self",(char *) "w",(char *) "h", NULL
24609 };
24610
24611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24612 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24613 if (SWIG_arg_fail(1)) SWIG_fail;
24614 {
32fe5131 24615 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
24616 if (SWIG_arg_fail(2)) SWIG_fail;
24617 }
24618 {
32fe5131 24619 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
24620 if (SWIG_arg_fail(3)) SWIG_fail;
24621 }
d55e5bfc
RD
24622 {
24623 PyThreadState* __tstate = wxPyBeginAllowThreads();
24624 (arg1)->SetPageSizePixels(arg2,arg3);
24625
24626 wxPyEndAllowThreads(__tstate);
24627 if (PyErr_Occurred()) SWIG_fail;
24628 }
24629 Py_INCREF(Py_None); resultobj = Py_None;
24630 return resultobj;
24631 fail:
24632 return NULL;
24633}
24634
24635
c370783e 24636static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24637 PyObject *resultobj = NULL;
d55e5bfc
RD
24638 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24639 int *arg2 = (int *) 0 ;
24640 int *arg3 = (int *) 0 ;
24641 int temp2 ;
c370783e 24642 int res2 = 0 ;
d55e5bfc 24643 int temp3 ;
c370783e 24644 int res3 = 0 ;
d55e5bfc
RD
24645 PyObject * obj0 = 0 ;
24646 char *kwnames[] = {
24647 (char *) "self", NULL
24648 };
24649
c370783e
RD
24650 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24651 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 24652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
36ed4f51
RD
24653 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24654 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24655 {
24656 PyThreadState* __tstate = wxPyBeginAllowThreads();
24657 (arg1)->GetPageSizePixels(arg2,arg3);
24658
24659 wxPyEndAllowThreads(__tstate);
24660 if (PyErr_Occurred()) SWIG_fail;
24661 }
24662 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
24663 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24664 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24665 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24666 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
24667 return resultobj;
24668 fail:
24669 return NULL;
24670}
24671
24672
c370783e 24673static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24674 PyObject *resultobj = NULL;
d55e5bfc
RD
24675 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24676 int arg2 ;
24677 int arg3 ;
24678 PyObject * obj0 = 0 ;
24679 PyObject * obj1 = 0 ;
24680 PyObject * obj2 = 0 ;
24681 char *kwnames[] = {
24682 (char *) "self",(char *) "w",(char *) "h", NULL
24683 };
24684
24685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24686 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24687 if (SWIG_arg_fail(1)) SWIG_fail;
24688 {
32fe5131 24689 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
24690 if (SWIG_arg_fail(2)) SWIG_fail;
24691 }
24692 {
32fe5131 24693 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
24694 if (SWIG_arg_fail(3)) SWIG_fail;
24695 }
d55e5bfc
RD
24696 {
24697 PyThreadState* __tstate = wxPyBeginAllowThreads();
24698 (arg1)->SetPageSizeMM(arg2,arg3);
24699
24700 wxPyEndAllowThreads(__tstate);
24701 if (PyErr_Occurred()) SWIG_fail;
24702 }
24703 Py_INCREF(Py_None); resultobj = Py_None;
24704 return resultobj;
24705 fail:
24706 return NULL;
24707}
24708
24709
c370783e 24710static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24711 PyObject *resultobj = NULL;
d55e5bfc
RD
24712 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24713 int *arg2 = (int *) 0 ;
24714 int *arg3 = (int *) 0 ;
24715 int temp2 ;
c370783e 24716 int res2 = 0 ;
d55e5bfc 24717 int temp3 ;
c370783e 24718 int res3 = 0 ;
d55e5bfc
RD
24719 PyObject * obj0 = 0 ;
24720 char *kwnames[] = {
24721 (char *) "self", NULL
24722 };
24723
c370783e
RD
24724 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24725 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 24726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
36ed4f51
RD
24727 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24728 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24729 {
24730 PyThreadState* __tstate = wxPyBeginAllowThreads();
24731 (arg1)->GetPageSizeMM(arg2,arg3);
24732
24733 wxPyEndAllowThreads(__tstate);
24734 if (PyErr_Occurred()) SWIG_fail;
24735 }
24736 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
24737 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24738 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24739 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24740 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
24741 return resultobj;
24742 fail:
24743 return NULL;
24744}
24745
24746
c370783e 24747static PyObject *_wrap_Printout_SetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24748 PyObject *resultobj = NULL;
d55e5bfc
RD
24749 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24750 int arg2 ;
24751 int arg3 ;
24752 PyObject * obj0 = 0 ;
24753 PyObject * obj1 = 0 ;
24754 PyObject * obj2 = 0 ;
24755 char *kwnames[] = {
24756 (char *) "self",(char *) "x",(char *) "y", NULL
24757 };
24758
24759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24760 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24761 if (SWIG_arg_fail(1)) SWIG_fail;
24762 {
32fe5131 24763 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
24764 if (SWIG_arg_fail(2)) SWIG_fail;
24765 }
24766 {
32fe5131 24767 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
24768 if (SWIG_arg_fail(3)) SWIG_fail;
24769 }
d55e5bfc
RD
24770 {
24771 PyThreadState* __tstate = wxPyBeginAllowThreads();
24772 (arg1)->SetPPIScreen(arg2,arg3);
24773
24774 wxPyEndAllowThreads(__tstate);
24775 if (PyErr_Occurred()) SWIG_fail;
24776 }
24777 Py_INCREF(Py_None); resultobj = Py_None;
24778 return resultobj;
24779 fail:
24780 return NULL;
24781}
24782
24783
c370783e 24784static PyObject *_wrap_Printout_GetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24785 PyObject *resultobj = NULL;
d55e5bfc
RD
24786 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24787 int *arg2 = (int *) 0 ;
24788 int *arg3 = (int *) 0 ;
24789 int temp2 ;
c370783e 24790 int res2 = 0 ;
d55e5bfc 24791 int temp3 ;
c370783e 24792 int res3 = 0 ;
d55e5bfc
RD
24793 PyObject * obj0 = 0 ;
24794 char *kwnames[] = {
24795 (char *) "self", NULL
24796 };
24797
c370783e
RD
24798 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24799 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 24800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
36ed4f51
RD
24801 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24802 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24803 {
24804 PyThreadState* __tstate = wxPyBeginAllowThreads();
24805 (arg1)->GetPPIScreen(arg2,arg3);
24806
24807 wxPyEndAllowThreads(__tstate);
24808 if (PyErr_Occurred()) SWIG_fail;
24809 }
24810 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
24811 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24812 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24813 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24814 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
24815 return resultobj;
24816 fail:
24817 return NULL;
24818}
24819
24820
c370783e 24821static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24822 PyObject *resultobj = NULL;
d55e5bfc
RD
24823 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24824 int arg2 ;
24825 int arg3 ;
24826 PyObject * obj0 = 0 ;
24827 PyObject * obj1 = 0 ;
24828 PyObject * obj2 = 0 ;
24829 char *kwnames[] = {
24830 (char *) "self",(char *) "x",(char *) "y", NULL
24831 };
24832
24833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24834 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24835 if (SWIG_arg_fail(1)) SWIG_fail;
24836 {
32fe5131 24837 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
24838 if (SWIG_arg_fail(2)) SWIG_fail;
24839 }
24840 {
32fe5131 24841 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
24842 if (SWIG_arg_fail(3)) SWIG_fail;
24843 }
d55e5bfc
RD
24844 {
24845 PyThreadState* __tstate = wxPyBeginAllowThreads();
24846 (arg1)->SetPPIPrinter(arg2,arg3);
24847
24848 wxPyEndAllowThreads(__tstate);
24849 if (PyErr_Occurred()) SWIG_fail;
24850 }
24851 Py_INCREF(Py_None); resultobj = Py_None;
24852 return resultobj;
24853 fail:
24854 return NULL;
24855}
24856
24857
c370783e 24858static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24859 PyObject *resultobj = NULL;
d55e5bfc
RD
24860 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24861 int *arg2 = (int *) 0 ;
24862 int *arg3 = (int *) 0 ;
24863 int temp2 ;
c370783e 24864 int res2 = 0 ;
d55e5bfc 24865 int temp3 ;
c370783e 24866 int res3 = 0 ;
d55e5bfc
RD
24867 PyObject * obj0 = 0 ;
24868 char *kwnames[] = {
24869 (char *) "self", NULL
24870 };
24871
c370783e
RD
24872 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24873 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 24874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
36ed4f51
RD
24875 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24876 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24877 {
24878 PyThreadState* __tstate = wxPyBeginAllowThreads();
24879 (arg1)->GetPPIPrinter(arg2,arg3);
24880
24881 wxPyEndAllowThreads(__tstate);
24882 if (PyErr_Occurred()) SWIG_fail;
24883 }
24884 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
24885 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24886 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24887 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24888 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
24889 return resultobj;
24890 fail:
24891 return NULL;
24892}
24893
24894
c370783e 24895static PyObject *_wrap_Printout_IsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24896 PyObject *resultobj = NULL;
d55e5bfc
RD
24897 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24898 bool result;
24899 PyObject * obj0 = 0 ;
24900 char *kwnames[] = {
24901 (char *) "self", NULL
24902 };
24903
24904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
36ed4f51
RD
24905 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24906 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24907 {
24908 PyThreadState* __tstate = wxPyBeginAllowThreads();
24909 result = (bool)(arg1)->IsPreview();
24910
24911 wxPyEndAllowThreads(__tstate);
24912 if (PyErr_Occurred()) SWIG_fail;
24913 }
24914 {
24915 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24916 }
24917 return resultobj;
24918 fail:
24919 return NULL;
24920}
24921
24922
c370783e 24923static PyObject *_wrap_Printout_SetIsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24924 PyObject *resultobj = NULL;
d55e5bfc
RD
24925 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24926 bool arg2 ;
24927 PyObject * obj0 = 0 ;
24928 PyObject * obj1 = 0 ;
24929 char *kwnames[] = {
24930 (char *) "self",(char *) "p", NULL
24931 };
24932
24933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24934 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24935 if (SWIG_arg_fail(1)) SWIG_fail;
24936 {
32fe5131 24937 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
24938 if (SWIG_arg_fail(2)) SWIG_fail;
24939 }
d55e5bfc
RD
24940 {
24941 PyThreadState* __tstate = wxPyBeginAllowThreads();
24942 (arg1)->SetIsPreview(arg2);
24943
24944 wxPyEndAllowThreads(__tstate);
24945 if (PyErr_Occurred()) SWIG_fail;
24946 }
24947 Py_INCREF(Py_None); resultobj = Py_None;
24948 return resultobj;
24949 fail:
24950 return NULL;
24951}
24952
24953
7f7aa166 24954static PyObject *_wrap_Printout_OnBeginDocument(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24955 PyObject *resultobj = NULL;
d55e5bfc
RD
24956 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24957 int arg2 ;
24958 int arg3 ;
24959 bool result;
24960 PyObject * obj0 = 0 ;
24961 PyObject * obj1 = 0 ;
24962 PyObject * obj2 = 0 ;
24963 char *kwnames[] = {
24964 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
24965 };
24966
7f7aa166 24967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24968 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24969 if (SWIG_arg_fail(1)) SWIG_fail;
24970 {
32fe5131 24971 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
24972 if (SWIG_arg_fail(2)) SWIG_fail;
24973 }
24974 {
32fe5131 24975 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
24976 if (SWIG_arg_fail(3)) SWIG_fail;
24977 }
d55e5bfc
RD
24978 {
24979 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 24980 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
d55e5bfc
RD
24981
24982 wxPyEndAllowThreads(__tstate);
24983 if (PyErr_Occurred()) SWIG_fail;
24984 }
24985 {
24986 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24987 }
24988 return resultobj;
24989 fail:
24990 return NULL;
24991}
24992
24993
7f7aa166 24994static PyObject *_wrap_Printout_OnEndDocument(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24995 PyObject *resultobj = NULL;
d55e5bfc
RD
24996 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24997 PyObject * obj0 = 0 ;
24998 char *kwnames[] = {
24999 (char *) "self", NULL
25000 };
25001
7f7aa166 25002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_OnEndDocument",kwnames,&obj0)) goto fail;
36ed4f51
RD
25003 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25004 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25005 {
25006 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 25007 (arg1)->OnEndDocument();
d55e5bfc
RD
25008
25009 wxPyEndAllowThreads(__tstate);
25010 if (PyErr_Occurred()) SWIG_fail;
25011 }
25012 Py_INCREF(Py_None); resultobj = Py_None;
25013 return resultobj;
25014 fail:
25015 return NULL;
25016}
25017
25018
7f7aa166 25019static PyObject *_wrap_Printout_OnBeginPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25020 PyObject *resultobj = NULL;
d55e5bfc
RD
25021 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25022 PyObject * obj0 = 0 ;
25023 char *kwnames[] = {
25024 (char *) "self", NULL
25025 };
25026
7f7aa166 25027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_OnBeginPrinting",kwnames,&obj0)) goto fail;
36ed4f51
RD
25028 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25029 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25030 {
25031 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 25032 (arg1)->OnBeginPrinting();
d55e5bfc
RD
25033
25034 wxPyEndAllowThreads(__tstate);
25035 if (PyErr_Occurred()) SWIG_fail;
25036 }
25037 Py_INCREF(Py_None); resultobj = Py_None;
25038 return resultobj;
25039 fail:
25040 return NULL;
25041}
25042
25043
7f7aa166 25044static PyObject *_wrap_Printout_OnEndPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25045 PyObject *resultobj = NULL;
d55e5bfc
RD
25046 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25047 PyObject * obj0 = 0 ;
25048 char *kwnames[] = {
25049 (char *) "self", NULL
25050 };
25051
7f7aa166 25052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_OnEndPrinting",kwnames,&obj0)) goto fail;
36ed4f51
RD
25053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25054 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25055 {
25056 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 25057 (arg1)->OnEndPrinting();
d55e5bfc
RD
25058
25059 wxPyEndAllowThreads(__tstate);
25060 if (PyErr_Occurred()) SWIG_fail;
25061 }
25062 Py_INCREF(Py_None); resultobj = Py_None;
25063 return resultobj;
25064 fail:
25065 return NULL;
25066}
25067
25068
7f7aa166 25069static PyObject *_wrap_Printout_OnPreparePrinting(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25070 PyObject *resultobj = NULL;
d55e5bfc
RD
25071 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25072 PyObject * obj0 = 0 ;
25073 char *kwnames[] = {
25074 (char *) "self", NULL
25075 };
25076
7f7aa166 25077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_OnPreparePrinting",kwnames,&obj0)) goto fail;
36ed4f51
RD
25078 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25079 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25080 {
25081 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 25082 (arg1)->OnPreparePrinting();
d55e5bfc
RD
25083
25084 wxPyEndAllowThreads(__tstate);
25085 if (PyErr_Occurred()) SWIG_fail;
25086 }
25087 Py_INCREF(Py_None); resultobj = Py_None;
25088 return resultobj;
25089 fail:
25090 return NULL;
25091}
25092
25093
7f7aa166 25094static PyObject *_wrap_Printout_HasPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25095 PyObject *resultobj = NULL;
d55e5bfc
RD
25096 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25097 int arg2 ;
25098 bool result;
25099 PyObject * obj0 = 0 ;
25100 PyObject * obj1 = 0 ;
25101 char *kwnames[] = {
25102 (char *) "self",(char *) "page", NULL
25103 };
25104
7f7aa166 25105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25106 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25107 if (SWIG_arg_fail(1)) SWIG_fail;
25108 {
32fe5131 25109 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
25110 if (SWIG_arg_fail(2)) SWIG_fail;
25111 }
d55e5bfc
RD
25112 {
25113 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 25114 result = (bool)(arg1)->HasPage(arg2);
d55e5bfc
RD
25115
25116 wxPyEndAllowThreads(__tstate);
25117 if (PyErr_Occurred()) SWIG_fail;
25118 }
25119 {
25120 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25121 }
25122 return resultobj;
25123 fail:
25124 return NULL;
25125}
25126
25127
7f7aa166 25128static PyObject *_wrap_Printout_GetPageInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25129 PyObject *resultobj = NULL;
d55e5bfc
RD
25130 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25131 int *arg2 = (int *) 0 ;
25132 int *arg3 = (int *) 0 ;
25133 int *arg4 = (int *) 0 ;
25134 int *arg5 = (int *) 0 ;
25135 int temp2 ;
c370783e 25136 int res2 = 0 ;
d55e5bfc 25137 int temp3 ;
c370783e 25138 int res3 = 0 ;
d55e5bfc 25139 int temp4 ;
c370783e 25140 int res4 = 0 ;
d55e5bfc 25141 int temp5 ;
c370783e 25142 int res5 = 0 ;
d55e5bfc
RD
25143 PyObject * obj0 = 0 ;
25144 char *kwnames[] = {
25145 (char *) "self", NULL
25146 };
25147
c370783e
RD
25148 arg2 = &temp2; res2 = SWIG_NEWOBJ;
25149 arg3 = &temp3; res3 = SWIG_NEWOBJ;
25150 arg4 = &temp4; res4 = SWIG_NEWOBJ;
25151 arg5 = &temp5; res5 = SWIG_NEWOBJ;
7f7aa166 25152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageInfo",kwnames,&obj0)) goto fail;
36ed4f51
RD
25153 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25154 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25155 {
25156 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 25157 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
d55e5bfc
RD
25158
25159 wxPyEndAllowThreads(__tstate);
25160 if (PyErr_Occurred()) SWIG_fail;
25161 }
25162 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
25163 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
25164 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
25165 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25166 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
25167 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
25168 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
25169 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
25170 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
25171 return resultobj;
25172 fail:
25173 return NULL;
25174}
25175
25176
c370783e 25177static PyObject * Printout_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
25178 PyObject *obj;
25179 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25180 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
25181 Py_INCREF(obj);
25182 return Py_BuildValue((char *)"");
25183}
c370783e 25184static PyObject *_wrap_new_PreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25185 PyObject *resultobj = NULL;
d55e5bfc
RD
25186 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25187 wxWindow *arg2 = (wxWindow *) 0 ;
25188 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25189 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25190 wxSize const &arg4_defvalue = wxDefaultSize ;
25191 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25192 long arg5 = (long) 0 ;
25193 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
25194 wxString *arg6 = (wxString *) &arg6_defvalue ;
25195 wxPreviewCanvas *result;
25196 wxPoint temp3 ;
25197 wxSize temp4 ;
b411df4a 25198 bool temp6 = false ;
d55e5bfc
RD
25199 PyObject * obj0 = 0 ;
25200 PyObject * obj1 = 0 ;
25201 PyObject * obj2 = 0 ;
25202 PyObject * obj3 = 0 ;
25203 PyObject * obj4 = 0 ;
25204 PyObject * obj5 = 0 ;
25205 char *kwnames[] = {
25206 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25207 };
25208
25209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
25210 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25211 if (SWIG_arg_fail(1)) SWIG_fail;
25212 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25213 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25214 if (obj2) {
25215 {
25216 arg3 = &temp3;
25217 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25218 }
25219 }
25220 if (obj3) {
25221 {
25222 arg4 = &temp4;
25223 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25224 }
25225 }
25226 if (obj4) {
36ed4f51 25227 {
32fe5131 25228 arg5 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
25229 if (SWIG_arg_fail(5)) SWIG_fail;
25230 }
d55e5bfc
RD
25231 }
25232 if (obj5) {
25233 {
25234 arg6 = wxString_in_helper(obj5);
25235 if (arg6 == NULL) SWIG_fail;
b411df4a 25236 temp6 = true;
d55e5bfc
RD
25237 }
25238 }
25239 {
0439c23b 25240 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
25241 PyThreadState* __tstate = wxPyBeginAllowThreads();
25242 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
25243
25244 wxPyEndAllowThreads(__tstate);
110da5b0 25245 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
25246 }
25247 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
25248 {
25249 if (temp6)
25250 delete arg6;
25251 }
25252 return resultobj;
25253 fail:
25254 {
25255 if (temp6)
25256 delete arg6;
25257 }
25258 return NULL;
25259}
25260
25261
c370783e 25262static PyObject * PreviewCanvas_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
25263 PyObject *obj;
25264 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25265 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
25266 Py_INCREF(obj);
25267 return Py_BuildValue((char *)"");
25268}
c370783e 25269static PyObject *_wrap_new_PreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25270 PyObject *resultobj = NULL;
d55e5bfc
RD
25271 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25272 wxFrame *arg2 = (wxFrame *) 0 ;
25273 wxString *arg3 = 0 ;
25274 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25275 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25276 wxSize const &arg5_defvalue = wxDefaultSize ;
25277 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25278 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
25279 wxString const &arg7_defvalue = wxPyFrameNameStr ;
25280 wxString *arg7 = (wxString *) &arg7_defvalue ;
25281 wxPreviewFrame *result;
b411df4a 25282 bool temp3 = false ;
d55e5bfc
RD
25283 wxPoint temp4 ;
25284 wxSize temp5 ;
b411df4a 25285 bool temp7 = false ;
d55e5bfc
RD
25286 PyObject * obj0 = 0 ;
25287 PyObject * obj1 = 0 ;
25288 PyObject * obj2 = 0 ;
25289 PyObject * obj3 = 0 ;
25290 PyObject * obj4 = 0 ;
25291 PyObject * obj5 = 0 ;
25292 PyObject * obj6 = 0 ;
25293 char *kwnames[] = {
25294 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25295 };
25296
25297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
25298 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25299 if (SWIG_arg_fail(1)) SWIG_fail;
25300 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
25301 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25302 {
25303 arg3 = wxString_in_helper(obj2);
25304 if (arg3 == NULL) SWIG_fail;
b411df4a 25305 temp3 = true;
d55e5bfc
RD
25306 }
25307 if (obj3) {
25308 {
25309 arg4 = &temp4;
25310 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25311 }
25312 }
25313 if (obj4) {
25314 {
25315 arg5 = &temp5;
25316 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25317 }
25318 }
25319 if (obj5) {
36ed4f51 25320 {
32fe5131 25321 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
25322 if (SWIG_arg_fail(6)) SWIG_fail;
25323 }
d55e5bfc
RD
25324 }
25325 if (obj6) {
25326 {
25327 arg7 = wxString_in_helper(obj6);
25328 if (arg7 == NULL) SWIG_fail;
b411df4a 25329 temp7 = true;
d55e5bfc
RD
25330 }
25331 }
25332 {
0439c23b 25333 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
25334 PyThreadState* __tstate = wxPyBeginAllowThreads();
25335 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25336
25337 wxPyEndAllowThreads(__tstate);
110da5b0 25338 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
25339 }
25340 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
25341 {
25342 if (temp3)
25343 delete arg3;
25344 }
25345 {
25346 if (temp7)
25347 delete arg7;
25348 }
25349 return resultobj;
25350 fail:
25351 {
25352 if (temp3)
25353 delete arg3;
25354 }
25355 {
25356 if (temp7)
25357 delete arg7;
25358 }
25359 return NULL;
25360}
25361
25362
c370783e 25363static PyObject *_wrap_PreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25364 PyObject *resultobj = NULL;
d55e5bfc
RD
25365 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25366 PyObject * obj0 = 0 ;
25367 char *kwnames[] = {
25368 (char *) "self", NULL
25369 };
25370
25371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
36ed4f51
RD
25372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25373 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25374 {
25375 PyThreadState* __tstate = wxPyBeginAllowThreads();
25376 (arg1)->Initialize();
25377
25378 wxPyEndAllowThreads(__tstate);
25379 if (PyErr_Occurred()) SWIG_fail;
25380 }
25381 Py_INCREF(Py_None); resultobj = Py_None;
25382 return resultobj;
25383 fail:
25384 return NULL;
25385}
25386
25387
c370783e 25388static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25389 PyObject *resultobj = NULL;
d55e5bfc
RD
25390 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25391 PyObject * obj0 = 0 ;
25392 char *kwnames[] = {
25393 (char *) "self", NULL
25394 };
25395
25396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
36ed4f51
RD
25397 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25398 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25399 {
25400 PyThreadState* __tstate = wxPyBeginAllowThreads();
25401 (arg1)->CreateControlBar();
25402
25403 wxPyEndAllowThreads(__tstate);
25404 if (PyErr_Occurred()) SWIG_fail;
25405 }
25406 Py_INCREF(Py_None); resultobj = Py_None;
25407 return resultobj;
25408 fail:
25409 return NULL;
25410}
25411
25412
c370783e 25413static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25414 PyObject *resultobj = NULL;
d55e5bfc
RD
25415 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25416 PyObject * obj0 = 0 ;
25417 char *kwnames[] = {
25418 (char *) "self", NULL
25419 };
25420
25421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
36ed4f51
RD
25422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25423 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25424 {
25425 PyThreadState* __tstate = wxPyBeginAllowThreads();
25426 (arg1)->CreateCanvas();
25427
25428 wxPyEndAllowThreads(__tstate);
25429 if (PyErr_Occurred()) SWIG_fail;
25430 }
25431 Py_INCREF(Py_None); resultobj = Py_None;
25432 return resultobj;
25433 fail:
25434 return NULL;
25435}
25436
25437
c370783e 25438static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25439 PyObject *resultobj = NULL;
d55e5bfc
RD
25440 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25441 wxPreviewControlBar *result;
25442 PyObject * obj0 = 0 ;
25443 char *kwnames[] = {
25444 (char *) "self", NULL
25445 };
25446
25447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
36ed4f51
RD
25448 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25449 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25450 {
25451 PyThreadState* __tstate = wxPyBeginAllowThreads();
25452 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
25453
25454 wxPyEndAllowThreads(__tstate);
25455 if (PyErr_Occurred()) SWIG_fail;
25456 }
25457 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
25458 return resultobj;
25459 fail:
25460 return NULL;
25461}
25462
25463
c370783e 25464static PyObject * PreviewFrame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
25465 PyObject *obj;
25466 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25467 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
25468 Py_INCREF(obj);
25469 return Py_BuildValue((char *)"");
25470}
c370783e 25471static PyObject *_wrap_new_PreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25472 PyObject *resultobj = NULL;
d55e5bfc
RD
25473 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25474 long arg2 ;
25475 wxWindow *arg3 = (wxWindow *) 0 ;
25476 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25477 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25478 wxSize const &arg5_defvalue = wxDefaultSize ;
25479 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25480 long arg6 = (long) wxTAB_TRAVERSAL ;
25481 wxString const &arg7_defvalue = wxPyPanelNameStr ;
25482 wxString *arg7 = (wxString *) &arg7_defvalue ;
25483 wxPreviewControlBar *result;
25484 wxPoint temp4 ;
25485 wxSize temp5 ;
b411df4a 25486 bool temp7 = false ;
d55e5bfc
RD
25487 PyObject * obj0 = 0 ;
25488 PyObject * obj1 = 0 ;
25489 PyObject * obj2 = 0 ;
25490 PyObject * obj3 = 0 ;
25491 PyObject * obj4 = 0 ;
25492 PyObject * obj5 = 0 ;
25493 PyObject * obj6 = 0 ;
25494 char *kwnames[] = {
25495 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25496 };
25497
25498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
25499 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25500 if (SWIG_arg_fail(1)) SWIG_fail;
25501 {
32fe5131 25502 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
25503 if (SWIG_arg_fail(2)) SWIG_fail;
25504 }
25505 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25506 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
25507 if (obj3) {
25508 {
25509 arg4 = &temp4;
25510 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25511 }
25512 }
25513 if (obj4) {
25514 {
25515 arg5 = &temp5;
25516 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25517 }
25518 }
25519 if (obj5) {
36ed4f51 25520 {
32fe5131 25521 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
25522 if (SWIG_arg_fail(6)) SWIG_fail;
25523 }
d55e5bfc
RD
25524 }
25525 if (obj6) {
25526 {
25527 arg7 = wxString_in_helper(obj6);
25528 if (arg7 == NULL) SWIG_fail;
b411df4a 25529 temp7 = true;
d55e5bfc
RD
25530 }
25531 }
25532 {
0439c23b 25533 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
25534 PyThreadState* __tstate = wxPyBeginAllowThreads();
25535 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25536
25537 wxPyEndAllowThreads(__tstate);
110da5b0 25538 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
25539 }
25540 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
25541 {
25542 if (temp7)
25543 delete arg7;
25544 }
25545 return resultobj;
25546 fail:
25547 {
25548 if (temp7)
25549 delete arg7;
25550 }
25551 return NULL;
25552}
25553
25554
c370783e 25555static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25556 PyObject *resultobj = NULL;
d55e5bfc
RD
25557 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25558 int result;
25559 PyObject * obj0 = 0 ;
25560 char *kwnames[] = {
25561 (char *) "self", NULL
25562 };
25563
25564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
36ed4f51
RD
25565 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25566 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25567 {
25568 PyThreadState* __tstate = wxPyBeginAllowThreads();
25569 result = (int)(arg1)->GetZoomControl();
25570
25571 wxPyEndAllowThreads(__tstate);
25572 if (PyErr_Occurred()) SWIG_fail;
25573 }
36ed4f51 25574 {
32fe5131 25575 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 25576 }
d55e5bfc
RD
25577 return resultobj;
25578 fail:
25579 return NULL;
25580}
25581
25582
c370783e 25583static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25584 PyObject *resultobj = NULL;
d55e5bfc
RD
25585 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25586 int arg2 ;
25587 PyObject * obj0 = 0 ;
25588 PyObject * obj1 = 0 ;
25589 char *kwnames[] = {
25590 (char *) "self",(char *) "zoom", NULL
25591 };
25592
25593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25594 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25595 if (SWIG_arg_fail(1)) SWIG_fail;
25596 {
32fe5131 25597 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
25598 if (SWIG_arg_fail(2)) SWIG_fail;
25599 }
d55e5bfc
RD
25600 {
25601 PyThreadState* __tstate = wxPyBeginAllowThreads();
25602 (arg1)->SetZoomControl(arg2);
25603
25604 wxPyEndAllowThreads(__tstate);
25605 if (PyErr_Occurred()) SWIG_fail;
25606 }
25607 Py_INCREF(Py_None); resultobj = Py_None;
25608 return resultobj;
25609 fail:
25610 return NULL;
25611}
25612
25613
c370783e 25614static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25615 PyObject *resultobj = NULL;
d55e5bfc
RD
25616 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25617 wxPrintPreview *result;
25618 PyObject * obj0 = 0 ;
25619 char *kwnames[] = {
25620 (char *) "self", NULL
25621 };
25622
25623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
36ed4f51
RD
25624 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25625 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25626 {
25627 PyThreadState* __tstate = wxPyBeginAllowThreads();
25628 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
25629
25630 wxPyEndAllowThreads(__tstate);
25631 if (PyErr_Occurred()) SWIG_fail;
25632 }
25633 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
25634 return resultobj;
25635 fail:
25636 return NULL;
25637}
25638
25639
c370783e 25640static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25641 PyObject *resultobj = NULL;
d55e5bfc
RD
25642 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25643 PyObject * obj0 = 0 ;
25644 char *kwnames[] = {
25645 (char *) "self", NULL
25646 };
25647
25648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
36ed4f51
RD
25649 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25650 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25651 {
25652 PyThreadState* __tstate = wxPyBeginAllowThreads();
25653 (arg1)->OnNext();
25654
25655 wxPyEndAllowThreads(__tstate);
25656 if (PyErr_Occurred()) SWIG_fail;
25657 }
25658 Py_INCREF(Py_None); resultobj = Py_None;
25659 return resultobj;
25660 fail:
25661 return NULL;
25662}
25663
25664
c370783e 25665static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25666 PyObject *resultobj = NULL;
d55e5bfc
RD
25667 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25668 PyObject * obj0 = 0 ;
25669 char *kwnames[] = {
25670 (char *) "self", NULL
25671 };
25672
25673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
36ed4f51
RD
25674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25675 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25676 {
25677 PyThreadState* __tstate = wxPyBeginAllowThreads();
25678 (arg1)->OnPrevious();
25679
25680 wxPyEndAllowThreads(__tstate);
25681 if (PyErr_Occurred()) SWIG_fail;
25682 }
25683 Py_INCREF(Py_None); resultobj = Py_None;
25684 return resultobj;
25685 fail:
25686 return NULL;
25687}
25688
25689
c370783e 25690static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25691 PyObject *resultobj = NULL;
d55e5bfc
RD
25692 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25693 PyObject * obj0 = 0 ;
25694 char *kwnames[] = {
25695 (char *) "self", NULL
25696 };
25697
25698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
36ed4f51
RD
25699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25700 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25701 {
25702 PyThreadState* __tstate = wxPyBeginAllowThreads();
25703 (arg1)->OnFirst();
25704
25705 wxPyEndAllowThreads(__tstate);
25706 if (PyErr_Occurred()) SWIG_fail;
25707 }
25708 Py_INCREF(Py_None); resultobj = Py_None;
25709 return resultobj;
25710 fail:
25711 return NULL;
25712}
25713
25714
c370783e 25715static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25716 PyObject *resultobj = NULL;
d55e5bfc
RD
25717 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25718 PyObject * obj0 = 0 ;
25719 char *kwnames[] = {
25720 (char *) "self", NULL
25721 };
25722
25723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
36ed4f51
RD
25724 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25725 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25726 {
25727 PyThreadState* __tstate = wxPyBeginAllowThreads();
25728 (arg1)->OnLast();
25729
25730 wxPyEndAllowThreads(__tstate);
25731 if (PyErr_Occurred()) SWIG_fail;
25732 }
25733 Py_INCREF(Py_None); resultobj = Py_None;
25734 return resultobj;
25735 fail:
25736 return NULL;
25737}
25738
25739
c370783e 25740static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25741 PyObject *resultobj = NULL;
d55e5bfc
RD
25742 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25743 PyObject * obj0 = 0 ;
25744 char *kwnames[] = {
25745 (char *) "self", NULL
25746 };
25747
25748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
36ed4f51
RD
25749 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25750 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25751 {
25752 PyThreadState* __tstate = wxPyBeginAllowThreads();
25753 (arg1)->OnGoto();
25754
25755 wxPyEndAllowThreads(__tstate);
25756 if (PyErr_Occurred()) SWIG_fail;
25757 }
25758 Py_INCREF(Py_None); resultobj = Py_None;
25759 return resultobj;
25760 fail:
25761 return NULL;
25762}
25763
25764
c370783e 25765static PyObject * PreviewControlBar_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
25766 PyObject *obj;
25767 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25768 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
25769 Py_INCREF(obj);
25770 return Py_BuildValue((char *)"");
25771}
c370783e 25772static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *, PyObject *args) {
32fe5131 25773 PyObject *resultobj = NULL;
d55e5bfc
RD
25774 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25775 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
7e08d4ef 25776 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
d55e5bfc
RD
25777 wxPrintPreview *result;
25778 PyObject * obj0 = 0 ;
25779 PyObject * obj1 = 0 ;
25780 PyObject * obj2 = 0 ;
25781
7e08d4ef 25782 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
25783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25784 if (SWIG_arg_fail(1)) SWIG_fail;
25785 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25786 if (SWIG_arg_fail(2)) SWIG_fail;
7e08d4ef
RD
25787 if (obj2) {
25788 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
25789 if (SWIG_arg_fail(3)) SWIG_fail;
25790 }
d55e5bfc 25791 {
0439c23b 25792 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
25793 PyThreadState* __tstate = wxPyBeginAllowThreads();
25794 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
25795
25796 wxPyEndAllowThreads(__tstate);
110da5b0 25797 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
25798 }
25799 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
25800 return resultobj;
25801 fail:
25802 return NULL;
25803}
25804
25805
c370783e 25806static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *, PyObject *args) {
32fe5131 25807 PyObject *resultobj = NULL;
d55e5bfc
RD
25808 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25809 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
25810 wxPrintData *arg3 = (wxPrintData *) 0 ;
25811 wxPrintPreview *result;
25812 PyObject * obj0 = 0 ;
25813 PyObject * obj1 = 0 ;
25814 PyObject * obj2 = 0 ;
25815
25816 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
25817 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25818 if (SWIG_arg_fail(1)) SWIG_fail;
25819 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25820 if (SWIG_arg_fail(2)) SWIG_fail;
25821 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
25822 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc 25823 {
0439c23b 25824 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
25825 PyThreadState* __tstate = wxPyBeginAllowThreads();
25826 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
25827
25828 wxPyEndAllowThreads(__tstate);
110da5b0 25829 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
25830 }
25831 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
25832 return resultobj;
25833 fail:
25834 return NULL;
25835}
25836
25837
25838static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
25839 int argc;
25840 PyObject *argv[4];
25841 int ii;
25842
25843 argc = PyObject_Length(args);
25844 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
25845 argv[ii] = PyTuple_GetItem(args,ii);
25846 }
7e08d4ef 25847 if ((argc >= 2) && (argc <= 3)) {
d55e5bfc
RD
25848 int _v;
25849 {
25850 void *ptr;
25851 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25852 _v = 0;
25853 PyErr_Clear();
25854 } else {
25855 _v = 1;
25856 }
25857 }
25858 if (_v) {
25859 {
25860 void *ptr;
25861 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25862 _v = 0;
25863 PyErr_Clear();
25864 } else {
25865 _v = 1;
25866 }
25867 }
25868 if (_v) {
7e08d4ef
RD
25869 if (argc <= 2) {
25870 return _wrap_new_PrintPreview__SWIG_0(self,args);
d55e5bfc
RD
25871 }
25872 {
25873 void *ptr;
25874 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
25875 _v = 0;
25876 PyErr_Clear();
25877 } else {
25878 _v = 1;
25879 }
25880 }
25881 if (_v) {
25882 return _wrap_new_PrintPreview__SWIG_0(self,args);
25883 }
25884 }
25885 }
25886 }
25887 if (argc == 3) {
25888 int _v;
25889 {
25890 void *ptr;
25891 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25892 _v = 0;
25893 PyErr_Clear();
25894 } else {
25895 _v = 1;
25896 }
25897 }
25898 if (_v) {
25899 {
25900 void *ptr;
25901 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25902 _v = 0;
25903 PyErr_Clear();
25904 } else {
25905 _v = 1;
25906 }
25907 }
25908 if (_v) {
25909 {
25910 void *ptr;
25911 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
25912 _v = 0;
25913 PyErr_Clear();
25914 } else {
25915 _v = 1;
25916 }
25917 }
25918 if (_v) {
7e08d4ef 25919 return _wrap_new_PrintPreview__SWIG_1(self,args);
d55e5bfc
RD
25920 }
25921 }
25922 }
25923 }
25924
36ed4f51 25925 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
d55e5bfc
RD
25926 return NULL;
25927}
25928
25929
c370783e 25930static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25931 PyObject *resultobj = NULL;
d55e5bfc
RD
25932 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25933 int arg2 ;
25934 bool result;
25935 PyObject * obj0 = 0 ;
25936 PyObject * obj1 = 0 ;
25937 char *kwnames[] = {
25938 (char *) "self",(char *) "pageNum", NULL
25939 };
25940
25941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25942 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25943 if (SWIG_arg_fail(1)) SWIG_fail;
25944 {
32fe5131 25945 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
25946 if (SWIG_arg_fail(2)) SWIG_fail;
25947 }
d55e5bfc
RD
25948 {
25949 PyThreadState* __tstate = wxPyBeginAllowThreads();
25950 result = (bool)(arg1)->SetCurrentPage(arg2);
25951
25952 wxPyEndAllowThreads(__tstate);
25953 if (PyErr_Occurred()) SWIG_fail;
25954 }
25955 {
25956 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25957 }
25958 return resultobj;
25959 fail:
25960 return NULL;
25961}
25962
25963
c370783e 25964static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25965 PyObject *resultobj = NULL;
d55e5bfc
RD
25966 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25967 int result;
25968 PyObject * obj0 = 0 ;
25969 char *kwnames[] = {
25970 (char *) "self", NULL
25971 };
25972
25973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
36ed4f51
RD
25974 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25975 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25976 {
25977 PyThreadState* __tstate = wxPyBeginAllowThreads();
25978 result = (int)(arg1)->GetCurrentPage();
25979
25980 wxPyEndAllowThreads(__tstate);
25981 if (PyErr_Occurred()) SWIG_fail;
25982 }
36ed4f51 25983 {
32fe5131 25984 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 25985 }
d55e5bfc
RD
25986 return resultobj;
25987 fail:
25988 return NULL;
25989}
25990
25991
c370783e 25992static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25993 PyObject *resultobj = NULL;
d55e5bfc
RD
25994 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25995 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
25996 PyObject * obj0 = 0 ;
25997 PyObject * obj1 = 0 ;
25998 char *kwnames[] = {
25999 (char *) "self",(char *) "printout", NULL
26000 };
26001
26002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26003 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26004 if (SWIG_arg_fail(1)) SWIG_fail;
26005 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26006 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26007 {
26008 PyThreadState* __tstate = wxPyBeginAllowThreads();
26009 (arg1)->SetPrintout(arg2);
26010
26011 wxPyEndAllowThreads(__tstate);
26012 if (PyErr_Occurred()) SWIG_fail;
26013 }
26014 Py_INCREF(Py_None); resultobj = Py_None;
26015 return resultobj;
26016 fail:
26017 return NULL;
26018}
26019
26020
c370783e 26021static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26022 PyObject *resultobj = NULL;
d55e5bfc
RD
26023 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26024 wxPyPrintout *result;
26025 PyObject * obj0 = 0 ;
26026 char *kwnames[] = {
26027 (char *) "self", NULL
26028 };
26029
26030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
36ed4f51
RD
26031 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26032 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26033 {
26034 PyThreadState* __tstate = wxPyBeginAllowThreads();
26035 result = (wxPyPrintout *)(arg1)->GetPrintout();
26036
26037 wxPyEndAllowThreads(__tstate);
26038 if (PyErr_Occurred()) SWIG_fail;
26039 }
26040 {
7e08d4ef 26041 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
26042 }
26043 return resultobj;
26044 fail:
26045 return NULL;
26046}
26047
26048
c370783e 26049static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26050 PyObject *resultobj = NULL;
d55e5bfc
RD
26051 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26052 wxPyPrintout *result;
26053 PyObject * obj0 = 0 ;
26054 char *kwnames[] = {
26055 (char *) "self", NULL
26056 };
26057
26058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
36ed4f51
RD
26059 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26060 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26061 {
26062 PyThreadState* __tstate = wxPyBeginAllowThreads();
26063 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
26064
26065 wxPyEndAllowThreads(__tstate);
26066 if (PyErr_Occurred()) SWIG_fail;
26067 }
26068 {
7e08d4ef 26069 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
26070 }
26071 return resultobj;
26072 fail:
26073 return NULL;
26074}
26075
26076
c370783e 26077static PyObject *_wrap_PrintPreview_SetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26078 PyObject *resultobj = NULL;
d55e5bfc
RD
26079 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26080 wxFrame *arg2 = (wxFrame *) 0 ;
26081 PyObject * obj0 = 0 ;
26082 PyObject * obj1 = 0 ;
26083 char *kwnames[] = {
26084 (char *) "self",(char *) "frame", NULL
26085 };
26086
26087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26088 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26089 if (SWIG_arg_fail(1)) SWIG_fail;
26090 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
26091 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26092 {
26093 PyThreadState* __tstate = wxPyBeginAllowThreads();
26094 (arg1)->SetFrame(arg2);
26095
26096 wxPyEndAllowThreads(__tstate);
26097 if (PyErr_Occurred()) SWIG_fail;
26098 }
26099 Py_INCREF(Py_None); resultobj = Py_None;
26100 return resultobj;
26101 fail:
26102 return NULL;
26103}
26104
26105
c370783e 26106static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26107 PyObject *resultobj = NULL;
d55e5bfc
RD
26108 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26109 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26110 PyObject * obj0 = 0 ;
26111 PyObject * obj1 = 0 ;
26112 char *kwnames[] = {
26113 (char *) "self",(char *) "canvas", NULL
26114 };
26115
26116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26117 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26118 if (SWIG_arg_fail(1)) SWIG_fail;
26119 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26120 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26121 {
26122 PyThreadState* __tstate = wxPyBeginAllowThreads();
26123 (arg1)->SetCanvas(arg2);
26124
26125 wxPyEndAllowThreads(__tstate);
26126 if (PyErr_Occurred()) SWIG_fail;
26127 }
26128 Py_INCREF(Py_None); resultobj = Py_None;
26129 return resultobj;
26130 fail:
26131 return NULL;
26132}
26133
26134
c370783e 26135static PyObject *_wrap_PrintPreview_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26136 PyObject *resultobj = NULL;
d55e5bfc
RD
26137 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26138 wxFrame *result;
26139 PyObject * obj0 = 0 ;
26140 char *kwnames[] = {
26141 (char *) "self", NULL
26142 };
26143
26144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
36ed4f51
RD
26145 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26146 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26147 {
26148 PyThreadState* __tstate = wxPyBeginAllowThreads();
26149 result = (wxFrame *)(arg1)->GetFrame();
26150
26151 wxPyEndAllowThreads(__tstate);
26152 if (PyErr_Occurred()) SWIG_fail;
26153 }
26154 {
412d302d 26155 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
26156 }
26157 return resultobj;
26158 fail:
26159 return NULL;
26160}
26161
26162
c370783e 26163static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26164 PyObject *resultobj = NULL;
d55e5bfc
RD
26165 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26166 wxPreviewCanvas *result;
26167 PyObject * obj0 = 0 ;
26168 char *kwnames[] = {
26169 (char *) "self", NULL
26170 };
26171
26172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
36ed4f51
RD
26173 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26174 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26175 {
26176 PyThreadState* __tstate = wxPyBeginAllowThreads();
26177 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
26178
26179 wxPyEndAllowThreads(__tstate);
26180 if (PyErr_Occurred()) SWIG_fail;
26181 }
26182 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
26183 return resultobj;
26184 fail:
26185 return NULL;
26186}
26187
26188
c370783e 26189static PyObject *_wrap_PrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26190 PyObject *resultobj = NULL;
d55e5bfc
RD
26191 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26192 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26193 wxDC *arg3 = 0 ;
26194 bool result;
26195 PyObject * obj0 = 0 ;
26196 PyObject * obj1 = 0 ;
26197 PyObject * obj2 = 0 ;
26198 char *kwnames[] = {
26199 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26200 };
26201
26202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
26203 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26204 if (SWIG_arg_fail(1)) SWIG_fail;
26205 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26206 if (SWIG_arg_fail(2)) SWIG_fail;
26207 {
26208 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26209 if (SWIG_arg_fail(3)) SWIG_fail;
26210 if (arg3 == NULL) {
26211 SWIG_null_ref("wxDC");
26212 }
26213 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
26214 }
26215 {
26216 PyThreadState* __tstate = wxPyBeginAllowThreads();
26217 result = (bool)(arg1)->PaintPage(arg2,*arg3);
26218
26219 wxPyEndAllowThreads(__tstate);
26220 if (PyErr_Occurred()) SWIG_fail;
26221 }
26222 {
26223 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26224 }
26225 return resultobj;
26226 fail:
26227 return NULL;
26228}
26229
26230
c370783e 26231static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26232 PyObject *resultobj = NULL;
d55e5bfc
RD
26233 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26234 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26235 wxDC *arg3 = 0 ;
26236 bool result;
26237 PyObject * obj0 = 0 ;
26238 PyObject * obj1 = 0 ;
26239 PyObject * obj2 = 0 ;
26240 char *kwnames[] = {
26241 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26242 };
26243
26244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
26245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26246 if (SWIG_arg_fail(1)) SWIG_fail;
26247 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26248 if (SWIG_arg_fail(2)) SWIG_fail;
26249 {
26250 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26251 if (SWIG_arg_fail(3)) SWIG_fail;
26252 if (arg3 == NULL) {
26253 SWIG_null_ref("wxDC");
26254 }
26255 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
26256 }
26257 {
26258 PyThreadState* __tstate = wxPyBeginAllowThreads();
26259 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
26260
26261 wxPyEndAllowThreads(__tstate);
26262 if (PyErr_Occurred()) SWIG_fail;
26263 }
26264 {
26265 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26266 }
26267 return resultobj;
26268 fail:
26269 return NULL;
26270}
26271
26272
c370783e 26273static PyObject *_wrap_PrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26274 PyObject *resultobj = NULL;
d55e5bfc
RD
26275 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26276 int arg2 ;
26277 bool result;
26278 PyObject * obj0 = 0 ;
26279 PyObject * obj1 = 0 ;
26280 char *kwnames[] = {
26281 (char *) "self",(char *) "pageNum", NULL
26282 };
26283
26284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26285 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26286 if (SWIG_arg_fail(1)) SWIG_fail;
26287 {
32fe5131 26288 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
26289 if (SWIG_arg_fail(2)) SWIG_fail;
26290 }
d55e5bfc
RD
26291 {
26292 PyThreadState* __tstate = wxPyBeginAllowThreads();
26293 result = (bool)(arg1)->RenderPage(arg2);
26294
26295 wxPyEndAllowThreads(__tstate);
26296 if (PyErr_Occurred()) SWIG_fail;
26297 }
26298 {
26299 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26300 }
26301 return resultobj;
26302 fail:
26303 return NULL;
26304}
26305
26306
c370783e 26307static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26308 PyObject *resultobj = NULL;
d55e5bfc
RD
26309 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26310 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26311 PyObject * obj0 = 0 ;
26312 PyObject * obj1 = 0 ;
26313 char *kwnames[] = {
26314 (char *) "self",(char *) "canvas", NULL
26315 };
26316
26317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26318 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26319 if (SWIG_arg_fail(1)) SWIG_fail;
26320 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26321 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26322 {
26323 PyThreadState* __tstate = wxPyBeginAllowThreads();
26324 (arg1)->AdjustScrollbars(arg2);
26325
26326 wxPyEndAllowThreads(__tstate);
26327 if (PyErr_Occurred()) SWIG_fail;
26328 }
26329 Py_INCREF(Py_None); resultobj = Py_None;
26330 return resultobj;
26331 fail:
26332 return NULL;
26333}
26334
26335
c370783e 26336static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26337 PyObject *resultobj = NULL;
d55e5bfc
RD
26338 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26339 wxPrintDialogData *result;
26340 PyObject * obj0 = 0 ;
26341 char *kwnames[] = {
26342 (char *) "self", NULL
26343 };
26344
26345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
36ed4f51
RD
26346 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26347 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26348 {
26349 PyThreadState* __tstate = wxPyBeginAllowThreads();
26350 {
26351 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
26352 result = (wxPrintDialogData *) &_result_ref;
26353 }
26354
26355 wxPyEndAllowThreads(__tstate);
26356 if (PyErr_Occurred()) SWIG_fail;
26357 }
26358 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
26359 return resultobj;
26360 fail:
26361 return NULL;
26362}
26363
26364
c370783e 26365static PyObject *_wrap_PrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26366 PyObject *resultobj = NULL;
d55e5bfc
RD
26367 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26368 int arg2 ;
26369 PyObject * obj0 = 0 ;
26370 PyObject * obj1 = 0 ;
26371 char *kwnames[] = {
26372 (char *) "self",(char *) "percent", NULL
26373 };
26374
26375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26376 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26377 if (SWIG_arg_fail(1)) SWIG_fail;
26378 {
32fe5131 26379 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
26380 if (SWIG_arg_fail(2)) SWIG_fail;
26381 }
d55e5bfc
RD
26382 {
26383 PyThreadState* __tstate = wxPyBeginAllowThreads();
26384 (arg1)->SetZoom(arg2);
26385
26386 wxPyEndAllowThreads(__tstate);
26387 if (PyErr_Occurred()) SWIG_fail;
26388 }
26389 Py_INCREF(Py_None); resultobj = Py_None;
26390 return resultobj;
26391 fail:
26392 return NULL;
26393}
26394
26395
c370783e 26396static PyObject *_wrap_PrintPreview_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26397 PyObject *resultobj = NULL;
d55e5bfc
RD
26398 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26399 int result;
26400 PyObject * obj0 = 0 ;
26401 char *kwnames[] = {
26402 (char *) "self", NULL
26403 };
26404
26405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
36ed4f51
RD
26406 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26407 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26408 {
26409 PyThreadState* __tstate = wxPyBeginAllowThreads();
26410 result = (int)(arg1)->GetZoom();
26411
26412 wxPyEndAllowThreads(__tstate);
26413 if (PyErr_Occurred()) SWIG_fail;
26414 }
36ed4f51 26415 {
32fe5131 26416 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 26417 }
d55e5bfc
RD
26418 return resultobj;
26419 fail:
26420 return NULL;
26421}
26422
26423
c370783e 26424static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26425 PyObject *resultobj = NULL;
d55e5bfc
RD
26426 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26427 int result;
26428 PyObject * obj0 = 0 ;
26429 char *kwnames[] = {
26430 (char *) "self", NULL
26431 };
26432
26433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
36ed4f51
RD
26434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26435 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26436 {
26437 PyThreadState* __tstate = wxPyBeginAllowThreads();
26438 result = (int)(arg1)->GetMaxPage();
26439
26440 wxPyEndAllowThreads(__tstate);
26441 if (PyErr_Occurred()) SWIG_fail;
26442 }
36ed4f51 26443 {
32fe5131 26444 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 26445 }
d55e5bfc
RD
26446 return resultobj;
26447 fail:
26448 return NULL;
26449}
26450
26451
c370783e 26452static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26453 PyObject *resultobj = NULL;
d55e5bfc
RD
26454 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26455 int result;
26456 PyObject * obj0 = 0 ;
26457 char *kwnames[] = {
26458 (char *) "self", NULL
26459 };
26460
26461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
36ed4f51
RD
26462 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26463 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26464 {
26465 PyThreadState* __tstate = wxPyBeginAllowThreads();
26466 result = (int)(arg1)->GetMinPage();
26467
26468 wxPyEndAllowThreads(__tstate);
26469 if (PyErr_Occurred()) SWIG_fail;
26470 }
36ed4f51 26471 {
32fe5131 26472 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 26473 }
d55e5bfc
RD
26474 return resultobj;
26475 fail:
26476 return NULL;
26477}
26478
26479
c370783e 26480static PyObject *_wrap_PrintPreview_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26481 PyObject *resultobj = NULL;
d55e5bfc
RD
26482 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26483 bool result;
26484 PyObject * obj0 = 0 ;
26485 char *kwnames[] = {
26486 (char *) "self", NULL
26487 };
26488
26489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
36ed4f51
RD
26490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26491 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26492 {
26493 PyThreadState* __tstate = wxPyBeginAllowThreads();
26494 result = (bool)(arg1)->Ok();
26495
26496 wxPyEndAllowThreads(__tstate);
26497 if (PyErr_Occurred()) SWIG_fail;
26498 }
26499 {
26500 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26501 }
26502 return resultobj;
26503 fail:
26504 return NULL;
26505}
26506
26507
c370783e 26508static PyObject *_wrap_PrintPreview_SetOk(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26509 PyObject *resultobj = NULL;
d55e5bfc
RD
26510 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26511 bool arg2 ;
26512 PyObject * obj0 = 0 ;
26513 PyObject * obj1 = 0 ;
26514 char *kwnames[] = {
26515 (char *) "self",(char *) "ok", NULL
26516 };
26517
26518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26520 if (SWIG_arg_fail(1)) SWIG_fail;
26521 {
32fe5131 26522 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
26523 if (SWIG_arg_fail(2)) SWIG_fail;
26524 }
d55e5bfc
RD
26525 {
26526 PyThreadState* __tstate = wxPyBeginAllowThreads();
26527 (arg1)->SetOk(arg2);
26528
26529 wxPyEndAllowThreads(__tstate);
26530 if (PyErr_Occurred()) SWIG_fail;
26531 }
26532 Py_INCREF(Py_None); resultobj = Py_None;
26533 return resultobj;
26534 fail:
26535 return NULL;
26536}
26537
26538
c370783e 26539static PyObject *_wrap_PrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26540 PyObject *resultobj = NULL;
d55e5bfc
RD
26541 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26542 bool arg2 ;
26543 bool result;
26544 PyObject * obj0 = 0 ;
26545 PyObject * obj1 = 0 ;
26546 char *kwnames[] = {
26547 (char *) "self",(char *) "interactive", NULL
26548 };
26549
26550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26551 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26552 if (SWIG_arg_fail(1)) SWIG_fail;
26553 {
32fe5131 26554 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
26555 if (SWIG_arg_fail(2)) SWIG_fail;
26556 }
d55e5bfc
RD
26557 {
26558 PyThreadState* __tstate = wxPyBeginAllowThreads();
26559 result = (bool)(arg1)->Print(arg2);
26560
26561 wxPyEndAllowThreads(__tstate);
26562 if (PyErr_Occurred()) SWIG_fail;
26563 }
26564 {
26565 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26566 }
26567 return resultobj;
26568 fail:
26569 return NULL;
26570}
26571
26572
c370783e 26573static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26574 PyObject *resultobj = NULL;
d55e5bfc
RD
26575 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26576 PyObject * obj0 = 0 ;
26577 char *kwnames[] = {
26578 (char *) "self", NULL
26579 };
26580
26581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
36ed4f51
RD
26582 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26583 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26584 {
26585 PyThreadState* __tstate = wxPyBeginAllowThreads();
26586 (arg1)->DetermineScaling();
26587
26588 wxPyEndAllowThreads(__tstate);
26589 if (PyErr_Occurred()) SWIG_fail;
26590 }
26591 Py_INCREF(Py_None); resultobj = Py_None;
26592 return resultobj;
26593 fail:
26594 return NULL;
26595}
26596
26597
c370783e 26598static PyObject * PrintPreview_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
26599 PyObject *obj;
26600 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26601 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
26602 Py_INCREF(obj);
26603 return Py_BuildValue((char *)"");
26604}
c370783e 26605static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *, PyObject *args) {
32fe5131 26606 PyObject *resultobj = NULL;
d55e5bfc
RD
26607 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26608 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
7e08d4ef 26609 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
d55e5bfc
RD
26610 wxPyPrintPreview *result;
26611 PyObject * obj0 = 0 ;
26612 PyObject * obj1 = 0 ;
26613 PyObject * obj2 = 0 ;
26614
7e08d4ef 26615 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
26616 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26617 if (SWIG_arg_fail(1)) SWIG_fail;
26618 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26619 if (SWIG_arg_fail(2)) SWIG_fail;
7e08d4ef
RD
26620 if (obj2) {
26621 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
26622 if (SWIG_arg_fail(3)) SWIG_fail;
26623 }
d55e5bfc 26624 {
0439c23b 26625 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
26626 PyThreadState* __tstate = wxPyBeginAllowThreads();
26627 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
26628
26629 wxPyEndAllowThreads(__tstate);
110da5b0 26630 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
26631 }
26632 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
26633 return resultobj;
26634 fail:
26635 return NULL;
26636}
26637
26638
c370783e 26639static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *, PyObject *args) {
32fe5131 26640 PyObject *resultobj = NULL;
d55e5bfc
RD
26641 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26642 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26643 wxPrintData *arg3 = (wxPrintData *) 0 ;
26644 wxPyPrintPreview *result;
26645 PyObject * obj0 = 0 ;
26646 PyObject * obj1 = 0 ;
26647 PyObject * obj2 = 0 ;
26648
26649 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
26650 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26651 if (SWIG_arg_fail(1)) SWIG_fail;
26652 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26653 if (SWIG_arg_fail(2)) SWIG_fail;
26654 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
26655 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc 26656 {
0439c23b 26657 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
26658 PyThreadState* __tstate = wxPyBeginAllowThreads();
26659 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
26660
26661 wxPyEndAllowThreads(__tstate);
110da5b0 26662 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
26663 }
26664 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
26665 return resultobj;
26666 fail:
26667 return NULL;
26668}
26669
26670
26671static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
26672 int argc;
26673 PyObject *argv[4];
26674 int ii;
26675
26676 argc = PyObject_Length(args);
26677 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
26678 argv[ii] = PyTuple_GetItem(args,ii);
26679 }
7e08d4ef 26680 if ((argc >= 2) && (argc <= 3)) {
d55e5bfc
RD
26681 int _v;
26682 {
26683 void *ptr;
26684 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26685 _v = 0;
26686 PyErr_Clear();
26687 } else {
26688 _v = 1;
26689 }
26690 }
26691 if (_v) {
26692 {
26693 void *ptr;
26694 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26695 _v = 0;
26696 PyErr_Clear();
26697 } else {
26698 _v = 1;
26699 }
26700 }
26701 if (_v) {
7e08d4ef
RD
26702 if (argc <= 2) {
26703 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
d55e5bfc
RD
26704 }
26705 {
26706 void *ptr;
26707 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
26708 _v = 0;
26709 PyErr_Clear();
26710 } else {
26711 _v = 1;
26712 }
26713 }
26714 if (_v) {
26715 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
26716 }
26717 }
26718 }
26719 }
26720 if (argc == 3) {
26721 int _v;
26722 {
26723 void *ptr;
26724 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26725 _v = 0;
26726 PyErr_Clear();
26727 } else {
26728 _v = 1;
26729 }
26730 }
26731 if (_v) {
26732 {
26733 void *ptr;
26734 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26735 _v = 0;
26736 PyErr_Clear();
26737 } else {
26738 _v = 1;
26739 }
26740 }
26741 if (_v) {
26742 {
26743 void *ptr;
26744 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
26745 _v = 0;
26746 PyErr_Clear();
26747 } else {
26748 _v = 1;
26749 }
26750 }
26751 if (_v) {
7e08d4ef 26752 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
d55e5bfc
RD
26753 }
26754 }
26755 }
26756 }
26757
36ed4f51 26758 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
d55e5bfc
RD
26759 return NULL;
26760}
26761
26762
c370783e 26763static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26764 PyObject *resultobj = NULL;
d55e5bfc
RD
26765 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26766 PyObject *arg2 = (PyObject *) 0 ;
26767 PyObject *arg3 = (PyObject *) 0 ;
26768 PyObject * obj0 = 0 ;
26769 PyObject * obj1 = 0 ;
26770 PyObject * obj2 = 0 ;
26771 char *kwnames[] = {
26772 (char *) "self",(char *) "self",(char *) "_class", NULL
26773 };
26774
26775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
26776 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26777 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26778 arg2 = obj1;
26779 arg3 = obj2;
26780 {
26781 PyThreadState* __tstate = wxPyBeginAllowThreads();
26782 (arg1)->_setCallbackInfo(arg2,arg3);
26783
26784 wxPyEndAllowThreads(__tstate);
26785 if (PyErr_Occurred()) SWIG_fail;
26786 }
26787 Py_INCREF(Py_None); resultobj = Py_None;
26788 return resultobj;
26789 fail:
26790 return NULL;
26791}
26792
26793
7f7aa166 26794static PyObject *_wrap_PyPrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26795 PyObject *resultobj = NULL;
d55e5bfc
RD
26796 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26797 int arg2 ;
26798 bool result;
26799 PyObject * obj0 = 0 ;
26800 PyObject * obj1 = 0 ;
26801 char *kwnames[] = {
26802 (char *) "self",(char *) "pageNum", NULL
26803 };
26804
7f7aa166 26805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26807 if (SWIG_arg_fail(1)) SWIG_fail;
26808 {
32fe5131 26809 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
26810 if (SWIG_arg_fail(2)) SWIG_fail;
26811 }
d55e5bfc
RD
26812 {
26813 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 26814 result = (bool)(arg1)->SetCurrentPage(arg2);
d55e5bfc
RD
26815
26816 wxPyEndAllowThreads(__tstate);
26817 if (PyErr_Occurred()) SWIG_fail;
26818 }
26819 {
26820 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26821 }
26822 return resultobj;
26823 fail:
26824 return NULL;
26825}
26826
26827
7f7aa166 26828static PyObject *_wrap_PyPrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26829 PyObject *resultobj = NULL;
d55e5bfc
RD
26830 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26831 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26832 wxDC *arg3 = 0 ;
26833 bool result;
26834 PyObject * obj0 = 0 ;
26835 PyObject * obj1 = 0 ;
26836 PyObject * obj2 = 0 ;
26837 char *kwnames[] = {
26838 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26839 };
26840
7f7aa166 26841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
26842 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26843 if (SWIG_arg_fail(1)) SWIG_fail;
26844 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26845 if (SWIG_arg_fail(2)) SWIG_fail;
26846 {
26847 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26848 if (SWIG_arg_fail(3)) SWIG_fail;
26849 if (arg3 == NULL) {
26850 SWIG_null_ref("wxDC");
26851 }
26852 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
26853 }
26854 {
26855 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 26856 result = (bool)(arg1)->PaintPage(arg2,*arg3);
d55e5bfc
RD
26857
26858 wxPyEndAllowThreads(__tstate);
26859 if (PyErr_Occurred()) SWIG_fail;
26860 }
26861 {
26862 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26863 }
26864 return resultobj;
26865 fail:
26866 return NULL;
26867}
26868
26869
7f7aa166 26870static PyObject *_wrap_PyPrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26871 PyObject *resultobj = NULL;
d55e5bfc
RD
26872 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26873 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26874 wxDC *arg3 = 0 ;
26875 bool result;
26876 PyObject * obj0 = 0 ;
26877 PyObject * obj1 = 0 ;
26878 PyObject * obj2 = 0 ;
26879 char *kwnames[] = {
26880 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26881 };
26882
7f7aa166 26883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
26884 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26885 if (SWIG_arg_fail(1)) SWIG_fail;
26886 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26887 if (SWIG_arg_fail(2)) SWIG_fail;
26888 {
26889 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26890 if (SWIG_arg_fail(3)) SWIG_fail;
26891 if (arg3 == NULL) {
26892 SWIG_null_ref("wxDC");
26893 }
26894 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
26895 }
26896 {
26897 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 26898 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
d55e5bfc
RD
26899
26900 wxPyEndAllowThreads(__tstate);
26901 if (PyErr_Occurred()) SWIG_fail;
26902 }
26903 {
26904 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26905 }
26906 return resultobj;
26907 fail:
26908 return NULL;
26909}
26910
26911
7f7aa166 26912static PyObject *_wrap_PyPrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26913 PyObject *resultobj = NULL;
d55e5bfc
RD
26914 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26915 int arg2 ;
26916 bool result;
26917 PyObject * obj0 = 0 ;
26918 PyObject * obj1 = 0 ;
26919 char *kwnames[] = {
26920 (char *) "self",(char *) "pageNum", NULL
26921 };
26922
7f7aa166 26923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26924 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26925 if (SWIG_arg_fail(1)) SWIG_fail;
26926 {
32fe5131 26927 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
26928 if (SWIG_arg_fail(2)) SWIG_fail;
26929 }
d55e5bfc
RD
26930 {
26931 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 26932 result = (bool)(arg1)->RenderPage(arg2);
d55e5bfc
RD
26933
26934 wxPyEndAllowThreads(__tstate);
26935 if (PyErr_Occurred()) SWIG_fail;
26936 }
26937 {
26938 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26939 }
26940 return resultobj;
26941 fail:
26942 return NULL;
26943}
26944
26945
7f7aa166 26946static PyObject *_wrap_PyPrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26947 PyObject *resultobj = NULL;
d55e5bfc
RD
26948 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26949 int arg2 ;
26950 PyObject * obj0 = 0 ;
26951 PyObject * obj1 = 0 ;
26952 char *kwnames[] = {
26953 (char *) "self",(char *) "percent", NULL
26954 };
26955
7f7aa166 26956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26957 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26958 if (SWIG_arg_fail(1)) SWIG_fail;
26959 {
32fe5131 26960 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
26961 if (SWIG_arg_fail(2)) SWIG_fail;
26962 }
d55e5bfc
RD
26963 {
26964 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 26965 (arg1)->SetZoom(arg2);
d55e5bfc
RD
26966
26967 wxPyEndAllowThreads(__tstate);
26968 if (PyErr_Occurred()) SWIG_fail;
26969 }
26970 Py_INCREF(Py_None); resultobj = Py_None;
26971 return resultobj;
26972 fail:
26973 return NULL;
26974}
26975
26976
7f7aa166 26977static PyObject *_wrap_PyPrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26978 PyObject *resultobj = NULL;
d55e5bfc
RD
26979 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26980 bool arg2 ;
26981 bool result;
26982 PyObject * obj0 = 0 ;
26983 PyObject * obj1 = 0 ;
26984 char *kwnames[] = {
26985 (char *) "self",(char *) "interactive", NULL
26986 };
26987
7f7aa166 26988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26989 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26990 if (SWIG_arg_fail(1)) SWIG_fail;
26991 {
32fe5131 26992 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
26993 if (SWIG_arg_fail(2)) SWIG_fail;
26994 }
d55e5bfc
RD
26995 {
26996 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 26997 result = (bool)(arg1)->Print(arg2);
d55e5bfc
RD
26998
26999 wxPyEndAllowThreads(__tstate);
27000 if (PyErr_Occurred()) SWIG_fail;
27001 }
27002 {
27003 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27004 }
27005 return resultobj;
27006 fail:
27007 return NULL;
27008}
27009
27010
7f7aa166 27011static PyObject *_wrap_PyPrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27012 PyObject *resultobj = NULL;
d55e5bfc
RD
27013 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27014 PyObject * obj0 = 0 ;
27015 char *kwnames[] = {
27016 (char *) "self", NULL
27017 };
27018
7f7aa166 27019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
36ed4f51
RD
27020 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27021 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27022 {
27023 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 27024 (arg1)->DetermineScaling();
d55e5bfc
RD
27025
27026 wxPyEndAllowThreads(__tstate);
27027 if (PyErr_Occurred()) SWIG_fail;
27028 }
27029 Py_INCREF(Py_None); resultobj = Py_None;
27030 return resultobj;
27031 fail:
27032 return NULL;
27033}
27034
27035
c370783e 27036static PyObject * PyPrintPreview_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27037 PyObject *obj;
27038 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27039 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
27040 Py_INCREF(obj);
27041 return Py_BuildValue((char *)"");
27042}
c370783e 27043static PyObject *_wrap_new_PyPreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27044 PyObject *resultobj = NULL;
d55e5bfc
RD
27045 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
27046 wxFrame *arg2 = (wxFrame *) 0 ;
27047 wxString *arg3 = 0 ;
27048 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27049 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27050 wxSize const &arg5_defvalue = wxDefaultSize ;
27051 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27052 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
27053 wxString const &arg7_defvalue = wxPyFrameNameStr ;
27054 wxString *arg7 = (wxString *) &arg7_defvalue ;
27055 wxPyPreviewFrame *result;
b411df4a 27056 bool temp3 = false ;
d55e5bfc
RD
27057 wxPoint temp4 ;
27058 wxSize temp5 ;
b411df4a 27059 bool temp7 = false ;
d55e5bfc
RD
27060 PyObject * obj0 = 0 ;
27061 PyObject * obj1 = 0 ;
27062 PyObject * obj2 = 0 ;
27063 PyObject * obj3 = 0 ;
27064 PyObject * obj4 = 0 ;
27065 PyObject * obj5 = 0 ;
27066 PyObject * obj6 = 0 ;
27067 char *kwnames[] = {
27068 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27069 };
27070
27071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
27072 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27073 if (SWIG_arg_fail(1)) SWIG_fail;
27074 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
27075 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27076 {
27077 arg3 = wxString_in_helper(obj2);
27078 if (arg3 == NULL) SWIG_fail;
b411df4a 27079 temp3 = true;
d55e5bfc
RD
27080 }
27081 if (obj3) {
27082 {
27083 arg4 = &temp4;
27084 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27085 }
27086 }
27087 if (obj4) {
27088 {
27089 arg5 = &temp5;
27090 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27091 }
27092 }
27093 if (obj5) {
36ed4f51 27094 {
32fe5131 27095 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
27096 if (SWIG_arg_fail(6)) SWIG_fail;
27097 }
d55e5bfc
RD
27098 }
27099 if (obj6) {
27100 {
27101 arg7 = wxString_in_helper(obj6);
27102 if (arg7 == NULL) SWIG_fail;
b411df4a 27103 temp7 = true;
d55e5bfc
RD
27104 }
27105 }
27106 {
0439c23b 27107 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
27108 PyThreadState* __tstate = wxPyBeginAllowThreads();
27109 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
27110
27111 wxPyEndAllowThreads(__tstate);
110da5b0 27112 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
27113 }
27114 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
27115 {
27116 if (temp3)
27117 delete arg3;
27118 }
27119 {
27120 if (temp7)
27121 delete arg7;
27122 }
27123 return resultobj;
27124 fail:
27125 {
27126 if (temp3)
27127 delete arg3;
27128 }
27129 {
27130 if (temp7)
27131 delete arg7;
27132 }
27133 return NULL;
27134}
27135
27136
c370783e 27137static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27138 PyObject *resultobj = NULL;
d55e5bfc
RD
27139 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27140 PyObject *arg2 = (PyObject *) 0 ;
27141 PyObject *arg3 = (PyObject *) 0 ;
27142 PyObject * obj0 = 0 ;
27143 PyObject * obj1 = 0 ;
27144 PyObject * obj2 = 0 ;
27145 char *kwnames[] = {
27146 (char *) "self",(char *) "self",(char *) "_class", NULL
27147 };
27148
27149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
27150 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27151 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27152 arg2 = obj1;
27153 arg3 = obj2;
27154 {
27155 PyThreadState* __tstate = wxPyBeginAllowThreads();
27156 (arg1)->_setCallbackInfo(arg2,arg3);
27157
27158 wxPyEndAllowThreads(__tstate);
27159 if (PyErr_Occurred()) SWIG_fail;
27160 }
27161 Py_INCREF(Py_None); resultobj = Py_None;
27162 return resultobj;
27163 fail:
27164 return NULL;
27165}
27166
27167
c370783e 27168static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27169 PyObject *resultobj = NULL;
d55e5bfc
RD
27170 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27171 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
27172 PyObject * obj0 = 0 ;
27173 PyObject * obj1 = 0 ;
27174 char *kwnames[] = {
27175 (char *) "self",(char *) "canvas", NULL
27176 };
27177
27178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27179 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27180 if (SWIG_arg_fail(1)) SWIG_fail;
27181 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
27182 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27183 {
27184 PyThreadState* __tstate = wxPyBeginAllowThreads();
27185 (arg1)->SetPreviewCanvas(arg2);
27186
27187 wxPyEndAllowThreads(__tstate);
27188 if (PyErr_Occurred()) SWIG_fail;
27189 }
27190 Py_INCREF(Py_None); resultobj = Py_None;
27191 return resultobj;
27192 fail:
27193 return NULL;
27194}
27195
27196
c370783e 27197static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27198 PyObject *resultobj = NULL;
d55e5bfc
RD
27199 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27200 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
27201 PyObject * obj0 = 0 ;
27202 PyObject * obj1 = 0 ;
27203 char *kwnames[] = {
27204 (char *) "self",(char *) "bar", NULL
27205 };
27206
27207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27208 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27209 if (SWIG_arg_fail(1)) SWIG_fail;
27210 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27211 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27212 {
27213 PyThreadState* __tstate = wxPyBeginAllowThreads();
27214 (arg1)->SetControlBar(arg2);
27215
27216 wxPyEndAllowThreads(__tstate);
27217 if (PyErr_Occurred()) SWIG_fail;
27218 }
27219 Py_INCREF(Py_None); resultobj = Py_None;
27220 return resultobj;
27221 fail:
27222 return NULL;
27223}
27224
27225
7f7aa166 27226static PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27227 PyObject *resultobj = NULL;
d55e5bfc
RD
27228 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27229 PyObject * obj0 = 0 ;
27230 char *kwnames[] = {
27231 (char *) "self", NULL
27232 };
27233
7f7aa166 27234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_Initialize",kwnames,&obj0)) goto fail;
36ed4f51
RD
27235 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27236 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27237 {
27238 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 27239 (arg1)->Initialize();
d55e5bfc
RD
27240
27241 wxPyEndAllowThreads(__tstate);
27242 if (PyErr_Occurred()) SWIG_fail;
27243 }
27244 Py_INCREF(Py_None); resultobj = Py_None;
27245 return resultobj;
27246 fail:
27247 return NULL;
27248}
27249
27250
7f7aa166 27251static PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27252 PyObject *resultobj = NULL;
d55e5bfc
RD
27253 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27254 PyObject * obj0 = 0 ;
27255 char *kwnames[] = {
27256 (char *) "self", NULL
27257 };
27258
7f7aa166 27259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
36ed4f51
RD
27260 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27261 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27262 {
27263 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 27264 (arg1)->CreateCanvas();
d55e5bfc
RD
27265
27266 wxPyEndAllowThreads(__tstate);
27267 if (PyErr_Occurred()) SWIG_fail;
27268 }
27269 Py_INCREF(Py_None); resultobj = Py_None;
27270 return resultobj;
27271 fail:
27272 return NULL;
27273}
27274
27275
7f7aa166 27276static PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27277 PyObject *resultobj = NULL;
d55e5bfc
RD
27278 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27279 PyObject * obj0 = 0 ;
27280 char *kwnames[] = {
27281 (char *) "self", NULL
27282 };
27283
7f7aa166 27284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
36ed4f51
RD
27285 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27286 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27287 {
27288 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 27289 (arg1)->CreateControlBar();
d55e5bfc
RD
27290
27291 wxPyEndAllowThreads(__tstate);
27292 if (PyErr_Occurred()) SWIG_fail;
27293 }
27294 Py_INCREF(Py_None); resultobj = Py_None;
27295 return resultobj;
27296 fail:
27297 return NULL;
27298}
27299
27300
c370783e 27301static PyObject * PyPreviewFrame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27302 PyObject *obj;
27303 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27304 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
27305 Py_INCREF(obj);
27306 return Py_BuildValue((char *)"");
27307}
c370783e 27308static PyObject *_wrap_new_PyPreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27309 PyObject *resultobj = NULL;
d55e5bfc
RD
27310 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
27311 long arg2 ;
27312 wxWindow *arg3 = (wxWindow *) 0 ;
27313 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27314 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27315 wxSize const &arg5_defvalue = wxDefaultSize ;
27316 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27317 long arg6 = (long) 0 ;
27318 wxString const &arg7_defvalue = wxPyPanelNameStr ;
27319 wxString *arg7 = (wxString *) &arg7_defvalue ;
27320 wxPyPreviewControlBar *result;
27321 wxPoint temp4 ;
27322 wxSize temp5 ;
b411df4a 27323 bool temp7 = false ;
d55e5bfc
RD
27324 PyObject * obj0 = 0 ;
27325 PyObject * obj1 = 0 ;
27326 PyObject * obj2 = 0 ;
27327 PyObject * obj3 = 0 ;
27328 PyObject * obj4 = 0 ;
27329 PyObject * obj5 = 0 ;
27330 PyObject * obj6 = 0 ;
27331 char *kwnames[] = {
27332 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27333 };
27334
27335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
27336 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27337 if (SWIG_arg_fail(1)) SWIG_fail;
27338 {
32fe5131 27339 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
27340 if (SWIG_arg_fail(2)) SWIG_fail;
27341 }
27342 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27343 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
27344 if (obj3) {
27345 {
27346 arg4 = &temp4;
27347 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27348 }
27349 }
27350 if (obj4) {
27351 {
27352 arg5 = &temp5;
27353 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27354 }
27355 }
27356 if (obj5) {
36ed4f51 27357 {
32fe5131 27358 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
27359 if (SWIG_arg_fail(6)) SWIG_fail;
27360 }
d55e5bfc
RD
27361 }
27362 if (obj6) {
27363 {
27364 arg7 = wxString_in_helper(obj6);
27365 if (arg7 == NULL) SWIG_fail;
b411df4a 27366 temp7 = true;
d55e5bfc
RD
27367 }
27368 }
27369 {
0439c23b 27370 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
27371 PyThreadState* __tstate = wxPyBeginAllowThreads();
27372 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
27373
27374 wxPyEndAllowThreads(__tstate);
110da5b0 27375 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
27376 }
27377 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
27378 {
27379 if (temp7)
27380 delete arg7;
27381 }
27382 return resultobj;
27383 fail:
27384 {
27385 if (temp7)
27386 delete arg7;
27387 }
27388 return NULL;
27389}
27390
27391
c370783e 27392static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27393 PyObject *resultobj = NULL;
d55e5bfc
RD
27394 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27395 PyObject *arg2 = (PyObject *) 0 ;
27396 PyObject *arg3 = (PyObject *) 0 ;
27397 PyObject * obj0 = 0 ;
27398 PyObject * obj1 = 0 ;
27399 PyObject * obj2 = 0 ;
27400 char *kwnames[] = {
27401 (char *) "self",(char *) "self",(char *) "_class", NULL
27402 };
27403
27404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
27405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27406 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27407 arg2 = obj1;
27408 arg3 = obj2;
27409 {
27410 PyThreadState* __tstate = wxPyBeginAllowThreads();
27411 (arg1)->_setCallbackInfo(arg2,arg3);
27412
27413 wxPyEndAllowThreads(__tstate);
27414 if (PyErr_Occurred()) SWIG_fail;
27415 }
27416 Py_INCREF(Py_None); resultobj = Py_None;
27417 return resultobj;
27418 fail:
27419 return NULL;
27420}
27421
27422
c370783e 27423static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27424 PyObject *resultobj = NULL;
d55e5bfc
RD
27425 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27426 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
27427 PyObject * obj0 = 0 ;
27428 PyObject * obj1 = 0 ;
27429 char *kwnames[] = {
27430 (char *) "self",(char *) "preview", NULL
27431 };
27432
27433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27435 if (SWIG_arg_fail(1)) SWIG_fail;
27436 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27437 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27438 {
27439 PyThreadState* __tstate = wxPyBeginAllowThreads();
27440 (arg1)->SetPrintPreview(arg2);
27441
27442 wxPyEndAllowThreads(__tstate);
27443 if (PyErr_Occurred()) SWIG_fail;
27444 }
27445 Py_INCREF(Py_None); resultobj = Py_None;
27446 return resultobj;
27447 fail:
27448 return NULL;
27449}
27450
27451
7f7aa166 27452static PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27453 PyObject *resultobj = NULL;
d55e5bfc
RD
27454 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27455 PyObject * obj0 = 0 ;
27456 char *kwnames[] = {
27457 (char *) "self", NULL
27458 };
27459
7f7aa166 27460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_CreateButtons",kwnames,&obj0)) goto fail;
36ed4f51
RD
27461 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27462 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27463 {
27464 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 27465 (arg1)->CreateButtons();
d55e5bfc
RD
27466
27467 wxPyEndAllowThreads(__tstate);
27468 if (PyErr_Occurred()) SWIG_fail;
27469 }
27470 Py_INCREF(Py_None); resultobj = Py_None;
27471 return resultobj;
27472 fail:
27473 return NULL;
27474}
27475
27476
7f7aa166 27477static PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27478 PyObject *resultobj = NULL;
d55e5bfc
RD
27479 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27480 int arg2 ;
27481 PyObject * obj0 = 0 ;
27482 PyObject * obj1 = 0 ;
27483 char *kwnames[] = {
27484 (char *) "self",(char *) "zoom", NULL
27485 };
27486
7f7aa166 27487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27488 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27489 if (SWIG_arg_fail(1)) SWIG_fail;
27490 {
32fe5131 27491 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
27492 if (SWIG_arg_fail(2)) SWIG_fail;
27493 }
d55e5bfc
RD
27494 {
27495 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 27496 (arg1)->SetZoomControl(arg2);
d55e5bfc
RD
27497
27498 wxPyEndAllowThreads(__tstate);
27499 if (PyErr_Occurred()) SWIG_fail;
27500 }
27501 Py_INCREF(Py_None); resultobj = Py_None;
27502 return resultobj;
27503 fail:
27504 return NULL;
27505}
27506
27507
c370783e 27508static PyObject * PyPreviewControlBar_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27509 PyObject *obj;
27510 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27511 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
27512 Py_INCREF(obj);
27513 return Py_BuildValue((char *)"");
27514}
27515static PyMethodDef SwigMethods[] = {
36ed4f51
RD
27516 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
27517 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS, NULL},
27518 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27519 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27520 { (char *)"Panel_SetFocus", (PyCFunction) _wrap_Panel_SetFocus, METH_VARARGS | METH_KEYWORDS, NULL},
27521 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction) _wrap_Panel_SetFocusIgnoringChildren, METH_VARARGS | METH_KEYWORDS, NULL},
27522 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27523 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
27524 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27525 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27526 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27527 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
27528 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
27529 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
27530 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
27531 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
27532 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS, NULL},
27533 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
27534 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS, NULL},
27535 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
27536 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS, NULL},
27537 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS, NULL},
27538 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
27539 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
27540 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
27541 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
27542 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27543 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27544 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27545 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27546 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
27547 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27548 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
27549 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
27550 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS, NULL},
27551 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
27552 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS, NULL},
27553 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS, NULL},
27554 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27555 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27556 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
27557 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27558 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27559 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
27560 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
27561 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
27562 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
27563 { (char *)"TopLevelWindow_IsActive", (PyCFunction) _wrap_TopLevelWindow_IsActive, METH_VARARGS | METH_KEYWORDS, NULL},
27564 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
27565 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacGetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
b1fcee84 27566 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
27567 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
27568 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
27569 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27570 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27571 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
27572 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27573 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
27574 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
27575 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
27576 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27577 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27578 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27579 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27580 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
27581 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27582 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27583 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
27584 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
27585 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27586 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27587 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27588 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27589 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
27590 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27591 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
27592 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
27593 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27594 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27595 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
27596 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
b1fcee84
RD
27597 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
27598 { (char *)"Dialog_GetAffirmativeId", (PyCFunction) _wrap_Dialog_GetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
27599 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
27600 { (char *)"Dialog_GetEscapeId", (PyCFunction) _wrap_Dialog_GetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
27601 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
27602 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
62d32a5f 27603 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
27604 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS, NULL},
27605 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
27606 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
27607 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27608 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
27609 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27610 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27611 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27612 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
27613 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27614 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
27615 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
27616 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
27617 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27618 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27619 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27620 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS, NULL},
27621 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
27622 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27623 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27624 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27625 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
27626 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
27627 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27628 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27629 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27630 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27631 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
27632 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
27633 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
27634 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
27635 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS, NULL},
27636 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS, NULL},
27637 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27638 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
27639 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27640 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27641 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27642 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS, NULL},
27643 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS, NULL},
27644 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
27645 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
27646 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
27647 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
27648 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
27649 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
27650 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27651 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS, NULL},
27652 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS, NULL},
27653 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
27654 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27655 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
27656 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27657 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27658 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27659 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
27660 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction) _wrap_SplitterWindow_GetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
27661 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
27662 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
27663 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27664 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL},
27665 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
27666 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
27667 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27668 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
27669 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27670 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27671 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27672 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS, NULL},
27673 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL},
27674 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL},
27675 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
27676 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27677 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27678 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27679 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
27680 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
27681 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
27682 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
27683 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
27684 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27685 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27686 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27687 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27688 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27689 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27690 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27691 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27692 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27693 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27694 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27695 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27696 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27697 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL},
27698 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
27699 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27700 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
27701 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
27702 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
27703 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
27704 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
27705 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
27706 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
27707 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27708 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
27709 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
27710 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27711 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27712 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27713 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27714 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27715 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27716 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27717 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27718 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
27719 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27720 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27721 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27722 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27723 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27724 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
27725 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27726 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27727 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27728 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27729 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27730 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27731 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
27732 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27733 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
27734 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL},
27735 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL},
27736 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27737 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27738 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27739 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
27740 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27741 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27742 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
27743 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27744 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27745 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
27746 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27747 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
27748 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS, NULL},
27749 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
27750 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27751 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27752 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27753 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27754 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
27755 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
27756 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL},
27757 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL},
27758 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
27759 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
27760 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
27761 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27762 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL},
27763 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
7993762b
RD
27764 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction) _wrap_VScrolledWindow_GetVisibleBegin, METH_VARARGS | METH_KEYWORDS, NULL},
27765 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction) _wrap_VScrolledWindow_GetVisibleEnd, METH_VARARGS | METH_KEYWORDS, NULL},
27766 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
27767 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
27768 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
27769 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
27770 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27771 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27772 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27773 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27774 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
27775 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27776 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27777 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
27778 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
27779 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS, NULL},
27780 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL},
27781 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
27782 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
27783 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
27784 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
27785 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
27786 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27787 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
27788 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
27789 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
27790 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
27791 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
27792 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
27793 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
27794 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
27795 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
27796 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27797 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27798 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27799 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27800 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL},
27801 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
27802 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS, NULL},
27803 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
27804 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL},
7e08d4ef 27805 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
27806 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27807 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
27808 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
27809 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS, NULL},
27810 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27811 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27812 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
27813 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
27814 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27815 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
27816 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS, NULL},
27817 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS, NULL},
27818 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
27819 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27820 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
27821 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
27822 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27823 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
27824 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
27825 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27826 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS, NULL},
27827 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
32fe5131 27828 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
27829 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27830 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27831 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27832 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27833 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27834 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27835 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
27836 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27837 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27838 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27839 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
27840 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
27841 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
27842 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27843 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
27844 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27845 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27846 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
27847 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
27848 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
27849 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27850 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
27851 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL},
27852 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS, NULL},
27853 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
27854 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27855 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
27856 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
27857 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
27858 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27859 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27860 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27861 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27862 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
27863 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27864 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
27865 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
27866 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
27867 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27868 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
27869 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS, NULL},
27870 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS, NULL},
27871 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
27872 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
27873 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27874 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
27875 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
27876 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
27877 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27878 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
27879 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
27880 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27881 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
27882 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
27883 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27884 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
27885 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27886 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS, NULL},
27887 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
32fe5131 27888 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
27889 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27890 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
27891 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27892 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
27893 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS, NULL},
27894 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
27895 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27896 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27897 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27898 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
27899 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27900 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27901 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27902 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
27903 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
27904 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
27905 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
27906 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27907 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
27908 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27909 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27910 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27911 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
27912 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
27913 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27914 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27915 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27916 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
27917 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
27918 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
27919 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27920 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27921 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27922 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS, NULL},
27923 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS, NULL},
27924 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS, NULL},
27925 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS, NULL},
27926 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS, NULL},
27927 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27928 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27929 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
27930 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
27931 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27932 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27933 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27934 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS, NULL},
27935 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
27936 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS, NULL},
27937 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
27938 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27939 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27940 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27941 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
27942 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27943 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27944 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27945 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
976dbff5 27946 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
7f7aa166
RD
27947 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27948 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27949 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27950 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27951 { (char *)"PyWindow_DoGetSize", (PyCFunction) _wrap_PyWindow_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27952 { (char *)"PyWindow_DoGetClientSize", (PyCFunction) _wrap_PyWindow_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27953 { (char *)"PyWindow_DoGetPosition", (PyCFunction) _wrap_PyWindow_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27954 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27955 { (char *)"PyWindow_DoGetBestSize", (PyCFunction) _wrap_PyWindow_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
27956 { (char *)"PyWindow_InitDialog", (PyCFunction) _wrap_PyWindow_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27957 { (char *)"PyWindow_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27958 { (char *)"PyWindow_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27959 { (char *)"PyWindow_Validate", (PyCFunction) _wrap_PyWindow_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
27960 { (char *)"PyWindow_AcceptsFocus", (PyCFunction) _wrap_PyWindow_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
27961 { (char *)"PyWindow_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
27962 { (char *)"PyWindow_GetMaxSize", (PyCFunction) _wrap_PyWindow_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
27963 { (char *)"PyWindow_AddChild", (PyCFunction) _wrap_PyWindow_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
27964 { (char *)"PyWindow_RemoveChild", (PyCFunction) _wrap_PyWindow_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
27965 { (char *)"PyWindow_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
27966 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27967 { (char *)"PyWindow_OnInternalIdle", (PyCFunction) _wrap_PyWindow_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
27968 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
27969 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
27970 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
27971 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27972 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
976dbff5 27973 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
7f7aa166
RD
27974 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27975 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27976 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27977 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27978 { (char *)"PyPanel_DoGetSize", (PyCFunction) _wrap_PyPanel_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27979 { (char *)"PyPanel_DoGetClientSize", (PyCFunction) _wrap_PyPanel_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27980 { (char *)"PyPanel_DoGetPosition", (PyCFunction) _wrap_PyPanel_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27981 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27982 { (char *)"PyPanel_DoGetBestSize", (PyCFunction) _wrap_PyPanel_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
27983 { (char *)"PyPanel_InitDialog", (PyCFunction) _wrap_PyPanel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27984 { (char *)"PyPanel_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27985 { (char *)"PyPanel_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27986 { (char *)"PyPanel_Validate", (PyCFunction) _wrap_PyPanel_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
27987 { (char *)"PyPanel_AcceptsFocus", (PyCFunction) _wrap_PyPanel_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
27988 { (char *)"PyPanel_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
27989 { (char *)"PyPanel_GetMaxSize", (PyCFunction) _wrap_PyPanel_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
27990 { (char *)"PyPanel_AddChild", (PyCFunction) _wrap_PyPanel_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
27991 { (char *)"PyPanel_RemoveChild", (PyCFunction) _wrap_PyPanel_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
27992 { (char *)"PyPanel_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
27993 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27994 { (char *)"PyPanel_OnInternalIdle", (PyCFunction) _wrap_PyPanel_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
27995 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
27996 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27997 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27998 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27999 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
976dbff5 28000 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
7f7aa166
RD
28001 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28002 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28003 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28004 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28005 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28006 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28007 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
28008 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28009 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28010 { (char *)"PyScrolledWindow_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28011 { (char *)"PyScrolledWindow_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28012 { (char *)"PyScrolledWindow_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28013 { (char *)"PyScrolledWindow_Validate", (PyCFunction) _wrap_PyScrolledWindow_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
28014 { (char *)"PyScrolledWindow_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
28015 { (char *)"PyScrolledWindow_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
28016 { (char *)"PyScrolledWindow_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
28017 { (char *)"PyScrolledWindow_AddChild", (PyCFunction) _wrap_PyScrolledWindow_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
28018 { (char *)"PyScrolledWindow_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
28019 { (char *)"PyScrolledWindow_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
28020 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
28021 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction) _wrap_PyScrolledWindow_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
28022 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
28023 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
28024 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28025 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28026 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28027 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28028 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28029 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
28030 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
28031 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
28032 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28033 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28034 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
28035 { (char *)"PrintData_GetBin", (PyCFunction) _wrap_PrintData_GetBin, METH_VARARGS | METH_KEYWORDS, NULL},
28036 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
28037 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28038 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28039 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28040 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
28041 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
28042 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
28043 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28044 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28045 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
28046 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
28047 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
28048 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
28049 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
7fbf8399
RD
28050 { (char *)"PrintData_GetPrivData", (PyCFunction) _wrap_PrintData_GetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
28051 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
28052 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
28053 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
28054 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28055 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28056 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28057 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28058 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
28059 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28060 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28061 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28062 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28063 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
28064 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28065 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28066 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28067 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28068 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28069 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28070 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28071 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28072 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28073 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28074 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28075 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28076 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28077 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28078 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28079 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28080 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28081 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28082 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28083 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
fef4c27a
RD
28084 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction) _wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28085 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction) _wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
28086 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
28087 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28088 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL},
28089 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28090 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
28091 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
28092 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
28093 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28094 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
28095 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
28096 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28097 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28098 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28099 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
28100 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28101 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28102 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
28103 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
28104 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
28105 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28106 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28107 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28108 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
28109 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28110 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28111 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28112 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28113 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28114 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
28115 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28116 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28117 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28118 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
28119 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28120 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28121 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28122 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28123 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
28124 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28125 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
28126 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28127 { (char *)"PrintDialog_GetPrintData", (PyCFunction) _wrap_PrintDialog_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28128 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS, NULL},
28129 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
28130 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
28131 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
28132 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28133 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
28134 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
28135 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28136 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28137 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28138 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS, NULL},
28139 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS, NULL},
28140 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
28141 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
28142 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28143 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
28144 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS, NULL},
28145 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
28146 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
28147 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
28148 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
28149 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
28150 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
28151 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
28152 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28153 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28154 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28155 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
7f7aa166
RD
28156 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
28157 { (char *)"Printout_OnEndDocument", (PyCFunction) _wrap_Printout_OnEndDocument, METH_VARARGS | METH_KEYWORDS, NULL},
28158 { (char *)"Printout_OnBeginPrinting", (PyCFunction) _wrap_Printout_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28159 { (char *)"Printout_OnEndPrinting", (PyCFunction) _wrap_Printout_OnEndPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28160 { (char *)"Printout_OnPreparePrinting", (PyCFunction) _wrap_Printout_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28161 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
28162 { (char *)"Printout_GetPageInfo", (PyCFunction) _wrap_Printout_GetPageInfo, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
28163 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
28164 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28165 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
28166 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28167 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
28168 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28169 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28170 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28171 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
28172 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28173 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28174 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28175 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28176 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS, NULL},
28177 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS, NULL},
28178 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS, NULL},
28179 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS, NULL},
28180 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS, NULL},
28181 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
28182 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
28183 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28184 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28185 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
28186 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
28187 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28188 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28189 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28190 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28191 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28192 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
28193 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
28194 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
28195 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
28196 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28197 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28198 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28199 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28200 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28201 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28202 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
28203 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28204 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL},
28205 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
28206 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
28207 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
7f7aa166
RD
28208 { (char *)"PyPrintPreview_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28209 { (char *)"PyPrintPreview_PaintPage", (PyCFunction) _wrap_PyPrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
28210 { (char *)"PyPrintPreview_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
28211 { (char *)"PyPrintPreview_RenderPage", (PyCFunction) _wrap_PyPrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
28212 { (char *)"PyPrintPreview_SetZoom", (PyCFunction) _wrap_PyPrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28213 { (char *)"PyPrintPreview_Print", (PyCFunction) _wrap_PyPrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28214 { (char *)"PyPrintPreview_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
28215 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
28216 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28217 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28218 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28219 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
7f7aa166
RD
28220 { (char *)"PyPreviewFrame_Initialize", (PyCFunction) _wrap_PyPreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
28221 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28222 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
28223 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
28224 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28225 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28226 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
7f7aa166
RD
28227 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_CreateButtons, METH_VARARGS | METH_KEYWORDS, NULL},
28228 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 28229 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
c370783e 28230 { NULL, NULL, 0, NULL }
d55e5bfc
RD
28231};
28232
28233
28234/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28235
28236static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
28237 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28238}
28239static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
28240 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
28241}
28242static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
28243 return (void *)((wxEvent *) ((wxMenuEvent *) x));
28244}
28245static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
28246 return (void *)((wxEvent *) ((wxCloseEvent *) x));
28247}
28248static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
28249 return (void *)((wxEvent *) ((wxMouseEvent *) x));
28250}
28251static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
28252 return (void *)((wxEvent *) ((wxEraseEvent *) x));
28253}
28254static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
28255 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
28256}
28257static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
28258 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
28259}
28260static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
28261 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
28262}
28263static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
28264 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
28265}
28266static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
28267 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
28268}
28269static void *_p_wxPyEventTo_p_wxEvent(void *x) {
28270 return (void *)((wxEvent *) ((wxPyEvent *) x));
28271}
28272static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
28273 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
28274}
28275static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
28276 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
28277}
28278static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
28279 return (void *)((wxEvent *) ((wxIdleEvent *) x));
28280}
28281static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
28282 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
28283}
28284static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
28285 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
28286}
28287static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
28288 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
28289}
28290static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
28291 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
28292}
28293static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
28294 return (void *)((wxEvent *) ((wxActivateEvent *) x));
28295}
28296static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
28297 return (void *)((wxEvent *) ((wxSizeEvent *) x));
28298}
28299static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
28300 return (void *)((wxEvent *) ((wxMoveEvent *) x));
28301}
53aa7709
RD
28302static void *_p_wxDateEventTo_p_wxEvent(void *x) {
28303 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
28304}
d55e5bfc
RD
28305static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
28306 return (void *)((wxEvent *) ((wxPaintEvent *) x));
28307}
28308static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
28309 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
28310}
28311static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
28312 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
28313}
28314static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
28315 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
28316}
28317static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
28318 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
28319}
28320static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
28321 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
28322}
28323static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
28324 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
28325}
28326static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
28327 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
28328}
28329static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
28330 return (void *)((wxEvent *) ((wxFocusEvent *) x));
28331}
28332static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
28333 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
28334}
28335static void *_p_wxSashEventTo_p_wxEvent(void *x) {
28336 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
28337}
28338static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
28339 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
28340}
28341static void *_p_wxShowEventTo_p_wxEvent(void *x) {
28342 return (void *)((wxEvent *) ((wxShowEvent *) x));
28343}
28344static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
28345 return (void *)((wxEvent *) ((wxCommandEvent *) x));
28346}
28347static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
28348 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
28349}
28350static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
28351 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28352}
28353static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
28354 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
28355}
28356static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
28357 return (void *)((wxEvent *) ((wxKeyEvent *) x));
28358}
28359static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
28360 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
28361}
28362static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
28363 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
28364}
28365static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
28366 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
28367}
070c48b4
RD
28368static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
28369 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28370}
d55e5bfc
RD
28371static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
28372 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
28373}
28374static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
28375 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
28376}
28377static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
28378 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
28379}
28380static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
28381 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
28382}
28383static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
28384 return (void *)((wxEvtHandler *) ((wxValidator *) x));
28385}
28386static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
28387 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
28388}
28389static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
28390 return (void *)((wxEvtHandler *) ((wxMenu *) x));
28391}
070c48b4
RD
28392static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
28393 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28394}
d55e5bfc
RD
28395static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
28396 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
28397}
28398static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
28399 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
28400}
28401static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
28402 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
28403}
28404static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
28405 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
28406}
28407static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
28408 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
28409}
28410static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
28411 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
28412}
28413static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
28414 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
28415}
28416static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
28417 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
28418}
28419static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
28420 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
28421}
28422static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
28423 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
28424}
28425static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
28426 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
28427}
28428static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
28429 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28430}
28431static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
28432 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
28433}
28434static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
28435 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
28436}
28437static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
28438 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
28439}
28440static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
28441 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
28442}
28443static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
28444 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
28445}
28446static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
28447 return (void *)((wxEvtHandler *) ((wxWindow *) x));
28448}
28449static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
28450 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
28451}
28452static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
28453 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
28454}
28455static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
28456 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
28457}
28458static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
28459 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
28460}
28461static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
28462 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
28463}
28464static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
28465 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
28466}
28467static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
28468 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28469}
28470static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
28471 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
28472}
28473static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
28474 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
28475}
28476static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
28477 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
28478}
28479static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
28480 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
28481}
28482static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
28483 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
28484}
28485static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
28486 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
28487}
28488static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
28489 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28490}
28491static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
28492 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
28493}
28494static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
28495 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
28496}
5e483524
RD
28497static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
28498 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d55e5bfc
RD
28499}
28500static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
28501 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
28502}
d55e5bfc
RD
28503static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
28504 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
28505}
28506static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
28507 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
28508}
28509static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
28510 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
28511}
070c48b4
RD
28512static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
28513 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
28514}
d55e5bfc
RD
28515static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
28516 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
28517}
28518static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
28519 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
28520}
28521static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
28522 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
28523}
28524static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
28525 return (void *)((wxFrame *) ((wxProgressDialog *) x));
28526}
28527static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
28528 return (void *)((wxFrame *) ((wxTipWindow *) x));
28529}
28530static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
28531 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
28532}
28533static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
28534 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28535}
28536static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
28537 return (void *)((wxFrame *) ((wxMiniFrame *) x));
28538}
28539static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
28540 return (void *)((wxFrame *) ((wxSplashScreen *) x));
28541}
28542static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
28543 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
28544}
28545static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
28546 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
28547}
28548static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
28549 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
28550}
28551static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
28552 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
28553}
28554static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
28555 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28556}
28557static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
28558 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
28559}
28560static void *_p_wxSizerItemTo_p_wxObject(void *x) {
28561 return (void *)((wxObject *) ((wxSizerItem *) x));
28562}
28563static void *_p_wxScrollEventTo_p_wxObject(void *x) {
28564 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
28565}
28566static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
28567 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
28568}
28569static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
28570 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
28571}
28572static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
28573 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
28574}
28575static void *_p_wxSizerTo_p_wxObject(void *x) {
28576 return (void *)((wxObject *) ((wxSizer *) x));
28577}
28578static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
28579 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
28580}
28581static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
28582 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
28583}
28584static void *_p_wxPyPanelTo_p_wxObject(void *x) {
28585 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
28586}
28587static void *_p_wxEventTo_p_wxObject(void *x) {
28588 return (void *)((wxObject *) ((wxEvent *) x));
28589}
28590static void *_p_wxFontDataTo_p_wxObject(void *x) {
28591 return (void *)((wxObject *) ((wxFontData *) x));
28592}
28593static void *_p_wxPrintDataTo_p_wxObject(void *x) {
28594 return (void *)((wxObject *) ((wxPrintData *) x));
28595}
28596static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
28597 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
28598}
28599static void *_p_wxGridSizerTo_p_wxObject(void *x) {
28600 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
28601}
28602static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
28603 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
28604}
28605static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
28606 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
28607}
5e483524
RD
28608static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
28609 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d55e5bfc
RD
28610}
28611static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
28612 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
28613}
28614static void *_p_wxPaintEventTo_p_wxObject(void *x) {
28615 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
28616}
28617static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
28618 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
28619}
28620static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
28621 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
28622}
28623static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
28624 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
28625}
28626static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
28627 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
28628}
28629static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
28630 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
28631}
28632static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
28633 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
28634}
28635static void *_p_wxControlTo_p_wxObject(void *x) {
28636 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
28637}
28638static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
28639 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
28640}
28641static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
28642 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
28643}
28644static void *_p_wxFSFileTo_p_wxObject(void *x) {
28645 return (void *)((wxObject *) ((wxFSFile *) x));
28646}
28647static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
28648 return (void *)((wxObject *) ((wxFindReplaceData *) x));
28649}
28650static void *_p_wxPySizerTo_p_wxObject(void *x) {
28651 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
28652}
28653static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
28654 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
28655}
28656static void *_p_wxColourDataTo_p_wxObject(void *x) {
28657 return (void *)((wxObject *) ((wxColourData *) x));
28658}
28659static void *_p_wxPyEventTo_p_wxObject(void *x) {
28660 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
28661}
28662static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
28663 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
28664}
28665static void *_p_wxPyWindowTo_p_wxObject(void *x) {
28666 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
28667}
28668static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
28669 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
28670}
28671static void *_p_wxFileDialogTo_p_wxObject(void *x) {
28672 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
28673}
28674static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
28675 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
28676}
28677static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
28678 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
28679}
28680static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
28681 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
28682}
070c48b4
RD
28683static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
28684 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28685}
d55e5bfc
RD
28686static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
28687 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
28688}
28689static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
28690 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
28691}
28692static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
28693 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
28694}
28695static void *_p_wxShowEventTo_p_wxObject(void *x) {
28696 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
28697}
28698static void *_p_wxPrinterTo_p_wxObject(void *x) {
28699 return (void *)((wxObject *) ((wxPrinter *) x));
28700}
28701static void *_p_wxMenuItemTo_p_wxObject(void *x) {
28702 return (void *)((wxObject *) ((wxMenuItem *) x));
28703}
53aa7709
RD
28704static void *_p_wxDateEventTo_p_wxObject(void *x) {
28705 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
28706}
d55e5bfc
RD
28707static void *_p_wxIdleEventTo_p_wxObject(void *x) {
28708 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
28709}
28710static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
28711 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
28712}
28713static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
28714 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
28715}
28716static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
28717 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
28718}
28719static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
28720 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
28721}
28722static void *_p_wxSizeEventTo_p_wxObject(void *x) {
28723 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
28724}
28725static void *_p_wxMoveEventTo_p_wxObject(void *x) {
28726 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
28727}
28728static void *_p_wxActivateEventTo_p_wxObject(void *x) {
28729 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
28730}
d55e5bfc
RD
28731static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
28732 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
28733}
28734static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
28735 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
28736}
28737static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
28738 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
28739}
28740static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
28741 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
28742}
28743static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
28744 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
28745}
28746static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
28747 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
28748}
28749static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
28750 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
28751}
28752static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
28753 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
28754}
28755static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
28756 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
28757}
943e8dfd
RD
28758static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
28759 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
28760}
d55e5bfc
RD
28761static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
28762 return (void *)((wxObject *) ((wxImageHandler *) x));
28763}
943e8dfd
RD
28764static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
28765 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
28766}
d55e5bfc
RD
28767static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
28768 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
28769}
28770static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
28771 return (void *)((wxObject *) ((wxEvtHandler *) x));
28772}
28773static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
28774 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
28775}
28776static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
28777 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28778}
28779static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
28780 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
28781}
62d32a5f
RD
28782static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
28783 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
28784}
d55e5bfc
RD
28785static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
28786 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
28787}
28788static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
28789 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
28790}
28791static void *_p_wxImageTo_p_wxObject(void *x) {
28792 return (void *)((wxObject *) ((wxImage *) x));
28793}
28794static void *_p_wxFrameTo_p_wxObject(void *x) {
28795 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
28796}
28797static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
28798 return (void *)((wxObject *) ((wxPyPrintout *) x));
28799}
28800static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
28801 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
28802}
28803static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
28804 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
28805}
28806static void *_p_wxStatusBarTo_p_wxObject(void *x) {
28807 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
28808}
28809static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
28810 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
28811}
28812static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
28813 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28814}
28815static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
28816 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
28817}
28818static void *_p_wxKeyEventTo_p_wxObject(void *x) {
28819 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
28820}
28821static void *_p_wxWindowTo_p_wxObject(void *x) {
28822 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
28823}
28824static void *_p_wxMenuTo_p_wxObject(void *x) {
28825 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
28826}
28827static void *_p_wxMenuBarTo_p_wxObject(void *x) {
28828 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
28829}
28830static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
28831 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
28832}
28833static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
28834 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
28835}
28836static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
28837 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
28838}
28839static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
28840 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
28841}
28842static void *_p_wxSashWindowTo_p_wxObject(void *x) {
28843 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
28844}
28845static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
28846 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
28847}
28848static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
28849 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
28850}
28851static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
28852 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28853}
28854static void *_p_wxTipWindowTo_p_wxObject(void *x) {
28855 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
28856}
28857static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
28858 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
28859}
28860static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
28861 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
28862}
28863static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
28864 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
28865}
28866static void *_p_wxSashEventTo_p_wxObject(void *x) {
28867 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
28868}
28869static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
28870 return (void *)((wxObject *) ((wxPrintPreview *) x));
28871}
28872static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
28873 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
28874}
28875static void *_p_wxPanelTo_p_wxObject(void *x) {
28876 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
28877}
28878static void *_p_wxDialogTo_p_wxObject(void *x) {
28879 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
28880}
28881static void *_p_wxColourDialogTo_p_wxObject(void *x) {
28882 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
28883}
28884static void *_p_wxDirDialogTo_p_wxObject(void *x) {
28885 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
28886}
28887static void *_p_wxFontDialogTo_p_wxObject(void *x) {
28888 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
28889}
28890static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
6e0de3df 28891 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
d55e5bfc
RD
28892}
28893static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
070c48b4 28894 return (void *)((wxObject *) ((wxPrintDialog *) x));
d55e5bfc
RD
28895}
28896static void *_p_wxFileSystemTo_p_wxObject(void *x) {
28897 return (void *)((wxObject *) ((wxFileSystem *) x));
28898}
28899static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
28900 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
28901}
28902static void *_p_wxMenuEventTo_p_wxObject(void *x) {
28903 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
28904}
28905static void *_p_wxPyAppTo_p_wxObject(void *x) {
28906 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
28907}
28908static void *_p_wxCloseEventTo_p_wxObject(void *x) {
28909 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
28910}
28911static void *_p_wxMouseEventTo_p_wxObject(void *x) {
28912 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
28913}
28914static void *_p_wxEraseEventTo_p_wxObject(void *x) {
28915 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
28916}
28917static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
28918 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
28919}
28920static void *_p_wxCommandEventTo_p_wxObject(void *x) {
28921 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
28922}
28923static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
28924 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
28925}
28926static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
28927 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
28928}
28929static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
28930 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
28931}
28932static void *_p_wxFocusEventTo_p_wxObject(void *x) {
28933 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
28934}
28935static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
28936 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
28937}
28938static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
28939 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
28940}
28941static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
28942 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
28943}
28944static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
28945 return (void *)((wxObject *) ((wxPrintDialogData *) x));
28946}
28947static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
28948 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
28949}
28950static void *_p_wxValidatorTo_p_wxObject(void *x) {
28951 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
28952}
28953static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
28954 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28955}
28956static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
28957 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
28958}
28959static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
28960 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28961}
28962static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
28963 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
28964}
28965static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
28966 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
28967}
28968static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
28969 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
28970}
28971static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
28972 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
28973}
28974static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
28975 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
28976}
28977static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
28978 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
28979}
28980static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
28981 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
28982}
d55e5bfc
RD
28983static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
28984 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
28985}
28986static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
28987 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
28988}
28989static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
28990 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
28991}
28992static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
28993 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
28994}
d55e5bfc
RD
28995static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
28996 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
28997}
070c48b4
RD
28998static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
28999 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
29000}
d55e5bfc
RD
29001static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
29002 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
29003}
29004static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
29005 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
29006}
29007static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
29008 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
29009}
29010static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
29011 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
29012}
070c48b4
RD
29013static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
29014 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
29015}
d55e5bfc
RD
29016static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
29017 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
29018}
29019static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
29020 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
29021}
29022static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
29023 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
29024}
29025static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
29026 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
29027}
29028static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
29029 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
29030}
29031static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
29032 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
29033}
29034static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
29035 return (void *)((wxWindow *) ((wxMenuBar *) x));
29036}
29037static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
29038 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
29039}
29040static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
29041 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
29042}
29043static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
29044 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
29045}
070c48b4
RD
29046static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
29047 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
29048}
d55e5bfc
RD
29049static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
29050 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
29051}
29052static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
29053 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
29054}
29055static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
29056 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
29057}
29058static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
29059 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
29060}
29061static void *_p_wxPanelTo_p_wxWindow(void *x) {
29062 return (void *)((wxWindow *) ((wxPanel *) x));
29063}
29064static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
29065 return (void *)((wxWindow *) ((wxStatusBar *) x));
29066}
d55e5bfc
RD
29067static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
29068 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
29069}
29070static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
29071 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
29072}
29073static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
29074 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
29075}
29076static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
29077 return (void *)((wxWindow *) ((wxPopupWindow *) x));
29078}
29079static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
29080 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
29081}
29082static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
29083 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
29084}
29085static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
29086 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
29087}
29088static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
29089 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
29090}
29091static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
29092 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
29093}
29094static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
29095 return (void *)((wxWindow *) ((wxSashWindow *) x));
29096}
070c48b4
RD
29097static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
29098 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
29099}
d55e5bfc
RD
29100static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
29101 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29102}
29103static void *_p_wxControlTo_p_wxWindow(void *x) {
29104 return (void *)((wxWindow *) ((wxControl *) x));
29105}
29106static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
29107 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
29108}
29109static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
29110 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
29111}
29112static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
29113 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
29114}
29115static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
29116 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
29117}
29118static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
29119 return (void *)((wxWindow *) ((wxPyWindow *) x));
29120}
29121static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
29122 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
29123}
29124static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
29125 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
29126}
29127static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
29128 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29129}
29130static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
29131 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
29132}
29133static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
29134 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29135}
29136static void *_p_wxFrameTo_p_wxWindow(void *x) {
29137 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
29138}
29139static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
29140 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
29141}
29142static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
29143 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
29144}
29145static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
29146 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
29147}
29148static void *_p_wxDialogTo_p_wxWindow(void *x) {
29149 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
29150}
d55e5bfc
RD
29151static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
29152 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
29153}
29154static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
29155 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29156}
29157static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
29158 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
29159}
29160static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
29161 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
29162}
29163static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
29164 return (void *)((wxDialog *) ((wxColourDialog *) x));
29165}
29166static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
29167 return (void *)((wxDialog *) ((wxDirDialog *) x));
29168}
29169static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
29170 return (void *)((wxDialog *) ((wxFontDialog *) x));
29171}
d55e5bfc
RD
29172static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
29173 return (void *)((wxDialog *) ((wxFileDialog *) x));
29174}
29175static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
29176 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
29177}
29178static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
29179 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
29180}
29181static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
29182 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
29183}
070c48b4
RD
29184static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
29185 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
29186}
d55e5bfc
RD
29187static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
29188 return (void *)((wxDialog *) ((wxMessageDialog *) x));
29189}
29190static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
29191 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
29192}
29193static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
29194 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
29195}
29196static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
29197 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
29198}
29199static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
29200 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29201}
29202static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
29203 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29204}
29205static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
29206 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
29207}
29208static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
29209 return (void *)((wxPanel *) ((wxPyPanel *) x));
29210}
29211static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
29212 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
29213}
29214static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
29215 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
29216}
29217static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
29218 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29219}
29220static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
29221 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
29222}
29223static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
29224 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
29225}
29226static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
29227 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
29228}
53aa7709
RD
29229static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
29230 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
29231}
d55e5bfc
RD
29232static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
29233 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
29234}
29235static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
29236 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
29237}
29238static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
29239 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
29240}
29241static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
29242 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
29243}
29244static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
29245 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
29246}
29247static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
29248 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
29249}
29250static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
29251 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
29252}
29253static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
29254 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
29255}
29256static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
29257 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29258}
32fe5131
RD
29259static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, 0};
29260static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
29261static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, 0};
29262static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
29263static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
29264static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0};
29265static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, 0};
29266static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
29267static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, 0};
29268static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0};
29269static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, 0};
29270static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, 0};
29271static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0};
29272static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0};
29273static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0};
29274static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
29275static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0};
29276static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
29277static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
29278static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0};
29279static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0};
29280static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, 0};
29281static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, 0};
29282static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, 0};
29283static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
29284static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, 0};
29285static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0};
29286static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0};
29287static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0};
29288static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0};
29289static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0};
29290static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0};
29291static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0};
29292static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0};
29293static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
29294static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0};
29295static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0};
29296static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0};
29297static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0};
29298static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0};
29299static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0};
29300static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0};
29301static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
29302static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
29303static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
29304static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
29305static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0};
29306static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0};
29307static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0};
29308static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
29309static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0};
29310static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
29311static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0};
29312static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0};
29313static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0};
29314static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0};
29315static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0};
29316static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, 0};
29317static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, 0};
29318static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, 0};
29319static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, 0};
29320static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, 0};
29321static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, 0};
29322static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, 0};
29323static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, 0};
29324static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, 0};
29325static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, 0};
29326static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, 0};
29327static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, 0};
29328static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, 0};
29329static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, 0};
29330static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, 0};
29331static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, 0};
29332static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, 0};
29333static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, 0};
29334static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, 0};
29335static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, 0};
29336static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, 0};
29337static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, 0};
29338static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0};
29339static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0};
29340static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0};
29341static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
29342static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
29343static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0};
29344static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0};
29345static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0};
29346static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0};
29347static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0};
29348static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0};
29349static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0};
29350static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0};
29351static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0};
29352static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0};
29353static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0};
29354static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0};
29355static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0};
29356static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0};
29357static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0};
29358static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0};
29359static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0};
29360static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0};
29361static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0};
29362static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0};
29363static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0};
29364static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0};
29365static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0};
29366static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, 0};
29367static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, 0};
29368static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, 0};
29369static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
29370static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, 0};
29371static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, 0};
29372static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, 0};
29373static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, 0};
29374static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, 0};
29375static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, 0};
29376static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, 0};
29377static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, 0};
29378static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, 0};
29379static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, 0};
29380static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, 0};
29381static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, 0};
29382static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, 0};
29383static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, 0};
29384static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, 0};
29385static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, 0};
29386static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, 0};
29387static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, 0};
29388static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, 0};
29389static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, 0};
29390static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, 0};
29391static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, 0};
29392static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, 0};
29393static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, 0};
29394static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, 0};
29395static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, 0};
29396static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, 0};
29397static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, 0};
29398static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, 0};
29399static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, 0};
29400static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, 0};
29401static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, 0};
29402static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, 0};
29403static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, 0};
29404static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, 0};
29405static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, 0};
29406static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, 0};
29407static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, 0};
29408static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, 0};
29409static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, 0};
29410static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, 0};
29411static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, 0};
29412static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, 0};
29413static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, 0};
29414static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, 0};
29415static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, 0};
29416static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, 0};
29417static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, 0};
29418static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, 0};
29419static swig_type_info _swigt__ptrdiff_t = {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
29420static swig_type_info _swigt__std__ptrdiff_t = {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
29421static swig_type_info _swigt__unsigned_int = {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
29422
29423static swig_type_info *swig_type_initial[] = {
29424 &_swigt__p_char,
29425 &_swigt__p_form_ops_t,
29426 &_swigt__p_int,
29427 &_swigt__p_unsigned_char,
29428 &_swigt__p_unsigned_int,
29429 &_swigt__p_unsigned_long,
29430 &_swigt__p_wxANIHandler,
29431 &_swigt__p_wxAcceleratorTable,
29432 &_swigt__p_wxActivateEvent,
29433 &_swigt__p_wxArrayInt,
29434 &_swigt__p_wxBMPHandler,
29435 &_swigt__p_wxBitmap,
29436 &_swigt__p_wxBoxSizer,
29437 &_swigt__p_wxCURHandler,
29438 &_swigt__p_wxCalculateLayoutEvent,
29439 &_swigt__p_wxChildFocusEvent,
29440 &_swigt__p_wxCloseEvent,
29441 &_swigt__p_wxColour,
29442 &_swigt__p_wxColourData,
29443 &_swigt__p_wxColourDialog,
29444 &_swigt__p_wxCommandEvent,
29445 &_swigt__p_wxContextMenuEvent,
29446 &_swigt__p_wxControl,
29447 &_swigt__p_wxControlWithItems,
29448 &_swigt__p_wxDC,
29449 &_swigt__p_wxDateEvent,
29450 &_swigt__p_wxDialog,
29451 &_swigt__p_wxDirDialog,
29452 &_swigt__p_wxDisplayChangedEvent,
29453 &_swigt__p_wxDropFilesEvent,
29454 &_swigt__p_wxDuplexMode,
29455 &_swigt__p_wxEraseEvent,
29456 &_swigt__p_wxEvent,
29457 &_swigt__p_wxEvtHandler,
29458 &_swigt__p_wxFSFile,
29459 &_swigt__p_wxFileDialog,
29460 &_swigt__p_wxFileSystem,
29461 &_swigt__p_wxFindDialogEvent,
29462 &_swigt__p_wxFindReplaceData,
29463 &_swigt__p_wxFindReplaceDialog,
29464 &_swigt__p_wxFlexGridSizer,
29465 &_swigt__p_wxFocusEvent,
29466 &_swigt__p_wxFont,
29467 &_swigt__p_wxFontData,
29468 &_swigt__p_wxFontDialog,
29469 &_swigt__p_wxFrame,
29470 &_swigt__p_wxGBSizerItem,
29471 &_swigt__p_wxGIFHandler,
29472 &_swigt__p_wxGridBagSizer,
29473 &_swigt__p_wxGridSizer,
29474 &_swigt__p_wxICOHandler,
29475 &_swigt__p_wxIcon,
29476 &_swigt__p_wxIconBundle,
29477 &_swigt__p_wxIconizeEvent,
29478 &_swigt__p_wxIdleEvent,
29479 &_swigt__p_wxImage,
29480 &_swigt__p_wxImageHandler,
29481 &_swigt__p_wxIndividualLayoutConstraint,
29482 &_swigt__p_wxInitDialogEvent,
29483 &_swigt__p_wxJPEGHandler,
29484 &_swigt__p_wxKeyEvent,
29485 &_swigt__p_wxLayoutAlgorithm,
29486 &_swigt__p_wxLayoutConstraints,
29487 &_swigt__p_wxMDIChildFrame,
29488 &_swigt__p_wxMDIClientWindow,
29489 &_swigt__p_wxMDIParentFrame,
29490 &_swigt__p_wxMaximizeEvent,
29491 &_swigt__p_wxMenu,
29492 &_swigt__p_wxMenuBar,
29493 &_swigt__p_wxMenuEvent,
29494 &_swigt__p_wxMenuItem,
29495 &_swigt__p_wxMessageDialog,
29496 &_swigt__p_wxMiniFrame,
29497 &_swigt__p_wxMouseCaptureChangedEvent,
29498 &_swigt__p_wxMouseEvent,
29499 &_swigt__p_wxMoveEvent,
29500 &_swigt__p_wxMultiChoiceDialog,
29501 &_swigt__p_wxNavigationKeyEvent,
29502 &_swigt__p_wxNcPaintEvent,
29503 &_swigt__p_wxNotifyEvent,
29504 &_swigt__p_wxObject,
29505 &_swigt__p_wxPCXHandler,
29506 &_swigt__p_wxPNGHandler,
29507 &_swigt__p_wxPNMHandler,
29508 &_swigt__p_wxPageSetupDialog,
29509 &_swigt__p_wxPageSetupDialogData,
29510 &_swigt__p_wxPaintEvent,
29511 &_swigt__p_wxPaletteChangedEvent,
29512 &_swigt__p_wxPanel,
29513 &_swigt__p_wxPaperSize,
29514 &_swigt__p_wxPasswordEntryDialog,
29515 &_swigt__p_wxPoint,
29516 &_swigt__p_wxPopupWindow,
29517 &_swigt__p_wxPreviewCanvas,
29518 &_swigt__p_wxPreviewControlBar,
29519 &_swigt__p_wxPreviewFrame,
29520 &_swigt__p_wxPrintData,
29521 &_swigt__p_wxPrintDialog,
29522 &_swigt__p_wxPrintDialogData,
29523 &_swigt__p_wxPrintPreview,
29524 &_swigt__p_wxPrinter,
29525 &_swigt__p_wxProgressDialog,
29526 &_swigt__p_wxPyApp,
29527 &_swigt__p_wxPyCommandEvent,
29528 &_swigt__p_wxPyEvent,
29529 &_swigt__p_wxPyHtmlListBox,
29530 &_swigt__p_wxPyImageHandler,
29531 &_swigt__p_wxPyPanel,
29532 &_swigt__p_wxPyPopupTransientWindow,
29533 &_swigt__p_wxPyPreviewControlBar,
29534 &_swigt__p_wxPyPreviewFrame,
29535 &_swigt__p_wxPyPrintPreview,
29536 &_swigt__p_wxPyPrintout,
29537 &_swigt__p_wxPyScrolledWindow,
29538 &_swigt__p_wxPySizer,
29539 &_swigt__p_wxPyTaskBarIcon,
29540 &_swigt__p_wxPyVListBox,
29541 &_swigt__p_wxPyVScrolledWindow,
29542 &_swigt__p_wxPyValidator,
29543 &_swigt__p_wxPyWindow,
29544 &_swigt__p_wxQueryLayoutInfoEvent,
29545 &_swigt__p_wxQueryNewPaletteEvent,
29546 &_swigt__p_wxRect,
29547 &_swigt__p_wxRegion,
29548 &_swigt__p_wxSashEvent,
29549 &_swigt__p_wxSashLayoutWindow,
29550 &_swigt__p_wxSashWindow,
29551 &_swigt__p_wxScrollEvent,
29552 &_swigt__p_wxScrollWinEvent,
29553 &_swigt__p_wxScrolledWindow,
29554 &_swigt__p_wxSetCursorEvent,
29555 &_swigt__p_wxShowEvent,
29556 &_swigt__p_wxSingleChoiceDialog,
29557 &_swigt__p_wxSize,
29558 &_swigt__p_wxSizeEvent,
29559 &_swigt__p_wxSizer,
29560 &_swigt__p_wxSizerItem,
29561 &_swigt__p_wxSplashScreen,
29562 &_swigt__p_wxSplashScreenWindow,
29563 &_swigt__p_wxSplitterEvent,
29564 &_swigt__p_wxSplitterWindow,
29565 &_swigt__p_wxStaticBoxSizer,
29566 &_swigt__p_wxStatusBar,
29567 &_swigt__p_wxStdDialogButtonSizer,
29568 &_swigt__p_wxString,
29569 &_swigt__p_wxSysColourChangedEvent,
29570 &_swigt__p_wxTIFFHandler,
29571 &_swigt__p_wxTaskBarIcon,
29572 &_swigt__p_wxTaskBarIconEvent,
29573 &_swigt__p_wxTextEntryDialog,
29574 &_swigt__p_wxTipWindow,
29575 &_swigt__p_wxToolBar,
29576 &_swigt__p_wxTopLevelWindow,
29577 &_swigt__p_wxUpdateUIEvent,
29578 &_swigt__p_wxValidator,
29579 &_swigt__p_wxVisualAttributes,
29580 &_swigt__p_wxWindow,
29581 &_swigt__p_wxWindowCreateEvent,
29582 &_swigt__p_wxWindowDestroyEvent,
29583 &_swigt__p_wxXPMHandler,
29584 &_swigt__ptrdiff_t,
29585 &_swigt__std__ptrdiff_t,
29586 &_swigt__unsigned_int,
29587};
29588
29589static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
29590static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
29591static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
29592static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
29593static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
29594static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
29595static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
29596static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
29597static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
29598static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
29599static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
29600static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
29601static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
29602static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
29603static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
29604static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
29605static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
29606static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
29607static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
29608static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
29609static 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}};
29610static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
29611static 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}};
29612static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
29613static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
29614static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
29615static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
29616static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
29617static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
29618static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
29619static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
29620static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
29621static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
29622static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
29623static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
29624static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
29625static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
29626static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
29627static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
29628static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
29629static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
29630static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
29631static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
29632static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
29633static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
29634static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
29635static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
29636static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
29637static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
29638static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
29639static 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}};
29640static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
29641static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
29642static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
29643static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
29644static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
29645static 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}};
29646static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
29647static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
29648static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
29649static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
29650static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
29651static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
29652static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
29653static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
29654static 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}};
29655static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
29656static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
29657static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
29658static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
29659static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
29660static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
29661static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
29662static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
29663static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
29664static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
29665static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
29666static 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}};
29667static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
29668static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
29669static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
29670static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
29671static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
29672static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
29673static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
29674static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
29675static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
29676static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
29677static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
29678static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
29679static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
29680static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
29681static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
29682static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
29683static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
29684static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
29685static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
29686static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
29687static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
29688static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
29689static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
29690static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
29691static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
29692static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
29693static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
29694static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
29695static 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}};
29696static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
29697static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
29698static 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}};
29699static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
29700static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
29701static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
29702static 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}};
29703static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
29704static 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}};
29705static 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}};
29706static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
29707static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
29708static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
29709static 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}};
29710static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
29711static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
29712static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
29713static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
29714static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = { {&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
29715static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
29716static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
29717static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
29718static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
29719static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
29720static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
29721static 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}};
29722static 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}};
29723static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
29724static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
29725static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
29726static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
29727static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
29728static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
29729static 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}};
29730static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
29731static 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}};
29732static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
29733static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
29734static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
29735static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
29736static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
29737static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
29738static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
29739static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
29740static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
29741static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
29742static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
29743static 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}};
29744static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
29745static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
29746static 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}};
29747static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
29748static 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}};
29749static swig_cast_info _swigc__ptrdiff_t[] = { {&_swigt__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
29750static swig_cast_info _swigc__std__ptrdiff_t[] = { {&_swigt__std__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
29751static swig_cast_info _swigc__unsigned_int[] = { {&_swigt__unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
29752
29753static swig_cast_info *swig_cast_initial[] = {
29754 _swigc__p_char,
29755 _swigc__p_form_ops_t,
29756 _swigc__p_int,
29757 _swigc__p_unsigned_char,
29758 _swigc__p_unsigned_int,
29759 _swigc__p_unsigned_long,
29760 _swigc__p_wxANIHandler,
29761 _swigc__p_wxAcceleratorTable,
29762 _swigc__p_wxActivateEvent,
29763 _swigc__p_wxArrayInt,
29764 _swigc__p_wxBMPHandler,
29765 _swigc__p_wxBitmap,
29766 _swigc__p_wxBoxSizer,
29767 _swigc__p_wxCURHandler,
29768 _swigc__p_wxCalculateLayoutEvent,
29769 _swigc__p_wxChildFocusEvent,
29770 _swigc__p_wxCloseEvent,
29771 _swigc__p_wxColour,
29772 _swigc__p_wxColourData,
29773 _swigc__p_wxColourDialog,
29774 _swigc__p_wxCommandEvent,
29775 _swigc__p_wxContextMenuEvent,
29776 _swigc__p_wxControl,
29777 _swigc__p_wxControlWithItems,
29778 _swigc__p_wxDC,
29779 _swigc__p_wxDateEvent,
29780 _swigc__p_wxDialog,
29781 _swigc__p_wxDirDialog,
29782 _swigc__p_wxDisplayChangedEvent,
29783 _swigc__p_wxDropFilesEvent,
29784 _swigc__p_wxDuplexMode,
29785 _swigc__p_wxEraseEvent,
29786 _swigc__p_wxEvent,
29787 _swigc__p_wxEvtHandler,
29788 _swigc__p_wxFSFile,
29789 _swigc__p_wxFileDialog,
29790 _swigc__p_wxFileSystem,
29791 _swigc__p_wxFindDialogEvent,
29792 _swigc__p_wxFindReplaceData,
29793 _swigc__p_wxFindReplaceDialog,
29794 _swigc__p_wxFlexGridSizer,
29795 _swigc__p_wxFocusEvent,
29796 _swigc__p_wxFont,
29797 _swigc__p_wxFontData,
29798 _swigc__p_wxFontDialog,
29799 _swigc__p_wxFrame,
29800 _swigc__p_wxGBSizerItem,
29801 _swigc__p_wxGIFHandler,
29802 _swigc__p_wxGridBagSizer,
29803 _swigc__p_wxGridSizer,
29804 _swigc__p_wxICOHandler,
29805 _swigc__p_wxIcon,
29806 _swigc__p_wxIconBundle,
29807 _swigc__p_wxIconizeEvent,
29808 _swigc__p_wxIdleEvent,
29809 _swigc__p_wxImage,
29810 _swigc__p_wxImageHandler,
29811 _swigc__p_wxIndividualLayoutConstraint,
29812 _swigc__p_wxInitDialogEvent,
29813 _swigc__p_wxJPEGHandler,
29814 _swigc__p_wxKeyEvent,
29815 _swigc__p_wxLayoutAlgorithm,
29816 _swigc__p_wxLayoutConstraints,
29817 _swigc__p_wxMDIChildFrame,
29818 _swigc__p_wxMDIClientWindow,
29819 _swigc__p_wxMDIParentFrame,
29820 _swigc__p_wxMaximizeEvent,
29821 _swigc__p_wxMenu,
29822 _swigc__p_wxMenuBar,
29823 _swigc__p_wxMenuEvent,
29824 _swigc__p_wxMenuItem,
29825 _swigc__p_wxMessageDialog,
29826 _swigc__p_wxMiniFrame,
29827 _swigc__p_wxMouseCaptureChangedEvent,
29828 _swigc__p_wxMouseEvent,
29829 _swigc__p_wxMoveEvent,
29830 _swigc__p_wxMultiChoiceDialog,
29831 _swigc__p_wxNavigationKeyEvent,
29832 _swigc__p_wxNcPaintEvent,
29833 _swigc__p_wxNotifyEvent,
29834 _swigc__p_wxObject,
29835 _swigc__p_wxPCXHandler,
29836 _swigc__p_wxPNGHandler,
29837 _swigc__p_wxPNMHandler,
29838 _swigc__p_wxPageSetupDialog,
29839 _swigc__p_wxPageSetupDialogData,
29840 _swigc__p_wxPaintEvent,
29841 _swigc__p_wxPaletteChangedEvent,
29842 _swigc__p_wxPanel,
29843 _swigc__p_wxPaperSize,
29844 _swigc__p_wxPasswordEntryDialog,
29845 _swigc__p_wxPoint,
29846 _swigc__p_wxPopupWindow,
29847 _swigc__p_wxPreviewCanvas,
29848 _swigc__p_wxPreviewControlBar,
29849 _swigc__p_wxPreviewFrame,
29850 _swigc__p_wxPrintData,
29851 _swigc__p_wxPrintDialog,
29852 _swigc__p_wxPrintDialogData,
29853 _swigc__p_wxPrintPreview,
29854 _swigc__p_wxPrinter,
29855 _swigc__p_wxProgressDialog,
29856 _swigc__p_wxPyApp,
29857 _swigc__p_wxPyCommandEvent,
29858 _swigc__p_wxPyEvent,
29859 _swigc__p_wxPyHtmlListBox,
29860 _swigc__p_wxPyImageHandler,
29861 _swigc__p_wxPyPanel,
29862 _swigc__p_wxPyPopupTransientWindow,
29863 _swigc__p_wxPyPreviewControlBar,
29864 _swigc__p_wxPyPreviewFrame,
29865 _swigc__p_wxPyPrintPreview,
29866 _swigc__p_wxPyPrintout,
29867 _swigc__p_wxPyScrolledWindow,
29868 _swigc__p_wxPySizer,
29869 _swigc__p_wxPyTaskBarIcon,
29870 _swigc__p_wxPyVListBox,
29871 _swigc__p_wxPyVScrolledWindow,
29872 _swigc__p_wxPyValidator,
29873 _swigc__p_wxPyWindow,
29874 _swigc__p_wxQueryLayoutInfoEvent,
29875 _swigc__p_wxQueryNewPaletteEvent,
29876 _swigc__p_wxRect,
29877 _swigc__p_wxRegion,
29878 _swigc__p_wxSashEvent,
29879 _swigc__p_wxSashLayoutWindow,
29880 _swigc__p_wxSashWindow,
29881 _swigc__p_wxScrollEvent,
29882 _swigc__p_wxScrollWinEvent,
29883 _swigc__p_wxScrolledWindow,
29884 _swigc__p_wxSetCursorEvent,
29885 _swigc__p_wxShowEvent,
29886 _swigc__p_wxSingleChoiceDialog,
29887 _swigc__p_wxSize,
29888 _swigc__p_wxSizeEvent,
29889 _swigc__p_wxSizer,
29890 _swigc__p_wxSizerItem,
29891 _swigc__p_wxSplashScreen,
29892 _swigc__p_wxSplashScreenWindow,
29893 _swigc__p_wxSplitterEvent,
29894 _swigc__p_wxSplitterWindow,
29895 _swigc__p_wxStaticBoxSizer,
29896 _swigc__p_wxStatusBar,
29897 _swigc__p_wxStdDialogButtonSizer,
29898 _swigc__p_wxString,
29899 _swigc__p_wxSysColourChangedEvent,
29900 _swigc__p_wxTIFFHandler,
29901 _swigc__p_wxTaskBarIcon,
29902 _swigc__p_wxTaskBarIconEvent,
29903 _swigc__p_wxTextEntryDialog,
29904 _swigc__p_wxTipWindow,
29905 _swigc__p_wxToolBar,
29906 _swigc__p_wxTopLevelWindow,
29907 _swigc__p_wxUpdateUIEvent,
29908 _swigc__p_wxValidator,
29909 _swigc__p_wxVisualAttributes,
29910 _swigc__p_wxWindow,
29911 _swigc__p_wxWindowCreateEvent,
29912 _swigc__p_wxWindowDestroyEvent,
29913 _swigc__p_wxXPMHandler,
29914 _swigc__ptrdiff_t,
29915 _swigc__std__ptrdiff_t,
29916 _swigc__unsigned_int,
d55e5bfc
RD
29917};
29918
29919
29920/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29921
29922static swig_const_info swig_const_table[] = {
c370783e 29923{0, 0, 0, 0.0, 0, 0}};
d55e5bfc
RD
29924
29925#ifdef __cplusplus
29926}
29927#endif
32fe5131
RD
29928/*************************************************************************
29929 * Type initialization:
29930 * This problem is tough by the requirement that no dynamic
29931 * memory is used. Also, since swig_type_info structures store pointers to
29932 * swig_cast_info structures and swig_cast_info structures store pointers back
29933 * to swig_type_info structures, we need some lookup code at initialization.
29934 * The idea is that swig generates all the structures that are needed.
29935 * The runtime then collects these partially filled structures.
29936 * The SWIG_InitializeModule function takes these initial arrays out of
29937 * swig_module, and does all the lookup, filling in the swig_module.types
29938 * array with the correct data and linking the correct swig_cast_info
29939 * structures together.
29940
29941 * The generated swig_type_info structures are assigned staticly to an initial
29942 * array. We just loop though that array, and handle each type individually.
29943 * First we lookup if this type has been already loaded, and if so, use the
29944 * loaded structure instead of the generated one. Then we have to fill in the
29945 * cast linked list. The cast data is initially stored in something like a
29946 * two-dimensional array. Each row corresponds to a type (there are the same
29947 * number of rows as there are in the swig_type_initial array). Each entry in
29948 * a column is one of the swig_cast_info structures for that type.
29949 * The cast_initial array is actually an array of arrays, because each row has
29950 * a variable number of columns. So to actually build the cast linked list,
29951 * we find the array of casts associated with the type, and loop through it
29952 * adding the casts to the list. The one last trick we need to do is making
29953 * sure the type pointer in the swig_cast_info struct is correct.
29954
29955 * First off, we lookup the cast->type name to see if it is already loaded.
29956 * There are three cases to handle:
29957 * 1) If the cast->type has already been loaded AND the type we are adding
29958 * casting info to has not been loaded (it is in this module), THEN we
29959 * replace the cast->type pointer with the type pointer that has already
29960 * been loaded.
29961 * 2) If BOTH types (the one we are adding casting info to, and the
29962 * cast->type) are loaded, THEN the cast info has already been loaded by
29963 * the previous module so we just ignore it.
29964 * 3) Finally, if cast->type has not already been loaded, then we add that
29965 * swig_cast_info to the linked list (because the cast->type) pointer will
29966 * be correct.
29967**/
29968
29969#ifdef __cplusplus
29970extern "C" {
29971#if 0
29972} /* c-mode */
29973#endif
29974#endif
29975
29976#if 0
29977#define SWIGRUNTIME_DEBUG
29978#endif
29979
29980SWIGRUNTIME void
29981SWIG_InitializeModule(void *clientdata) {
29982 size_t i;
29983 swig_module_info *module_head;
29984 static int init_run = 0;
29985
29986 clientdata = clientdata;
29987
29988 if (init_run) return;
29989 init_run = 1;
29990
29991 /* Initialize the swig_module */
29992 swig_module.type_initial = swig_type_initial;
29993 swig_module.cast_initial = swig_cast_initial;
29994
29995 /* Try and load any already created modules */
29996 module_head = SWIG_GetModule(clientdata);
29997 if (module_head) {
29998 swig_module.next = module_head->next;
29999 module_head->next = &swig_module;
30000 } else {
30001 /* This is the first module loaded */
30002 swig_module.next = &swig_module;
30003 SWIG_SetModule(clientdata, &swig_module);
30004 }
30005
30006 /* Now work on filling in swig_module.types */
30007#ifdef SWIGRUNTIME_DEBUG
30008 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
30009#endif
30010 for (i = 0; i < swig_module.size; ++i) {
30011 swig_type_info *type = 0;
30012 swig_type_info *ret;
30013 swig_cast_info *cast;
30014
30015#ifdef SWIGRUNTIME_DEBUG
30016 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
30017#endif
30018
30019 /* if there is another module already loaded */
30020 if (swig_module.next != &swig_module) {
30021 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
30022 }
30023 if (type) {
30024 /* Overwrite clientdata field */
30025#ifdef SWIGRUNTIME_DEBUG
30026 printf("SWIG_InitializeModule: found type %s\n", type->name);
30027#endif
30028 if (swig_module.type_initial[i]->clientdata) {
30029 type->clientdata = swig_module.type_initial[i]->clientdata;
30030#ifdef SWIGRUNTIME_DEBUG
30031 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
30032#endif
30033 }
30034 } else {
30035 type = swig_module.type_initial[i];
30036 }
30037
30038 /* Insert casting types */
30039 cast = swig_module.cast_initial[i];
30040 while (cast->type) {
30041 /* Don't need to add information already in the list */
30042 ret = 0;
30043#ifdef SWIGRUNTIME_DEBUG
30044 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
30045#endif
30046 if (swig_module.next != &swig_module) {
30047 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
30048#ifdef SWIGRUNTIME_DEBUG
30049 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
30050#endif
30051 }
30052 if (ret) {
30053 if (type == swig_module.type_initial[i]) {
30054#ifdef SWIGRUNTIME_DEBUG
30055 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
30056#endif
30057 cast->type = ret;
30058 ret = 0;
30059 } else {
30060 /* Check for casting already in the list */
30061 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
30062#ifdef SWIGRUNTIME_DEBUG
30063 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
30064#endif
30065 if (!ocast) ret = 0;
30066 }
30067 }
30068
30069 if (!ret) {
30070#ifdef SWIGRUNTIME_DEBUG
30071 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
30072#endif
30073 if (type->cast) {
30074 type->cast->prev = cast;
30075 cast->next = type->cast;
30076 }
30077 type->cast = cast;
30078 }
30079 cast++;
30080 }
30081 /* Set entry in modules->types array equal to the type */
30082 swig_module.types[i] = type;
30083 }
30084 swig_module.types[i] = 0;
30085
30086#ifdef SWIGRUNTIME_DEBUG
30087 printf("**** SWIG_InitializeModule: Cast List ******\n");
30088 for (i = 0; i < swig_module.size; ++i) {
30089 int j = 0;
30090 swig_cast_info *cast = swig_module.cast_initial[i];
30091 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
30092 while (cast->type) {
30093 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
30094 cast++;
30095 ++j;
30096 }
30097 printf("---- Total casts: %d\n",j);
30098 }
30099 printf("**** SWIG_InitializeModule: Cast List ******\n");
30100#endif
30101}
30102
30103/* This function will propagate the clientdata field of type to
30104* any new swig_type_info structures that have been added into the list
30105* of equivalent types. It is like calling
30106* SWIG_TypeClientData(type, clientdata) a second time.
30107*/
30108SWIGRUNTIME void
30109SWIG_PropagateClientData(void) {
30110 size_t i;
30111 swig_cast_info *equiv;
30112 static int init_run = 0;
30113
30114 if (init_run) return;
30115 init_run = 1;
30116
30117 for (i = 0; i < swig_module.size; i++) {
30118 if (swig_module.types[i]->clientdata) {
30119 equiv = swig_module.types[i]->cast;
30120 while (equiv) {
30121 if (!equiv->converter) {
30122 if (equiv->type && !equiv->type->clientdata)
30123 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
30124 }
30125 equiv = equiv->next;
30126 }
30127 }
30128 }
30129}
30130
30131#ifdef __cplusplus
30132#if 0
30133{
30134 /* c-mode */
30135#endif
30136}
30137#endif
30138
d55e5bfc 30139
36ed4f51
RD
30140
30141#ifdef __cplusplus
30142extern "C" {
30143#endif
30144
30145 /* Python-specific SWIG API */
30146#define SWIG_newvarlink() SWIG_Python_newvarlink()
30147#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
30148#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
30149
30150 /* -----------------------------------------------------------------------------
30151 * global variable support code.
30152 * ----------------------------------------------------------------------------- */
30153
30154 typedef struct swig_globalvar {
30155 char *name; /* Name of global variable */
32fe5131 30156 PyObject *(*get_attr)(void); /* Return the current value */
36ed4f51
RD
30157 int (*set_attr)(PyObject *); /* Set the value */
30158 struct swig_globalvar *next;
30159 } swig_globalvar;
30160
30161 typedef struct swig_varlinkobject {
30162 PyObject_HEAD
30163 swig_globalvar *vars;
30164 } swig_varlinkobject;
30165
32fe5131 30166 SWIGINTERN PyObject *
36ed4f51
RD
30167 swig_varlink_repr(swig_varlinkobject *v) {
30168 v = v;
30169 return PyString_FromString("<Swig global variables>");
30170 }
30171
32fe5131 30172 SWIGINTERN int
36ed4f51
RD
30173 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
30174 swig_globalvar *var;
30175 flags = flags;
30176 fprintf(fp,"Swig global variables { ");
30177 for (var = v->vars; var; var=var->next) {
30178 fprintf(fp,"%s", var->name);
30179 if (var->next) fprintf(fp,", ");
30180 }
30181 fprintf(fp," }\n");
30182 return 0;
30183 }
30184
32fe5131 30185 SWIGINTERN PyObject *
36ed4f51
RD
30186 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
30187 swig_globalvar *var = v->vars;
30188 while (var) {
30189 if (strcmp(var->name,n) == 0) {
30190 return (*var->get_attr)();
30191 }
30192 var = var->next;
30193 }
30194 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
30195 return NULL;
30196 }
30197
32fe5131 30198 SWIGINTERN int
36ed4f51
RD
30199 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
30200 swig_globalvar *var = v->vars;
30201 while (var) {
30202 if (strcmp(var->name,n) == 0) {
30203 return (*var->set_attr)(p);
30204 }
30205 var = var->next;
30206 }
30207 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
30208 return 1;
30209 }
30210
32fe5131
RD
30211 SWIGINTERN PyTypeObject*
30212 swig_varlink_type(void) {
30213 static char varlink__doc__[] = "Swig var link object";
30214 static PyTypeObject varlink_type
30215#if !defined(__cplusplus)
30216 ;
30217 static int type_init = 0;
30218 if (!type_init) {
30219 PyTypeObject tmp
30220#endif
30221 = {
30222 PyObject_HEAD_INIT(&PyType_Type)
30223 0, /* Number of items in variable part (ob_size) */
30224 (char *)"swigvarlink", /* Type name (tp_name) */
30225 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
30226 0, /* Itemsize (tp_itemsize) */
30227 0, /* Deallocator (tp_dealloc) */
30228 (printfunc) swig_varlink_print, /* Print (tp_print) */
30229 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
30230 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
30231 0, /* tp_compare */
30232 (reprfunc) swig_varlink_repr, /* tp_repr */
30233 0, /* tp_as_number */
30234 0, /* tp_as_sequence */
30235 0, /* tp_as_mapping */
30236 0, /* tp_hash */
30237 0, /* tp_call */
30238 0, /* tp_str */
30239 0, /* tp_getattro */
30240 0, /* tp_setattro */
30241 0, /* tp_as_buffer */
30242 0, /* tp_flags */
30243 varlink__doc__, /* tp_doc */
36ed4f51 30244#if PY_VERSION_HEX >= 0x02000000
32fe5131
RD
30245 0, /* tp_traverse */
30246 0, /* tp_clear */
36ed4f51
RD
30247#endif
30248#if PY_VERSION_HEX >= 0x02010000
32fe5131
RD
30249 0, /* tp_richcompare */
30250 0, /* tp_weaklistoffset */
36ed4f51
RD
30251#endif
30252#if PY_VERSION_HEX >= 0x02020000
32fe5131 30253 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
30254#endif
30255#if PY_VERSION_HEX >= 0x02030000
32fe5131 30256 0, /* tp_del */
36ed4f51
RD
30257#endif
30258#ifdef COUNT_ALLOCS
32fe5131 30259 0,0,0,0 /* tp_alloc -> tp_next */
36ed4f51 30260#endif
32fe5131
RD
30261 };
30262#if !defined(__cplusplus)
30263 varlink_type = tmp;
30264 type_init = 1;
30265 }
30266#endif
30267 return &varlink_type;
30268 }
36ed4f51
RD
30269
30270 /* Create a variable linking object for use later */
32fe5131 30271 SWIGINTERN PyObject *
36ed4f51 30272 SWIG_Python_newvarlink(void) {
32fe5131
RD
30273 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
30274 if (result) {
30275 result->vars = 0;
30276 }
36ed4f51
RD
30277 return ((PyObject*) result);
30278 }
30279
32fe5131 30280 SWIGINTERN void
36ed4f51 30281 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
32fe5131
RD
30282 swig_varlinkobject *v = (swig_varlinkobject *) p;
30283 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
30284 if (gv) {
30285 size_t size = strlen(name)+1;
30286 gv->name = (char *)malloc(size);
30287 if (gv->name) {
30288 strncpy(gv->name,name,size);
30289 gv->get_attr = get_attr;
30290 gv->set_attr = set_attr;
30291 gv->next = v->vars;
30292 }
30293 }
36ed4f51
RD
30294 v->vars = gv;
30295 }
30296
30297 /* -----------------------------------------------------------------------------
30298 * constants/methods manipulation
30299 * ----------------------------------------------------------------------------- */
30300
30301 /* Install Constants */
32fe5131 30302 SWIGINTERN void
36ed4f51
RD
30303 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
30304 PyObject *obj = 0;
30305 size_t i;
32fe5131 30306 for (i = 0; constants[i].type; ++i) {
36ed4f51
RD
30307 switch(constants[i].type) {
30308 case SWIG_PY_INT:
30309 obj = PyInt_FromLong(constants[i].lvalue);
30310 break;
30311 case SWIG_PY_FLOAT:
30312 obj = PyFloat_FromDouble(constants[i].dvalue);
30313 break;
30314 case SWIG_PY_STRING:
30315 if (constants[i].pvalue) {
30316 obj = PyString_FromString((char *) constants[i].pvalue);
30317 } else {
30318 Py_INCREF(Py_None);
30319 obj = Py_None;
30320 }
30321 break;
30322 case SWIG_PY_POINTER:
30323 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
30324 break;
30325 case SWIG_PY_BINARY:
30326 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
30327 break;
30328 default:
30329 obj = 0;
30330 break;
30331 }
30332 if (obj) {
30333 PyDict_SetItemString(d,constants[i].name,obj);
30334 Py_DECREF(obj);
30335 }
30336 }
30337 }
30338
30339 /* -----------------------------------------------------------------------------*/
30340 /* Fix SwigMethods to carry the callback ptrs when needed */
30341 /* -----------------------------------------------------------------------------*/
30342
32fe5131 30343 SWIGINTERN void
36ed4f51
RD
30344 SWIG_Python_FixMethods(PyMethodDef *methods,
30345 swig_const_info *const_table,
30346 swig_type_info **types,
30347 swig_type_info **types_initial) {
30348 size_t i;
30349 for (i = 0; methods[i].ml_name; ++i) {
30350 char *c = methods[i].ml_doc;
30351 if (c && (c = strstr(c, "swig_ptr: "))) {
30352 int j;
30353 swig_const_info *ci = 0;
30354 char *name = c + 10;
32fe5131 30355 for (j = 0; const_table[j].type; ++j) {
36ed4f51
RD
30356 if (strncmp(const_table[j].name, name,
30357 strlen(const_table[j].name)) == 0) {
30358 ci = &(const_table[j]);
30359 break;
30360 }
30361 }
30362 if (ci) {
30363 size_t shift = (ci->ptype) - types;
30364 swig_type_info *ty = types_initial[shift];
30365 size_t ldoc = (c - methods[i].ml_doc);
30366 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
30367 char *ndoc = (char*)malloc(ldoc + lptr + 10);
32fe5131
RD
30368 if (ndoc) {
30369 char *buff = ndoc;
30370 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
30371 if (ptr) {
30372 strncpy(buff, methods[i].ml_doc, ldoc);
30373 buff += ldoc;
30374 strncpy(buff, "swig_ptr: ", 10);
30375 buff += 10;
30376 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
30377 methods[i].ml_doc = ndoc;
30378 }
30379 }
36ed4f51
RD
30380 }
30381 }
30382 }
30383 }
30384
30385 /* -----------------------------------------------------------------------------*
30386 * Initialize type list
30387 * -----------------------------------------------------------------------------*/
30388
36ed4f51
RD
30389#ifdef __cplusplus
30390}
30391#endif
30392
30393/* -----------------------------------------------------------------------------*
30394 * Partial Init method
30395 * -----------------------------------------------------------------------------*/
30396
d55e5bfc
RD
30397#ifdef __cplusplus
30398extern "C"
30399#endif
32fe5131 30400SWIGEXPORT void SWIG_init(void) {
d55e5bfc 30401 static PyObject *SWIG_globals = 0;
d55e5bfc 30402 PyObject *m, *d;
d55e5bfc 30403 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
36ed4f51
RD
30404
30405 /* Fix SwigMethods to carry the callback ptrs when needed */
32fe5131 30406 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
36ed4f51 30407
d55e5bfc
RD
30408 m = Py_InitModule((char *) SWIG_name, SwigMethods);
30409 d = PyModule_GetDict(m);
30410
32fe5131 30411 SWIG_InitializeModule(0);
36ed4f51
RD
30412 SWIG_InstallConstants(d,swig_const_table);
30413
30414 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
30415 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
30416 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
30417 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
30418 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
30419 {
32fe5131
RD
30420 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_From_int(static_cast<int >(wxSTAY_ON_TOP)));
30421 }
30422 {
30423 PyDict_SetItemString(d,"ICONIZE", SWIG_From_int(static_cast<int >(wxICONIZE)));
36ed4f51
RD
30424 }
30425 {
32fe5131 30426 PyDict_SetItemString(d,"MINIMIZE", SWIG_From_int(static_cast<int >(wxMINIMIZE)));
36ed4f51
RD
30427 }
30428 {
32fe5131 30429 PyDict_SetItemString(d,"MAXIMIZE", SWIG_From_int(static_cast<int >(wxMAXIMIZE)));
36ed4f51
RD
30430 }
30431 {
32fe5131 30432 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_From_int(static_cast<int >(wxCLOSE_BOX)));
36ed4f51
RD
30433 }
30434 {
32fe5131 30435 PyDict_SetItemString(d,"THICK_FRAME", SWIG_From_int(static_cast<int >(wxTHICK_FRAME)));
36ed4f51
RD
30436 }
30437 {
32fe5131 30438 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_From_int(static_cast<int >(wxSYSTEM_MENU)));
36ed4f51
RD
30439 }
30440 {
32fe5131 30441 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_From_int(static_cast<int >(wxMINIMIZE_BOX)));
36ed4f51
RD
30442 }
30443 {
32fe5131 30444 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_From_int(static_cast<int >(wxMAXIMIZE_BOX)));
36ed4f51
RD
30445 }
30446 {
32fe5131 30447 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_From_int(static_cast<int >(wxTINY_CAPTION_HORIZ)));
36ed4f51
RD
30448 }
30449 {
32fe5131 30450 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_From_int(static_cast<int >(wxTINY_CAPTION_VERT)));
36ed4f51
RD
30451 }
30452 {
32fe5131 30453 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_From_int(static_cast<int >(wxRESIZE_BOX)));
36ed4f51
RD
30454 }
30455 {
32fe5131 30456 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_From_int(static_cast<int >(wxRESIZE_BORDER)));
36ed4f51
RD
30457 }
30458 {
32fe5131 30459 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_From_int(static_cast<int >(wxDIALOG_NO_PARENT)));
36ed4f51
RD
30460 }
30461 {
32fe5131 30462 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_From_int(static_cast<int >(wxDEFAULT_FRAME_STYLE)));
36ed4f51
RD
30463 }
30464 {
32fe5131 30465 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_From_int(static_cast<int >(wxDEFAULT_DIALOG_STYLE)));
36ed4f51
RD
30466 }
30467 {
32fe5131 30468 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_From_int(static_cast<int >(wxFRAME_TOOL_WINDOW)));
36ed4f51
RD
30469 }
30470 {
32fe5131 30471 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_From_int(static_cast<int >(wxFRAME_FLOAT_ON_PARENT)));
36ed4f51
RD
30472 }
30473 {
32fe5131 30474 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_From_int(static_cast<int >(wxFRAME_NO_WINDOW_MENU)));
36ed4f51
RD
30475 }
30476 {
32fe5131 30477 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_From_int(static_cast<int >(wxFRAME_NO_TASKBAR)));
36ed4f51
RD
30478 }
30479 {
32fe5131 30480 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_From_int(static_cast<int >(wxFRAME_SHAPED)));
36ed4f51
RD
30481 }
30482 {
32fe5131 30483 PyDict_SetItemString(d,"FRAME_DRAWER", SWIG_From_int(static_cast<int >(wxFRAME_DRAWER)));
36ed4f51
RD
30484 }
30485 {
32fe5131 30486 PyDict_SetItemString(d,"FRAME_EX_METAL", SWIG_From_int(static_cast<int >(wxFRAME_EX_METAL)));
36ed4f51 30487 }
f491ed97 30488 {
32fe5131 30489 PyDict_SetItemString(d,"DIALOG_EX_METAL", SWIG_From_int(static_cast<int >(wxDIALOG_EX_METAL)));
f491ed97
RD
30490 }
30491 {
32fe5131 30492 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_From_int(static_cast<int >(wxDIALOG_MODAL)));
f491ed97 30493 }
36ed4f51 30494 {
32fe5131 30495 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_From_int(static_cast<int >(wxDIALOG_MODELESS)));
36ed4f51
RD
30496 }
30497 {
32fe5131 30498 PyDict_SetItemString(d,"USER_COLOURS", SWIG_From_int(static_cast<int >(wxUSER_COLOURS)));
36ed4f51
RD
30499 }
30500 {
32fe5131 30501 PyDict_SetItemString(d,"NO_3D", SWIG_From_int(static_cast<int >(wxNO_3D)));
36ed4f51
RD
30502 }
30503 {
32fe5131 30504 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOMENUBAR)));
36ed4f51
RD
30505 }
30506 {
32fe5131 30507 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOTOOLBAR)));
36ed4f51
RD
30508 }
30509 {
32fe5131 30510 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOSTATUSBAR)));
36ed4f51
RD
30511 }
30512 {
32fe5131 30513 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOBORDER)));
36ed4f51
RD
30514 }
30515 {
32fe5131 30516 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOCAPTION)));
36ed4f51
RD
30517 }
30518 {
32fe5131 30519 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_From_int(static_cast<int >(wxFULLSCREEN_ALL)));
36ed4f51
RD
30520 }
30521 {
32fe5131 30522 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_From_int(static_cast<int >(wxTOPLEVEL_EX_DIALOG)));
36ed4f51
RD
30523 }
30524 {
32fe5131 30525 PyDict_SetItemString(d,"USER_ATTENTION_INFO", SWIG_From_int(static_cast<int >(wxUSER_ATTENTION_INFO)));
36ed4f51
RD
30526 }
30527 {
32fe5131 30528 PyDict_SetItemString(d,"USER_ATTENTION_ERROR", SWIG_From_int(static_cast<int >(wxUSER_ATTENTION_ERROR)));
36ed4f51
RD
30529 }
30530 {
32fe5131 30531 PyDict_SetItemString(d,"Dialog_ButtonSizerFlags", SWIG_From_int(static_cast<int >(wxDialog::ButtonSizerFlags)));
36ed4f51
RD
30532 }
30533 {
32fe5131 30534 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int(static_cast<int >(wxSPLASH_CENTRE_ON_PARENT)));
36ed4f51
RD
30535 }
30536 {
32fe5131 30537 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int(static_cast<int >(wxSPLASH_CENTRE_ON_SCREEN)));
36ed4f51
RD
30538 }
30539 {
32fe5131 30540 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_From_int(static_cast<int >(wxSPLASH_NO_CENTRE)));
36ed4f51
RD
30541 }
30542 {
32fe5131 30543 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_From_int(static_cast<int >(wxSPLASH_TIMEOUT)));
36ed4f51
RD
30544 }
30545 {
32fe5131 30546 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_From_int(static_cast<int >(wxSPLASH_NO_TIMEOUT)));
36ed4f51
RD
30547 }
30548 {
32fe5131 30549 PyDict_SetItemString(d,"SB_NORMAL", SWIG_From_int(static_cast<int >(wxSB_NORMAL)));
36ed4f51
RD
30550 }
30551 {
32fe5131 30552 PyDict_SetItemString(d,"SB_FLAT", SWIG_From_int(static_cast<int >(wxSB_FLAT)));
36ed4f51
RD
30553 }
30554 {
32fe5131 30555 PyDict_SetItemString(d,"SB_RAISED", SWIG_From_int(static_cast<int >(wxSB_RAISED)));
36ed4f51 30556 }
d55e5bfc 30557 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
36ed4f51 30558 {
32fe5131 30559 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_From_int(static_cast<int >(wxSP_NOBORDER)));
36ed4f51
RD
30560 }
30561 {
32fe5131 30562 PyDict_SetItemString(d,"SP_NOSASH", SWIG_From_int(static_cast<int >(wxSP_NOSASH)));
36ed4f51
RD
30563 }
30564 {
32fe5131 30565 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_From_int(static_cast<int >(wxSP_PERMIT_UNSPLIT)));
36ed4f51
RD
30566 }
30567 {
32fe5131 30568 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_From_int(static_cast<int >(wxSP_LIVE_UPDATE)));
36ed4f51
RD
30569 }
30570 {
32fe5131 30571 PyDict_SetItemString(d,"SP_3DSASH", SWIG_From_int(static_cast<int >(wxSP_3DSASH)));
36ed4f51
RD
30572 }
30573 {
32fe5131 30574 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_From_int(static_cast<int >(wxSP_3DBORDER)));
36ed4f51
RD
30575 }
30576 {
32fe5131 30577 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_From_int(static_cast<int >(wxSP_NO_XP_THEME)));
36ed4f51
RD
30578 }
30579 {
32fe5131 30580 PyDict_SetItemString(d,"SP_BORDER", SWIG_From_int(static_cast<int >(wxSP_BORDER)));
36ed4f51
RD
30581 }
30582 {
32fe5131 30583 PyDict_SetItemString(d,"SP_3D", SWIG_From_int(static_cast<int >(wxSP_3D)));
36ed4f51
RD
30584 }
30585 {
32fe5131 30586 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_From_int(static_cast<int >(wxSPLIT_HORIZONTAL)));
36ed4f51
RD
30587 }
30588 {
32fe5131 30589 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_From_int(static_cast<int >(wxSPLIT_VERTICAL)));
36ed4f51
RD
30590 }
30591 {
32fe5131 30592 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_From_int(static_cast<int >(wxSPLIT_DRAG_NONE)));
36ed4f51
RD
30593 }
30594 {
32fe5131 30595 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_From_int(static_cast<int >(wxSPLIT_DRAG_DRAGGING)));
36ed4f51
RD
30596 }
30597 {
32fe5131 30598 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int(static_cast<int >(wxSPLIT_DRAG_LEFT_DOWN)));
36ed4f51 30599 }
d55e5bfc
RD
30600 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
30601 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
30602 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
30603 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
30604 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
30605 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
36ed4f51 30606 {
32fe5131 30607 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_From_int(static_cast<int >(wxSASH_DRAG_NONE)));
36ed4f51
RD
30608 }
30609 {
32fe5131 30610 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_From_int(static_cast<int >(wxSASH_DRAG_DRAGGING)));
36ed4f51
RD
30611 }
30612 {
32fe5131 30613 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_From_int(static_cast<int >(wxSASH_DRAG_LEFT_DOWN)));
36ed4f51
RD
30614 }
30615 {
32fe5131 30616 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_From_int(static_cast<int >(wxSW_NOBORDER)));
36ed4f51
RD
30617 }
30618 {
32fe5131 30619 PyDict_SetItemString(d,"SW_BORDER", SWIG_From_int(static_cast<int >(wxSW_BORDER)));
36ed4f51
RD
30620 }
30621 {
32fe5131 30622 PyDict_SetItemString(d,"SW_3DSASH", SWIG_From_int(static_cast<int >(wxSW_3DSASH)));
36ed4f51
RD
30623 }
30624 {
32fe5131 30625 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_From_int(static_cast<int >(wxSW_3DBORDER)));
36ed4f51
RD
30626 }
30627 {
32fe5131 30628 PyDict_SetItemString(d,"SW_3D", SWIG_From_int(static_cast<int >(wxSW_3D)));
36ed4f51
RD
30629 }
30630 {
32fe5131 30631 PyDict_SetItemString(d,"SASH_TOP", SWIG_From_int(static_cast<int >(wxSASH_TOP)));
36ed4f51
RD
30632 }
30633 {
32fe5131 30634 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_From_int(static_cast<int >(wxSASH_RIGHT)));
36ed4f51
RD
30635 }
30636 {
32fe5131 30637 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_From_int(static_cast<int >(wxSASH_BOTTOM)));
36ed4f51
RD
30638 }
30639 {
32fe5131 30640 PyDict_SetItemString(d,"SASH_LEFT", SWIG_From_int(static_cast<int >(wxSASH_LEFT)));
36ed4f51
RD
30641 }
30642 {
32fe5131 30643 PyDict_SetItemString(d,"SASH_NONE", SWIG_From_int(static_cast<int >(wxSASH_NONE)));
36ed4f51
RD
30644 }
30645 {
32fe5131 30646 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_From_int(static_cast<int >(wxSASH_STATUS_OK)));
36ed4f51
RD
30647 }
30648 {
32fe5131 30649 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int(static_cast<int >(wxSASH_STATUS_OUT_OF_RANGE)));
36ed4f51 30650 }
d55e5bfc 30651 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
36ed4f51 30652 {
32fe5131 30653 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_From_int(static_cast<int >(wxLAYOUT_HORIZONTAL)));
36ed4f51
RD
30654 }
30655 {
32fe5131 30656 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_From_int(static_cast<int >(wxLAYOUT_VERTICAL)));
36ed4f51
RD
30657 }
30658 {
32fe5131 30659 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_From_int(static_cast<int >(wxLAYOUT_NONE)));
36ed4f51
RD
30660 }
30661 {
32fe5131 30662 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_From_int(static_cast<int >(wxLAYOUT_TOP)));
36ed4f51
RD
30663 }
30664 {
32fe5131 30665 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_From_int(static_cast<int >(wxLAYOUT_LEFT)));
36ed4f51
RD
30666 }
30667 {
32fe5131 30668 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_From_int(static_cast<int >(wxLAYOUT_RIGHT)));
36ed4f51
RD
30669 }
30670 {
32fe5131 30671 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_From_int(static_cast<int >(wxLAYOUT_BOTTOM)));
36ed4f51
RD
30672 }
30673 {
32fe5131 30674 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_From_int(static_cast<int >(wxLAYOUT_LENGTH_Y)));
36ed4f51
RD
30675 }
30676 {
32fe5131 30677 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_From_int(static_cast<int >(wxLAYOUT_LENGTH_X)));
36ed4f51
RD
30678 }
30679 {
32fe5131 30680 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_From_int(static_cast<int >(wxLAYOUT_MRU_LENGTH)));
36ed4f51
RD
30681 }
30682 {
32fe5131 30683 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_From_int(static_cast<int >(wxLAYOUT_QUERY)));
36ed4f51 30684 }
d55e5bfc
RD
30685 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
30686 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
30687 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
30688
30689 // Map renamed classes back to their common name for OOR
30690 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
30691 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
30692 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
30693
30694 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
30695 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
30696 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
30697 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
30698 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
30699 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
30700 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
30701 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
30702 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
30703 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
30704 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
30705 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
30706 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
36ed4f51 30707 {
32fe5131 30708 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_From_int(static_cast<int >(wxCHOICEDLG_STYLE)));
36ed4f51
RD
30709 }
30710 {
32fe5131 30711 PyDict_SetItemString(d,"TextEntryDialogStyle", SWIG_From_int(static_cast<int >(wxTextEntryDialogStyle)));
36ed4f51 30712 }
070c48b4 30713 SWIG_addvarlink(SWIG_globals,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get, _wrap_GetPasswordFromUserPromptStr_set);
36ed4f51 30714 {
32fe5131 30715 PyDict_SetItemString(d,"FR_DOWN", SWIG_From_int(static_cast<int >(wxFR_DOWN)));
36ed4f51
RD
30716 }
30717 {
32fe5131 30718 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_From_int(static_cast<int >(wxFR_WHOLEWORD)));
36ed4f51
RD
30719 }
30720 {
32fe5131 30721 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_From_int(static_cast<int >(wxFR_MATCHCASE)));
36ed4f51
RD
30722 }
30723 {
32fe5131 30724 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_From_int(static_cast<int >(wxFR_REPLACEDIALOG)));
36ed4f51
RD
30725 }
30726 {
32fe5131 30727 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_From_int(static_cast<int >(wxFR_NOUPDOWN)));
36ed4f51
RD
30728 }
30729 {
32fe5131 30730 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_From_int(static_cast<int >(wxFR_NOMATCHCASE)));
36ed4f51
RD
30731 }
30732 {
32fe5131 30733 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_From_int(static_cast<int >(wxFR_NOWHOLEWORD)));
36ed4f51 30734 }
d55e5bfc
RD
30735 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
30736 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
30737 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
30738 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
30739 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
36ed4f51 30740 {
32fe5131 30741 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_From_int(static_cast<int >(4001)));
36ed4f51
RD
30742 }
30743 {
32fe5131 30744 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_From_int(static_cast<int >(4001)));
36ed4f51
RD
30745 }
30746 {
32fe5131 30747 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_From_int(static_cast<int >(4002)));
36ed4f51
RD
30748 }
30749 {
32fe5131 30750 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_From_int(static_cast<int >(4003)));
36ed4f51
RD
30751 }
30752 {
32fe5131 30753 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_From_int(static_cast<int >(4004)));
36ed4f51
RD
30754 }
30755 {
32fe5131 30756 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_From_int(static_cast<int >(4005)));
36ed4f51 30757 }
24d7cbea 30758 {
32fe5131 30759 PyDict_SetItemString(d,"IDM_WINDOWPREV", SWIG_From_int(static_cast<int >(4006)));
24d7cbea 30760 }
36ed4f51 30761 {
32fe5131 30762 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_From_int(static_cast<int >(4100)));
36ed4f51
RD
30763 }
30764 {
32fe5131 30765 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_From_int(static_cast<int >(4600)));
36ed4f51 30766 }
d55e5bfc
RD
30767 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
30768 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
36ed4f51 30769 {
32fe5131 30770 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_From_int(static_cast<int >(wxPRINT_MODE_NONE)));
36ed4f51
RD
30771 }
30772 {
32fe5131 30773 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_From_int(static_cast<int >(wxPRINT_MODE_PREVIEW)));
36ed4f51
RD
30774 }
30775 {
32fe5131 30776 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_From_int(static_cast<int >(wxPRINT_MODE_FILE)));
36ed4f51
RD
30777 }
30778 {
32fe5131 30779 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_From_int(static_cast<int >(wxPRINT_MODE_PRINTER)));
36ed4f51
RD
30780 }
30781 {
32fe5131 30782 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_From_int(static_cast<int >(wxPRINT_MODE_STREAM)));
36ed4f51
RD
30783 }
30784 {
32fe5131 30785 PyDict_SetItemString(d,"PRINTBIN_DEFAULT", SWIG_From_int(static_cast<int >(wxPRINTBIN_DEFAULT)));
36ed4f51
RD
30786 }
30787 {
32fe5131 30788 PyDict_SetItemString(d,"PRINTBIN_ONLYONE", SWIG_From_int(static_cast<int >(wxPRINTBIN_ONLYONE)));
36ed4f51
RD
30789 }
30790 {
32fe5131 30791 PyDict_SetItemString(d,"PRINTBIN_LOWER", SWIG_From_int(static_cast<int >(wxPRINTBIN_LOWER)));
36ed4f51
RD
30792 }
30793 {
32fe5131 30794 PyDict_SetItemString(d,"PRINTBIN_MIDDLE", SWIG_From_int(static_cast<int >(wxPRINTBIN_MIDDLE)));
36ed4f51
RD
30795 }
30796 {
32fe5131 30797 PyDict_SetItemString(d,"PRINTBIN_MANUAL", SWIG_From_int(static_cast<int >(wxPRINTBIN_MANUAL)));
36ed4f51
RD
30798 }
30799 {
32fe5131 30800 PyDict_SetItemString(d,"PRINTBIN_ENVELOPE", SWIG_From_int(static_cast<int >(wxPRINTBIN_ENVELOPE)));
36ed4f51
RD
30801 }
30802 {
32fe5131 30803 PyDict_SetItemString(d,"PRINTBIN_ENVMANUAL", SWIG_From_int(static_cast<int >(wxPRINTBIN_ENVMANUAL)));
36ed4f51
RD
30804 }
30805 {
32fe5131 30806 PyDict_SetItemString(d,"PRINTBIN_AUTO", SWIG_From_int(static_cast<int >(wxPRINTBIN_AUTO)));
36ed4f51
RD
30807 }
30808 {
32fe5131 30809 PyDict_SetItemString(d,"PRINTBIN_TRACTOR", SWIG_From_int(static_cast<int >(wxPRINTBIN_TRACTOR)));
36ed4f51
RD
30810 }
30811 {
32fe5131 30812 PyDict_SetItemString(d,"PRINTBIN_SMALLFMT", SWIG_From_int(static_cast<int >(wxPRINTBIN_SMALLFMT)));
36ed4f51
RD
30813 }
30814 {
32fe5131 30815 PyDict_SetItemString(d,"PRINTBIN_LARGEFMT", SWIG_From_int(static_cast<int >(wxPRINTBIN_LARGEFMT)));
36ed4f51
RD
30816 }
30817 {
32fe5131 30818 PyDict_SetItemString(d,"PRINTBIN_LARGECAPACITY", SWIG_From_int(static_cast<int >(wxPRINTBIN_LARGECAPACITY)));
36ed4f51
RD
30819 }
30820 {
32fe5131 30821 PyDict_SetItemString(d,"PRINTBIN_CASSETTE", SWIG_From_int(static_cast<int >(wxPRINTBIN_CASSETTE)));
36ed4f51
RD
30822 }
30823 {
32fe5131 30824 PyDict_SetItemString(d,"PRINTBIN_FORMSOURCE", SWIG_From_int(static_cast<int >(wxPRINTBIN_FORMSOURCE)));
36ed4f51
RD
30825 }
30826 {
32fe5131 30827 PyDict_SetItemString(d,"PRINTBIN_USER", SWIG_From_int(static_cast<int >(wxPRINTBIN_USER)));
36ed4f51
RD
30828 }
30829 {
32fe5131 30830 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_From_int(static_cast<int >(wxPRINTER_NO_ERROR)));
36ed4f51
RD
30831 }
30832 {
32fe5131 30833 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_From_int(static_cast<int >(wxPRINTER_CANCELLED)));
36ed4f51
RD
30834 }
30835 {
32fe5131 30836 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_From_int(static_cast<int >(wxPRINTER_ERROR)));
36ed4f51
RD
30837 }
30838 {
32fe5131 30839 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_From_int(static_cast<int >(wxPREVIEW_PRINT)));
36ed4f51
RD
30840 }
30841 {
32fe5131 30842 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_From_int(static_cast<int >(wxPREVIEW_PREVIOUS)));
36ed4f51
RD
30843 }
30844 {
32fe5131 30845 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_From_int(static_cast<int >(wxPREVIEW_NEXT)));
36ed4f51
RD
30846 }
30847 {
32fe5131 30848 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_From_int(static_cast<int >(wxPREVIEW_ZOOM)));
36ed4f51
RD
30849 }
30850 {
32fe5131 30851 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_From_int(static_cast<int >(wxPREVIEW_FIRST)));
36ed4f51
RD
30852 }
30853 {
32fe5131 30854 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_From_int(static_cast<int >(wxPREVIEW_LAST)));
36ed4f51
RD
30855 }
30856 {
32fe5131 30857 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_From_int(static_cast<int >(wxPREVIEW_GOTO)));
36ed4f51
RD
30858 }
30859 {
32fe5131 30860 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_From_int(static_cast<int >(wxPREVIEW_DEFAULT)));
36ed4f51
RD
30861 }
30862 {
32fe5131 30863 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_From_int(static_cast<int >(wxID_PREVIEW_CLOSE)));
36ed4f51
RD
30864 }
30865 {
32fe5131 30866 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_From_int(static_cast<int >(wxID_PREVIEW_NEXT)));
36ed4f51
RD
30867 }
30868 {
32fe5131 30869 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_From_int(static_cast<int >(wxID_PREVIEW_PREVIOUS)));
36ed4f51
RD
30870 }
30871 {
32fe5131 30872 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_From_int(static_cast<int >(wxID_PREVIEW_PRINT)));
36ed4f51
RD
30873 }
30874 {
32fe5131 30875 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_From_int(static_cast<int >(wxID_PREVIEW_ZOOM)));
36ed4f51
RD
30876 }
30877 {
32fe5131 30878 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_From_int(static_cast<int >(wxID_PREVIEW_FIRST)));
36ed4f51
RD
30879 }
30880 {
32fe5131 30881 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_From_int(static_cast<int >(wxID_PREVIEW_LAST)));
36ed4f51
RD
30882 }
30883 {
32fe5131 30884 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_From_int(static_cast<int >(wxID_PREVIEW_GOTO)));
36ed4f51 30885 }
d55e5bfc
RD
30886
30887 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
30888
30889}
30890