]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/mac/_windows_wrap.cpp
cleanup - reformatting
[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
7e08d4ef 12#define SWIG_VERSION 0x010327
d55e5bfc
RD
13
14#ifdef __cplusplus
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
36ed4f51 27};
d55e5bfc
RD
28#endif
29
32fe5131
RD
30/***********************************************************************
31 *
32 * This section contains generic SWIG labels for method/variable
33 * declarations/attributes, and other compiler dependent labels.
34 *
35 ************************************************************************/
d55e5bfc 36
32fe5131
RD
37/* template workaround for compilers that cannot correctly implement the C++ standard */
38#ifndef SWIGTEMPLATEDISAMBIGUATOR
39# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
40# define SWIGTEMPLATEDISAMBIGUATOR template
36ed4f51 41# else
32fe5131 42# define SWIGTEMPLATEDISAMBIGUATOR
36ed4f51
RD
43# endif
44#endif
d55e5bfc 45
32fe5131
RD
46/* inline attribute */
47#ifndef SWIGINLINE
48# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
49# define SWIGINLINE inline
50# else
51# define SWIGINLINE
52# endif
53#endif
54
55/* attribute recognised by some compilers to avoid 'unused' warnings */
56#ifndef SWIGUNUSED
57# if defined(__GNUC__) || defined(__ICC)
58# define SWIGUNUSED __attribute__ ((unused))
59# else
60# define SWIGUNUSED
61# endif
62#endif
63
64/* internal SWIG method */
65#ifndef SWIGINTERN
66# define SWIGINTERN static SWIGUNUSED
67#endif
68
69/* internal inline SWIG method */
70#ifndef SWIGINTERNINLINE
71# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
72#endif
73
74/* exporting methods for Windows DLLs */
75#ifndef SWIGEXPORT
76# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
77# if defined(STATIC_LINKED)
78# define SWIGEXPORT
79# else
80# define SWIGEXPORT __declspec(dllexport)
81# endif
82# else
83# define SWIGEXPORT
84# endif
85#endif
86
87/* calling conventions for Windows */
88#ifndef SWIGSTDCALL
89# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
90# define SWIGSTDCALL __stdcall
91# else
92# define SWIGSTDCALL
93# endif
94#endif
95
96
d55e5bfc 97
36ed4f51 98#include <Python.h>
d55e5bfc
RD
99
100/***********************************************************************
36ed4f51 101 * swigrun.swg
d55e5bfc 102 *
36ed4f51
RD
103 * This file contains generic CAPI SWIG runtime support for pointer
104 * type checking.
d55e5bfc
RD
105 *
106 ************************************************************************/
107
36ed4f51
RD
108/* This should only be incremented when either the layout of swig_type_info changes,
109 or for whatever reason, the runtime changes incompatibly */
32fe5131 110#define SWIG_RUNTIME_VERSION "2"
d55e5bfc 111
36ed4f51
RD
112/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
113#ifdef SWIG_TYPE_TABLE
32fe5131
RD
114# define SWIG_QUOTE_STRING(x) #x
115# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
116# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
d55e5bfc 117#else
32fe5131 118# define SWIG_TYPE_TABLE_NAME
36ed4f51
RD
119#endif
120
121/*
122 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
123 creating a static or dynamic library from the swig runtime code.
124 In 99.9% of the cases, swig just needs to declare them as 'static'.
125
126 But only do this if is strictly necessary, ie, if you have problems
127 with your compiler or so.
128*/
32fe5131 129
36ed4f51 130#ifndef SWIGRUNTIME
32fe5131 131# define SWIGRUNTIME SWIGINTERN
36ed4f51 132#endif
32fe5131 133
36ed4f51 134#ifndef SWIGRUNTIMEINLINE
32fe5131 135# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
d55e5bfc
RD
136#endif
137
32fe5131
RD
138#include <string.h>
139
d55e5bfc
RD
140#ifdef __cplusplus
141extern "C" {
142#endif
143
144typedef void *(*swig_converter_func)(void *);
145typedef struct swig_type_info *(*swig_dycast_func)(void **);
146
32fe5131 147/* Structure to store inforomation on one type */
d55e5bfc 148typedef struct swig_type_info {
32fe5131
RD
149 const char *name; /* mangled name of this type */
150 const char *str; /* human readable name of this type */
151 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
152 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
153 void *clientdata; /* language specific type data */
d55e5bfc
RD
154} swig_type_info;
155
32fe5131
RD
156/* Structure to store a type and conversion function used for casting */
157typedef struct swig_cast_info {
158 swig_type_info *type; /* pointer to type that is equivalent to this type */
159 swig_converter_func converter; /* function to cast the void pointers */
160 struct swig_cast_info *next; /* pointer to next cast in linked list */
161 struct swig_cast_info *prev; /* pointer to the previous cast */
162} swig_cast_info;
163
164/* Structure used to store module information
165 * Each module generates one structure like this, and the runtime collects
166 * all of these structures and stores them in a circularly linked list.*/
167typedef struct swig_module_info {
168 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
169 size_t size; /* Number of types in this module */
170 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
171 swig_type_info **type_initial; /* Array of initially generated type structures */
172 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
173 void *clientdata; /* Language specific module data */
174} swig_module_info;
175
176
36ed4f51
RD
177/*
178 Compare two type names skipping the space characters, therefore
179 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
180
181 Return 0 when the two name types are equivalent, as in
182 strncmp, but skipping ' '.
183*/
184SWIGRUNTIME int
185SWIG_TypeNameComp(const char *f1, const char *l1,
186 const char *f2, const char *l2) {
187 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
188 while ((*f1 == ' ') && (f1 != l1)) ++f1;
189 while ((*f2 == ' ') && (f2 != l2)) ++f2;
32fe5131 190 if (*f1 != *f2) return (int)(*f1 - *f2);
36ed4f51
RD
191 }
192 return (l1 - f1) - (l2 - f2);
193}
194
195/*
196 Check type equivalence in a name list like <name1>|<name2>|...
32fe5131 197 Return 0 if not equal, 1 if equal
36ed4f51
RD
198*/
199SWIGRUNTIME int
200SWIG_TypeEquiv(const char *nb, const char *tb) {
201 int equiv = 0;
202 const char* te = tb + strlen(tb);
203 const char* ne = nb;
204 while (!equiv && *ne) {
205 for (nb = ne; *ne; ++ne) {
206 if (*ne == '|') break;
207 }
32fe5131 208 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
36ed4f51
RD
209 if (*ne) ++ne;
210 }
211 return equiv;
212}
213
214/*
32fe5131
RD
215 Check type equivalence in a name list like <name1>|<name2>|...
216 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
36ed4f51 217*/
32fe5131
RD
218SWIGRUNTIME int
219SWIG_TypeCompare(const char *nb, const char *tb) {
220 int equiv = 0;
221 const char* te = tb + strlen(tb);
222 const char* ne = nb;
223 while (!equiv && *ne) {
224 for (nb = ne; *ne; ++ne) {
225 if (*ne == '|') break;
36ed4f51 226 }
32fe5131
RD
227 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
228 if (*ne) ++ne;
36ed4f51 229 }
32fe5131 230 return equiv;
36ed4f51
RD
231}
232
32fe5131
RD
233
234/* think of this as a c++ template<> or a scheme macro */
235#define SWIG_TypeCheck_Template(comparison, ty) \
236 if (ty) { \
237 swig_cast_info *iter = ty->cast; \
238 while (iter) { \
239 if (comparison) { \
240 if (iter == ty->cast) return iter; \
241 /* Move iter to the top of the linked list */ \
242 iter->prev->next = iter->next; \
243 if (iter->next) \
244 iter->next->prev = iter->prev; \
245 iter->next = ty->cast; \
246 iter->prev = 0; \
247 if (ty->cast) ty->cast->prev = iter; \
248 ty->cast = iter; \
249 return iter; \
250 } \
251 iter = iter->next; \
252 } \
253 } \
254 return 0
255
36ed4f51
RD
256/*
257 Check the typename
258*/
32fe5131 259SWIGRUNTIME swig_cast_info *
36ed4f51 260SWIG_TypeCheck(const char *c, swig_type_info *ty) {
32fe5131
RD
261 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
262}
263
264/* Same as previous function, except strcmp is replaced with a pointer comparison */
265SWIGRUNTIME swig_cast_info *
266SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
267 SWIG_TypeCheck_Template(iter->type == from, into);
36ed4f51
RD
268}
269
270/*
271 Cast a pointer up an inheritance hierarchy
272*/
273SWIGRUNTIMEINLINE void *
32fe5131 274SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
36ed4f51
RD
275 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
276}
277
278/*
279 Dynamic pointer casting. Down an inheritance hierarchy
280*/
281SWIGRUNTIME swig_type_info *
282SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
283 swig_type_info *lastty = ty;
284 if (!ty || !ty->dcast) return ty;
285 while (ty && (ty->dcast)) {
286 ty = (*ty->dcast)(ptr);
287 if (ty) lastty = ty;
288 }
289 return lastty;
290}
291
292/*
293 Return the name associated with this type
294*/
295SWIGRUNTIMEINLINE const char *
296SWIG_TypeName(const swig_type_info *ty) {
297 return ty->name;
298}
299
300/*
301 Return the pretty name associated with this type,
302 that is an unmangled type name in a form presentable to the user.
303*/
304SWIGRUNTIME const char *
305SWIG_TypePrettyName(const swig_type_info *type) {
306 /* The "str" field contains the equivalent pretty names of the
307 type, separated by vertical-bar characters. We choose
308 to print the last name, as it is often (?) the most
309 specific. */
310 if (type->str != NULL) {
311 const char *last_name = type->str;
312 const char *s;
313 for (s = type->str; *s; s++)
314 if (*s == '|') last_name = s+1;
315 return last_name;
316 }
317 else
318 return type->name;
319}
320
36ed4f51
RD
321/*
322 Set the clientdata field for a type
323*/
324SWIGRUNTIME void
32fe5131
RD
325SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
326 swig_cast_info *cast = ti->cast;
36ed4f51
RD
327 /* if (ti->clientdata == clientdata) return; */
328 ti->clientdata = clientdata;
32fe5131
RD
329
330 while (cast) {
331 if (!cast->converter) {
332 swig_type_info *tc = cast->type;
333 if (!tc->clientdata) {
334 SWIG_TypeClientData(tc, clientdata);
36ed4f51 335 }
32fe5131
RD
336 }
337 cast = cast->next;
338 }
339}
340
341/*
342 Search for a swig_type_info structure only by mangled name
343 Search is a O(log #types)
344
345 We start searching at module start, and finish searching when start == end.
346 Note: if start == end at the beginning of the function, we go all the way around
347 the circular list.
348*/
349SWIGRUNTIME swig_type_info *
350SWIG_MangledTypeQueryModule(swig_module_info *start,
351 swig_module_info *end,
352 const char *name) {
353 swig_module_info *iter = start;
354 do {
355 if (iter->size) {
356 register size_t l = 0;
357 register size_t r = iter->size - 1;
358 do {
359 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
360 register size_t i = (l + r) >> 1;
361 const char *iname = iter->types[i]->name;
362 if (iname) {
363 register int compare = strcmp(name, iname);
364 if (compare == 0) {
365 return iter->types[i];
366 } else if (compare < 0) {
367 if (i) {
368 r = i - 1;
369 } else {
370 break;
371 }
372 } else if (compare > 0) {
373 l = i + 1;
374 }
375 } else {
376 break; /* should never happen */
377 }
378 } while (l <= r);
36ed4f51 379 }
32fe5131
RD
380 iter = iter->next;
381 } while (iter != end);
382 return 0;
383}
384
385/*
386 Search for a swig_type_info structure for either a mangled name or a human readable name.
387 It first searches the mangled names of the types, which is a O(log #types)
388 If a type is not found it then searches the human readable names, which is O(#types).
389
390 We start searching at module start, and finish searching when start == end.
391 Note: if start == end at the beginning of the function, we go all the way around
392 the circular list.
393*/
394SWIGRUNTIME swig_type_info *
395SWIG_TypeQueryModule(swig_module_info *start,
396 swig_module_info *end,
397 const char *name) {
398 /* STEP 1: Search the name field using binary search */
399 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
400 if (ret) {
401 return ret;
402 } else {
403 /* STEP 2: If the type hasn't been found, do a complete search
404 of the str field (the human readable name) */
405 swig_module_info *iter = start;
406 do {
407 register size_t i = 0;
408 for (; i < iter->size; ++i) {
409 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
410 return iter->types[i];
411 }
412 iter = iter->next;
413 } while (iter != end);
36ed4f51 414 }
32fe5131
RD
415
416 /* neither found a match */
417 return 0;
36ed4f51
RD
418}
419
32fe5131 420
36ed4f51
RD
421/*
422 Pack binary data into a string
423*/
424SWIGRUNTIME char *
425SWIG_PackData(char *c, void *ptr, size_t sz) {
32fe5131
RD
426 static const char hex[17] = "0123456789abcdef";
427 register const unsigned char *u = (unsigned char *) ptr;
428 register const unsigned char *eu = u + sz;
36ed4f51 429 for (; u != eu; ++u) {
32fe5131 430 register unsigned char uu = *u;
36ed4f51
RD
431 *(c++) = hex[(uu & 0xf0) >> 4];
432 *(c++) = hex[uu & 0xf];
433 }
434 return c;
435}
436
437/*
438 Unpack binary data from a string
439*/
440SWIGRUNTIME const char *
441SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
442 register unsigned char *u = (unsigned char *) ptr;
32fe5131 443 register const unsigned char *eu = u + sz;
36ed4f51 444 for (; u != eu; ++u) {
32fe5131 445 register char d = *(c++);
36ed4f51
RD
446 register unsigned char uu = 0;
447 if ((d >= '0') && (d <= '9'))
448 uu = ((d - '0') << 4);
449 else if ((d >= 'a') && (d <= 'f'))
450 uu = ((d - ('a'-10)) << 4);
451 else
452 return (char *) 0;
453 d = *(c++);
454 if ((d >= '0') && (d <= '9'))
455 uu |= (d - '0');
456 else if ((d >= 'a') && (d <= 'f'))
457 uu |= (d - ('a'-10));
458 else
459 return (char *) 0;
460 *u = uu;
461 }
462 return c;
463}
464
36ed4f51
RD
465/*
466 Pack 'void *' into a string buffer.
467*/
468SWIGRUNTIME char *
469SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
470 char *r = buff;
471 if ((2*sizeof(void *) + 2) > bsz) return 0;
472 *(r++) = '_';
473 r = SWIG_PackData(r,&ptr,sizeof(void *));
474 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
475 strcpy(r,name);
476 return buff;
477}
478
479SWIGRUNTIME const char *
480SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
481 if (*c != '_') {
482 if (strcmp(c,"NULL") == 0) {
483 *ptr = (void *) 0;
484 return name;
485 } else {
486 return 0;
487 }
488 }
489 return SWIG_UnpackData(++c,ptr,sizeof(void *));
490}
491
492SWIGRUNTIME char *
493SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
494 char *r = buff;
495 size_t lname = (name ? strlen(name) : 0);
496 if ((2*sz + 2 + lname) > bsz) return 0;
497 *(r++) = '_';
498 r = SWIG_PackData(r,ptr,sz);
499 if (lname) {
500 strncpy(r,name,lname+1);
501 } else {
502 *r = 0;
503 }
504 return buff;
505}
d55e5bfc 506
36ed4f51
RD
507SWIGRUNTIME const char *
508SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
509 if (*c != '_') {
510 if (strcmp(c,"NULL") == 0) {
511 memset(ptr,0,sz);
512 return name;
513 } else {
514 return 0;
515 }
516 }
517 return SWIG_UnpackData(++c,ptr,sz);
518}
d55e5bfc
RD
519
520#ifdef __cplusplus
521}
522#endif
523
36ed4f51
RD
524/* -----------------------------------------------------------------------------
525 * SWIG API. Portion that goes into the runtime
526 * ----------------------------------------------------------------------------- */
d55e5bfc 527
36ed4f51
RD
528#ifdef __cplusplus
529extern "C" {
530#endif
c370783e 531
36ed4f51
RD
532/* -----------------------------------------------------------------------------
533 * for internal method declarations
534 * ----------------------------------------------------------------------------- */
d55e5bfc 535
36ed4f51 536#ifndef SWIGINTERN
32fe5131 537# define SWIGINTERN static SWIGUNUSED
36ed4f51 538#endif
d55e5bfc 539
32fe5131
RD
540#ifndef SWIGINTERNINLINE
541# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
36ed4f51 542#endif
d55e5bfc 543
36ed4f51
RD
544/*
545 Exception handling in wrappers
546*/
547#define SWIG_fail goto fail
548#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
549#define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
550#define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
551#define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
552#define SWIG_null_ref(type) SWIG_Python_NullRef(type)
553
554/*
555 Contract support
556*/
557#define SWIG_contract_assert(expr, msg) \
558 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
559
560/* -----------------------------------------------------------------------------
561 * Constant declarations
562 * ----------------------------------------------------------------------------- */
d55e5bfc 563
36ed4f51
RD
564/* Constant Types */
565#define SWIG_PY_INT 1
566#define SWIG_PY_FLOAT 2
567#define SWIG_PY_STRING 3
568#define SWIG_PY_POINTER 4
569#define SWIG_PY_BINARY 5
570
571/* Constant information structure */
572typedef struct swig_const_info {
573 int type;
574 char *name;
575 long lvalue;
576 double dvalue;
577 void *pvalue;
578 swig_type_info **ptype;
579} swig_const_info;
d55e5bfc 580
c370783e 581
36ed4f51
RD
582/* -----------------------------------------------------------------------------
583 * Alloc. memory flags
584 * ----------------------------------------------------------------------------- */
c370783e
RD
585#define SWIG_OLDOBJ 1
586#define SWIG_NEWOBJ SWIG_OLDOBJ + 1
587#define SWIG_PYSTR SWIG_NEWOBJ + 1
d55e5bfc
RD
588
589#ifdef __cplusplus
36ed4f51
RD
590}
591#endif
d55e5bfc 592
d55e5bfc 593
36ed4f51
RD
594/***********************************************************************
595 * pyrun.swg
596 *
597 * This file contains the runtime support for Python modules
598 * and includes code for managing global variables and pointer
599 * type checking.
600 *
601 * Author : David Beazley (beazley@cs.uchicago.edu)
602 ************************************************************************/
d55e5bfc 603
36ed4f51
RD
604/* Common SWIG API */
605#define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
606#define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
607#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
608
d55e5bfc 609
36ed4f51
RD
610/* Python-specific SWIG API */
611#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
612#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
d55e5bfc 613
32fe5131
RD
614/* Runtime API */
615#define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
616#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
d55e5bfc 617
36ed4f51
RD
618/* -----------------------------------------------------------------------------
619 * Pointer declarations
620 * ----------------------------------------------------------------------------- */
621/*
622 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
623 C/C++ pointers in the python side. Very useful for debugging, but
624 not always safe.
625*/
626#if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
627# define SWIG_COBJECT_TYPES
628#endif
d55e5bfc 629
36ed4f51
RD
630/* Flags for pointer conversion */
631#define SWIG_POINTER_EXCEPTION 0x1
632#define SWIG_POINTER_DISOWN 0x2
d55e5bfc 633
d55e5bfc 634
32fe5131
RD
635/* Add PyOS_snprintf for old Pythons */
636#if PY_VERSION_HEX < 0x02020000
637#define PyOS_snprintf snprintf
638#endif
639
36ed4f51
RD
640#ifdef __cplusplus
641extern "C" {
642#endif
d55e5bfc 643
36ed4f51
RD
644/* -----------------------------------------------------------------------------
645 * Create a new pointer string
646 * ----------------------------------------------------------------------------- */
36ed4f51
RD
647#ifndef SWIG_BUFFER_SIZE
648#define SWIG_BUFFER_SIZE 1024
649#endif
d55e5bfc 650
32fe5131
RD
651/* A crude PyString_FromFormat implementation for old Pythons */
652#if PY_VERSION_HEX < 0x02020000
653static PyObject *
654PyString_FromFormat(const char *fmt, ...) {
655 va_list ap;
656 char buf[SWIG_BUFFER_SIZE * 2];
657 int res;
658 va_start(ap, fmt);
659 res = vsnprintf(buf, sizeof(buf), fmt, ap);
660 va_end(ap);
661 return (res < 0 || res >= sizeof(buf)) ? 0 : PyString_FromString(buf);
662}
663#endif
664
665#if PY_VERSION_HEX < 0x01060000
666#define PyObject_Del(op) PyMem_DEL((op))
667#endif
668
36ed4f51
RD
669#if defined(SWIG_COBJECT_TYPES)
670#if !defined(SWIG_COBJECT_PYTHON)
671/* -----------------------------------------------------------------------------
672 * Implements a simple Swig Object type, and use it instead of PyCObject
673 * ----------------------------------------------------------------------------- */
d55e5bfc 674
36ed4f51
RD
675typedef struct {
676 PyObject_HEAD
677 void *ptr;
678 const char *desc;
679} PySwigObject;
d55e5bfc 680
36ed4f51 681/* Declarations for objects of type PySwigObject */
d55e5bfc 682
36ed4f51
RD
683SWIGRUNTIME int
684PySwigObject_print(PySwigObject *v, FILE *fp, int flags)
d55e5bfc 685{
36ed4f51 686 char result[SWIG_BUFFER_SIZE];
32fe5131 687 flags = flags;
36ed4f51
RD
688 if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) {
689 fputs("<Swig Object at ", fp); fputs(result, fp); fputs(">", fp);
690 return 0;
c370783e 691 } else {
36ed4f51 692 return 1;
c370783e 693 }
d55e5bfc 694}
36ed4f51
RD
695
696SWIGRUNTIME PyObject *
697PySwigObject_repr(PySwigObject *v)
c370783e 698{
36ed4f51
RD
699 char result[SWIG_BUFFER_SIZE];
700 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
701 PyString_FromFormat("<Swig Object at %s>", result) : 0;
c370783e 702}
d55e5bfc 703
36ed4f51
RD
704SWIGRUNTIME PyObject *
705PySwigObject_str(PySwigObject *v)
d55e5bfc 706{
36ed4f51
RD
707 char result[SWIG_BUFFER_SIZE];
708 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
709 PyString_FromString(result) : 0;
d55e5bfc
RD
710}
711
36ed4f51
RD
712SWIGRUNTIME PyObject *
713PySwigObject_long(PySwigObject *v)
d55e5bfc 714{
32fe5131
RD
715 return PyLong_FromVoidPtr(v->ptr);
716}
717
718SWIGRUNTIME PyObject *
719PySwigObject_format(const char* fmt, PySwigObject *v)
720{
721 PyObject *res = NULL;
722 PyObject *args = PyTuple_New(1);
723 if (args && (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0)) {
724 PyObject *ofmt = PyString_FromString(fmt);
725 if (ofmt) {
726 res = PyString_Format(ofmt,args);
727 Py_DECREF(ofmt);
728 }
729 Py_DECREF(args);
730 }
731 return res;
d55e5bfc
RD
732}
733
36ed4f51
RD
734SWIGRUNTIME PyObject *
735PySwigObject_oct(PySwigObject *v)
c370783e 736{
32fe5131 737 return PySwigObject_format("%o",v);
c370783e 738}
d55e5bfc 739
36ed4f51
RD
740SWIGRUNTIME PyObject *
741PySwigObject_hex(PySwigObject *v)
d55e5bfc 742{
32fe5131 743 return PySwigObject_format("%x",v);
d55e5bfc
RD
744}
745
36ed4f51
RD
746SWIGRUNTIME int
747PySwigObject_compare(PySwigObject *v, PySwigObject *w)
d55e5bfc 748{
36ed4f51
RD
749 int c = strcmp(v->desc, w->desc);
750 if (c) {
32fe5131 751 return (c > 0) ? 1 : -1;
36ed4f51
RD
752 } else {
753 void *i = v->ptr;
754 void *j = w->ptr;
32fe5131 755 return (i < j) ? -1 : ((i > j) ? 1 : 0);
c370783e 756 }
c370783e
RD
757}
758
36ed4f51
RD
759SWIGRUNTIME void
760PySwigObject_dealloc(PySwigObject *self)
c370783e 761{
32fe5131 762 PyObject_Del(self);
d55e5bfc
RD
763}
764
36ed4f51 765SWIGRUNTIME PyTypeObject*
32fe5131
RD
766PySwigObject_type(void) {
767 static char pyswigobject_type__doc__[] =
36ed4f51 768 "Swig object carries a C/C++ instance pointer";
c370783e 769
36ed4f51
RD
770 static PyNumberMethods PySwigObject_as_number = {
771 (binaryfunc)0, /*nb_add*/
772 (binaryfunc)0, /*nb_subtract*/
773 (binaryfunc)0, /*nb_multiply*/
774 (binaryfunc)0, /*nb_divide*/
775 (binaryfunc)0, /*nb_remainder*/
776 (binaryfunc)0, /*nb_divmod*/
777 (ternaryfunc)0,/*nb_power*/
778 (unaryfunc)0, /*nb_negative*/
779 (unaryfunc)0, /*nb_positive*/
780 (unaryfunc)0, /*nb_absolute*/
781 (inquiry)0, /*nb_nonzero*/
782 0, /*nb_invert*/
783 0, /*nb_lshift*/
784 0, /*nb_rshift*/
785 0, /*nb_and*/
786 0, /*nb_xor*/
787 0, /*nb_or*/
788 (coercion)0, /*nb_coerce*/
789 (unaryfunc)PySwigObject_long, /*nb_int*/
790 (unaryfunc)PySwigObject_long, /*nb_long*/
791 (unaryfunc)0, /*nb_float*/
792 (unaryfunc)PySwigObject_oct, /*nb_oct*/
793 (unaryfunc)PySwigObject_hex, /*nb_hex*/
32fe5131 794#if PY_VERSION_HEX >= 0x02020000
36ed4f51 795 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
32fe5131
RD
796#elif PY_VERSION_HEX >= 0x02000000
797 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
36ed4f51
RD
798#endif
799 };
800
32fe5131
RD
801 static PyTypeObject pyswigobject_type
802#if !defined(__cplusplus)
803 ;
804 static int type_init = 0;
36ed4f51 805 if (!type_init) {
32fe5131
RD
806 PyTypeObject tmp
807#endif
808 = {
36ed4f51
RD
809 PyObject_HEAD_INIT(&PyType_Type)
810 0, /*ob_size*/
32fe5131 811 (char *)"PySwigObject", /*tp_name*/
36ed4f51
RD
812 sizeof(PySwigObject), /*tp_basicsize*/
813 0, /*tp_itemsize*/
814 /* methods */
815 (destructor)PySwigObject_dealloc, /*tp_dealloc*/
816 (printfunc)PySwigObject_print, /*tp_print*/
817 (getattrfunc)0, /*tp_getattr*/
818 (setattrfunc)0, /*tp_setattr*/
819 (cmpfunc)PySwigObject_compare, /*tp_compare*/
820 (reprfunc)PySwigObject_repr, /*tp_repr*/
821 &PySwigObject_as_number, /*tp_as_number*/
822 0, /*tp_as_sequence*/
823 0, /*tp_as_mapping*/
824 (hashfunc)0, /*tp_hash*/
825 (ternaryfunc)0, /*tp_call*/
826 (reprfunc)PySwigObject_str, /*tp_str*/
827 /* Space for future expansion */
32fe5131
RD
828 0,0,0,0,
829 pyswigobject_type__doc__, /* Documentation string */
36ed4f51
RD
830#if PY_VERSION_HEX >= 0x02000000
831 0, /* tp_traverse */
832 0, /* tp_clear */
833#endif
834#if PY_VERSION_HEX >= 0x02010000
835 0, /* tp_richcompare */
836 0, /* tp_weaklistoffset */
837#endif
838#if PY_VERSION_HEX >= 0x02020000
839 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
840#endif
841#if PY_VERSION_HEX >= 0x02030000
842 0, /* tp_del */
843#endif
844#ifdef COUNT_ALLOCS
845 0,0,0,0 /* tp_alloc -> tp_next */
846#endif
847 };
32fe5131
RD
848#if !defined(__cplusplus)
849 pyswigobject_type = tmp;
36ed4f51
RD
850 type_init = 1;
851 }
32fe5131
RD
852#endif
853 return &pyswigobject_type;
36ed4f51
RD
854}
855
856SWIGRUNTIME PyObject *
857PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc)
c370783e 858{
32fe5131
RD
859 PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_type());
860 if (self) {
861 self->ptr = ptr;
862 self->desc = desc;
863 }
36ed4f51 864 return (PyObject *)self;
c370783e 865}
d55e5bfc 866
36ed4f51
RD
867SWIGRUNTIMEINLINE void *
868PySwigObject_AsVoidPtr(PyObject *self)
869{
870 return ((PySwigObject *)self)->ptr;
871}
c370783e 872
36ed4f51
RD
873SWIGRUNTIMEINLINE const char *
874PySwigObject_GetDesc(PyObject *self)
875{
876 return ((PySwigObject *)self)->desc;
877}
d55e5bfc 878
36ed4f51
RD
879SWIGRUNTIMEINLINE int
880PySwigObject_Check(PyObject *op) {
32fe5131 881 return ((op)->ob_type == PySwigObject_type())
36ed4f51
RD
882 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
883}
d55e5bfc 884
36ed4f51
RD
885/* -----------------------------------------------------------------------------
886 * Implements a simple Swig Packed type, and use it instead of string
887 * ----------------------------------------------------------------------------- */
d55e5bfc 888
36ed4f51
RD
889typedef struct {
890 PyObject_HEAD
891 void *pack;
892 const char *desc;
893 size_t size;
894} PySwigPacked;
c370783e 895
36ed4f51
RD
896SWIGRUNTIME int
897PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags)
d55e5bfc 898{
36ed4f51 899 char result[SWIG_BUFFER_SIZE];
32fe5131 900 flags = flags;
36ed4f51
RD
901 fputs("<Swig Packed ", fp);
902 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
903 fputs("at ", fp);
904 fputs(result, fp);
905 }
906 fputs(v->desc,fp);
907 fputs(">", fp);
908 return 0;
909}
910
911SWIGRUNTIME PyObject *
912PySwigPacked_repr(PySwigPacked *v)
913{
914 char result[SWIG_BUFFER_SIZE];
915 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
916 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->desc);
917 } else {
918 return PyString_FromFormat("<Swig Packed %s>", v->desc);
919 }
d55e5bfc
RD
920}
921
36ed4f51
RD
922SWIGRUNTIME PyObject *
923PySwigPacked_str(PySwigPacked *v)
924{
925 char result[SWIG_BUFFER_SIZE];
926 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
927 return PyString_FromFormat("%s%s", result, v->desc);
928 } else {
32fe5131 929 return PyString_FromString(v->desc);
36ed4f51
RD
930 }
931}
d55e5bfc 932
36ed4f51
RD
933SWIGRUNTIME int
934PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
d55e5bfc 935{
36ed4f51
RD
936 int c = strcmp(v->desc, w->desc);
937 if (c) {
32fe5131 938 return (c > 0) ? 1 : -1;
36ed4f51
RD
939 } else {
940 size_t i = v->size;
941 size_t j = w->size;
32fe5131 942 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
36ed4f51 943 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
d55e5bfc 944 }
c370783e
RD
945}
946
36ed4f51
RD
947SWIGRUNTIME void
948PySwigPacked_dealloc(PySwigPacked *self)
c370783e 949{
36ed4f51 950 free(self->pack);
32fe5131 951 PyObject_Del(self);
d55e5bfc
RD
952}
953
36ed4f51 954SWIGRUNTIME PyTypeObject*
32fe5131
RD
955PySwigPacked_type(void) {
956 static char pyswigpacked_type__doc__[] =
36ed4f51 957 "Swig object carries a C/C++ instance pointer";
32fe5131
RD
958 static PyTypeObject pyswigpacked_type
959#if !defined(__cplusplus)
960 ;
961 static int type_init = 0;
36ed4f51 962 if (!type_init) {
32fe5131
RD
963 PyTypeObject tmp
964#endif
965 = {
36ed4f51
RD
966 PyObject_HEAD_INIT(&PyType_Type)
967 0, /*ob_size*/
32fe5131 968 (char *)"PySwigPacked", /*tp_name*/
36ed4f51
RD
969 sizeof(PySwigPacked), /*tp_basicsize*/
970 0, /*tp_itemsize*/
971 /* methods */
972 (destructor)PySwigPacked_dealloc, /*tp_dealloc*/
973 (printfunc)PySwigPacked_print, /*tp_print*/
974 (getattrfunc)0, /*tp_getattr*/
975 (setattrfunc)0, /*tp_setattr*/
976 (cmpfunc)PySwigPacked_compare, /*tp_compare*/
977 (reprfunc)PySwigPacked_repr, /*tp_repr*/
978 0, /*tp_as_number*/
979 0, /*tp_as_sequence*/
980 0, /*tp_as_mapping*/
981 (hashfunc)0, /*tp_hash*/
982 (ternaryfunc)0, /*tp_call*/
983 (reprfunc)PySwigPacked_str, /*tp_str*/
984 /* Space for future expansion */
32fe5131
RD
985 0,0,0,0,
986 pyswigpacked_type__doc__, /* Documentation string */
36ed4f51
RD
987#if PY_VERSION_HEX >= 0x02000000
988 0, /* tp_traverse */
989 0, /* tp_clear */
990#endif
991#if PY_VERSION_HEX >= 0x02010000
992 0, /* tp_richcompare */
993 0, /* tp_weaklistoffset */
994#endif
995#if PY_VERSION_HEX >= 0x02020000
996 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
997#endif
998#if PY_VERSION_HEX >= 0x02030000
999 0, /* tp_del */
1000#endif
1001#ifdef COUNT_ALLOCS
1002 0,0,0,0 /* tp_alloc -> tp_next */
1003#endif
1004 };
32fe5131
RD
1005#if !defined(__cplusplus)
1006 pyswigpacked_type = tmp;
36ed4f51
RD
1007 type_init = 1;
1008 }
32fe5131
RD
1009#endif
1010 return &pyswigpacked_type;
36ed4f51 1011}
d55e5bfc 1012
36ed4f51
RD
1013SWIGRUNTIME PyObject *
1014PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc)
1015{
32fe5131 1016 PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_type());
36ed4f51
RD
1017 if (self == NULL) {
1018 return NULL;
1019 } else {
1020 void *pack = malloc(size);
32fe5131
RD
1021 if (pack) {
1022 memcpy(pack, ptr, size);
1023 self->pack = pack;
1024 self->desc = desc;
1025 self->size = size;
1026 return (PyObject *) self;
1027 }
1028 return NULL;
36ed4f51
RD
1029 }
1030}
d55e5bfc 1031
36ed4f51
RD
1032SWIGRUNTIMEINLINE const char *
1033PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1034{
1035 PySwigPacked *self = (PySwigPacked *)obj;
1036 if (self->size != size) return 0;
1037 memcpy(ptr, self->pack, size);
1038 return self->desc;
1039}
d55e5bfc 1040
36ed4f51
RD
1041SWIGRUNTIMEINLINE const char *
1042PySwigPacked_GetDesc(PyObject *self)
d55e5bfc 1043{
36ed4f51
RD
1044 return ((PySwigPacked *)self)->desc;
1045}
d55e5bfc 1046
36ed4f51
RD
1047SWIGRUNTIMEINLINE int
1048PySwigPacked_Check(PyObject *op) {
32fe5131 1049 return ((op)->ob_type == PySwigPacked_type())
36ed4f51
RD
1050 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1051}
d55e5bfc 1052
36ed4f51
RD
1053#else
1054/* -----------------------------------------------------------------------------
1055 * Use the old Python PyCObject instead of PySwigObject
1056 * ----------------------------------------------------------------------------- */
d55e5bfc 1057
36ed4f51
RD
1058#define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1059#define PySwigObject_Check(obj) PyCObject_Check(obj)
1060#define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1061#define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
d55e5bfc 1062
36ed4f51 1063#endif
d55e5bfc 1064
36ed4f51 1065#endif
d55e5bfc 1066
36ed4f51
RD
1067/* -----------------------------------------------------------------------------
1068 * errors manipulation
1069 * ----------------------------------------------------------------------------- */
d55e5bfc 1070
36ed4f51
RD
1071SWIGRUNTIME void
1072SWIG_Python_TypeError(const char *type, PyObject *obj)
1073{
1074 if (type) {
1075#if defined(SWIG_COBJECT_TYPES)
32fe5131 1076 if (obj && PySwigObject_Check(obj)) {
36ed4f51
RD
1077 const char *otype = (const char *) PySwigObject_GetDesc(obj);
1078 if (otype) {
1079 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
1080 type, otype);
1081 return;
1082 }
1083 } else
1084#endif
1085 {
1086 const char *otype = (obj ? obj->ob_type->tp_name : 0);
1087 if (otype) {
1088 PyObject *str = PyObject_Str(obj);
1089 const char *cstr = str ? PyString_AsString(str) : 0;
1090 if (cstr) {
1091 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
1092 type, otype, cstr);
1093 } else {
1094 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
1095 type, otype);
1096 }
32fe5131 1097 Py_XDECREF(str);
36ed4f51
RD
1098 return;
1099 }
1100 }
1101 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1102 } else {
1103 PyErr_Format(PyExc_TypeError, "unexpected type is received");
1104 }
1105}
d55e5bfc 1106
36ed4f51
RD
1107SWIGRUNTIMEINLINE void
1108SWIG_Python_NullRef(const char *type)
d55e5bfc 1109{
36ed4f51
RD
1110 if (type) {
1111 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1112 } else {
1113 PyErr_Format(PyExc_TypeError, "null reference was received");
1114 }
1115}
d55e5bfc 1116
36ed4f51
RD
1117SWIGRUNTIME int
1118SWIG_Python_AddErrMesg(const char* mesg, int infront)
1119{
1120 if (PyErr_Occurred()) {
1121 PyObject *type = 0;
1122 PyObject *value = 0;
1123 PyObject *traceback = 0;
1124 PyErr_Fetch(&type, &value, &traceback);
1125 if (value) {
1126 PyObject *old_str = PyObject_Str(value);
1127 Py_XINCREF(type);
1128 PyErr_Clear();
1129 if (infront) {
1130 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1131 } else {
1132 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1133 }
1134 Py_DECREF(old_str);
1135 }
1136 return 1;
1137 } else {
1138 return 0;
1139 }
1140}
d55e5bfc 1141
36ed4f51
RD
1142SWIGRUNTIME int
1143SWIG_Python_ArgFail(int argnum)
1144{
1145 if (PyErr_Occurred()) {
1146 /* add information about failing argument */
1147 char mesg[256];
32fe5131 1148 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
36ed4f51
RD
1149 return SWIG_Python_AddErrMesg(mesg, 1);
1150 } else {
1151 return 0;
1152 }
1153}
d55e5bfc 1154
d55e5bfc 1155
36ed4f51
RD
1156/* -----------------------------------------------------------------------------
1157 * pointers/data manipulation
1158 * ----------------------------------------------------------------------------- */
d55e5bfc 1159
36ed4f51
RD
1160/* Convert a pointer value */
1161SWIGRUNTIME int
1162SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
32fe5131 1163 swig_cast_info *tc;
36ed4f51
RD
1164 const char *c = 0;
1165 static PyObject *SWIG_this = 0;
1166 int newref = 0;
1167 PyObject *pyobj = 0;
1168 void *vptr;
1169
1170 if (!obj) return 0;
1171 if (obj == Py_None) {
1172 *ptr = 0;
1173 return 0;
1174 }
d55e5bfc 1175
36ed4f51
RD
1176#ifdef SWIG_COBJECT_TYPES
1177 if (!(PySwigObject_Check(obj))) {
1178 if (!SWIG_this)
1179 SWIG_this = PyString_FromString("this");
1180 pyobj = obj;
1181 obj = PyObject_GetAttr(obj,SWIG_this);
1182 newref = 1;
1183 if (!obj) goto type_error;
1184 if (!PySwigObject_Check(obj)) {
1185 Py_DECREF(obj);
1186 goto type_error;
1187 }
1188 }
1189 vptr = PySwigObject_AsVoidPtr(obj);
1190 c = (const char *) PySwigObject_GetDesc(obj);
1191 if (newref) { Py_DECREF(obj); }
1192 goto type_check;
1193#else
1194 if (!(PyString_Check(obj))) {
1195 if (!SWIG_this)
1196 SWIG_this = PyString_FromString("this");
1197 pyobj = obj;
1198 obj = PyObject_GetAttr(obj,SWIG_this);
1199 newref = 1;
1200 if (!obj) goto type_error;
1201 if (!PyString_Check(obj)) {
1202 Py_DECREF(obj);
1203 goto type_error;
1204 }
1205 }
32fe5131 1206 c = PyString_AsString(obj);
36ed4f51
RD
1207 /* Pointer values must start with leading underscore */
1208 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1209 if (newref) { Py_DECREF(obj); }
1210 if (!c) goto type_error;
1211#endif
d55e5bfc 1212
36ed4f51 1213type_check:
36ed4f51
RD
1214 if (ty) {
1215 tc = SWIG_TypeCheck(c,ty);
1216 if (!tc) goto type_error;
1217 *ptr = SWIG_TypeCast(tc,vptr);
1218 } else {
1219 *ptr = vptr;
1220 }
36ed4f51
RD
1221 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1222 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1223 }
1224 return 0;
d55e5bfc 1225
36ed4f51
RD
1226type_error:
1227 PyErr_Clear();
1228 if (pyobj && !obj) {
1229 obj = pyobj;
1230 if (PyCFunction_Check(obj)) {
1231 /* here we get the method pointer for callbacks */
1232 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1233 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1234 if (c) {
32fe5131 1235 c = ty ? SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name) : 0;
36ed4f51
RD
1236 if (!c) goto type_error;
1237 goto type_check;
1238 }
1239 }
1240 }
1241 if (flags & SWIG_POINTER_EXCEPTION) {
1242 if (ty) {
1243 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1244 } else {
1245 SWIG_Python_TypeError("C/C++ pointer", obj);
1246 }
1247 }
1248 return -1;
1249}
d55e5bfc 1250
36ed4f51
RD
1251/* Convert a pointer value, signal an exception on a type mismatch */
1252SWIGRUNTIME void *
1253SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1254 void *result;
1255 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1256 PyErr_Clear();
1257 if (flags & SWIG_POINTER_EXCEPTION) {
1258 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1259 SWIG_Python_ArgFail(argnum);
1260 }
1261 }
1262 return result;
1263}
d55e5bfc 1264
36ed4f51
RD
1265/* Convert a packed value value */
1266SWIGRUNTIME int
1267SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
32fe5131 1268 swig_cast_info *tc;
36ed4f51 1269 const char *c = 0;
d55e5bfc 1270
36ed4f51
RD
1271#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1272 c = PySwigPacked_UnpackData(obj, ptr, sz);
1273#else
1274 if ((!obj) || (!PyString_Check(obj))) goto type_error;
32fe5131 1275 c = PyString_AsString(obj);
36ed4f51
RD
1276 /* Pointer values must start with leading underscore */
1277 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1278#endif
1279 if (!c) goto type_error;
1280 if (ty) {
1281 tc = SWIG_TypeCheck(c,ty);
1282 if (!tc) goto type_error;
1283 }
1284 return 0;
d55e5bfc 1285
36ed4f51
RD
1286type_error:
1287 PyErr_Clear();
1288 if (flags & SWIG_POINTER_EXCEPTION) {
1289 if (ty) {
1290 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1291 } else {
1292 SWIG_Python_TypeError("C/C++ packed data", obj);
1293 }
1294 }
1295 return -1;
1296}
1297
1298/* Create a new array object */
1299SWIGRUNTIME PyObject *
1300SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1301 PyObject *robj = 0;
32fe5131
RD
1302 if (!type) {
1303 if (!PyErr_Occurred()) {
1304 PyErr_Format(PyExc_TypeError, "Swig: null type passed to NewPointerObj");
1305 }
1306 return robj;
1307 }
36ed4f51
RD
1308 if (!ptr) {
1309 Py_INCREF(Py_None);
1310 return Py_None;
1311 }
1312#ifdef SWIG_COBJECT_TYPES
1313 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1314#else
1315 {
1316 char result[SWIG_BUFFER_SIZE];
1317 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1318 PyString_FromString(result) : 0;
1319 }
1320#endif
1321 if (!robj || (robj == Py_None)) return robj;
1322 if (type->clientdata) {
1323 PyObject *inst;
1324 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1325 Py_DECREF(robj);
1326 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1327 Py_DECREF(args);
1328 if (inst) {
1329 if (own) {
1330 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1331 }
1332 robj = inst;
1333 }
1334 }
1335 return robj;
1336}
1337
1338SWIGRUNTIME PyObject *
1339SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1340 PyObject *robj = 0;
1341 if (!ptr) {
1342 Py_INCREF(Py_None);
1343 return Py_None;
1344 }
1345#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1346 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1347#else
1348 {
1349 char result[SWIG_BUFFER_SIZE];
1350 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1351 PyString_FromString(result) : 0;
1352 }
1353#endif
1354 return robj;
1355}
1356
1357/* -----------------------------------------------------------------------------*
1358 * Get type list
1359 * -----------------------------------------------------------------------------*/
1360
1361#ifdef SWIG_LINK_RUNTIME
1362void *SWIG_ReturnGlobalTypeList(void *);
1363#endif
1364
32fe5131
RD
1365SWIGRUNTIME swig_module_info *
1366SWIG_Python_GetModule(void) {
36ed4f51
RD
1367 static void *type_pointer = (void *)0;
1368 /* first check if module already created */
1369 if (!type_pointer) {
1370#ifdef SWIG_LINK_RUNTIME
1371 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1372#else
1373 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1374 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1375 if (PyErr_Occurred()) {
1376 PyErr_Clear();
1377 type_pointer = (void *)0;
1378 }
36ed4f51 1379#endif
32fe5131
RD
1380 }
1381 return (swig_module_info *) type_pointer;
36ed4f51
RD
1382}
1383
32fe5131
RD
1384#if PY_MAJOR_VERSION < 2
1385/* PyModule_AddObject function was introduced in Python 2.0. The following function
1386is copied out of Python/modsupport.c in python version 2.3.4 */
1387SWIGINTERN int
1388PyModule_AddObject(PyObject *m, char *name, PyObject *o)
1389{
1390 PyObject *dict;
1391 if (!PyModule_Check(m)) {
1392 PyErr_SetString(PyExc_TypeError,
1393 "PyModule_AddObject() needs module as first arg");
1394 return -1;
1395 }
1396 if (!o) {
1397 PyErr_SetString(PyExc_TypeError,
1398 "PyModule_AddObject() needs non-NULL value");
1399 return -1;
1400 }
1401
1402 dict = PyModule_GetDict(m);
1403 if (dict == NULL) {
1404 /* Internal error -- modules must have a dict! */
1405 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
1406 PyModule_GetName(m));
1407 return -1;
1408 }
1409 if (PyDict_SetItemString(dict, name, o))
1410 return -1;
1411 Py_DECREF(o);
1412 return 0;
36ed4f51 1413}
32fe5131 1414#endif
36ed4f51 1415
32fe5131
RD
1416SWIGRUNTIME void
1417SWIG_Python_SetModule(swig_module_info *swig_module) {
1418 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
1419
1420 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1421 swig_empty_runtime_method_table);
1422 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, NULL);
1423 if (pointer && module) {
1424 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
1425 }
1426}
36ed4f51
RD
1427
1428#ifdef __cplusplus
1429}
1430#endif
1431
1432
1433/* -------- TYPES TABLE (BEGIN) -------- */
1434
32fe5131
RD
1435#define SWIGTYPE_p_char swig_types[0]
1436#define SWIGTYPE_p_form_ops_t swig_types[1]
1437#define SWIGTYPE_p_int swig_types[2]
1438#define SWIGTYPE_p_unsigned_char swig_types[3]
1439#define SWIGTYPE_p_unsigned_int swig_types[4]
1440#define SWIGTYPE_p_unsigned_long swig_types[5]
1441#define SWIGTYPE_p_wxANIHandler swig_types[6]
1442#define SWIGTYPE_p_wxAcceleratorTable swig_types[7]
1443#define SWIGTYPE_p_wxActivateEvent swig_types[8]
1444#define SWIGTYPE_p_wxArrayInt swig_types[9]
1445#define SWIGTYPE_p_wxBMPHandler swig_types[10]
1446#define SWIGTYPE_p_wxBitmap swig_types[11]
1447#define SWIGTYPE_p_wxBoxSizer swig_types[12]
1448#define SWIGTYPE_p_wxCURHandler swig_types[13]
1449#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[14]
1450#define SWIGTYPE_p_wxChildFocusEvent swig_types[15]
1451#define SWIGTYPE_p_wxCloseEvent swig_types[16]
1452#define SWIGTYPE_p_wxColour swig_types[17]
1453#define SWIGTYPE_p_wxColourData swig_types[18]
1454#define SWIGTYPE_p_wxColourDialog swig_types[19]
1455#define SWIGTYPE_p_wxCommandEvent swig_types[20]
1456#define SWIGTYPE_p_wxContextMenuEvent swig_types[21]
1457#define SWIGTYPE_p_wxControl swig_types[22]
1458#define SWIGTYPE_p_wxControlWithItems swig_types[23]
1459#define SWIGTYPE_p_wxDC swig_types[24]
1460#define SWIGTYPE_p_wxDateEvent swig_types[25]
1461#define SWIGTYPE_p_wxDialog swig_types[26]
1462#define SWIGTYPE_p_wxDirDialog swig_types[27]
1463#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[28]
1464#define SWIGTYPE_p_wxDropFilesEvent swig_types[29]
1465#define SWIGTYPE_p_wxDuplexMode swig_types[30]
1466#define SWIGTYPE_p_wxEraseEvent swig_types[31]
1467#define SWIGTYPE_p_wxEvent swig_types[32]
1468#define SWIGTYPE_p_wxEvtHandler swig_types[33]
1469#define SWIGTYPE_p_wxFSFile swig_types[34]
1470#define SWIGTYPE_p_wxFileDialog swig_types[35]
1471#define SWIGTYPE_p_wxFileSystem swig_types[36]
1472#define SWIGTYPE_p_wxFindDialogEvent swig_types[37]
1473#define SWIGTYPE_p_wxFindReplaceData swig_types[38]
1474#define SWIGTYPE_p_wxFindReplaceDialog swig_types[39]
1475#define SWIGTYPE_p_wxFlexGridSizer swig_types[40]
1476#define SWIGTYPE_p_wxFocusEvent swig_types[41]
1477#define SWIGTYPE_p_wxFont swig_types[42]
1478#define SWIGTYPE_p_wxFontData swig_types[43]
1479#define SWIGTYPE_p_wxFontDialog swig_types[44]
1480#define SWIGTYPE_p_wxFrame swig_types[45]
1481#define SWIGTYPE_p_wxGBSizerItem swig_types[46]
1482#define SWIGTYPE_p_wxGIFHandler swig_types[47]
1483#define SWIGTYPE_p_wxGridBagSizer swig_types[48]
1484#define SWIGTYPE_p_wxGridSizer swig_types[49]
1485#define SWIGTYPE_p_wxICOHandler swig_types[50]
1486#define SWIGTYPE_p_wxIcon swig_types[51]
1487#define SWIGTYPE_p_wxIconBundle swig_types[52]
1488#define SWIGTYPE_p_wxIconizeEvent swig_types[53]
1489#define SWIGTYPE_p_wxIdleEvent swig_types[54]
1490#define SWIGTYPE_p_wxImage swig_types[55]
1491#define SWIGTYPE_p_wxImageHandler swig_types[56]
1492#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[57]
1493#define SWIGTYPE_p_wxInitDialogEvent swig_types[58]
1494#define SWIGTYPE_p_wxJPEGHandler swig_types[59]
1495#define SWIGTYPE_p_wxKeyEvent swig_types[60]
1496#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[61]
1497#define SWIGTYPE_p_wxLayoutConstraints swig_types[62]
1498#define SWIGTYPE_p_wxMDIChildFrame swig_types[63]
1499#define SWIGTYPE_p_wxMDIClientWindow swig_types[64]
1500#define SWIGTYPE_p_wxMDIParentFrame swig_types[65]
1501#define SWIGTYPE_p_wxMaximizeEvent swig_types[66]
1502#define SWIGTYPE_p_wxMenu swig_types[67]
1503#define SWIGTYPE_p_wxMenuBar swig_types[68]
1504#define SWIGTYPE_p_wxMenuEvent swig_types[69]
1505#define SWIGTYPE_p_wxMenuItem swig_types[70]
1506#define SWIGTYPE_p_wxMessageDialog swig_types[71]
1507#define SWIGTYPE_p_wxMiniFrame swig_types[72]
1508#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[73]
1509#define SWIGTYPE_p_wxMouseEvent swig_types[74]
1510#define SWIGTYPE_p_wxMoveEvent swig_types[75]
1511#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[76]
1512#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[77]
1513#define SWIGTYPE_p_wxNcPaintEvent swig_types[78]
1514#define SWIGTYPE_p_wxNotifyEvent swig_types[79]
1515#define SWIGTYPE_p_wxObject swig_types[80]
1516#define SWIGTYPE_p_wxPCXHandler swig_types[81]
1517#define SWIGTYPE_p_wxPNGHandler swig_types[82]
1518#define SWIGTYPE_p_wxPNMHandler swig_types[83]
1519#define SWIGTYPE_p_wxPageSetupDialog swig_types[84]
1520#define SWIGTYPE_p_wxPageSetupDialogData swig_types[85]
1521#define SWIGTYPE_p_wxPaintEvent swig_types[86]
1522#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[87]
1523#define SWIGTYPE_p_wxPanel swig_types[88]
1524#define SWIGTYPE_p_wxPaperSize swig_types[89]
1525#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[90]
1526#define SWIGTYPE_p_wxPoint swig_types[91]
1527#define SWIGTYPE_p_wxPopupWindow swig_types[92]
1528#define SWIGTYPE_p_wxPreviewCanvas swig_types[93]
1529#define SWIGTYPE_p_wxPreviewControlBar swig_types[94]
1530#define SWIGTYPE_p_wxPreviewFrame swig_types[95]
1531#define SWIGTYPE_p_wxPrintData swig_types[96]
1532#define SWIGTYPE_p_wxPrintDialog swig_types[97]
1533#define SWIGTYPE_p_wxPrintDialogData swig_types[98]
1534#define SWIGTYPE_p_wxPrintPreview swig_types[99]
1535#define SWIGTYPE_p_wxPrinter swig_types[100]
1536#define SWIGTYPE_p_wxProgressDialog swig_types[101]
1537#define SWIGTYPE_p_wxPyApp swig_types[102]
1538#define SWIGTYPE_p_wxPyCommandEvent swig_types[103]
1539#define SWIGTYPE_p_wxPyEvent swig_types[104]
1540#define SWIGTYPE_p_wxPyHtmlListBox swig_types[105]
1541#define SWIGTYPE_p_wxPyImageHandler swig_types[106]
1542#define SWIGTYPE_p_wxPyPanel swig_types[107]
1543#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[108]
1544#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[109]
1545#define SWIGTYPE_p_wxPyPreviewFrame swig_types[110]
1546#define SWIGTYPE_p_wxPyPrintPreview swig_types[111]
1547#define SWIGTYPE_p_wxPyPrintout swig_types[112]
1548#define SWIGTYPE_p_wxPyScrolledWindow swig_types[113]
1549#define SWIGTYPE_p_wxPySizer swig_types[114]
1550#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[115]
1551#define SWIGTYPE_p_wxPyVListBox swig_types[116]
1552#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[117]
1553#define SWIGTYPE_p_wxPyValidator swig_types[118]
1554#define SWIGTYPE_p_wxPyWindow swig_types[119]
1555#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[120]
1556#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[121]
1557#define SWIGTYPE_p_wxRect swig_types[122]
1558#define SWIGTYPE_p_wxRegion swig_types[123]
1559#define SWIGTYPE_p_wxSashEvent swig_types[124]
1560#define SWIGTYPE_p_wxSashLayoutWindow swig_types[125]
1561#define SWIGTYPE_p_wxSashWindow swig_types[126]
1562#define SWIGTYPE_p_wxScrollEvent swig_types[127]
1563#define SWIGTYPE_p_wxScrollWinEvent swig_types[128]
1564#define SWIGTYPE_p_wxScrolledWindow swig_types[129]
1565#define SWIGTYPE_p_wxSetCursorEvent swig_types[130]
1566#define SWIGTYPE_p_wxShowEvent swig_types[131]
1567#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[132]
1568#define SWIGTYPE_p_wxSize swig_types[133]
1569#define SWIGTYPE_p_wxSizeEvent swig_types[134]
1570#define SWIGTYPE_p_wxSizer swig_types[135]
1571#define SWIGTYPE_p_wxSizerItem swig_types[136]
1572#define SWIGTYPE_p_wxSplashScreen swig_types[137]
1573#define SWIGTYPE_p_wxSplashScreenWindow swig_types[138]
1574#define SWIGTYPE_p_wxSplitterEvent swig_types[139]
1575#define SWIGTYPE_p_wxSplitterWindow swig_types[140]
1576#define SWIGTYPE_p_wxStaticBoxSizer swig_types[141]
1577#define SWIGTYPE_p_wxStatusBar swig_types[142]
1578#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[143]
1579#define SWIGTYPE_p_wxString swig_types[144]
1580#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[145]
1581#define SWIGTYPE_p_wxTIFFHandler swig_types[146]
1582#define SWIGTYPE_p_wxTaskBarIcon swig_types[147]
1583#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[148]
1584#define SWIGTYPE_p_wxTextEntryDialog swig_types[149]
1585#define SWIGTYPE_p_wxTipWindow swig_types[150]
1586#define SWIGTYPE_p_wxToolBar swig_types[151]
1587#define SWIGTYPE_p_wxTopLevelWindow swig_types[152]
1588#define SWIGTYPE_p_wxUpdateUIEvent swig_types[153]
1589#define SWIGTYPE_p_wxValidator swig_types[154]
1590#define SWIGTYPE_p_wxVisualAttributes swig_types[155]
1591#define SWIGTYPE_p_wxWindow swig_types[156]
1592#define SWIGTYPE_p_wxWindowCreateEvent swig_types[157]
1593#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[158]
1594#define SWIGTYPE_p_wxXPMHandler swig_types[159]
1595#define SWIGTYPE_ptrdiff_t swig_types[160]
1596#define SWIGTYPE_std__ptrdiff_t swig_types[161]
1597#define SWIGTYPE_unsigned_int swig_types[162]
1598static swig_type_info *swig_types[164];
1599static swig_module_info swig_module = {swig_types, 163, 0, 0, 0, 0};
1600#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1601#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
36ed4f51
RD
1602
1603/* -------- TYPES TABLE (END) -------- */
1604
1605
1606/*-----------------------------------------------
1607 @(target):= _windows_.so
1608 ------------------------------------------------*/
1609#define SWIG_init init_windows_
1610
1611#define SWIG_name "_windows_"
1612
1613#include "wx/wxPython/wxPython.h"
1614#include "wx/wxPython/pyclasses.h"
1615
1616
1617 static const wxString wxPyEmptyString(wxEmptyString);
1618 static const wxString wxPyPanelNameStr(wxPanelNameStr);
1619
1620
1621
1622#include <limits.h>
1623
1624
1625SWIGINTERN int
1626 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1627 const char *errmsg)
1628{
1629 if (value < min_value) {
1630 if (errmsg) {
1631 PyErr_Format(PyExc_OverflowError,
1632 "value %ld is less than '%s' minimum %ld",
1633 value, errmsg, min_value);
1634 }
1635 return 0;
1636 } else if (value > max_value) {
1637 if (errmsg) {
1638 PyErr_Format(PyExc_OverflowError,
1639 "value %ld is greater than '%s' maximum %ld",
1640 value, errmsg, max_value);
1641 }
1642 return 0;
1643 }
1644 return 1;
1645}
1646
1647
1648SWIGINTERN int
1649SWIG_AsVal_long(PyObject* obj, long* val)
1650{
1651 if (PyNumber_Check(obj)) {
1652 if (val) *val = PyInt_AsLong(obj);
1653 return 1;
1654 }
1655 else {
7e08d4ef 1656 SWIG_Python_TypeError("number", obj);
36ed4f51
RD
1657 }
1658 return 0;
1659}
1660
1661
1662#if INT_MAX != LONG_MAX
1663SWIGINTERN int
1664 SWIG_AsVal_int(PyObject *obj, int *val)
1665{
1666 const char* errmsg = val ? "int" : (char*)0;
1667 long v;
1668 if (SWIG_AsVal_long(obj, &v)) {
1669 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
32fe5131 1670 if (val) *val = static_cast<int >(v);
36ed4f51
RD
1671 return 1;
1672 } else {
1673 return 0;
1674 }
1675 } else {
1676 PyErr_Clear();
1677 }
1678 if (val) {
1679 SWIG_type_error(errmsg, obj);
1680 }
1681 return 0;
1682}
1683#else
32fe5131 1684SWIGINTERNINLINE int
36ed4f51
RD
1685 SWIG_AsVal_int(PyObject *obj, int *val)
1686{
1687 return SWIG_AsVal_long(obj,(long*)val);
1688}
1689#endif
1690
1691
32fe5131 1692SWIGINTERNINLINE int
36ed4f51
RD
1693SWIG_As_int(PyObject* obj)
1694{
1695 int v;
1696 if (!SWIG_AsVal_int(obj, &v)) {
1697 /*
1698 this is needed to make valgrind/purify happier.
1699 */
1700 memset((void*)&v, 0, sizeof(int));
1701 }
1702 return v;
1703}
1704
1705
32fe5131 1706SWIGINTERNINLINE long
36ed4f51
RD
1707SWIG_As_long(PyObject* obj)
1708{
1709 long v;
1710 if (!SWIG_AsVal_long(obj, &v)) {
1711 /*
1712 this is needed to make valgrind/purify happier.
1713 */
1714 memset((void*)&v, 0, sizeof(long));
1715 }
1716 return v;
1717}
1718
1719
32fe5131 1720SWIGINTERNINLINE int
36ed4f51
RD
1721SWIG_Check_int(PyObject* obj)
1722{
1723 return SWIG_AsVal_int(obj, (int*)0);
1724}
1725
1726
32fe5131 1727SWIGINTERNINLINE int
36ed4f51
RD
1728SWIG_Check_long(PyObject* obj)
1729{
1730 return SWIG_AsVal_long(obj, (long*)0);
1731}
1732
1733
1734SWIGINTERN int
1735 SWIG_AsVal_bool(PyObject *obj, bool *val)
1736{
1737 if (obj == Py_True) {
1738 if (val) *val = true;
1739 return 1;
1740 }
1741 if (obj == Py_False) {
1742 if (val) *val = false;
1743 return 1;
1744 }
1745 int res = 0;
1746 if (SWIG_AsVal_int(obj, &res)) {
1747 if (val) *val = res ? true : false;
1748 return 1;
1749 } else {
1750 PyErr_Clear();
1751 }
1752 if (val) {
1753 SWIG_type_error("bool", obj);
1754 }
1755 return 0;
1756}
1757
1758
32fe5131 1759SWIGINTERNINLINE bool
36ed4f51
RD
1760SWIG_As_bool(PyObject* obj)
1761{
1762 bool v;
1763 if (!SWIG_AsVal_bool(obj, &v)) {
1764 /*
1765 this is needed to make valgrind/purify happier.
1766 */
1767 memset((void*)&v, 0, sizeof(bool));
1768 }
1769 return v;
1770}
1771
1772
32fe5131 1773SWIGINTERNINLINE int
36ed4f51
RD
1774SWIG_Check_bool(PyObject* obj)
1775{
1776 return SWIG_AsVal_bool(obj, (bool*)0);
1777}
1778
1779
32fe5131 1780 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
36ed4f51
RD
1781#define SWIG_From_int PyInt_FromLong
1782/*@@*/
1783
1784
7e08d4ef
RD
1785 static PyObject* t_output_helper(PyObject* result, PyObject* obj)
1786 {
1787 PyObject* o2;
1788 PyObject* o3;
1789 if (!result) {
1790 result = obj;
1791 } else if (result == Py_None) {
1792 Py_DECREF(result);
1793 result = obj;
1794 } else {
1795 if (!PyTuple_Check(result)) {
1796 o2 = result;
1797 result = PyTuple_New(1);
1798 PyTuple_SET_ITEM(result, 0, o2);
1799 }
1800 o3 = PyTuple_New(1);
1801 PyTuple_SetItem(o3, 0, obj);
1802 o2 = result;
1803 result = PySequence_Concat(o2, o3);
1804 Py_DECREF(o2);
1805 Py_DECREF(o3);
1806 }
1807 return result;
1808 }
36ed4f51
RD
1809
1810
1811
1812SWIGINTERN int
1813SWIG_AsVal_double(PyObject *obj, double* val)
1814{
1815 if (PyNumber_Check(obj)) {
1816 if (val) *val = PyFloat_AsDouble(obj);
1817 return 1;
1818 }
1819 else {
7e08d4ef 1820 SWIG_Python_TypeError("number", obj);
36ed4f51
RD
1821 }
1822 return 0;
1823}
d55e5bfc 1824
36ed4f51 1825
32fe5131 1826SWIGINTERNINLINE double
36ed4f51
RD
1827SWIG_As_double(PyObject* obj)
1828{
1829 double v;
1830 if (!SWIG_AsVal_double(obj, &v)) {
1831 /*
1832 this is needed to make valgrind/purify happier.
1833 */
1834 memset((void*)&v, 0, sizeof(double));
1835 }
1836 return v;
1837}
1838
1839
32fe5131 1840SWIGINTERNINLINE int
36ed4f51
RD
1841SWIG_Check_double(PyObject* obj)
1842{
1843 return SWIG_AsVal_double(obj, (double*)0);
1844}
1845
1846
32fe5131 1847 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
36ed4f51
RD
1848#define SWIG_From_double PyFloat_FromDouble
1849/*@@*/
1850
1851 static const wxString wxPyFrameNameStr(wxFrameNameStr);
1852 static const wxString wxPyDialogNameStr(wxDialogNameStr);
1853 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
1854 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
1855
32fe5131 1856 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
36ed4f51
RD
1857#define SWIG_From_long PyInt_FromLong
1858/*@@*/
1859
1860
1861
1862static wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
1863 wxRect r;
1864 self->GetFieldRect(i, r);
1865 return r;
1866 }
1867 static const wxString wxPySplitterNameStr(wxT("splitter"));
1868 static const wxString wxPySashNameStr(wxT("sashWindow"));
1869 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
1870
1871#include <wx/popupwin.h>
1872
1873
1874class wxPopupWindow : public wxWindow {
1875public:
1876 wxPopupWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
1877 wxPopupWindow() { wxPyRaiseNotImplemented(); }
1878};
1879
1880class wxPyPopupTransientWindow : public wxPopupWindow
1881{
1882public:
1883 wxPyPopupTransientWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
1884 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
1885};
1886
1887
1888#include <wx/tipwin.h>
1889
1890static wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
1891 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
1892 }
1893
1894#include <wx/tipwin.h>
1895
1896
1897#include <wx/vscroll.h>
1898
1899
1900class wxPyVScrolledWindow : public wxVScrolledWindow
1901{
32fe5131 1902 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
36ed4f51
RD
1903public:
1904 wxPyVScrolledWindow() : wxVScrolledWindow() {}
1905
1906 wxPyVScrolledWindow(wxWindow *parent,
1907 wxWindowID id = wxID_ANY,
1908 const wxPoint& pos = wxDefaultPosition,
1909 const wxSize& size = wxDefaultSize,
1910 long style = 0,
1911 const wxString& name = wxPyPanelNameStr)
1912 : wxVScrolledWindow(parent, id, pos, size, style, name)
1913 {}
1914
1915 // Overridable virtuals
1916
1917 // this function must be overridden in the derived class and it should
1918 // return the height of the given line in pixels
1919 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
1920
1921
1922 // this function doesn't have to be overridden but it may be useful to do
1923 // it if calculating the lines heights is a relatively expensive operation
1924 // as it gives the user code a possibility to calculate several of them at
1925 // once
1926 //
1927 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
1928 // shouldn't rely on the latter being called for all lines in the interval
1929 // specified here. It is also possible that OnGetLineHeight() will be
1930 // called for the lines outside of this interval, so this is really just a
1931 // hint, not a promise.
1932 //
1933 // finally note that lineMin is inclusive, while lineMax is exclusive, as
1934 // usual
1935 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
1936
1937
1938 // when the number of lines changes, we try to estimate the total height
1939 // of all lines which is a rather expensive operation in terms of lines
1940 // access, so if the user code may estimate the average height
1941 // better/faster than we do, it should override this function to implement
1942 // its own logic
1943 //
1944 // this function should return the best guess for the total height it may
1945 // make
1946 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
1947
1948
1949 // Also expose some other interesting protected methods
1950
1951
1952 // find the index of the line we need to show at the top of the window such
1953 // that the last (fully or partially) visible line is the given one
1954 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
1955 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
1956
1957 // get the total height of the lines between lineMin (inclusive) and
1958 // lineMax (exclusive)
1959 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
1960 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
1961
1962
1963 PYPRIVATE;
1964};
1965
1966IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
d55e5bfc
RD
1967
1968IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
1969IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
1970IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
1971
1972
36ed4f51 1973SWIGINTERN int
c370783e 1974SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
d55e5bfc 1975{
c370783e
RD
1976 long v = 0;
1977 if (SWIG_AsVal_long(obj, &v) && v < 0) {
7e08d4ef 1978 SWIG_Python_TypeError("unsigned number", obj);
d55e5bfc 1979 }
c370783e
RD
1980 else if (val)
1981 *val = (unsigned long)v;
1982 return 1;
d55e5bfc
RD
1983}
1984
1985
32fe5131 1986SWIGINTERNINLINE unsigned long
c370783e 1987SWIG_As_unsigned_SS_long(PyObject* obj)
d55e5bfc 1988{
c370783e
RD
1989 unsigned long v;
1990 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1991 /*
36ed4f51 1992 this is needed to make valgrind/purify happier.
c370783e
RD
1993 */
1994 memset((void*)&v, 0, sizeof(unsigned long));
d55e5bfc 1995 }
c370783e
RD
1996 return v;
1997}
1998
1999
32fe5131 2000SWIGINTERNINLINE int
c370783e
RD
2001SWIG_Check_unsigned_SS_long(PyObject* obj)
2002{
2003 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
d55e5bfc
RD
2004}
2005
2006
32fe5131 2007SWIGINTERNINLINE PyObject*
c370783e 2008 SWIG_From_unsigned_SS_long(unsigned long value)
d55e5bfc
RD
2009{
2010 return (value > LONG_MAX) ?
2011 PyLong_FromUnsignedLong(value)
32fe5131 2012 : PyInt_FromLong(static_cast<long >(value));
d55e5bfc
RD
2013}
2014
2015
2016#include <wx/vlbox.h>
2017
2018 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
2019
2020class wxPyVListBox : public wxVListBox
2021{
32fe5131 2022 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
d55e5bfc
RD
2023public:
2024 wxPyVListBox() : wxVListBox() {}
2025
2026 wxPyVListBox(wxWindow *parent,
2027 wxWindowID id = wxID_ANY,
2028 const wxPoint& pos = wxDefaultPosition,
2029 const wxSize& size = wxDefaultSize,
2030 long style = 0,
2031 const wxString& name = wxPyVListBoxNameStr)
2032 : wxVListBox(parent, id, pos, size, style, name)
2033 {}
2034
2035 // Overridable virtuals
2036
2037 // the derived class must implement this function to actually draw the item
2038 // with the given index on the provided DC
2039 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
2040 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
2041
2042
2043 // the derived class must implement this method to return the height of the
2044 // specified item
2045 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
2046 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
2047
2048
2049 // this method may be used to draw separators between the lines; note that
2050 // the rectangle may be modified, typically to deflate it a bit before
2051 // passing to OnDrawItem()
2052 //
2053 // the base class version doesn't do anything
2054 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
2055 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
2056
2057
2058 // this method is used to draw the items background and, maybe, a border
2059 // around it
2060 //
2061 // the base class version implements a reasonable default behaviour which
2062 // consists in drawing the selected item with the standard background
2063 // colour and drawing a border around the item if it is either selected or
2064 // current
2065 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
2066 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
2067
2068
2069 PYPRIVATE;
2070};
2071
2072IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
2073
2074IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
2075IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
2076IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
2077IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
2078
2079
36ed4f51 2080static PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
09c21d3b
RD
2081 unsigned long cookie = 0;
2082 int selected = self->GetFirstSelected(cookie);
5a446332 2083 wxPyBlock_t blocked = wxPyBeginBlockThreads();
09c21d3b
RD
2084 PyObject* tup = PyTuple_New(2);
2085 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
2086 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
2087 wxPyEndBlockThreads(blocked);
2088 return tup;
2089 }
36ed4f51 2090static PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
09c21d3b 2091 int selected = self->GetNextSelected(cookie);
5a446332 2092 wxPyBlock_t blocked = wxPyBeginBlockThreads();
09c21d3b
RD
2093 PyObject* tup = PyTuple_New(2);
2094 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
2095 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
2096 wxPyEndBlockThreads(blocked);
2097 return tup;
2098 }
d55e5bfc
RD
2099
2100#include <wx/htmllbox.h>
2101
2102
2103class wxPyHtmlListBox : public wxHtmlListBox
2104{
32fe5131 2105 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
d55e5bfc
RD
2106public:
2107 wxPyHtmlListBox() : wxHtmlListBox() {}
2108
2109 wxPyHtmlListBox(wxWindow *parent,
2110 wxWindowID id = wxID_ANY,
2111 const wxPoint& pos = wxDefaultPosition,
2112 const wxSize& size = wxDefaultSize,
2113 long style = 0,
2114 const wxString& name = wxPyVListBoxNameStr)
2115 : wxHtmlListBox(parent, id, pos, size, style, name)
2116 {}
2117
2118 // Overridable virtuals
2119
2120 // this method must be implemented in the derived class and should return
2121 // the body (i.e. without <html>) of the HTML for the given item
2122 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
2123
2124 // this function may be overridden to decorate HTML returned by OnGetItem()
2125 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
2126
2127// TODO:
2128// // this method allows to customize the selection appearance: it may be used
2129// // to specify the colour of the text which normally has the given colour
2130// // colFg when it is inside the selection
2131// //
2132// // by default, the original colour is not used at all and all text has the
2133// // same (default for this system) colour inside selection
2134// virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
2135
2136// // this is the same as GetSelectedTextColour() but allows to customize the
2137// // background colour -- this is even more rarely used as you can change it
2138// // globally using SetSelectionBackground()
2139// virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
2140
2141
2142 PYPRIVATE;
2143};
2144
2145
2146IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
2147
2148IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
2149IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
2150
2151
2152
2153
2154
b411df4a
RD
2155#ifndef wxHAS_TASK_BAR_ICON
2156// implement dummy classes for platforms that don't have it
d55e5bfc
RD
2157
2158class wxTaskBarIcon : public wxEvtHandler
2159{
2160public:
2161 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
2162};
09c21d3b 2163
d55e5bfc
RD
2164
2165class wxTaskBarIconEvent : public wxEvent
2166{
2167public:
2168 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
2169 { wxPyRaiseNotImplemented(); }
2170 virtual wxEvent* Clone() const { return NULL; }
b411df4a
RD
2171 bool IsOk() const { return false; }
2172 bool IsIconInstalled() const { return false; }
2173 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
2174 bool RemoveIcon() { return false; }
2175 bool PopupMenu(wxMenu *menu) { return false; }
d55e5bfc
RD
2176};
2177
2178enum {
2179 wxEVT_TASKBAR_MOVE = 0,
2180 wxEVT_TASKBAR_LEFT_DOWN = 0,
2181 wxEVT_TASKBAR_LEFT_UP = 0,
2182 wxEVT_TASKBAR_RIGHT_DOWN = 0,
2183 wxEVT_TASKBAR_RIGHT_UP = 0,
2184 wxEVT_TASKBAR_LEFT_DCLICK = 0,
2185 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
2186};
09c21d3b
RD
2187
2188
2189#else
5e483524
RD
2190// Otherwise make a class that can virtualize CreatePopupMenu
2191class wxPyTaskBarIcon : public wxTaskBarIcon
2192{
32fe5131 2193 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
5e483524
RD
2194public:
2195 wxPyTaskBarIcon() : wxTaskBarIcon()
2196 {}
09c21d3b 2197
5e483524
RD
2198 wxMenu* CreatePopupMenu() {
2199 wxMenu *rval = NULL;
2200 bool found;
5a446332 2201 wxPyBlock_t blocked = wxPyBeginBlockThreads();
5e483524
RD
2202 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
2203 PyObject* ro;
2204 wxMenu* ptr;
2205 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
2206 if (ro) {
2207 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
2208 rval = ptr;
2209 Py_DECREF(ro);
2210 }
2211 }
2212 wxPyEndBlockThreads(blocked);
2213 if (! found)
2214 rval = wxTaskBarIcon::CreatePopupMenu();
2215 return rval;
2216 }
d55e5bfc 2217
5e483524
RD
2218 PYPRIVATE;
2219};
d55e5bfc 2220
5e483524 2221IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
d55e5bfc 2222
5e483524
RD
2223#endif
2224
36ed4f51 2225static void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
5e483524
RD
2226 self->RemoveIcon();
2227 delete self;
d55e5bfc
RD
2228 }
2229 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
2230 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
2231 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
2232 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
2233 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
2234 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
36ed4f51 2235static PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
d55e5bfc
RD
2236 wxArrayString arr;
2237 self->GetFilenames(arr);
2238 return wxArrayString2PyList_helper(arr);
2239 }
36ed4f51 2240static PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
d55e5bfc
RD
2241 wxArrayString arr;
2242 self->GetPaths(arr);
2243 return wxArrayString2PyList_helper(arr);
2244 }
36ed4f51 2245static PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
d55e5bfc
RD
2246 return wxArrayInt2PyList_helper(self->GetSelections());
2247 }
36ed4f51 2248static wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style=wxCHOICEDLG_STYLE,wxPoint const &pos=wxDefaultPosition){
d55e5bfc
RD
2249 return new wxSingleChoiceDialog(parent, message, caption,
2250 choices, choices_array, NULL, style, pos);
2251 }
070c48b4 2252 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
d55e5bfc
RD
2253
2254#include <wx/mdi.h>
2255
2256 // C++ version of Python aware wxWindow
2257class wxPyWindow : public wxWindow
2258{
2259 DECLARE_DYNAMIC_CLASS(wxPyWindow)
2260public:
2261 wxPyWindow() : wxWindow() {}
2262 wxPyWindow(wxWindow* parent, const wxWindowID id,
2263 const wxPoint& pos = wxDefaultPosition,
2264 const wxSize& size = wxDefaultSize,
2265 long style = 0,
2266 const wxString& name = wxPyPanelNameStr)
2267 : wxWindow(parent, id, pos, size, style, name) {}
2268
a5ee0656 2269 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
d55e5bfc 2270
976dbff5
RD
2271 bool DoEraseBackground(wxDC* dc) {
2272#ifdef __WXMSW__
2273 return wxWindow::DoEraseBackground(dc->GetHDC());
2274#else
2275 dc->SetBackground(wxBrush(GetBackgroundColour()));
2276 dc->Clear();
2277 return true;
2278#endif
2279 }
2280
d55e5bfc
RD
2281 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2282 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2283 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2284 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2285
2286 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2287 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2288 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2289
2290 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2291 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2292
2293 DEC_PYCALLBACK__(InitDialog);
2294 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2295 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2296 DEC_PYCALLBACK_BOOL_(Validate);
2297
2298 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2299 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2300 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2301
2302 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2303 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2304
a5ee0656 2305 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
a5ee0656 2306 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 2307
51b83b37
RD
2308 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2309
8d38bd1d
RD
2310 DEC_PYCALLBACK_VOID_(OnInternalIdle);
2311
d55e5bfc
RD
2312 PYPRIVATE;
2313};
2314
2315IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
2316
2317IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
2318IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
2319IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
2320IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
2321
2322IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
2323IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
2324IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
2325
2326IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
2327IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
2328
2329IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
2330IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
2331IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
2332IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
2333
2334IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
2335IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
2336IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
2337
2338IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
2339IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
2340
a5ee0656 2341IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
a5ee0656 2342IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
51b83b37
RD
2343
2344IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
d55e5bfc 2345
8d38bd1d
RD
2346IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
2347
d55e5bfc
RD
2348 // C++ version of Python aware wxPanel
2349class wxPyPanel : public wxPanel
2350{
2351 DECLARE_DYNAMIC_CLASS(wxPyPanel)
2352public:
2353 wxPyPanel() : wxPanel() {}
2354 wxPyPanel(wxWindow* parent, const wxWindowID id,
2355 const wxPoint& pos = wxDefaultPosition,
2356 const wxSize& size = wxDefaultSize,
2357 long style = 0,
2358 const wxString& name = wxPyPanelNameStr)
2359 : wxPanel(parent, id, pos, size, style, name) {}
2360
a5ee0656 2361 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
976dbff5
RD
2362 bool DoEraseBackground(wxDC* dc) {
2363#ifdef __WXMSW__
2364 return wxWindow::DoEraseBackground(dc->GetHDC());
2365#else
2366 dc->SetBackground(wxBrush(GetBackgroundColour()));
2367 dc->Clear();
2368 return true;
2369#endif
2370 }
a5ee0656 2371
d55e5bfc
RD
2372
2373 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2374 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2375 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2376 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2377
2378 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2379 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2380 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2381
2382 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2383 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2384
2385 DEC_PYCALLBACK__(InitDialog);
2386 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2387 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2388 DEC_PYCALLBACK_BOOL_(Validate);
2389
2390 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2391 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2392 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2393
2394 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2395 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2396
a5ee0656 2397 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
a5ee0656 2398 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 2399
51b83b37
RD
2400 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2401
8d38bd1d
RD
2402 DEC_PYCALLBACK_VOID_(OnInternalIdle);
2403
d55e5bfc
RD
2404 PYPRIVATE;
2405};
2406
2407IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
2408
2409IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
2410IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
2411IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
2412IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
2413
2414IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
2415IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
2416IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
2417
2418IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
2419IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
2420
2421IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
2422IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
2423IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
2424IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
2425
2426IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
2427IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
2428IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
2429
2430IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
2431IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
2432
a5ee0656 2433IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
a5ee0656 2434IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
d55e5bfc 2435
51b83b37
RD
2436IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
2437
8d38bd1d
RD
2438IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
2439
d55e5bfc
RD
2440 // C++ version of Python aware wxScrolledWindow
2441class wxPyScrolledWindow : public wxScrolledWindow
2442{
2443 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
2444public:
2445 wxPyScrolledWindow() : wxScrolledWindow() {}
2446 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
2447 const wxPoint& pos = wxDefaultPosition,
2448 const wxSize& size = wxDefaultSize,
2449 long style = 0,
2450 const wxString& name = wxPyPanelNameStr)
2451 : wxScrolledWindow(parent, id, pos, size, style, name) {}
2452
a5ee0656 2453 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
976dbff5
RD
2454 bool DoEraseBackground(wxDC* dc) {
2455#ifdef __WXMSW__
2456 return wxWindow::DoEraseBackground(dc->GetHDC());
2457#else
2458 dc->SetBackground(wxBrush(GetBackgroundColour()));
2459 dc->Clear();
2460 return true;
2461#endif
2462 }
d55e5bfc
RD
2463
2464 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2465 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2466 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2467 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2468
2469 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2470 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2471 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2472
2473 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2474 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2475
2476 DEC_PYCALLBACK__(InitDialog);
2477 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2478 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2479 DEC_PYCALLBACK_BOOL_(Validate);
2480
2481 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2482 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2483 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2484
2485 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2486 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2487
a5ee0656 2488 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
a5ee0656 2489 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 2490
51b83b37
RD
2491 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2492
8d38bd1d
RD
2493 DEC_PYCALLBACK_VOID_(OnInternalIdle);
2494
d55e5bfc
RD
2495 PYPRIVATE;
2496};
2497
2498IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
2499
2500IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
2501IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
2502IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
2503IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
2504
2505IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
2506IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
2507IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
2508
2509IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
2510IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
2511
2512IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
2513IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
2514IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
2515IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
2516
2517IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
2518IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
2519IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
2520
2521IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
2522IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
2523
a5ee0656 2524IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
a5ee0656
RD
2525IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
2526
51b83b37 2527IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
d55e5bfc 2528
8d38bd1d
RD
2529IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
2530
d55e5bfc
RD
2531
2532#include "wx/wxPython/printfw.h"
2533
2534
2535 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
2536 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
7fbf8399
RD
2537static PyObject *wxPrintData_GetPrivData(wxPrintData *self){
2538 PyObject* data;
5a446332 2539 wxPyBlock_t blocked = wxPyBeginBlockThreads();
7fbf8399
RD
2540 data = PyString_FromStringAndSize(self->GetPrivData(),
2541 self->GetPrivDataLen());
2542 wxPyEndBlockThreads(blocked);
2543 return data;
2544 }
2545static void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
2546 if (! PyString_Check(data)) {
2547 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
2548 "Expected string object"));
2549 return /* NULL */ ;
2550 }
2551
5a446332 2552 wxPyBlock_t blocked = wxPyBeginBlockThreads();
7fbf8399
RD
2553 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
2554 wxPyEndBlockThreads(blocked);
2555 }
d55e5bfc
RD
2556
2557
070c48b4 2558IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
d55e5bfc
RD
2559
2560// Since this one would be tough and ugly to do with the Macros...
2561void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
b411df4a 2562 bool hadErr = false;
d55e5bfc
RD
2563 bool found;
2564
5a446332 2565 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc
RD
2566 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
2567 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
2568 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
2569 PyObject* val;
2570
2571 val = PyTuple_GetItem(result, 0);
2572 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
b411df4a 2573 else hadErr = true;
d55e5bfc
RD
2574
2575 val = PyTuple_GetItem(result, 1);
2576 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
b411df4a 2577 else hadErr = true;
d55e5bfc
RD
2578
2579 val = PyTuple_GetItem(result, 2);
2580 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
b411df4a 2581 else hadErr = true;
d55e5bfc
RD
2582
2583 val = PyTuple_GetItem(result, 3);
2584 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
b411df4a 2585 else hadErr = true;
d55e5bfc
RD
2586 }
2587 else
b411df4a 2588 hadErr = true;
d55e5bfc
RD
2589
2590 if (hadErr) {
2591 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
2592 PyErr_Print();
2593 }
2594 Py_DECREF(result);
2595 }
2596 wxPyEndBlockThreads(blocked);
2597 if (! found)
2598 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
2599}
2600
2601void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
2602 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
2603}
2604
2605
2606IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
2607IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
2608IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
2609IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
2610IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
2611IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
2612IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
2613
2614
2615
2616
2617
b411df4a
RD
2618#define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
2619 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
d55e5bfc
RD
2620 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
2621
2622
b411df4a
RD
2623#define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
2624 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2625 bool rval=false; \
2626 bool found; \
32fe5131 2627 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
b411df4a
RD
2628 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2629 PyObject* win = wxPyMake_wxObject(a,false); \
2630 PyObject* dc = wxPyMake_wxObject(&b,false); \
2631 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
2632 Py_DECREF(win); \
2633 Py_DECREF(dc); \
2634 } \
2635 wxPyEndBlockThreads(blocked); \
2636 if (! found) \
2637 rval = PCLASS::CBNAME(a, b); \
2638 return rval; \
2639 } \
2640 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2641 return PCLASS::CBNAME(a, b); \
d55e5bfc
RD
2642 }
2643
2644
2645
2646
2647class wxPyPrintPreview : public wxPrintPreview
2648{
2649 DECLARE_CLASS(wxPyPrintPreview)
2650public:
2651 wxPyPrintPreview(wxPyPrintout* printout,
2652 wxPyPrintout* printoutForPrinting,
2653 wxPrintDialogData* data=NULL)
2654 : wxPrintPreview(printout, printoutForPrinting, data)
2655 {}
2656 wxPyPrintPreview(wxPyPrintout* printout,
2657 wxPyPrintout* printoutForPrinting,
32fe5131 2658 wxPrintData* data)
d55e5bfc
RD
2659 : wxPrintPreview(printout, printoutForPrinting, data)
2660 {}
2661
2662 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
2663 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
2664 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
2665 DEC_PYCALLBACK_BOOL_INT(RenderPage);
2666 DEC_PYCALLBACK_VOID_INT(SetZoom);
2667 DEC_PYCALLBACK_BOOL_BOOL(Print);
2668 DEC_PYCALLBACK_VOID_(DetermineScaling);
2669
2670 PYPRIVATE;
2671};
2672
2673// Stupid renamed classes... Fix this in 2.5...
2674#if defined(__WXMSW__)
2675IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
2676#elif defined(__WXMAC__)
2677IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
2678#else
2679IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
2680#endif
2681
2682IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
2683IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
2684IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
2685IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
2686IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
2687IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
2688IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
2689
2690
2691class wxPyPreviewFrame : public wxPreviewFrame
2692{
32fe5131 2693 DECLARE_CLASS(wxPyPreviewFrame)
d55e5bfc
RD
2694public:
2695 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
2696 const wxString& title,
2697 const wxPoint& pos = wxDefaultPosition,
2698 const wxSize& size = wxDefaultSize,
2699 long style = wxDEFAULT_FRAME_STYLE,
2700 const wxString& name = wxPyFrameNameStr)
2701 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
2702 {}
2703
2704 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
2705 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
2706
2707 DEC_PYCALLBACK_VOID_(Initialize);
2708 DEC_PYCALLBACK_VOID_(CreateCanvas);
2709 DEC_PYCALLBACK_VOID_(CreateControlBar);
2710
2711 PYPRIVATE;
2712};
2713
2714IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
2715
2716IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
2717IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
2718IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
2719
2720
2721class wxPyPreviewControlBar : public wxPreviewControlBar
2722{
32fe5131 2723 DECLARE_CLASS(wxPyPreviewControlBar)
d55e5bfc
RD
2724public:
2725 wxPyPreviewControlBar(wxPrintPreview *preview,
2726 long buttons,
2727 wxWindow *parent,
2728 const wxPoint& pos = wxDefaultPosition,
2729 const wxSize& size = wxDefaultSize,
2730 long style = 0,
2731 const wxString& name = wxPyPanelNameStr)
2732 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
2733 {}
2734
2735 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
2736
2737 DEC_PYCALLBACK_VOID_(CreateButtons);
2738 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
2739
2740 PYPRIVATE;
2741};
2742
2743IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
2744IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
2745IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
2746
2747#ifdef __cplusplus
2748extern "C" {
2749#endif
c370783e 2750static PyObject *_wrap_new_Panel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2751 PyObject *resultobj = NULL;
d55e5bfc
RD
2752 wxWindow *arg1 = (wxWindow *) 0 ;
2753 int arg2 = (int) (int)-1 ;
2754 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2755 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2756 wxSize const &arg4_defvalue = wxDefaultSize ;
2757 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2758 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
2759 wxString const &arg6_defvalue = wxPyPanelNameStr ;
2760 wxString *arg6 = (wxString *) &arg6_defvalue ;
2761 wxPanel *result;
2762 wxPoint temp3 ;
2763 wxSize temp4 ;
b411df4a 2764 bool temp6 = false ;
d55e5bfc
RD
2765 PyObject * obj0 = 0 ;
2766 PyObject * obj1 = 0 ;
2767 PyObject * obj2 = 0 ;
2768 PyObject * obj3 = 0 ;
2769 PyObject * obj4 = 0 ;
2770 PyObject * obj5 = 0 ;
2771 char *kwnames[] = {
2772 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2773 };
2774
2775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
2776 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2777 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 2778 if (obj1) {
36ed4f51 2779 {
32fe5131 2780 arg2 = static_cast<int const >(SWIG_As_int(obj1));
36ed4f51
RD
2781 if (SWIG_arg_fail(2)) SWIG_fail;
2782 }
d55e5bfc
RD
2783 }
2784 if (obj2) {
2785 {
2786 arg3 = &temp3;
2787 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2788 }
2789 }
2790 if (obj3) {
2791 {
2792 arg4 = &temp4;
2793 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2794 }
2795 }
2796 if (obj4) {
36ed4f51 2797 {
32fe5131 2798 arg5 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
2799 if (SWIG_arg_fail(5)) SWIG_fail;
2800 }
d55e5bfc
RD
2801 }
2802 if (obj5) {
2803 {
2804 arg6 = wxString_in_helper(obj5);
2805 if (arg6 == NULL) SWIG_fail;
b411df4a 2806 temp6 = true;
d55e5bfc
RD
2807 }
2808 }
2809 {
0439c23b 2810 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2811 PyThreadState* __tstate = wxPyBeginAllowThreads();
2812 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
2813
2814 wxPyEndAllowThreads(__tstate);
110da5b0 2815 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 2816 }
b0f7404b 2817 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
d55e5bfc
RD
2818 {
2819 if (temp6)
2820 delete arg6;
2821 }
2822 return resultobj;
2823 fail:
2824 {
2825 if (temp6)
2826 delete arg6;
2827 }
2828 return NULL;
2829}
2830
2831
c370783e 2832static PyObject *_wrap_new_PrePanel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2833 PyObject *resultobj = NULL;
d55e5bfc
RD
2834 wxPanel *result;
2835 char *kwnames[] = {
2836 NULL
2837 };
2838
2839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
2840 {
0439c23b 2841 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2842 PyThreadState* __tstate = wxPyBeginAllowThreads();
2843 result = (wxPanel *)new wxPanel();
2844
2845 wxPyEndAllowThreads(__tstate);
110da5b0 2846 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 2847 }
b0f7404b 2848 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
d55e5bfc
RD
2849 return resultobj;
2850 fail:
2851 return NULL;
2852}
2853
2854
c370783e 2855static PyObject *_wrap_Panel_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2856 PyObject *resultobj = NULL;
d55e5bfc
RD
2857 wxPanel *arg1 = (wxPanel *) 0 ;
2858 wxWindow *arg2 = (wxWindow *) 0 ;
2859 int arg3 = (int) (int)-1 ;
2860 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2861 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2862 wxSize const &arg5_defvalue = wxDefaultSize ;
2863 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2864 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
2865 wxString const &arg7_defvalue = wxPyPanelNameStr ;
2866 wxString *arg7 = (wxString *) &arg7_defvalue ;
2867 bool result;
2868 wxPoint temp4 ;
2869 wxSize temp5 ;
b411df4a 2870 bool temp7 = false ;
d55e5bfc
RD
2871 PyObject * obj0 = 0 ;
2872 PyObject * obj1 = 0 ;
2873 PyObject * obj2 = 0 ;
2874 PyObject * obj3 = 0 ;
2875 PyObject * obj4 = 0 ;
2876 PyObject * obj5 = 0 ;
2877 PyObject * obj6 = 0 ;
2878 char *kwnames[] = {
2879 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2880 };
2881
2882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
2883 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2884 if (SWIG_arg_fail(1)) SWIG_fail;
2885 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2886 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 2887 if (obj2) {
36ed4f51 2888 {
32fe5131 2889 arg3 = static_cast<int const >(SWIG_As_int(obj2));
36ed4f51
RD
2890 if (SWIG_arg_fail(3)) SWIG_fail;
2891 }
d55e5bfc
RD
2892 }
2893 if (obj3) {
2894 {
2895 arg4 = &temp4;
2896 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2897 }
2898 }
2899 if (obj4) {
2900 {
2901 arg5 = &temp5;
2902 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2903 }
2904 }
2905 if (obj5) {
36ed4f51 2906 {
32fe5131 2907 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
2908 if (SWIG_arg_fail(6)) SWIG_fail;
2909 }
d55e5bfc
RD
2910 }
2911 if (obj6) {
2912 {
2913 arg7 = wxString_in_helper(obj6);
2914 if (arg7 == NULL) SWIG_fail;
b411df4a 2915 temp7 = true;
d55e5bfc
RD
2916 }
2917 }
2918 {
2919 PyThreadState* __tstate = wxPyBeginAllowThreads();
2920 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2921
2922 wxPyEndAllowThreads(__tstate);
2923 if (PyErr_Occurred()) SWIG_fail;
2924 }
2925 {
2926 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2927 }
2928 {
2929 if (temp7)
2930 delete arg7;
2931 }
2932 return resultobj;
2933 fail:
2934 {
2935 if (temp7)
2936 delete arg7;
2937 }
2938 return NULL;
2939}
2940
2941
c370783e 2942static PyObject *_wrap_Panel_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2943 PyObject *resultobj = NULL;
d55e5bfc
RD
2944 wxPanel *arg1 = (wxPanel *) 0 ;
2945 PyObject * obj0 = 0 ;
2946 char *kwnames[] = {
2947 (char *) "self", NULL
2948 };
2949
2950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
36ed4f51
RD
2951 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2952 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
2953 {
2954 PyThreadState* __tstate = wxPyBeginAllowThreads();
2955 (arg1)->InitDialog();
2956
2957 wxPyEndAllowThreads(__tstate);
2958 if (PyErr_Occurred()) SWIG_fail;
2959 }
2960 Py_INCREF(Py_None); resultobj = Py_None;
2961 return resultobj;
2962 fail:
2963 return NULL;
2964}
2965
2966
5cbf236d 2967static PyObject *_wrap_Panel_SetFocus(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2968 PyObject *resultobj = NULL;
5cbf236d
RD
2969 wxPanel *arg1 = (wxPanel *) 0 ;
2970 PyObject * obj0 = 0 ;
2971 char *kwnames[] = {
2972 (char *) "self", NULL
2973 };
2974
2975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_SetFocus",kwnames,&obj0)) goto fail;
36ed4f51
RD
2976 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2977 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
2978 {
2979 PyThreadState* __tstate = wxPyBeginAllowThreads();
2980 (arg1)->SetFocus();
2981
2982 wxPyEndAllowThreads(__tstate);
2983 if (PyErr_Occurred()) SWIG_fail;
2984 }
2985 Py_INCREF(Py_None); resultobj = Py_None;
2986 return resultobj;
2987 fail:
2988 return NULL;
2989}
2990
2991
2992static PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2993 PyObject *resultobj = NULL;
5cbf236d
RD
2994 wxPanel *arg1 = (wxPanel *) 0 ;
2995 PyObject * obj0 = 0 ;
2996 char *kwnames[] = {
2997 (char *) "self", NULL
2998 };
2999
3000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_SetFocusIgnoringChildren",kwnames,&obj0)) goto fail;
36ed4f51
RD
3001 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
3002 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
3003 {
3004 PyThreadState* __tstate = wxPyBeginAllowThreads();
3005 (arg1)->SetFocusIgnoringChildren();
3006
3007 wxPyEndAllowThreads(__tstate);
3008 if (PyErr_Occurred()) SWIG_fail;
3009 }
3010 Py_INCREF(Py_None); resultobj = Py_None;
3011 return resultobj;
3012 fail:
3013 return NULL;
3014}
3015
3016
c370783e 3017static PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3018 PyObject *resultobj = NULL;
36ed4f51 3019 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
3020 wxVisualAttributes result;
3021 PyObject * obj0 = 0 ;
3022 char *kwnames[] = {
3023 (char *) "variant", NULL
3024 };
3025
3026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3027 if (obj0) {
36ed4f51 3028 {
32fe5131 3029 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
36ed4f51
RD
3030 if (SWIG_arg_fail(1)) SWIG_fail;
3031 }
f20a2e1f
RD
3032 }
3033 {
0439c23b 3034 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 3035 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 3036 result = wxPanel::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
3037
3038 wxPyEndAllowThreads(__tstate);
110da5b0 3039 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
3040 }
3041 {
3042 wxVisualAttributes * resultptr;
32fe5131 3043 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
3044 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3045 }
3046 return resultobj;
3047 fail:
3048 return NULL;
3049}
3050
3051
c370783e 3052static PyObject * Panel_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
3053 PyObject *obj;
3054 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3055 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
3056 Py_INCREF(obj);
3057 return Py_BuildValue((char *)"");
3058}
c370783e 3059static PyObject *_wrap_new_ScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3060 PyObject *resultobj = NULL;
d55e5bfc
RD
3061 wxWindow *arg1 = (wxWindow *) 0 ;
3062 int arg2 = (int) (int)-1 ;
3063 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3064 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3065 wxSize const &arg4_defvalue = wxDefaultSize ;
3066 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3067 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
3068 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3069 wxString *arg6 = (wxString *) &arg6_defvalue ;
3070 wxScrolledWindow *result;
3071 wxPoint temp3 ;
3072 wxSize temp4 ;
b411df4a 3073 bool temp6 = false ;
d55e5bfc
RD
3074 PyObject * obj0 = 0 ;
3075 PyObject * obj1 = 0 ;
3076 PyObject * obj2 = 0 ;
3077 PyObject * obj3 = 0 ;
3078 PyObject * obj4 = 0 ;
3079 PyObject * obj5 = 0 ;
3080 char *kwnames[] = {
3081 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3082 };
3083
3084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
3085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3086 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 3087 if (obj1) {
36ed4f51 3088 {
32fe5131 3089 arg2 = static_cast<int const >(SWIG_As_int(obj1));
36ed4f51
RD
3090 if (SWIG_arg_fail(2)) SWIG_fail;
3091 }
d55e5bfc
RD
3092 }
3093 if (obj2) {
3094 {
3095 arg3 = &temp3;
3096 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3097 }
3098 }
3099 if (obj3) {
3100 {
3101 arg4 = &temp4;
3102 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3103 }
3104 }
3105 if (obj4) {
36ed4f51 3106 {
32fe5131 3107 arg5 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
3108 if (SWIG_arg_fail(5)) SWIG_fail;
3109 }
d55e5bfc
RD
3110 }
3111 if (obj5) {
3112 {
3113 arg6 = wxString_in_helper(obj5);
3114 if (arg6 == NULL) SWIG_fail;
b411df4a 3115 temp6 = true;
d55e5bfc
RD
3116 }
3117 }
3118 {
0439c23b 3119 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3120 PyThreadState* __tstate = wxPyBeginAllowThreads();
3121 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3122
3123 wxPyEndAllowThreads(__tstate);
110da5b0 3124 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 3125 }
b0f7404b 3126 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
d55e5bfc
RD
3127 {
3128 if (temp6)
3129 delete arg6;
3130 }
3131 return resultobj;
3132 fail:
3133 {
3134 if (temp6)
3135 delete arg6;
3136 }
3137 return NULL;
3138}
3139
3140
c370783e 3141static PyObject *_wrap_new_PreScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3142 PyObject *resultobj = NULL;
d55e5bfc
RD
3143 wxScrolledWindow *result;
3144 char *kwnames[] = {
3145 NULL
3146 };
3147
3148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
3149 {
0439c23b 3150 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3151 PyThreadState* __tstate = wxPyBeginAllowThreads();
3152 result = (wxScrolledWindow *)new wxScrolledWindow();
3153
3154 wxPyEndAllowThreads(__tstate);
110da5b0 3155 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 3156 }
b0f7404b 3157 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
d55e5bfc
RD
3158 return resultobj;
3159 fail:
3160 return NULL;
3161}
3162
3163
c370783e 3164static PyObject *_wrap_ScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3165 PyObject *resultobj = NULL;
d55e5bfc
RD
3166 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3167 wxWindow *arg2 = (wxWindow *) 0 ;
3168 int arg3 = (int) (int)-1 ;
3169 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3170 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3171 wxSize const &arg5_defvalue = wxDefaultSize ;
3172 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3173 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
3174 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3175 wxString *arg7 = (wxString *) &arg7_defvalue ;
3176 bool result;
3177 wxPoint temp4 ;
3178 wxSize temp5 ;
b411df4a 3179 bool temp7 = false ;
d55e5bfc
RD
3180 PyObject * obj0 = 0 ;
3181 PyObject * obj1 = 0 ;
3182 PyObject * obj2 = 0 ;
3183 PyObject * obj3 = 0 ;
3184 PyObject * obj4 = 0 ;
3185 PyObject * obj5 = 0 ;
3186 PyObject * obj6 = 0 ;
3187 char *kwnames[] = {
3188 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3189 };
3190
3191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
3192 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3193 if (SWIG_arg_fail(1)) SWIG_fail;
3194 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3195 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 3196 if (obj2) {
36ed4f51 3197 {
32fe5131 3198 arg3 = static_cast<int const >(SWIG_As_int(obj2));
36ed4f51
RD
3199 if (SWIG_arg_fail(3)) SWIG_fail;
3200 }
d55e5bfc
RD
3201 }
3202 if (obj3) {
3203 {
3204 arg4 = &temp4;
3205 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3206 }
3207 }
3208 if (obj4) {
3209 {
3210 arg5 = &temp5;
3211 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3212 }
3213 }
3214 if (obj5) {
36ed4f51 3215 {
32fe5131 3216 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
3217 if (SWIG_arg_fail(6)) SWIG_fail;
3218 }
d55e5bfc
RD
3219 }
3220 if (obj6) {
3221 {
3222 arg7 = wxString_in_helper(obj6);
3223 if (arg7 == NULL) SWIG_fail;
b411df4a 3224 temp7 = true;
d55e5bfc
RD
3225 }
3226 }
3227 {
3228 PyThreadState* __tstate = wxPyBeginAllowThreads();
3229 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3230
3231 wxPyEndAllowThreads(__tstate);
3232 if (PyErr_Occurred()) SWIG_fail;
3233 }
3234 {
3235 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3236 }
3237 {
3238 if (temp7)
3239 delete arg7;
3240 }
3241 return resultobj;
3242 fail:
3243 {
3244 if (temp7)
3245 delete arg7;
3246 }
3247 return NULL;
3248}
3249
3250
c370783e 3251static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3252 PyObject *resultobj = NULL;
d55e5bfc
RD
3253 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3254 int arg2 ;
3255 int arg3 ;
3256 int arg4 ;
3257 int arg5 ;
3258 int arg6 = (int) 0 ;
3259 int arg7 = (int) 0 ;
b411df4a 3260 bool arg8 = (bool) false ;
d55e5bfc
RD
3261 PyObject * obj0 = 0 ;
3262 PyObject * obj1 = 0 ;
3263 PyObject * obj2 = 0 ;
3264 PyObject * obj3 = 0 ;
3265 PyObject * obj4 = 0 ;
3266 PyObject * obj5 = 0 ;
3267 PyObject * obj6 = 0 ;
3268 PyObject * obj7 = 0 ;
3269 char *kwnames[] = {
3270 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
3271 };
3272
3273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
3274 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3275 if (SWIG_arg_fail(1)) SWIG_fail;
3276 {
32fe5131 3277 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3278 if (SWIG_arg_fail(2)) SWIG_fail;
3279 }
3280 {
32fe5131 3281 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
3282 if (SWIG_arg_fail(3)) SWIG_fail;
3283 }
3284 {
32fe5131 3285 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
3286 if (SWIG_arg_fail(4)) SWIG_fail;
3287 }
3288 {
32fe5131 3289 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
3290 if (SWIG_arg_fail(5)) SWIG_fail;
3291 }
d55e5bfc 3292 if (obj5) {
36ed4f51 3293 {
32fe5131 3294 arg6 = static_cast<int >(SWIG_As_int(obj5));
36ed4f51
RD
3295 if (SWIG_arg_fail(6)) SWIG_fail;
3296 }
d55e5bfc
RD
3297 }
3298 if (obj6) {
36ed4f51 3299 {
32fe5131 3300 arg7 = static_cast<int >(SWIG_As_int(obj6));
36ed4f51
RD
3301 if (SWIG_arg_fail(7)) SWIG_fail;
3302 }
d55e5bfc
RD
3303 }
3304 if (obj7) {
36ed4f51 3305 {
32fe5131 3306 arg8 = static_cast<bool >(SWIG_As_bool(obj7));
36ed4f51
RD
3307 if (SWIG_arg_fail(8)) SWIG_fail;
3308 }
d55e5bfc
RD
3309 }
3310 {
3311 PyThreadState* __tstate = wxPyBeginAllowThreads();
3312 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
3313
3314 wxPyEndAllowThreads(__tstate);
3315 if (PyErr_Occurred()) SWIG_fail;
3316 }
3317 Py_INCREF(Py_None); resultobj = Py_None;
3318 return resultobj;
3319 fail:
3320 return NULL;
3321}
3322
3323
c370783e 3324static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3325 PyObject *resultobj = NULL;
d55e5bfc
RD
3326 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3327 int arg2 ;
3328 int arg3 ;
3329 PyObject * obj0 = 0 ;
3330 PyObject * obj1 = 0 ;
3331 PyObject * obj2 = 0 ;
3332 char *kwnames[] = {
3333 (char *) "self",(char *) "x",(char *) "y", NULL
3334 };
3335
3336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
3337 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3338 if (SWIG_arg_fail(1)) SWIG_fail;
3339 {
32fe5131 3340 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3341 if (SWIG_arg_fail(2)) SWIG_fail;
3342 }
3343 {
32fe5131 3344 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
3345 if (SWIG_arg_fail(3)) SWIG_fail;
3346 }
d55e5bfc
RD
3347 {
3348 PyThreadState* __tstate = wxPyBeginAllowThreads();
3349 (arg1)->Scroll(arg2,arg3);
3350
3351 wxPyEndAllowThreads(__tstate);
3352 if (PyErr_Occurred()) SWIG_fail;
3353 }
3354 Py_INCREF(Py_None); resultobj = Py_None;
3355 return resultobj;
3356 fail:
3357 return NULL;
3358}
3359
3360
c370783e 3361static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3362 PyObject *resultobj = NULL;
d55e5bfc
RD
3363 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3364 int arg2 ;
3365 int result;
3366 PyObject * obj0 = 0 ;
3367 PyObject * obj1 = 0 ;
3368 char *kwnames[] = {
3369 (char *) "self",(char *) "orient", NULL
3370 };
3371
3372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3373 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3374 if (SWIG_arg_fail(1)) SWIG_fail;
3375 {
32fe5131 3376 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3377 if (SWIG_arg_fail(2)) SWIG_fail;
3378 }
d55e5bfc
RD
3379 {
3380 PyThreadState* __tstate = wxPyBeginAllowThreads();
3381 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
3382
3383 wxPyEndAllowThreads(__tstate);
3384 if (PyErr_Occurred()) SWIG_fail;
3385 }
36ed4f51 3386 {
32fe5131 3387 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 3388 }
d55e5bfc
RD
3389 return resultobj;
3390 fail:
3391 return NULL;
3392}
3393
3394
c370783e 3395static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3396 PyObject *resultobj = NULL;
d55e5bfc
RD
3397 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3398 int arg2 ;
3399 int arg3 ;
3400 PyObject * obj0 = 0 ;
3401 PyObject * obj1 = 0 ;
3402 PyObject * obj2 = 0 ;
3403 char *kwnames[] = {
3404 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
3405 };
3406
3407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
3408 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3409 if (SWIG_arg_fail(1)) SWIG_fail;
3410 {
32fe5131 3411 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3412 if (SWIG_arg_fail(2)) SWIG_fail;
3413 }
3414 {
32fe5131 3415 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
3416 if (SWIG_arg_fail(3)) SWIG_fail;
3417 }
d55e5bfc
RD
3418 {
3419 PyThreadState* __tstate = wxPyBeginAllowThreads();
3420 (arg1)->SetScrollPageSize(arg2,arg3);
3421
3422 wxPyEndAllowThreads(__tstate);
3423 if (PyErr_Occurred()) SWIG_fail;
3424 }
3425 Py_INCREF(Py_None); resultobj = Py_None;
3426 return resultobj;
3427 fail:
3428 return NULL;
3429}
3430
3431
c370783e 3432static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3433 PyObject *resultobj = NULL;
d55e5bfc
RD
3434 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3435 int arg2 ;
3436 int arg3 ;
3437 PyObject * obj0 = 0 ;
3438 PyObject * obj1 = 0 ;
3439 PyObject * obj2 = 0 ;
3440 char *kwnames[] = {
3441 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
3442 };
3443
3444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
3445 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3446 if (SWIG_arg_fail(1)) SWIG_fail;
3447 {
32fe5131 3448 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3449 if (SWIG_arg_fail(2)) SWIG_fail;
3450 }
3451 {
32fe5131 3452 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
3453 if (SWIG_arg_fail(3)) SWIG_fail;
3454 }
d55e5bfc
RD
3455 {
3456 PyThreadState* __tstate = wxPyBeginAllowThreads();
3457 (arg1)->SetScrollRate(arg2,arg3);
3458
3459 wxPyEndAllowThreads(__tstate);
3460 if (PyErr_Occurred()) SWIG_fail;
3461 }
3462 Py_INCREF(Py_None); resultobj = Py_None;
3463 return resultobj;
3464 fail:
3465 return NULL;
3466}
3467
3468
c370783e 3469static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3470 PyObject *resultobj = NULL;
d55e5bfc
RD
3471 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3472 int *arg2 = (int *) 0 ;
3473 int *arg3 = (int *) 0 ;
3474 int temp2 ;
c370783e 3475 int res2 = 0 ;
d55e5bfc 3476 int temp3 ;
c370783e 3477 int res3 = 0 ;
d55e5bfc
RD
3478 PyObject * obj0 = 0 ;
3479 char *kwnames[] = {
3480 (char *) "self", NULL
3481 };
3482
c370783e
RD
3483 arg2 = &temp2; res2 = SWIG_NEWOBJ;
3484 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 3485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
36ed4f51
RD
3486 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3487 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3488 {
3489 PyThreadState* __tstate = wxPyBeginAllowThreads();
3490 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
3491
3492 wxPyEndAllowThreads(__tstate);
3493 if (PyErr_Occurred()) SWIG_fail;
3494 }
3495 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
3496 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
3497 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
3498 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
3499 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
3500 return resultobj;
3501 fail:
3502 return NULL;
3503}
3504
3505
c370783e 3506static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3507 PyObject *resultobj = NULL;
d55e5bfc
RD
3508 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3509 bool arg2 ;
3510 bool arg3 ;
3511 PyObject * obj0 = 0 ;
3512 PyObject * obj1 = 0 ;
3513 PyObject * obj2 = 0 ;
3514 char *kwnames[] = {
3515 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
3516 };
3517
3518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
3519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3520 if (SWIG_arg_fail(1)) SWIG_fail;
3521 {
32fe5131 3522 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
3523 if (SWIG_arg_fail(2)) SWIG_fail;
3524 }
3525 {
32fe5131 3526 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
3527 if (SWIG_arg_fail(3)) SWIG_fail;
3528 }
d55e5bfc
RD
3529 {
3530 PyThreadState* __tstate = wxPyBeginAllowThreads();
3531 (arg1)->EnableScrolling(arg2,arg3);
3532
3533 wxPyEndAllowThreads(__tstate);
3534 if (PyErr_Occurred()) SWIG_fail;
3535 }
3536 Py_INCREF(Py_None); resultobj = Py_None;
3537 return resultobj;
3538 fail:
3539 return NULL;
3540}
3541
3542
c370783e 3543static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3544 PyObject *resultobj = NULL;
d55e5bfc
RD
3545 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3546 int *arg2 = (int *) 0 ;
3547 int *arg3 = (int *) 0 ;
3548 int temp2 ;
c370783e 3549 int res2 = 0 ;
d55e5bfc 3550 int temp3 ;
c370783e 3551 int res3 = 0 ;
d55e5bfc
RD
3552 PyObject * obj0 = 0 ;
3553 char *kwnames[] = {
3554 (char *) "self", NULL
3555 };
3556
c370783e
RD
3557 arg2 = &temp2; res2 = SWIG_NEWOBJ;
3558 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 3559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
36ed4f51
RD
3560 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3561 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3562 {
3563 PyThreadState* __tstate = wxPyBeginAllowThreads();
3564 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
3565
3566 wxPyEndAllowThreads(__tstate);
3567 if (PyErr_Occurred()) SWIG_fail;
3568 }
3569 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
3570 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
3571 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
3572 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
3573 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
3574 return resultobj;
3575 fail:
3576 return NULL;
3577}
3578
3579
c370783e 3580static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3581 PyObject *resultobj = NULL;
d55e5bfc
RD
3582 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3583 double arg2 ;
3584 double arg3 ;
3585 PyObject * obj0 = 0 ;
3586 PyObject * obj1 = 0 ;
3587 PyObject * obj2 = 0 ;
3588 char *kwnames[] = {
3589 (char *) "self",(char *) "xs",(char *) "ys", NULL
3590 };
3591
3592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
3593 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3594 if (SWIG_arg_fail(1)) SWIG_fail;
3595 {
32fe5131 3596 arg2 = static_cast<double >(SWIG_As_double(obj1));
36ed4f51
RD
3597 if (SWIG_arg_fail(2)) SWIG_fail;
3598 }
3599 {
32fe5131 3600 arg3 = static_cast<double >(SWIG_As_double(obj2));
36ed4f51
RD
3601 if (SWIG_arg_fail(3)) SWIG_fail;
3602 }
d55e5bfc
RD
3603 {
3604 PyThreadState* __tstate = wxPyBeginAllowThreads();
3605 (arg1)->SetScale(arg2,arg3);
3606
3607 wxPyEndAllowThreads(__tstate);
3608 if (PyErr_Occurred()) SWIG_fail;
3609 }
3610 Py_INCREF(Py_None); resultobj = Py_None;
3611 return resultobj;
3612 fail:
3613 return NULL;
3614}
3615
3616
c370783e 3617static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3618 PyObject *resultobj = NULL;
d55e5bfc
RD
3619 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3620 double result;
3621 PyObject * obj0 = 0 ;
3622 char *kwnames[] = {
3623 (char *) "self", NULL
3624 };
3625
3626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
36ed4f51
RD
3627 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3628 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3629 {
3630 PyThreadState* __tstate = wxPyBeginAllowThreads();
3631 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
3632
3633 wxPyEndAllowThreads(__tstate);
3634 if (PyErr_Occurred()) SWIG_fail;
3635 }
36ed4f51 3636 {
32fe5131 3637 resultobj = SWIG_From_double(static_cast<double >(result));
36ed4f51 3638 }
d55e5bfc
RD
3639 return resultobj;
3640 fail:
3641 return NULL;
3642}
3643
3644
c370783e 3645static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3646 PyObject *resultobj = NULL;
d55e5bfc
RD
3647 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3648 double result;
3649 PyObject * obj0 = 0 ;
3650 char *kwnames[] = {
3651 (char *) "self", NULL
3652 };
3653
3654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
36ed4f51
RD
3655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3656 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3657 {
3658 PyThreadState* __tstate = wxPyBeginAllowThreads();
3659 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
3660
3661 wxPyEndAllowThreads(__tstate);
3662 if (PyErr_Occurred()) SWIG_fail;
3663 }
36ed4f51 3664 {
32fe5131 3665 resultobj = SWIG_From_double(static_cast<double >(result));
36ed4f51 3666 }
d55e5bfc
RD
3667 return resultobj;
3668 fail:
3669 return NULL;
3670}
3671
3672
c370783e 3673static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *, PyObject *args) {
32fe5131 3674 PyObject *resultobj = NULL;
d55e5bfc
RD
3675 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3676 wxPoint *arg2 = 0 ;
3677 wxPoint result;
3678 wxPoint temp2 ;
3679 PyObject * obj0 = 0 ;
3680 PyObject * obj1 = 0 ;
3681
3682 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
36ed4f51
RD
3683 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3684 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3685 {
3686 arg2 = &temp2;
3687 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3688 }
3689 {
3690 PyThreadState* __tstate = wxPyBeginAllowThreads();
3691 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
3692
3693 wxPyEndAllowThreads(__tstate);
3694 if (PyErr_Occurred()) SWIG_fail;
3695 }
3696 {
3697 wxPoint * resultptr;
32fe5131 3698 resultptr = new wxPoint(static_cast<wxPoint & >(result));
d55e5bfc
RD
3699 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3700 }
3701 return resultobj;
3702 fail:
3703 return NULL;
3704}
3705
3706
c370783e 3707static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *, PyObject *args) {
32fe5131 3708 PyObject *resultobj = NULL;
d55e5bfc
RD
3709 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3710 int arg2 ;
3711 int arg3 ;
3712 int *arg4 = (int *) 0 ;
3713 int *arg5 = (int *) 0 ;
3714 int temp4 ;
c370783e 3715 int res4 = 0 ;
d55e5bfc 3716 int temp5 ;
c370783e 3717 int res5 = 0 ;
d55e5bfc
RD
3718 PyObject * obj0 = 0 ;
3719 PyObject * obj1 = 0 ;
3720 PyObject * obj2 = 0 ;
3721
c370783e
RD
3722 arg4 = &temp4; res4 = SWIG_NEWOBJ;
3723 arg5 = &temp5; res5 = SWIG_NEWOBJ;
d55e5bfc 3724 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
3725 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3726 if (SWIG_arg_fail(1)) SWIG_fail;
3727 {
32fe5131 3728 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3729 if (SWIG_arg_fail(2)) SWIG_fail;
3730 }
3731 {
32fe5131 3732 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
3733 if (SWIG_arg_fail(3)) SWIG_fail;
3734 }
d55e5bfc
RD
3735 {
3736 PyThreadState* __tstate = wxPyBeginAllowThreads();
3737 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
3738
3739 wxPyEndAllowThreads(__tstate);
3740 if (PyErr_Occurred()) SWIG_fail;
3741 }
3742 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
3743 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
3744 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
3745 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
3746 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
3747 return resultobj;
3748 fail:
3749 return NULL;
3750}
3751
3752
3753static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
3754 int argc;
3755 PyObject *argv[4];
3756 int ii;
3757
3758 argc = PyObject_Length(args);
3759 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
3760 argv[ii] = PyTuple_GetItem(args,ii);
3761 }
3762 if (argc == 2) {
3763 int _v;
3764 {
3765 void *ptr;
3766 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3767 _v = 0;
3768 PyErr_Clear();
3769 } else {
3770 _v = 1;
3771 }
3772 }
3773 if (_v) {
3774 {
3775 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
3776 }
3777 if (_v) {
3778 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
3779 }
3780 }
3781 }
3782 if (argc == 3) {
3783 int _v;
3784 {
3785 void *ptr;
3786 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3787 _v = 0;
3788 PyErr_Clear();
3789 } else {
3790 _v = 1;
3791 }
3792 }
3793 if (_v) {
c370783e 3794 _v = SWIG_Check_int(argv[1]);
d55e5bfc 3795 if (_v) {
c370783e 3796 _v = SWIG_Check_int(argv[2]);
d55e5bfc
RD
3797 if (_v) {
3798 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
3799 }
3800 }
3801 }
3802 }
3803
36ed4f51 3804 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
d55e5bfc
RD
3805 return NULL;
3806}
3807
3808
c370783e 3809static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *, PyObject *args) {
32fe5131 3810 PyObject *resultobj = NULL;
d55e5bfc
RD
3811 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3812 wxPoint *arg2 = 0 ;
3813 wxPoint result;
3814 wxPoint temp2 ;
3815 PyObject * obj0 = 0 ;
3816 PyObject * obj1 = 0 ;
3817
3818 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
36ed4f51
RD
3819 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3820 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3821 {
3822 arg2 = &temp2;
3823 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3824 }
3825 {
3826 PyThreadState* __tstate = wxPyBeginAllowThreads();
3827 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
3828
3829 wxPyEndAllowThreads(__tstate);
3830 if (PyErr_Occurred()) SWIG_fail;
3831 }
3832 {
3833 wxPoint * resultptr;
32fe5131 3834 resultptr = new wxPoint(static_cast<wxPoint & >(result));
d55e5bfc
RD
3835 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3836 }
3837 return resultobj;
3838 fail:
3839 return NULL;
3840}
3841
3842
c370783e 3843static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *, PyObject *args) {
32fe5131 3844 PyObject *resultobj = NULL;
d55e5bfc
RD
3845 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3846 int arg2 ;
3847 int arg3 ;
3848 int *arg4 = (int *) 0 ;
3849 int *arg5 = (int *) 0 ;
3850 int temp4 ;
c370783e 3851 int res4 = 0 ;
d55e5bfc 3852 int temp5 ;
c370783e 3853 int res5 = 0 ;
d55e5bfc
RD
3854 PyObject * obj0 = 0 ;
3855 PyObject * obj1 = 0 ;
3856 PyObject * obj2 = 0 ;
3857
c370783e
RD
3858 arg4 = &temp4; res4 = SWIG_NEWOBJ;
3859 arg5 = &temp5; res5 = SWIG_NEWOBJ;
d55e5bfc 3860 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
3861 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3862 if (SWIG_arg_fail(1)) SWIG_fail;
3863 {
32fe5131 3864 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3865 if (SWIG_arg_fail(2)) SWIG_fail;
3866 }
3867 {
32fe5131 3868 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
3869 if (SWIG_arg_fail(3)) SWIG_fail;
3870 }
d55e5bfc
RD
3871 {
3872 PyThreadState* __tstate = wxPyBeginAllowThreads();
3873 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
3874
3875 wxPyEndAllowThreads(__tstate);
3876 if (PyErr_Occurred()) SWIG_fail;
3877 }
3878 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
3879 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
3880 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
3881 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
3882 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
3883 return resultobj;
3884 fail:
3885 return NULL;
3886}
3887
3888
3889static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
3890 int argc;
3891 PyObject *argv[4];
3892 int ii;
3893
3894 argc = PyObject_Length(args);
3895 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
3896 argv[ii] = PyTuple_GetItem(args,ii);
3897 }
3898 if (argc == 2) {
3899 int _v;
3900 {
3901 void *ptr;
3902 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3903 _v = 0;
3904 PyErr_Clear();
3905 } else {
3906 _v = 1;
3907 }
3908 }
3909 if (_v) {
3910 {
3911 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
3912 }
3913 if (_v) {
3914 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
3915 }
3916 }
3917 }
3918 if (argc == 3) {
3919 int _v;
3920 {
3921 void *ptr;
3922 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3923 _v = 0;
3924 PyErr_Clear();
3925 } else {
3926 _v = 1;
3927 }
3928 }
3929 if (_v) {
c370783e 3930 _v = SWIG_Check_int(argv[1]);
d55e5bfc 3931 if (_v) {
c370783e 3932 _v = SWIG_Check_int(argv[2]);
d55e5bfc
RD
3933 if (_v) {
3934 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
3935 }
3936 }
3937 }
3938 }
3939
36ed4f51 3940 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
d55e5bfc
RD
3941 return NULL;
3942}
3943
3944
c370783e 3945static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3946 PyObject *resultobj = NULL;
d55e5bfc
RD
3947 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3948 PyObject * obj0 = 0 ;
3949 char *kwnames[] = {
3950 (char *) "self", NULL
3951 };
3952
3953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
36ed4f51
RD
3954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3955 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3956 {
3957 PyThreadState* __tstate = wxPyBeginAllowThreads();
3958 (arg1)->AdjustScrollbars();
3959
3960 wxPyEndAllowThreads(__tstate);
3961 if (PyErr_Occurred()) SWIG_fail;
3962 }
3963 Py_INCREF(Py_None); resultobj = Py_None;
3964 return resultobj;
3965 fail:
3966 return NULL;
3967}
3968
3969
c370783e 3970static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3971 PyObject *resultobj = NULL;
d55e5bfc
RD
3972 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3973 wxScrollWinEvent *arg2 = 0 ;
3974 int result;
3975 PyObject * obj0 = 0 ;
3976 PyObject * obj1 = 0 ;
3977 char *kwnames[] = {
3978 (char *) "self",(char *) "event", NULL
3979 };
3980
3981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3982 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3983 if (SWIG_arg_fail(1)) SWIG_fail;
3984 {
3985 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxScrollWinEvent, SWIG_POINTER_EXCEPTION | 0);
3986 if (SWIG_arg_fail(2)) SWIG_fail;
3987 if (arg2 == NULL) {
3988 SWIG_null_ref("wxScrollWinEvent");
3989 }
3990 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
3991 }
3992 {
3993 PyThreadState* __tstate = wxPyBeginAllowThreads();
3994 result = (int)(arg1)->CalcScrollInc(*arg2);
3995
3996 wxPyEndAllowThreads(__tstate);
3997 if (PyErr_Occurred()) SWIG_fail;
3998 }
36ed4f51 3999 {
32fe5131 4000 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 4001 }
d55e5bfc
RD
4002 return resultobj;
4003 fail:
4004 return NULL;
4005}
4006
4007
c370783e 4008static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4009 PyObject *resultobj = NULL;
d55e5bfc
RD
4010 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4011 wxWindow *arg2 = (wxWindow *) 0 ;
4012 PyObject * obj0 = 0 ;
4013 PyObject * obj1 = 0 ;
4014 char *kwnames[] = {
4015 (char *) "self",(char *) "target", NULL
4016 };
4017
4018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4019 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
4020 if (SWIG_arg_fail(1)) SWIG_fail;
4021 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4022 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
4023 {
4024 PyThreadState* __tstate = wxPyBeginAllowThreads();
4025 (arg1)->SetTargetWindow(arg2);
4026
4027 wxPyEndAllowThreads(__tstate);
4028 if (PyErr_Occurred()) SWIG_fail;
4029 }
4030 Py_INCREF(Py_None); resultobj = Py_None;
4031 return resultobj;
4032 fail:
4033 return NULL;
4034}
4035
4036
c370783e 4037static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4038 PyObject *resultobj = NULL;
d55e5bfc
RD
4039 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4040 wxWindow *result;
4041 PyObject * obj0 = 0 ;
4042 char *kwnames[] = {
4043 (char *) "self", NULL
4044 };
4045
4046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
4047 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
4048 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4049 {
4050 PyThreadState* __tstate = wxPyBeginAllowThreads();
4051 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
4052
4053 wxPyEndAllowThreads(__tstate);
4054 if (PyErr_Occurred()) SWIG_fail;
4055 }
4056 {
412d302d 4057 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
4058 }
4059 return resultobj;
4060 fail:
4061 return NULL;
4062}
4063
4064
c370783e 4065static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4066 PyObject *resultobj = NULL;
d55e5bfc
RD
4067 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4068 wxRect *arg2 = 0 ;
4069 wxRect temp2 ;
4070 PyObject * obj0 = 0 ;
4071 PyObject * obj1 = 0 ;
4072 char *kwnames[] = {
4073 (char *) "self",(char *) "rect", NULL
4074 };
4075
4076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4077 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
4078 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4079 {
4080 arg2 = &temp2;
4081 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4082 }
4083 {
4084 PyThreadState* __tstate = wxPyBeginAllowThreads();
4085 (arg1)->SetTargetRect((wxRect const &)*arg2);
4086
4087 wxPyEndAllowThreads(__tstate);
4088 if (PyErr_Occurred()) SWIG_fail;
4089 }
4090 Py_INCREF(Py_None); resultobj = Py_None;
4091 return resultobj;
4092 fail:
4093 return NULL;
4094}
4095
4096
c370783e 4097static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4098 PyObject *resultobj = NULL;
d55e5bfc
RD
4099 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4100 wxRect result;
4101 PyObject * obj0 = 0 ;
4102 char *kwnames[] = {
4103 (char *) "self", NULL
4104 };
4105
4106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
36ed4f51
RD
4107 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
4108 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4109 {
4110 PyThreadState* __tstate = wxPyBeginAllowThreads();
4111 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
4112
4113 wxPyEndAllowThreads(__tstate);
4114 if (PyErr_Occurred()) SWIG_fail;
4115 }
4116 {
4117 wxRect * resultptr;
32fe5131 4118 resultptr = new wxRect(static_cast<wxRect & >(result));
d55e5bfc
RD
4119 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
4120 }
4121 return resultobj;
4122 fail:
4123 return NULL;
4124}
4125
4126
c370783e 4127static PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4128 PyObject *resultobj = NULL;
f5b96ee1
RD
4129 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4130 wxDC *arg2 = 0 ;
4131 PyObject * obj0 = 0 ;
4132 PyObject * obj1 = 0 ;
4133 char *kwnames[] = {
4134 (char *) "self",(char *) "dc", NULL
4135 };
4136
4137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4138 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
4139 if (SWIG_arg_fail(1)) SWIG_fail;
4140 {
4141 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
4142 if (SWIG_arg_fail(2)) SWIG_fail;
4143 if (arg2 == NULL) {
4144 SWIG_null_ref("wxDC");
4145 }
4146 if (SWIG_arg_fail(2)) SWIG_fail;
f5b96ee1
RD
4147 }
4148 {
4149 PyThreadState* __tstate = wxPyBeginAllowThreads();
4150 (arg1)->DoPrepareDC(*arg2);
4151
4152 wxPyEndAllowThreads(__tstate);
4153 if (PyErr_Occurred()) SWIG_fail;
4154 }
4155 Py_INCREF(Py_None); resultobj = Py_None;
4156 return resultobj;
4157 fail:
4158 return NULL;
4159}
4160
4161
c370783e 4162static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4163 PyObject *resultobj = NULL;
36ed4f51 4164 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
4165 wxVisualAttributes result;
4166 PyObject * obj0 = 0 ;
4167 char *kwnames[] = {
4168 (char *) "variant", NULL
4169 };
4170
4171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4172 if (obj0) {
36ed4f51 4173 {
32fe5131 4174 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
36ed4f51
RD
4175 if (SWIG_arg_fail(1)) SWIG_fail;
4176 }
f20a2e1f
RD
4177 }
4178 {
0439c23b 4179 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 4180 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 4181 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
4182
4183 wxPyEndAllowThreads(__tstate);
110da5b0 4184 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
4185 }
4186 {
4187 wxVisualAttributes * resultptr;
32fe5131 4188 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
4189 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4190 }
4191 return resultobj;
4192 fail:
4193 return NULL;
4194}
4195
4196
c370783e 4197static PyObject * ScrolledWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
4198 PyObject *obj;
4199 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4200 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
4201 Py_INCREF(obj);
4202 return Py_BuildValue((char *)"");
4203}
c370783e 4204static int _wrap_FrameNameStr_set(PyObject *) {
d55e5bfc
RD
4205 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
4206 return 1;
4207}
4208
4209
36ed4f51 4210static PyObject *_wrap_FrameNameStr_get(void) {
32fe5131 4211 PyObject *pyobj = NULL;
d55e5bfc
RD
4212
4213 {
4214#if wxUSE_UNICODE
4215 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
4216#else
4217 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
4218#endif
4219 }
4220 return pyobj;
4221}
4222
4223
c370783e 4224static int _wrap_DialogNameStr_set(PyObject *) {
d55e5bfc
RD
4225 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
4226 return 1;
4227}
4228
4229
36ed4f51 4230static PyObject *_wrap_DialogNameStr_get(void) {
32fe5131 4231 PyObject *pyobj = NULL;
d55e5bfc
RD
4232
4233 {
4234#if wxUSE_UNICODE
4235 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
4236#else
4237 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
4238#endif
4239 }
4240 return pyobj;
4241}
4242
4243
c370783e 4244static int _wrap_StatusLineNameStr_set(PyObject *) {
d55e5bfc
RD
4245 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
4246 return 1;
4247}
4248
4249
36ed4f51 4250static PyObject *_wrap_StatusLineNameStr_get(void) {
32fe5131 4251 PyObject *pyobj = NULL;
d55e5bfc
RD
4252
4253 {
4254#if wxUSE_UNICODE
4255 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
4256#else
4257 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
4258#endif
4259 }
4260 return pyobj;
4261}
4262
4263
c370783e 4264static int _wrap_ToolBarNameStr_set(PyObject *) {
d55e5bfc
RD
4265 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
4266 return 1;
4267}
4268
4269
36ed4f51 4270static PyObject *_wrap_ToolBarNameStr_get(void) {
32fe5131 4271 PyObject *pyobj = NULL;
d55e5bfc
RD
4272
4273 {
4274#if wxUSE_UNICODE
4275 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
4276#else
4277 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
4278#endif
4279 }
4280 return pyobj;
4281}
4282
4283
c370783e 4284static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4285 PyObject *resultobj = NULL;
d55e5bfc 4286 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
b411df4a 4287 bool arg2 = (bool) true ;
d55e5bfc
RD
4288 PyObject * obj0 = 0 ;
4289 PyObject * obj1 = 0 ;
4290 char *kwnames[] = {
4291 (char *) "self",(char *) "maximize", NULL
4292 };
4293
4294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4295 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4296 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 4297 if (obj1) {
36ed4f51 4298 {
32fe5131 4299 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
4300 if (SWIG_arg_fail(2)) SWIG_fail;
4301 }
d55e5bfc
RD
4302 }
4303 {
4304 PyThreadState* __tstate = wxPyBeginAllowThreads();
4305 (arg1)->Maximize(arg2);
4306
4307 wxPyEndAllowThreads(__tstate);
4308 if (PyErr_Occurred()) SWIG_fail;
4309 }
4310 Py_INCREF(Py_None); resultobj = Py_None;
4311 return resultobj;
4312 fail:
4313 return NULL;
4314}
4315
4316
c370783e 4317static PyObject *_wrap_TopLevelWindow_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4318 PyObject *resultobj = NULL;
d55e5bfc
RD
4319 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4320 PyObject * obj0 = 0 ;
4321 char *kwnames[] = {
4322 (char *) "self", NULL
4323 };
4324
4325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
36ed4f51
RD
4326 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4327 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4328 {
4329 PyThreadState* __tstate = wxPyBeginAllowThreads();
4330 (arg1)->Restore();
4331
4332 wxPyEndAllowThreads(__tstate);
4333 if (PyErr_Occurred()) SWIG_fail;
4334 }
4335 Py_INCREF(Py_None); resultobj = Py_None;
4336 return resultobj;
4337 fail:
4338 return NULL;
4339}
4340
4341
c370783e 4342static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4343 PyObject *resultobj = NULL;
d55e5bfc 4344 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
b411df4a 4345 bool arg2 = (bool) true ;
d55e5bfc
RD
4346 PyObject * obj0 = 0 ;
4347 PyObject * obj1 = 0 ;
4348 char *kwnames[] = {
4349 (char *) "self",(char *) "iconize", NULL
4350 };
4351
4352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4353 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4354 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 4355 if (obj1) {
36ed4f51 4356 {
32fe5131 4357 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
4358 if (SWIG_arg_fail(2)) SWIG_fail;
4359 }
d55e5bfc
RD
4360 }
4361 {
4362 PyThreadState* __tstate = wxPyBeginAllowThreads();
4363 (arg1)->Iconize(arg2);
4364
4365 wxPyEndAllowThreads(__tstate);
4366 if (PyErr_Occurred()) SWIG_fail;
4367 }
4368 Py_INCREF(Py_None); resultobj = Py_None;
4369 return resultobj;
4370 fail:
4371 return NULL;
4372}
4373
4374
c370783e 4375static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4376 PyObject *resultobj = NULL;
d55e5bfc
RD
4377 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4378 bool result;
4379 PyObject * obj0 = 0 ;
4380 char *kwnames[] = {
4381 (char *) "self", NULL
4382 };
4383
4384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
36ed4f51
RD
4385 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4386 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4387 {
4388 PyThreadState* __tstate = wxPyBeginAllowThreads();
4389 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
4390
4391 wxPyEndAllowThreads(__tstate);
4392 if (PyErr_Occurred()) SWIG_fail;
4393 }
4394 {
4395 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4396 }
4397 return resultobj;
4398 fail:
4399 return NULL;
4400}
4401
4402
c370783e 4403static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4404 PyObject *resultobj = NULL;
d55e5bfc
RD
4405 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4406 bool result;
4407 PyObject * obj0 = 0 ;
4408 char *kwnames[] = {
4409 (char *) "self", NULL
4410 };
4411
4412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
36ed4f51
RD
4413 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4414 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4415 {
4416 PyThreadState* __tstate = wxPyBeginAllowThreads();
4417 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
4418
4419 wxPyEndAllowThreads(__tstate);
4420 if (PyErr_Occurred()) SWIG_fail;
4421 }
4422 {
4423 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4424 }
4425 return resultobj;
4426 fail:
4427 return NULL;
4428}
4429
4430
c370783e 4431static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4432 PyObject *resultobj = NULL;
d55e5bfc
RD
4433 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4434 wxIcon result;
4435 PyObject * obj0 = 0 ;
4436 char *kwnames[] = {
4437 (char *) "self", NULL
4438 };
4439
4440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
36ed4f51
RD
4441 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4442 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4443 {
4444 PyThreadState* __tstate = wxPyBeginAllowThreads();
4445 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
4446
4447 wxPyEndAllowThreads(__tstate);
4448 if (PyErr_Occurred()) SWIG_fail;
4449 }
4450 {
4451 wxIcon * resultptr;
32fe5131 4452 resultptr = new wxIcon(static_cast<wxIcon & >(result));
d55e5bfc
RD
4453 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
4454 }
4455 return resultobj;
4456 fail:
4457 return NULL;
4458}
4459
4460
c370783e 4461static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4462 PyObject *resultobj = NULL;
d55e5bfc
RD
4463 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4464 wxIcon *arg2 = 0 ;
4465 PyObject * obj0 = 0 ;
4466 PyObject * obj1 = 0 ;
4467 char *kwnames[] = {
4468 (char *) "self",(char *) "icon", NULL
4469 };
4470
4471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4473 if (SWIG_arg_fail(1)) SWIG_fail;
4474 {
4475 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
4476 if (SWIG_arg_fail(2)) SWIG_fail;
4477 if (arg2 == NULL) {
4478 SWIG_null_ref("wxIcon");
4479 }
4480 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
4481 }
4482 {
4483 PyThreadState* __tstate = wxPyBeginAllowThreads();
4484 (arg1)->SetIcon((wxIcon const &)*arg2);
4485
4486 wxPyEndAllowThreads(__tstate);
4487 if (PyErr_Occurred()) SWIG_fail;
4488 }
4489 Py_INCREF(Py_None); resultobj = Py_None;
4490 return resultobj;
4491 fail:
4492 return NULL;
4493}
4494
4495
c370783e 4496static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4497 PyObject *resultobj = NULL;
d55e5bfc
RD
4498 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4499 wxIconBundle *arg2 = 0 ;
4500 PyObject * obj0 = 0 ;
4501 PyObject * obj1 = 0 ;
4502 char *kwnames[] = {
4503 (char *) "self",(char *) "icons", NULL
4504 };
4505
4506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4507 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4508 if (SWIG_arg_fail(1)) SWIG_fail;
4509 {
4510 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIconBundle, SWIG_POINTER_EXCEPTION | 0);
4511 if (SWIG_arg_fail(2)) SWIG_fail;
4512 if (arg2 == NULL) {
4513 SWIG_null_ref("wxIconBundle");
4514 }
4515 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
4516 }
4517 {
4518 PyThreadState* __tstate = wxPyBeginAllowThreads();
4519 (arg1)->SetIcons((wxIconBundle const &)*arg2);
4520
4521 wxPyEndAllowThreads(__tstate);
4522 if (PyErr_Occurred()) SWIG_fail;
4523 }
4524 Py_INCREF(Py_None); resultobj = Py_None;
4525 return resultobj;
4526 fail:
4527 return NULL;
4528}
4529
4530
c370783e 4531static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4532 PyObject *resultobj = NULL;
d55e5bfc
RD
4533 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4534 bool arg2 ;
4535 long arg3 = (long) wxFULLSCREEN_ALL ;
4536 bool result;
4537 PyObject * obj0 = 0 ;
4538 PyObject * obj1 = 0 ;
4539 PyObject * obj2 = 0 ;
4540 char *kwnames[] = {
4541 (char *) "self",(char *) "show",(char *) "style", NULL
4542 };
4543
4544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
4545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4546 if (SWIG_arg_fail(1)) SWIG_fail;
4547 {
32fe5131 4548 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
4549 if (SWIG_arg_fail(2)) SWIG_fail;
4550 }
d55e5bfc 4551 if (obj2) {
36ed4f51 4552 {
32fe5131 4553 arg3 = static_cast<long >(SWIG_As_long(obj2));
36ed4f51
RD
4554 if (SWIG_arg_fail(3)) SWIG_fail;
4555 }
d55e5bfc
RD
4556 }
4557 {
4558 PyThreadState* __tstate = wxPyBeginAllowThreads();
4559 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
4560
4561 wxPyEndAllowThreads(__tstate);
4562 if (PyErr_Occurred()) SWIG_fail;
4563 }
4564 {
4565 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4566 }
4567 return resultobj;
4568 fail:
4569 return NULL;
4570}
4571
4572
c370783e 4573static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4574 PyObject *resultobj = NULL;
d55e5bfc
RD
4575 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4576 bool result;
4577 PyObject * obj0 = 0 ;
4578 char *kwnames[] = {
4579 (char *) "self", NULL
4580 };
4581
4582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
36ed4f51
RD
4583 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4584 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4585 {
4586 PyThreadState* __tstate = wxPyBeginAllowThreads();
4587 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
4588
4589 wxPyEndAllowThreads(__tstate);
4590 if (PyErr_Occurred()) SWIG_fail;
4591 }
4592 {
4593 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4594 }
4595 return resultobj;
4596 fail:
4597 return NULL;
4598}
4599
4600
c370783e 4601static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4602 PyObject *resultobj = NULL;
d55e5bfc
RD
4603 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4604 wxString *arg2 = 0 ;
b411df4a 4605 bool temp2 = false ;
d55e5bfc
RD
4606 PyObject * obj0 = 0 ;
4607 PyObject * obj1 = 0 ;
4608 char *kwnames[] = {
4609 (char *) "self",(char *) "title", NULL
4610 };
4611
4612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4613 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4614 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4615 {
4616 arg2 = wxString_in_helper(obj1);
4617 if (arg2 == NULL) SWIG_fail;
b411df4a 4618 temp2 = true;
d55e5bfc
RD
4619 }
4620 {
4621 PyThreadState* __tstate = wxPyBeginAllowThreads();
4622 (arg1)->SetTitle((wxString const &)*arg2);
4623
4624 wxPyEndAllowThreads(__tstate);
4625 if (PyErr_Occurred()) SWIG_fail;
4626 }
4627 Py_INCREF(Py_None); resultobj = Py_None;
4628 {
4629 if (temp2)
4630 delete arg2;
4631 }
4632 return resultobj;
4633 fail:
4634 {
4635 if (temp2)
4636 delete arg2;
4637 }
4638 return NULL;
4639}
4640
4641
c370783e 4642static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4643 PyObject *resultobj = NULL;
d55e5bfc
RD
4644 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4645 wxString result;
4646 PyObject * obj0 = 0 ;
4647 char *kwnames[] = {
4648 (char *) "self", NULL
4649 };
4650
4651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
36ed4f51
RD
4652 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4653 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4654 {
4655 PyThreadState* __tstate = wxPyBeginAllowThreads();
4656 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
4657
4658 wxPyEndAllowThreads(__tstate);
4659 if (PyErr_Occurred()) SWIG_fail;
4660 }
4661 {
4662#if wxUSE_UNICODE
4663 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4664#else
4665 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4666#endif
4667 }
4668 return resultobj;
4669 fail:
4670 return NULL;
4671}
4672
4673
c370783e 4674static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4675 PyObject *resultobj = NULL;
d55e5bfc
RD
4676 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4677 wxRegion *arg2 = 0 ;
4678 bool result;
4679 PyObject * obj0 = 0 ;
4680 PyObject * obj1 = 0 ;
4681 char *kwnames[] = {
4682 (char *) "self",(char *) "region", NULL
4683 };
4684
4685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4686 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4687 if (SWIG_arg_fail(1)) SWIG_fail;
4688 {
4689 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
4690 if (SWIG_arg_fail(2)) SWIG_fail;
4691 if (arg2 == NULL) {
4692 SWIG_null_ref("wxRegion");
4693 }
4694 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
4695 }
4696 {
4697 PyThreadState* __tstate = wxPyBeginAllowThreads();
4698 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
4699
4700 wxPyEndAllowThreads(__tstate);
4701 if (PyErr_Occurred()) SWIG_fail;
4702 }
4703 {
4704 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4705 }
4706 return resultobj;
4707 fail:
4708 return NULL;
4709}
4710
4711
c370783e 4712static PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4713 PyObject *resultobj = NULL;
c370783e
RD
4714 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4715 int arg2 = (int) wxUSER_ATTENTION_INFO ;
4716 PyObject * obj0 = 0 ;
4717 PyObject * obj1 = 0 ;
4718 char *kwnames[] = {
4719 (char *) "self",(char *) "flags", NULL
4720 };
4721
4722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4724 if (SWIG_arg_fail(1)) SWIG_fail;
c370783e 4725 if (obj1) {
36ed4f51 4726 {
32fe5131 4727 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
4728 if (SWIG_arg_fail(2)) SWIG_fail;
4729 }
c370783e
RD
4730 }
4731 {
4732 PyThreadState* __tstate = wxPyBeginAllowThreads();
4733 (arg1)->RequestUserAttention(arg2);
4734
4735 wxPyEndAllowThreads(__tstate);
4736 if (PyErr_Occurred()) SWIG_fail;
4737 }
4738 Py_INCREF(Py_None); resultobj = Py_None;
4739 return resultobj;
4740 fail:
4741 return NULL;
4742}
4743
4744
5e483524 4745static PyObject *_wrap_TopLevelWindow_IsActive(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4746 PyObject *resultobj = NULL;
5e483524
RD
4747 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4748 bool result;
4749 PyObject * obj0 = 0 ;
4750 char *kwnames[] = {
4751 (char *) "self", NULL
4752 };
4753
4754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsActive",kwnames,&obj0)) goto fail;
36ed4f51
RD
4755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4756 if (SWIG_arg_fail(1)) SWIG_fail;
5e483524
RD
4757 {
4758 PyThreadState* __tstate = wxPyBeginAllowThreads();
4759 result = (bool)(arg1)->IsActive();
4760
4761 wxPyEndAllowThreads(__tstate);
4762 if (PyErr_Occurred()) SWIG_fail;
4763 }
4764 {
4765 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4766 }
4767 return resultobj;
4768 fail:
4769 return NULL;
4770}
4771
4772
c370783e 4773static PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4774 PyObject *resultobj = NULL;
d55e5bfc
RD
4775 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4776 bool arg2 ;
4777 PyObject * obj0 = 0 ;
4778 PyObject * obj1 = 0 ;
4779 char *kwnames[] = {
4780 (char *) "self",(char *) "on", NULL
4781 };
4782
4783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4784 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4785 if (SWIG_arg_fail(1)) SWIG_fail;
4786 {
32fe5131 4787 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
4788 if (SWIG_arg_fail(2)) SWIG_fail;
4789 }
d55e5bfc
RD
4790 {
4791 PyThreadState* __tstate = wxPyBeginAllowThreads();
4792 (arg1)->MacSetMetalAppearance(arg2);
4793
4794 wxPyEndAllowThreads(__tstate);
4795 if (PyErr_Occurred()) SWIG_fail;
4796 }
4797 Py_INCREF(Py_None); resultobj = Py_None;
4798 return resultobj;
4799 fail:
4800 return NULL;
4801}
4802
4803
c370783e 4804static PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4805 PyObject *resultobj = NULL;
d55e5bfc
RD
4806 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4807 bool result;
4808 PyObject * obj0 = 0 ;
4809 char *kwnames[] = {
4810 (char *) "self", NULL
4811 };
4812
4813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames,&obj0)) goto fail;
36ed4f51
RD
4814 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4815 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4816 {
4817 PyThreadState* __tstate = wxPyBeginAllowThreads();
4818 result = (bool)((wxTopLevelWindow const *)arg1)->MacGetMetalAppearance();
4819
4820 wxPyEndAllowThreads(__tstate);
4821 if (PyErr_Occurred()) SWIG_fail;
4822 }
4823 {
4824 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4825 }
4826 return resultobj;
4827 fail:
4828 return NULL;
4829}
4830
4831
c370783e 4832static PyObject * TopLevelWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
4833 PyObject *obj;
4834 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4835 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
4836 Py_INCREF(obj);
4837 return Py_BuildValue((char *)"");
4838}
c370783e 4839static PyObject *_wrap_new_Frame(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4840 PyObject *resultobj = NULL;
d55e5bfc 4841 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
4842 int arg2 = (int) (int)-1 ;
4843 wxString const &arg3_defvalue = wxPyEmptyString ;
4844 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
4845 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4846 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4847 wxSize const &arg5_defvalue = wxDefaultSize ;
4848 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4849 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4850 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4851 wxString *arg7 = (wxString *) &arg7_defvalue ;
4852 wxFrame *result;
b411df4a 4853 bool temp3 = false ;
d55e5bfc
RD
4854 wxPoint temp4 ;
4855 wxSize temp5 ;
b411df4a 4856 bool temp7 = false ;
d55e5bfc
RD
4857 PyObject * obj0 = 0 ;
4858 PyObject * obj1 = 0 ;
4859 PyObject * obj2 = 0 ;
4860 PyObject * obj3 = 0 ;
4861 PyObject * obj4 = 0 ;
4862 PyObject * obj5 = 0 ;
4863 PyObject * obj6 = 0 ;
4864 char *kwnames[] = {
4865 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4866 };
4867
bfddbb17 4868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
4869 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4870 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 4871 if (obj1) {
36ed4f51 4872 {
32fe5131 4873 arg2 = static_cast<int const >(SWIG_As_int(obj1));
36ed4f51
RD
4874 if (SWIG_arg_fail(2)) SWIG_fail;
4875 }
bfddbb17
RD
4876 }
4877 if (obj2) {
4878 {
4879 arg3 = wxString_in_helper(obj2);
4880 if (arg3 == NULL) SWIG_fail;
b411df4a 4881 temp3 = true;
bfddbb17 4882 }
d55e5bfc
RD
4883 }
4884 if (obj3) {
4885 {
4886 arg4 = &temp4;
4887 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4888 }
4889 }
4890 if (obj4) {
4891 {
4892 arg5 = &temp5;
4893 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4894 }
4895 }
4896 if (obj5) {
36ed4f51 4897 {
32fe5131 4898 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
4899 if (SWIG_arg_fail(6)) SWIG_fail;
4900 }
d55e5bfc
RD
4901 }
4902 if (obj6) {
4903 {
4904 arg7 = wxString_in_helper(obj6);
4905 if (arg7 == NULL) SWIG_fail;
b411df4a 4906 temp7 = true;
d55e5bfc
RD
4907 }
4908 }
4909 {
0439c23b 4910 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4911 PyThreadState* __tstate = wxPyBeginAllowThreads();
4912 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4913
4914 wxPyEndAllowThreads(__tstate);
110da5b0 4915 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 4916 }
b0f7404b 4917 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
d55e5bfc
RD
4918 {
4919 if (temp3)
4920 delete arg3;
4921 }
4922 {
4923 if (temp7)
4924 delete arg7;
4925 }
4926 return resultobj;
4927 fail:
4928 {
4929 if (temp3)
4930 delete arg3;
4931 }
4932 {
4933 if (temp7)
4934 delete arg7;
4935 }
4936 return NULL;
4937}
4938
4939
c370783e 4940static PyObject *_wrap_new_PreFrame(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4941 PyObject *resultobj = NULL;
d55e5bfc
RD
4942 wxFrame *result;
4943 char *kwnames[] = {
4944 NULL
4945 };
4946
4947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
4948 {
0439c23b 4949 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4950 PyThreadState* __tstate = wxPyBeginAllowThreads();
4951 result = (wxFrame *)new wxFrame();
4952
4953 wxPyEndAllowThreads(__tstate);
110da5b0 4954 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 4955 }
b0f7404b 4956 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
d55e5bfc
RD
4957 return resultobj;
4958 fail:
4959 return NULL;
4960}
4961
4962
c370783e 4963static PyObject *_wrap_Frame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4964 PyObject *resultobj = NULL;
d55e5bfc
RD
4965 wxFrame *arg1 = (wxFrame *) 0 ;
4966 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
4967 int arg3 = (int) (int)-1 ;
4968 wxString const &arg4_defvalue = wxPyEmptyString ;
4969 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
4970 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4971 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4972 wxSize const &arg6_defvalue = wxDefaultSize ;
4973 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4974 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4975 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4976 wxString *arg8 = (wxString *) &arg8_defvalue ;
4977 bool result;
b411df4a 4978 bool temp4 = false ;
d55e5bfc
RD
4979 wxPoint temp5 ;
4980 wxSize temp6 ;
b411df4a 4981 bool temp8 = false ;
d55e5bfc
RD
4982 PyObject * obj0 = 0 ;
4983 PyObject * obj1 = 0 ;
4984 PyObject * obj2 = 0 ;
4985 PyObject * obj3 = 0 ;
4986 PyObject * obj4 = 0 ;
4987 PyObject * obj5 = 0 ;
4988 PyObject * obj6 = 0 ;
4989 PyObject * obj7 = 0 ;
4990 char *kwnames[] = {
4991 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4992 };
4993
bfddbb17 4994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
4995 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4996 if (SWIG_arg_fail(1)) SWIG_fail;
4997 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4998 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 4999 if (obj2) {
36ed4f51 5000 {
32fe5131 5001 arg3 = static_cast<int const >(SWIG_As_int(obj2));
36ed4f51
RD
5002 if (SWIG_arg_fail(3)) SWIG_fail;
5003 }
bfddbb17
RD
5004 }
5005 if (obj3) {
5006 {
5007 arg4 = wxString_in_helper(obj3);
5008 if (arg4 == NULL) SWIG_fail;
b411df4a 5009 temp4 = true;
bfddbb17 5010 }
d55e5bfc
RD
5011 }
5012 if (obj4) {
5013 {
5014 arg5 = &temp5;
5015 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5016 }
5017 }
5018 if (obj5) {
5019 {
5020 arg6 = &temp6;
5021 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5022 }
5023 }
5024 if (obj6) {
36ed4f51 5025 {
32fe5131 5026 arg7 = static_cast<long >(SWIG_As_long(obj6));
36ed4f51
RD
5027 if (SWIG_arg_fail(7)) SWIG_fail;
5028 }
d55e5bfc
RD
5029 }
5030 if (obj7) {
5031 {
5032 arg8 = wxString_in_helper(obj7);
5033 if (arg8 == NULL) SWIG_fail;
b411df4a 5034 temp8 = true;
d55e5bfc
RD
5035 }
5036 }
5037 {
5038 PyThreadState* __tstate = wxPyBeginAllowThreads();
5039 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
5040
5041 wxPyEndAllowThreads(__tstate);
5042 if (PyErr_Occurred()) SWIG_fail;
5043 }
5044 {
5045 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5046 }
5047 {
5048 if (temp4)
5049 delete arg4;
5050 }
5051 {
5052 if (temp8)
5053 delete arg8;
5054 }
5055 return resultobj;
5056 fail:
5057 {
5058 if (temp4)
5059 delete arg4;
5060 }
5061 {
5062 if (temp8)
5063 delete arg8;
5064 }
5065 return NULL;
5066}
5067
5068
c370783e 5069static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5070 PyObject *resultobj = NULL;
d55e5bfc
RD
5071 wxFrame *arg1 = (wxFrame *) 0 ;
5072 wxPoint result;
5073 PyObject * obj0 = 0 ;
5074 char *kwnames[] = {
5075 (char *) "self", NULL
5076 };
5077
5078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
36ed4f51
RD
5079 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5080 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5081 {
5082 PyThreadState* __tstate = wxPyBeginAllowThreads();
5083 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
5084
5085 wxPyEndAllowThreads(__tstate);
5086 if (PyErr_Occurred()) SWIG_fail;
5087 }
5088 {
5089 wxPoint * resultptr;
32fe5131 5090 resultptr = new wxPoint(static_cast<wxPoint & >(result));
d55e5bfc
RD
5091 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
5092 }
5093 return resultobj;
5094 fail:
5095 return NULL;
5096}
5097
5098
c370783e 5099static PyObject *_wrap_Frame_SendSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5100 PyObject *resultobj = NULL;
d55e5bfc
RD
5101 wxFrame *arg1 = (wxFrame *) 0 ;
5102 PyObject * obj0 = 0 ;
5103 char *kwnames[] = {
5104 (char *) "self", NULL
5105 };
5106
5107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
36ed4f51
RD
5108 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5109 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5110 {
5111 PyThreadState* __tstate = wxPyBeginAllowThreads();
5112 (arg1)->SendSizeEvent();
5113
5114 wxPyEndAllowThreads(__tstate);
5115 if (PyErr_Occurred()) SWIG_fail;
5116 }
5117 Py_INCREF(Py_None); resultobj = Py_None;
5118 return resultobj;
5119 fail:
5120 return NULL;
5121}
5122
5123
c370783e 5124static PyObject *_wrap_Frame_SetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5125 PyObject *resultobj = NULL;
d55e5bfc
RD
5126 wxFrame *arg1 = (wxFrame *) 0 ;
5127 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
5128 PyObject * obj0 = 0 ;
5129 PyObject * obj1 = 0 ;
5130 char *kwnames[] = {
5131 (char *) "self",(char *) "menubar", NULL
5132 };
5133
5134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5135 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5136 if (SWIG_arg_fail(1)) SWIG_fail;
5137 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
5138 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
5139 {
5140 PyThreadState* __tstate = wxPyBeginAllowThreads();
5141 (arg1)->SetMenuBar(arg2);
5142
5143 wxPyEndAllowThreads(__tstate);
5144 if (PyErr_Occurred()) SWIG_fail;
5145 }
5146 Py_INCREF(Py_None); resultobj = Py_None;
5147 return resultobj;
5148 fail:
5149 return NULL;
5150}
5151
5152
c370783e 5153static PyObject *_wrap_Frame_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5154 PyObject *resultobj = NULL;
d55e5bfc
RD
5155 wxFrame *arg1 = (wxFrame *) 0 ;
5156 wxMenuBar *result;
5157 PyObject * obj0 = 0 ;
5158 char *kwnames[] = {
5159 (char *) "self", NULL
5160 };
5161
5162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
36ed4f51
RD
5163 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5164 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5165 {
5166 PyThreadState* __tstate = wxPyBeginAllowThreads();
5167 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
5168
5169 wxPyEndAllowThreads(__tstate);
5170 if (PyErr_Occurred()) SWIG_fail;
5171 }
5172 {
412d302d 5173 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
5174 }
5175 return resultobj;
5176 fail:
5177 return NULL;
5178}
5179
5180
c370783e 5181static PyObject *_wrap_Frame_ProcessCommand(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5182 PyObject *resultobj = NULL;
d55e5bfc
RD
5183 wxFrame *arg1 = (wxFrame *) 0 ;
5184 int arg2 ;
5185 bool result;
5186 PyObject * obj0 = 0 ;
5187 PyObject * obj1 = 0 ;
5188 char *kwnames[] = {
5189 (char *) "self",(char *) "winid", NULL
5190 };
5191
5192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5193 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5194 if (SWIG_arg_fail(1)) SWIG_fail;
5195 {
32fe5131 5196 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
5197 if (SWIG_arg_fail(2)) SWIG_fail;
5198 }
d55e5bfc
RD
5199 {
5200 PyThreadState* __tstate = wxPyBeginAllowThreads();
5201 result = (bool)(arg1)->ProcessCommand(arg2);
5202
5203 wxPyEndAllowThreads(__tstate);
5204 if (PyErr_Occurred()) SWIG_fail;
5205 }
5206 {
5207 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5208 }
5209 return resultobj;
5210 fail:
5211 return NULL;
5212}
5213
5214
c370783e 5215static PyObject *_wrap_Frame_CreateStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5216 PyObject *resultobj = NULL;
d55e5bfc
RD
5217 wxFrame *arg1 = (wxFrame *) 0 ;
5218 int arg2 = (int) 1 ;
6d88e192 5219 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
d55e5bfc
RD
5220 int arg4 = (int) 0 ;
5221 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
5222 wxString *arg5 = (wxString *) &arg5_defvalue ;
5223 wxStatusBar *result;
b411df4a 5224 bool temp5 = false ;
d55e5bfc
RD
5225 PyObject * obj0 = 0 ;
5226 PyObject * obj1 = 0 ;
5227 PyObject * obj2 = 0 ;
5228 PyObject * obj3 = 0 ;
5229 PyObject * obj4 = 0 ;
5230 char *kwnames[] = {
5231 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
5232 };
5233
5234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
5235 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5236 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 5237 if (obj1) {
36ed4f51 5238 {
32fe5131 5239 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
5240 if (SWIG_arg_fail(2)) SWIG_fail;
5241 }
d55e5bfc
RD
5242 }
5243 if (obj2) {
36ed4f51 5244 {
32fe5131 5245 arg3 = static_cast<long >(SWIG_As_long(obj2));
36ed4f51
RD
5246 if (SWIG_arg_fail(3)) SWIG_fail;
5247 }
d55e5bfc
RD
5248 }
5249 if (obj3) {
36ed4f51 5250 {
32fe5131 5251 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
5252 if (SWIG_arg_fail(4)) SWIG_fail;
5253 }
d55e5bfc
RD
5254 }
5255 if (obj4) {
5256 {
5257 arg5 = wxString_in_helper(obj4);
5258 if (arg5 == NULL) SWIG_fail;
b411df4a 5259 temp5 = true;
d55e5bfc
RD
5260 }
5261 }
5262 {
5263 PyThreadState* __tstate = wxPyBeginAllowThreads();
5264 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
5265
5266 wxPyEndAllowThreads(__tstate);
5267 if (PyErr_Occurred()) SWIG_fail;
5268 }
5269 {
7e08d4ef 5270 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
5271 }
5272 {
5273 if (temp5)
5274 delete arg5;
5275 }
5276 return resultobj;
5277 fail:
5278 {
5279 if (temp5)
5280 delete arg5;
5281 }
5282 return NULL;
5283}
5284
5285
c370783e 5286static PyObject *_wrap_Frame_GetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5287 PyObject *resultobj = NULL;
d55e5bfc
RD
5288 wxFrame *arg1 = (wxFrame *) 0 ;
5289 wxStatusBar *result;
5290 PyObject * obj0 = 0 ;
5291 char *kwnames[] = {
5292 (char *) "self", NULL
5293 };
5294
5295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
36ed4f51
RD
5296 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5297 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5298 {
5299 PyThreadState* __tstate = wxPyBeginAllowThreads();
5300 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
5301
5302 wxPyEndAllowThreads(__tstate);
5303 if (PyErr_Occurred()) SWIG_fail;
5304 }
5305 {
7e08d4ef 5306 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
5307 }
5308 return resultobj;
5309 fail:
5310 return NULL;
5311}
5312
5313
c370783e 5314static PyObject *_wrap_Frame_SetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5315 PyObject *resultobj = NULL;
d55e5bfc
RD
5316 wxFrame *arg1 = (wxFrame *) 0 ;
5317 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
5318 PyObject * obj0 = 0 ;
5319 PyObject * obj1 = 0 ;
5320 char *kwnames[] = {
5321 (char *) "self",(char *) "statBar", NULL
5322 };
5323
5324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5325 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5326 if (SWIG_arg_fail(1)) SWIG_fail;
5327 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
5328 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
5329 {
5330 PyThreadState* __tstate = wxPyBeginAllowThreads();
5331 (arg1)->SetStatusBar(arg2);
5332
5333 wxPyEndAllowThreads(__tstate);
5334 if (PyErr_Occurred()) SWIG_fail;
5335 }
5336 Py_INCREF(Py_None); resultobj = Py_None;
5337 return resultobj;
5338 fail:
5339 return NULL;
5340}
5341
5342
c370783e 5343static PyObject *_wrap_Frame_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5344 PyObject *resultobj = NULL;
d55e5bfc
RD
5345 wxFrame *arg1 = (wxFrame *) 0 ;
5346 wxString *arg2 = 0 ;
5347 int arg3 = (int) 0 ;
b411df4a 5348 bool temp2 = false ;
d55e5bfc
RD
5349 PyObject * obj0 = 0 ;
5350 PyObject * obj1 = 0 ;
5351 PyObject * obj2 = 0 ;
5352 char *kwnames[] = {
5353 (char *) "self",(char *) "text",(char *) "number", NULL
5354 };
5355
5356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
5357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5358 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5359 {
5360 arg2 = wxString_in_helper(obj1);
5361 if (arg2 == NULL) SWIG_fail;
b411df4a 5362 temp2 = true;
d55e5bfc
RD
5363 }
5364 if (obj2) {
36ed4f51 5365 {
32fe5131 5366 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
5367 if (SWIG_arg_fail(3)) SWIG_fail;
5368 }
d55e5bfc
RD
5369 }
5370 {
5371 PyThreadState* __tstate = wxPyBeginAllowThreads();
5372 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5373
5374 wxPyEndAllowThreads(__tstate);
5375 if (PyErr_Occurred()) SWIG_fail;
5376 }
5377 Py_INCREF(Py_None); resultobj = Py_None;
5378 {
5379 if (temp2)
5380 delete arg2;
5381 }
5382 return resultobj;
5383 fail:
5384 {
5385 if (temp2)
5386 delete arg2;
5387 }
5388 return NULL;
5389}
5390
5391
c370783e 5392static PyObject *_wrap_Frame_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5393 PyObject *resultobj = NULL;
d55e5bfc
RD
5394 wxFrame *arg1 = (wxFrame *) 0 ;
5395 int arg2 ;
5396 int *arg3 = (int *) 0 ;
5397 PyObject * obj0 = 0 ;
5398 PyObject * obj1 = 0 ;
5399 char *kwnames[] = {
5400 (char *) "self",(char *) "widths", NULL
5401 };
5402
5403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5404 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5405 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5406 {
5407 arg2 = PyList_Size(obj1);
5408 arg3 = int_LIST_helper(obj1);
5409 if (arg3 == NULL) SWIG_fail;
5410 }
5411 {
5412 PyThreadState* __tstate = wxPyBeginAllowThreads();
5413 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5414
5415 wxPyEndAllowThreads(__tstate);
5416 if (PyErr_Occurred()) SWIG_fail;
5417 }
5418 Py_INCREF(Py_None); resultobj = Py_None;
5419 {
5420 if (arg3) delete [] arg3;
5421 }
5422 return resultobj;
5423 fail:
5424 {
5425 if (arg3) delete [] arg3;
5426 }
5427 return NULL;
5428}
5429
5430
c370783e 5431static PyObject *_wrap_Frame_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5432 PyObject *resultobj = NULL;
d55e5bfc
RD
5433 wxFrame *arg1 = (wxFrame *) 0 ;
5434 wxString *arg2 = 0 ;
5435 int arg3 = (int) 0 ;
b411df4a 5436 bool temp2 = false ;
d55e5bfc
RD
5437 PyObject * obj0 = 0 ;
5438 PyObject * obj1 = 0 ;
5439 PyObject * obj2 = 0 ;
5440 char *kwnames[] = {
5441 (char *) "self",(char *) "text",(char *) "number", NULL
5442 };
5443
5444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
5445 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5446 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5447 {
5448 arg2 = wxString_in_helper(obj1);
5449 if (arg2 == NULL) SWIG_fail;
b411df4a 5450 temp2 = true;
d55e5bfc
RD
5451 }
5452 if (obj2) {
36ed4f51 5453 {
32fe5131 5454 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
5455 if (SWIG_arg_fail(3)) SWIG_fail;
5456 }
d55e5bfc
RD
5457 }
5458 {
5459 PyThreadState* __tstate = wxPyBeginAllowThreads();
5460 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5461
5462 wxPyEndAllowThreads(__tstate);
5463 if (PyErr_Occurred()) SWIG_fail;
5464 }
5465 Py_INCREF(Py_None); resultobj = Py_None;
5466 {
5467 if (temp2)
5468 delete arg2;
5469 }
5470 return resultobj;
5471 fail:
5472 {
5473 if (temp2)
5474 delete arg2;
5475 }
5476 return NULL;
5477}
5478
5479
c370783e 5480static PyObject *_wrap_Frame_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5481 PyObject *resultobj = NULL;
d55e5bfc
RD
5482 wxFrame *arg1 = (wxFrame *) 0 ;
5483 int arg2 = (int) 0 ;
5484 PyObject * obj0 = 0 ;
5485 PyObject * obj1 = 0 ;
5486 char *kwnames[] = {
5487 (char *) "self",(char *) "number", NULL
5488 };
5489
5490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5491 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5492 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 5493 if (obj1) {
36ed4f51 5494 {
32fe5131 5495 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
5496 if (SWIG_arg_fail(2)) SWIG_fail;
5497 }
d55e5bfc
RD
5498 }
5499 {
5500 PyThreadState* __tstate = wxPyBeginAllowThreads();
5501 (arg1)->PopStatusText(arg2);
5502
5503 wxPyEndAllowThreads(__tstate);
5504 if (PyErr_Occurred()) SWIG_fail;
5505 }
5506 Py_INCREF(Py_None); resultobj = Py_None;
5507 return resultobj;
5508 fail:
5509 return NULL;
5510}
5511
5512
c370783e 5513static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5514 PyObject *resultobj = NULL;
d55e5bfc
RD
5515 wxFrame *arg1 = (wxFrame *) 0 ;
5516 int arg2 ;
5517 PyObject * obj0 = 0 ;
5518 PyObject * obj1 = 0 ;
5519 char *kwnames[] = {
5520 (char *) "self",(char *) "n", NULL
5521 };
5522
5523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5524 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5525 if (SWIG_arg_fail(1)) SWIG_fail;
5526 {
32fe5131 5527 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
5528 if (SWIG_arg_fail(2)) SWIG_fail;
5529 }
d55e5bfc
RD
5530 {
5531 PyThreadState* __tstate = wxPyBeginAllowThreads();
5532 (arg1)->SetStatusBarPane(arg2);
5533
5534 wxPyEndAllowThreads(__tstate);
5535 if (PyErr_Occurred()) SWIG_fail;
5536 }
5537 Py_INCREF(Py_None); resultobj = Py_None;
5538 return resultobj;
5539 fail:
5540 return NULL;
5541}
5542
5543
c370783e 5544static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5545 PyObject *resultobj = NULL;
d55e5bfc
RD
5546 wxFrame *arg1 = (wxFrame *) 0 ;
5547 int result;
5548 PyObject * obj0 = 0 ;
5549 char *kwnames[] = {
5550 (char *) "self", NULL
5551 };
5552
5553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
36ed4f51
RD
5554 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5555 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5556 {
5557 PyThreadState* __tstate = wxPyBeginAllowThreads();
5558 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
5559
5560 wxPyEndAllowThreads(__tstate);
5561 if (PyErr_Occurred()) SWIG_fail;
5562 }
36ed4f51 5563 {
32fe5131 5564 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 5565 }
d55e5bfc
RD
5566 return resultobj;
5567 fail:
5568 return NULL;
5569}
5570
5571
c370783e 5572static PyObject *_wrap_Frame_CreateToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5573 PyObject *resultobj = NULL;
d55e5bfc
RD
5574 wxFrame *arg1 = (wxFrame *) 0 ;
5575 long arg2 = (long) -1 ;
5576 int arg3 = (int) -1 ;
5577 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
5578 wxString *arg4 = (wxString *) &arg4_defvalue ;
5579 wxToolBar *result;
b411df4a 5580 bool temp4 = false ;
d55e5bfc
RD
5581 PyObject * obj0 = 0 ;
5582 PyObject * obj1 = 0 ;
5583 PyObject * obj2 = 0 ;
5584 PyObject * obj3 = 0 ;
5585 char *kwnames[] = {
5586 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
5587 };
5588
5589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
5590 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5591 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 5592 if (obj1) {
36ed4f51 5593 {
32fe5131 5594 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
5595 if (SWIG_arg_fail(2)) SWIG_fail;
5596 }
d55e5bfc
RD
5597 }
5598 if (obj2) {
36ed4f51 5599 {
32fe5131 5600 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
5601 if (SWIG_arg_fail(3)) SWIG_fail;
5602 }
d55e5bfc
RD
5603 }
5604 if (obj3) {
5605 {
5606 arg4 = wxString_in_helper(obj3);
5607 if (arg4 == NULL) SWIG_fail;
b411df4a 5608 temp4 = true;
d55e5bfc
RD
5609 }
5610 }
5611 {
5612 PyThreadState* __tstate = wxPyBeginAllowThreads();
5613 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
5614
5615 wxPyEndAllowThreads(__tstate);
5616 if (PyErr_Occurred()) SWIG_fail;
5617 }
5618 {
7e08d4ef 5619 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
5620 }
5621 {
5622 if (temp4)
5623 delete arg4;
5624 }
5625 return resultobj;
5626 fail:
5627 {
5628 if (temp4)
5629 delete arg4;
5630 }
5631 return NULL;
5632}
5633
5634
c370783e 5635static PyObject *_wrap_Frame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5636 PyObject *resultobj = NULL;
d55e5bfc
RD
5637 wxFrame *arg1 = (wxFrame *) 0 ;
5638 wxToolBar *result;
5639 PyObject * obj0 = 0 ;
5640 char *kwnames[] = {
5641 (char *) "self", NULL
5642 };
5643
5644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
36ed4f51
RD
5645 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5646 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5647 {
5648 PyThreadState* __tstate = wxPyBeginAllowThreads();
5649 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
5650
5651 wxPyEndAllowThreads(__tstate);
5652 if (PyErr_Occurred()) SWIG_fail;
5653 }
5654 {
7e08d4ef 5655 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
5656 }
5657 return resultobj;
5658 fail:
5659 return NULL;
5660}
5661
5662
c370783e 5663static PyObject *_wrap_Frame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5664 PyObject *resultobj = NULL;
d55e5bfc
RD
5665 wxFrame *arg1 = (wxFrame *) 0 ;
5666 wxToolBar *arg2 = (wxToolBar *) 0 ;
5667 PyObject * obj0 = 0 ;
5668 PyObject * obj1 = 0 ;
5669 char *kwnames[] = {
5670 (char *) "self",(char *) "toolbar", NULL
5671 };
5672
5673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5675 if (SWIG_arg_fail(1)) SWIG_fail;
5676 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
5677 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
5678 {
5679 PyThreadState* __tstate = wxPyBeginAllowThreads();
5680 (arg1)->SetToolBar(arg2);
5681
5682 wxPyEndAllowThreads(__tstate);
5683 if (PyErr_Occurred()) SWIG_fail;
5684 }
5685 Py_INCREF(Py_None); resultobj = Py_None;
5686 return resultobj;
5687 fail:
5688 return NULL;
5689}
5690
5691
c370783e 5692static PyObject *_wrap_Frame_DoGiveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5693 PyObject *resultobj = NULL;
d55e5bfc
RD
5694 wxFrame *arg1 = (wxFrame *) 0 ;
5695 wxString *arg2 = 0 ;
5696 bool arg3 ;
b411df4a 5697 bool temp2 = false ;
d55e5bfc
RD
5698 PyObject * obj0 = 0 ;
5699 PyObject * obj1 = 0 ;
5700 PyObject * obj2 = 0 ;
5701 char *kwnames[] = {
5702 (char *) "self",(char *) "text",(char *) "show", NULL
5703 };
5704
5705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
5706 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5707 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5708 {
5709 arg2 = wxString_in_helper(obj1);
5710 if (arg2 == NULL) SWIG_fail;
b411df4a 5711 temp2 = true;
d55e5bfc 5712 }
36ed4f51 5713 {
32fe5131 5714 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
5715 if (SWIG_arg_fail(3)) SWIG_fail;
5716 }
d55e5bfc
RD
5717 {
5718 PyThreadState* __tstate = wxPyBeginAllowThreads();
5719 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
5720
5721 wxPyEndAllowThreads(__tstate);
5722 if (PyErr_Occurred()) SWIG_fail;
5723 }
5724 Py_INCREF(Py_None); resultobj = Py_None;
5725 {
5726 if (temp2)
5727 delete arg2;
5728 }
5729 return resultobj;
5730 fail:
5731 {
5732 if (temp2)
5733 delete arg2;
5734 }
5735 return NULL;
5736}
5737
5738
c370783e 5739static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5740 PyObject *resultobj = NULL;
d55e5bfc
RD
5741 wxFrame *arg1 = (wxFrame *) 0 ;
5742 wxMenu *arg2 = (wxMenu *) NULL ;
5743 PyObject * obj0 = 0 ;
5744 PyObject * obj1 = 0 ;
5745 char *kwnames[] = {
5746 (char *) "self",(char *) "menu", NULL
5747 };
5748
5749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5750 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5751 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 5752 if (obj1) {
36ed4f51
RD
5753 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
5754 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
5755 }
5756 {
5757 PyThreadState* __tstate = wxPyBeginAllowThreads();
5758 (arg1)->DoMenuUpdates(arg2);
5759
5760 wxPyEndAllowThreads(__tstate);
5761 if (PyErr_Occurred()) SWIG_fail;
5762 }
5763 Py_INCREF(Py_None); resultobj = Py_None;
5764 return resultobj;
5765 fail:
5766 return NULL;
5767}
5768
5769
c370783e 5770static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5771 PyObject *resultobj = NULL;
36ed4f51 5772 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
5773 wxVisualAttributes result;
5774 PyObject * obj0 = 0 ;
5775 char *kwnames[] = {
5776 (char *) "variant", NULL
5777 };
5778
5779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5780 if (obj0) {
36ed4f51 5781 {
32fe5131 5782 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
36ed4f51
RD
5783 if (SWIG_arg_fail(1)) SWIG_fail;
5784 }
f20a2e1f
RD
5785 }
5786 {
0439c23b 5787 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 5788 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 5789 result = wxFrame::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
5790
5791 wxPyEndAllowThreads(__tstate);
110da5b0 5792 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
5793 }
5794 {
5795 wxVisualAttributes * resultptr;
32fe5131 5796 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
5797 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5798 }
5799 return resultobj;
5800 fail:
5801 return NULL;
5802}
5803
5804
c370783e 5805static PyObject * Frame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
5806 PyObject *obj;
5807 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5808 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
5809 Py_INCREF(obj);
5810 return Py_BuildValue((char *)"");
5811}
c370783e 5812static PyObject *_wrap_new_Dialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5813 PyObject *resultobj = NULL;
d55e5bfc 5814 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
5815 int arg2 = (int) (int)-1 ;
5816 wxString const &arg3_defvalue = wxPyEmptyString ;
5817 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
5818 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5819 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5820 wxSize const &arg5_defvalue = wxDefaultSize ;
5821 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5822 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
5823 wxString const &arg7_defvalue = wxPyDialogNameStr ;
5824 wxString *arg7 = (wxString *) &arg7_defvalue ;
5825 wxDialog *result;
b411df4a 5826 bool temp3 = false ;
d55e5bfc
RD
5827 wxPoint temp4 ;
5828 wxSize temp5 ;
b411df4a 5829 bool temp7 = false ;
d55e5bfc
RD
5830 PyObject * obj0 = 0 ;
5831 PyObject * obj1 = 0 ;
5832 PyObject * obj2 = 0 ;
5833 PyObject * obj3 = 0 ;
5834 PyObject * obj4 = 0 ;
5835 PyObject * obj5 = 0 ;
5836 PyObject * obj6 = 0 ;
5837 char *kwnames[] = {
5838 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5839 };
5840
bfddbb17 5841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
5842 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5843 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 5844 if (obj1) {
36ed4f51 5845 {
32fe5131 5846 arg2 = static_cast<int const >(SWIG_As_int(obj1));
36ed4f51
RD
5847 if (SWIG_arg_fail(2)) SWIG_fail;
5848 }
bfddbb17
RD
5849 }
5850 if (obj2) {
5851 {
5852 arg3 = wxString_in_helper(obj2);
5853 if (arg3 == NULL) SWIG_fail;
b411df4a 5854 temp3 = true;
bfddbb17 5855 }
d55e5bfc
RD
5856 }
5857 if (obj3) {
5858 {
5859 arg4 = &temp4;
5860 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5861 }
5862 }
5863 if (obj4) {
5864 {
5865 arg5 = &temp5;
5866 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5867 }
5868 }
5869 if (obj5) {
36ed4f51 5870 {
32fe5131 5871 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
5872 if (SWIG_arg_fail(6)) SWIG_fail;
5873 }
d55e5bfc
RD
5874 }
5875 if (obj6) {
5876 {
5877 arg7 = wxString_in_helper(obj6);
5878 if (arg7 == NULL) SWIG_fail;
b411df4a 5879 temp7 = true;
d55e5bfc
RD
5880 }
5881 }
5882 {
0439c23b 5883 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5884 PyThreadState* __tstate = wxPyBeginAllowThreads();
5885 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5886
5887 wxPyEndAllowThreads(__tstate);
110da5b0 5888 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 5889 }
b0f7404b 5890 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
d55e5bfc
RD
5891 {
5892 if (temp3)
5893 delete arg3;
5894 }
5895 {
5896 if (temp7)
5897 delete arg7;
5898 }
5899 return resultobj;
5900 fail:
5901 {
5902 if (temp3)
5903 delete arg3;
5904 }
5905 {
5906 if (temp7)
5907 delete arg7;
5908 }
5909 return NULL;
5910}
5911
5912
c370783e 5913static PyObject *_wrap_new_PreDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5914 PyObject *resultobj = NULL;
d55e5bfc
RD
5915 wxDialog *result;
5916 char *kwnames[] = {
5917 NULL
5918 };
5919
5920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
5921 {
0439c23b 5922 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5923 PyThreadState* __tstate = wxPyBeginAllowThreads();
5924 result = (wxDialog *)new wxDialog();
5925
5926 wxPyEndAllowThreads(__tstate);
110da5b0 5927 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 5928 }
b0f7404b 5929 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
d55e5bfc
RD
5930 return resultobj;
5931 fail:
5932 return NULL;
5933}
5934
5935
c370783e 5936static PyObject *_wrap_Dialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5937 PyObject *resultobj = NULL;
d55e5bfc
RD
5938 wxDialog *arg1 = (wxDialog *) 0 ;
5939 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
5940 int arg3 = (int) (int)-1 ;
5941 wxString const &arg4_defvalue = wxPyEmptyString ;
5942 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
5943 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5944 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5945 wxSize const &arg6_defvalue = wxDefaultSize ;
5946 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5947 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
5948 wxString const &arg8_defvalue = wxPyDialogNameStr ;
5949 wxString *arg8 = (wxString *) &arg8_defvalue ;
5950 bool result;
b411df4a 5951 bool temp4 = false ;
d55e5bfc
RD
5952 wxPoint temp5 ;
5953 wxSize temp6 ;
b411df4a 5954 bool temp8 = false ;
d55e5bfc
RD
5955 PyObject * obj0 = 0 ;
5956 PyObject * obj1 = 0 ;
5957 PyObject * obj2 = 0 ;
5958 PyObject * obj3 = 0 ;
5959 PyObject * obj4 = 0 ;
5960 PyObject * obj5 = 0 ;
5961 PyObject * obj6 = 0 ;
5962 PyObject * obj7 = 0 ;
5963 char *kwnames[] = {
5964 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5965 };
5966
bfddbb17 5967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
5968 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5969 if (SWIG_arg_fail(1)) SWIG_fail;
5970 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5971 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 5972 if (obj2) {
36ed4f51 5973 {
32fe5131 5974 arg3 = static_cast<int const >(SWIG_As_int(obj2));
36ed4f51
RD
5975 if (SWIG_arg_fail(3)) SWIG_fail;
5976 }
bfddbb17
RD
5977 }
5978 if (obj3) {
5979 {
5980 arg4 = wxString_in_helper(obj3);
5981 if (arg4 == NULL) SWIG_fail;
b411df4a 5982 temp4 = true;
bfddbb17 5983 }
d55e5bfc
RD
5984 }
5985 if (obj4) {
5986 {
5987 arg5 = &temp5;
5988 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5989 }
5990 }
5991 if (obj5) {
5992 {
5993 arg6 = &temp6;
5994 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5995 }
5996 }
5997 if (obj6) {
36ed4f51 5998 {
32fe5131 5999 arg7 = static_cast<long >(SWIG_As_long(obj6));
36ed4f51
RD
6000 if (SWIG_arg_fail(7)) SWIG_fail;
6001 }
d55e5bfc
RD
6002 }
6003 if (obj7) {
6004 {
6005 arg8 = wxString_in_helper(obj7);
6006 if (arg8 == NULL) SWIG_fail;
b411df4a 6007 temp8 = true;
d55e5bfc
RD
6008 }
6009 }
6010 {
6011 PyThreadState* __tstate = wxPyBeginAllowThreads();
6012 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6013
6014 wxPyEndAllowThreads(__tstate);
6015 if (PyErr_Occurred()) SWIG_fail;
6016 }
6017 {
6018 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6019 }
6020 {
6021 if (temp4)
6022 delete arg4;
6023 }
6024 {
6025 if (temp8)
6026 delete arg8;
6027 }
6028 return resultobj;
6029 fail:
6030 {
6031 if (temp4)
6032 delete arg4;
6033 }
6034 {
6035 if (temp8)
6036 delete arg8;
6037 }
6038 return NULL;
6039}
6040
6041
c370783e 6042static PyObject *_wrap_Dialog_SetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6043 PyObject *resultobj = NULL;
d55e5bfc
RD
6044 wxDialog *arg1 = (wxDialog *) 0 ;
6045 int arg2 ;
6046 PyObject * obj0 = 0 ;
6047 PyObject * obj1 = 0 ;
6048 char *kwnames[] = {
6049 (char *) "self",(char *) "returnCode", NULL
6050 };
6051
6052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6054 if (SWIG_arg_fail(1)) SWIG_fail;
6055 {
32fe5131 6056 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
6057 if (SWIG_arg_fail(2)) SWIG_fail;
6058 }
d55e5bfc
RD
6059 {
6060 PyThreadState* __tstate = wxPyBeginAllowThreads();
6061 (arg1)->SetReturnCode(arg2);
6062
6063 wxPyEndAllowThreads(__tstate);
6064 if (PyErr_Occurred()) SWIG_fail;
6065 }
6066 Py_INCREF(Py_None); resultobj = Py_None;
6067 return resultobj;
6068 fail:
6069 return NULL;
6070}
6071
6072
c370783e 6073static PyObject *_wrap_Dialog_GetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6074 PyObject *resultobj = NULL;
d55e5bfc
RD
6075 wxDialog *arg1 = (wxDialog *) 0 ;
6076 int result;
6077 PyObject * obj0 = 0 ;
6078 char *kwnames[] = {
6079 (char *) "self", NULL
6080 };
6081
6082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
36ed4f51
RD
6083 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6084 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6085 {
6086 PyThreadState* __tstate = wxPyBeginAllowThreads();
6087 result = (int)((wxDialog const *)arg1)->GetReturnCode();
6088
6089 wxPyEndAllowThreads(__tstate);
6090 if (PyErr_Occurred()) SWIG_fail;
6091 }
36ed4f51 6092 {
32fe5131 6093 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 6094 }
d55e5bfc
RD
6095 return resultobj;
6096 fail:
6097 return NULL;
6098}
6099
6100
c370783e 6101static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6102 PyObject *resultobj = NULL;
d55e5bfc
RD
6103 wxDialog *arg1 = (wxDialog *) 0 ;
6104 wxString *arg2 = 0 ;
6105 wxSizer *result;
b411df4a 6106 bool temp2 = false ;
d55e5bfc
RD
6107 PyObject * obj0 = 0 ;
6108 PyObject * obj1 = 0 ;
6109 char *kwnames[] = {
6110 (char *) "self",(char *) "message", NULL
6111 };
6112
6113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6114 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6115 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6116 {
6117 arg2 = wxString_in_helper(obj1);
6118 if (arg2 == NULL) SWIG_fail;
b411df4a 6119 temp2 = true;
d55e5bfc
RD
6120 }
6121 {
6122 PyThreadState* __tstate = wxPyBeginAllowThreads();
6123 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
6124
6125 wxPyEndAllowThreads(__tstate);
6126 if (PyErr_Occurred()) SWIG_fail;
6127 }
6128 {
7e08d4ef 6129 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
6130 }
6131 {
6132 if (temp2)
6133 delete arg2;
6134 }
6135 return resultobj;
6136 fail:
6137 {
6138 if (temp2)
6139 delete arg2;
6140 }
6141 return NULL;
6142}
6143
6144
c370783e 6145static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6146 PyObject *resultobj = NULL;
d55e5bfc
RD
6147 wxDialog *arg1 = (wxDialog *) 0 ;
6148 long arg2 ;
32fe5131
RD
6149 bool arg3 = (bool) false ;
6150 int arg4 = (int) 0 ;
d55e5bfc
RD
6151 wxSizer *result;
6152 PyObject * obj0 = 0 ;
6153 PyObject * obj1 = 0 ;
32fe5131
RD
6154 PyObject * obj2 = 0 ;
6155 PyObject * obj3 = 0 ;
d55e5bfc 6156 char *kwnames[] = {
32fe5131 6157 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
d55e5bfc
RD
6158 };
6159
32fe5131 6160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
6161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6162 if (SWIG_arg_fail(1)) SWIG_fail;
6163 {
32fe5131 6164 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
6165 if (SWIG_arg_fail(2)) SWIG_fail;
6166 }
32fe5131
RD
6167 if (obj2) {
6168 {
6169 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
6170 if (SWIG_arg_fail(3)) SWIG_fail;
6171 }
6172 }
6173 if (obj3) {
6174 {
6175 arg4 = static_cast<int >(SWIG_As_int(obj3));
6176 if (SWIG_arg_fail(4)) SWIG_fail;
6177 }
6178 }
d55e5bfc
RD
6179 {
6180 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 6181 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2,arg3,arg4);
d55e5bfc
RD
6182
6183 wxPyEndAllowThreads(__tstate);
6184 if (PyErr_Occurred()) SWIG_fail;
6185 }
6186 {
7e08d4ef 6187 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
6188 }
6189 return resultobj;
6190 fail:
6191 return NULL;
6192}
6193
6194
62d32a5f 6195static PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6196 PyObject *resultobj = NULL;
62d32a5f
RD
6197 wxDialog *arg1 = (wxDialog *) 0 ;
6198 long arg2 ;
6199 wxStdDialogButtonSizer *result;
6200 PyObject * obj0 = 0 ;
6201 PyObject * obj1 = 0 ;
6202 char *kwnames[] = {
6203 (char *) "self",(char *) "flags", NULL
6204 };
6205
6206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) goto fail;
6207 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6208 if (SWIG_arg_fail(1)) SWIG_fail;
6209 {
32fe5131 6210 arg2 = static_cast<long >(SWIG_As_long(obj1));
62d32a5f
RD
6211 if (SWIG_arg_fail(2)) SWIG_fail;
6212 }
6213 {
6214 PyThreadState* __tstate = wxPyBeginAllowThreads();
6215 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
6216
6217 wxPyEndAllowThreads(__tstate);
6218 if (PyErr_Occurred()) SWIG_fail;
6219 }
6220 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0);
6221 return resultobj;
6222 fail:
6223 return NULL;
6224}
6225
6226
c370783e 6227static PyObject *_wrap_Dialog_IsModal(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6228 PyObject *resultobj = NULL;
d55e5bfc
RD
6229 wxDialog *arg1 = (wxDialog *) 0 ;
6230 bool result;
6231 PyObject * obj0 = 0 ;
6232 char *kwnames[] = {
6233 (char *) "self", NULL
6234 };
6235
6236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
36ed4f51
RD
6237 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6238 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6239 {
6240 PyThreadState* __tstate = wxPyBeginAllowThreads();
6241 result = (bool)((wxDialog const *)arg1)->IsModal();
6242
6243 wxPyEndAllowThreads(__tstate);
6244 if (PyErr_Occurred()) SWIG_fail;
6245 }
6246 {
6247 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6248 }
6249 return resultobj;
6250 fail:
6251 return NULL;
6252}
6253
6254
c370783e 6255static PyObject *_wrap_Dialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6256 PyObject *resultobj = NULL;
d55e5bfc
RD
6257 wxDialog *arg1 = (wxDialog *) 0 ;
6258 int result;
6259 PyObject * obj0 = 0 ;
6260 char *kwnames[] = {
6261 (char *) "self", NULL
6262 };
6263
6264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
36ed4f51
RD
6265 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6266 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6267 {
6268 PyThreadState* __tstate = wxPyBeginAllowThreads();
6269 result = (int)(arg1)->ShowModal();
6270
6271 wxPyEndAllowThreads(__tstate);
6272 if (PyErr_Occurred()) SWIG_fail;
6273 }
36ed4f51 6274 {
32fe5131 6275 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 6276 }
d55e5bfc
RD
6277 return resultobj;
6278 fail:
6279 return NULL;
6280}
6281
6282
c370783e 6283static PyObject *_wrap_Dialog_EndModal(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6284 PyObject *resultobj = NULL;
d55e5bfc
RD
6285 wxDialog *arg1 = (wxDialog *) 0 ;
6286 int arg2 ;
6287 PyObject * obj0 = 0 ;
6288 PyObject * obj1 = 0 ;
6289 char *kwnames[] = {
6290 (char *) "self",(char *) "retCode", NULL
6291 };
6292
6293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6294 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6295 if (SWIG_arg_fail(1)) SWIG_fail;
6296 {
32fe5131 6297 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
6298 if (SWIG_arg_fail(2)) SWIG_fail;
6299 }
d55e5bfc
RD
6300 {
6301 PyThreadState* __tstate = wxPyBeginAllowThreads();
6302 (arg1)->EndModal(arg2);
6303
6304 wxPyEndAllowThreads(__tstate);
6305 if (PyErr_Occurred()) SWIG_fail;
6306 }
6307 Py_INCREF(Py_None); resultobj = Py_None;
6308 return resultobj;
6309 fail:
6310 return NULL;
6311}
6312
6313
c370783e 6314static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6315 PyObject *resultobj = NULL;
36ed4f51 6316 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
6317 wxVisualAttributes result;
6318 PyObject * obj0 = 0 ;
6319 char *kwnames[] = {
6320 (char *) "variant", NULL
6321 };
6322
6323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6324 if (obj0) {
36ed4f51 6325 {
32fe5131 6326 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
36ed4f51
RD
6327 if (SWIG_arg_fail(1)) SWIG_fail;
6328 }
f20a2e1f
RD
6329 }
6330 {
0439c23b 6331 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 6332 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 6333 result = wxDialog::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
6334
6335 wxPyEndAllowThreads(__tstate);
110da5b0 6336 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
6337 }
6338 {
6339 wxVisualAttributes * resultptr;
32fe5131 6340 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
6341 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6342 }
6343 return resultobj;
6344 fail:
6345 return NULL;
6346}
6347
6348
c370783e 6349static PyObject * Dialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6350 PyObject *obj;
6351 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6352 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
6353 Py_INCREF(obj);
6354 return Py_BuildValue((char *)"");
6355}
c370783e 6356static PyObject *_wrap_new_MiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6357 PyObject *resultobj = NULL;
d55e5bfc 6358 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
6359 int arg2 = (int) (int)-1 ;
6360 wxString const &arg3_defvalue = wxPyEmptyString ;
6361 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
6362 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6363 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6364 wxSize const &arg5_defvalue = wxDefaultSize ;
6365 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6366 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6367 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6368 wxString *arg7 = (wxString *) &arg7_defvalue ;
6369 wxMiniFrame *result;
b411df4a 6370 bool temp3 = false ;
d55e5bfc
RD
6371 wxPoint temp4 ;
6372 wxSize temp5 ;
b411df4a 6373 bool temp7 = false ;
d55e5bfc
RD
6374 PyObject * obj0 = 0 ;
6375 PyObject * obj1 = 0 ;
6376 PyObject * obj2 = 0 ;
6377 PyObject * obj3 = 0 ;
6378 PyObject * obj4 = 0 ;
6379 PyObject * obj5 = 0 ;
6380 PyObject * obj6 = 0 ;
6381 char *kwnames[] = {
6382 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6383 };
6384
bfddbb17 6385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
6386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6387 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 6388 if (obj1) {
36ed4f51 6389 {
32fe5131 6390 arg2 = static_cast<int const >(SWIG_As_int(obj1));
36ed4f51
RD
6391 if (SWIG_arg_fail(2)) SWIG_fail;
6392 }
bfddbb17
RD
6393 }
6394 if (obj2) {
6395 {
6396 arg3 = wxString_in_helper(obj2);
6397 if (arg3 == NULL) SWIG_fail;
b411df4a 6398 temp3 = true;
bfddbb17 6399 }
d55e5bfc
RD
6400 }
6401 if (obj3) {
6402 {
6403 arg4 = &temp4;
6404 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6405 }
6406 }
6407 if (obj4) {
6408 {
6409 arg5 = &temp5;
6410 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6411 }
6412 }
6413 if (obj5) {
36ed4f51 6414 {
32fe5131 6415 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
6416 if (SWIG_arg_fail(6)) SWIG_fail;
6417 }
d55e5bfc
RD
6418 }
6419 if (obj6) {
6420 {
6421 arg7 = wxString_in_helper(obj6);
6422 if (arg7 == NULL) SWIG_fail;
b411df4a 6423 temp7 = true;
d55e5bfc
RD
6424 }
6425 }
6426 {
0439c23b 6427 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6428 PyThreadState* __tstate = wxPyBeginAllowThreads();
6429 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6430
6431 wxPyEndAllowThreads(__tstate);
110da5b0 6432 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6433 }
6434 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
6435 {
6436 if (temp3)
6437 delete arg3;
6438 }
6439 {
6440 if (temp7)
6441 delete arg7;
6442 }
6443 return resultobj;
6444 fail:
6445 {
6446 if (temp3)
6447 delete arg3;
6448 }
6449 {
6450 if (temp7)
6451 delete arg7;
6452 }
6453 return NULL;
6454}
6455
6456
c370783e 6457static PyObject *_wrap_new_PreMiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6458 PyObject *resultobj = NULL;
d55e5bfc
RD
6459 wxMiniFrame *result;
6460 char *kwnames[] = {
6461 NULL
6462 };
6463
6464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
6465 {
0439c23b 6466 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6467 PyThreadState* __tstate = wxPyBeginAllowThreads();
6468 result = (wxMiniFrame *)new wxMiniFrame();
6469
6470 wxPyEndAllowThreads(__tstate);
110da5b0 6471 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6472 }
6473 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
6474 return resultobj;
6475 fail:
6476 return NULL;
6477}
6478
6479
c370783e 6480static PyObject *_wrap_MiniFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6481 PyObject *resultobj = NULL;
d55e5bfc
RD
6482 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
6483 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
6484 int arg3 = (int) (int)-1 ;
6485 wxString const &arg4_defvalue = wxPyEmptyString ;
6486 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
6487 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6488 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6489 wxSize const &arg6_defvalue = wxDefaultSize ;
6490 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6491 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6492 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6493 wxString *arg8 = (wxString *) &arg8_defvalue ;
6494 bool result;
b411df4a 6495 bool temp4 = false ;
d55e5bfc
RD
6496 wxPoint temp5 ;
6497 wxSize temp6 ;
b411df4a 6498 bool temp8 = false ;
d55e5bfc
RD
6499 PyObject * obj0 = 0 ;
6500 PyObject * obj1 = 0 ;
6501 PyObject * obj2 = 0 ;
6502 PyObject * obj3 = 0 ;
6503 PyObject * obj4 = 0 ;
6504 PyObject * obj5 = 0 ;
6505 PyObject * obj6 = 0 ;
6506 PyObject * obj7 = 0 ;
6507 char *kwnames[] = {
6508 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6509 };
6510
bfddbb17 6511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
6512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_EXCEPTION | 0);
6513 if (SWIG_arg_fail(1)) SWIG_fail;
6514 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6515 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 6516 if (obj2) {
36ed4f51 6517 {
32fe5131 6518 arg3 = static_cast<int const >(SWIG_As_int(obj2));
36ed4f51
RD
6519 if (SWIG_arg_fail(3)) SWIG_fail;
6520 }
bfddbb17
RD
6521 }
6522 if (obj3) {
6523 {
6524 arg4 = wxString_in_helper(obj3);
6525 if (arg4 == NULL) SWIG_fail;
b411df4a 6526 temp4 = true;
bfddbb17 6527 }
d55e5bfc
RD
6528 }
6529 if (obj4) {
6530 {
6531 arg5 = &temp5;
6532 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6533 }
6534 }
6535 if (obj5) {
6536 {
6537 arg6 = &temp6;
6538 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6539 }
6540 }
6541 if (obj6) {
36ed4f51 6542 {
32fe5131 6543 arg7 = static_cast<long >(SWIG_As_long(obj6));
36ed4f51
RD
6544 if (SWIG_arg_fail(7)) SWIG_fail;
6545 }
d55e5bfc
RD
6546 }
6547 if (obj7) {
6548 {
6549 arg8 = wxString_in_helper(obj7);
6550 if (arg8 == NULL) SWIG_fail;
b411df4a 6551 temp8 = true;
d55e5bfc
RD
6552 }
6553 }
6554 {
6555 PyThreadState* __tstate = wxPyBeginAllowThreads();
6556 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6557
6558 wxPyEndAllowThreads(__tstate);
6559 if (PyErr_Occurred()) SWIG_fail;
6560 }
6561 {
6562 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6563 }
6564 {
6565 if (temp4)
6566 delete arg4;
6567 }
6568 {
6569 if (temp8)
6570 delete arg8;
6571 }
6572 return resultobj;
6573 fail:
6574 {
6575 if (temp4)
6576 delete arg4;
6577 }
6578 {
6579 if (temp8)
6580 delete arg8;
6581 }
6582 return NULL;
6583}
6584
6585
c370783e 6586static PyObject * MiniFrame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6587 PyObject *obj;
6588 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6589 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
6590 Py_INCREF(obj);
6591 return Py_BuildValue((char *)"");
6592}
c370783e 6593static PyObject *_wrap_new_SplashScreenWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6594 PyObject *resultobj = NULL;
d55e5bfc
RD
6595 wxBitmap *arg1 = 0 ;
6596 wxWindow *arg2 = (wxWindow *) 0 ;
6597 int arg3 ;
6598 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6599 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6600 wxSize const &arg5_defvalue = wxDefaultSize ;
6601 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6602 long arg6 = (long) wxNO_BORDER ;
6603 wxSplashScreenWindow *result;
6604 wxPoint temp4 ;
6605 wxSize temp5 ;
6606 PyObject * obj0 = 0 ;
6607 PyObject * obj1 = 0 ;
6608 PyObject * obj2 = 0 ;
6609 PyObject * obj3 = 0 ;
6610 PyObject * obj4 = 0 ;
6611 PyObject * obj5 = 0 ;
6612 char *kwnames[] = {
6613 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6614 };
6615
6616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
6617 {
6618 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6619 if (SWIG_arg_fail(1)) SWIG_fail;
6620 if (arg1 == NULL) {
6621 SWIG_null_ref("wxBitmap");
6622 }
6623 if (SWIG_arg_fail(1)) SWIG_fail;
6624 }
6625 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6626 if (SWIG_arg_fail(2)) SWIG_fail;
6627 {
32fe5131 6628 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
6629 if (SWIG_arg_fail(3)) SWIG_fail;
6630 }
d55e5bfc
RD
6631 if (obj3) {
6632 {
6633 arg4 = &temp4;
6634 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6635 }
6636 }
6637 if (obj4) {
6638 {
6639 arg5 = &temp5;
6640 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6641 }
6642 }
6643 if (obj5) {
36ed4f51 6644 {
32fe5131 6645 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
6646 if (SWIG_arg_fail(6)) SWIG_fail;
6647 }
d55e5bfc
RD
6648 }
6649 {
0439c23b 6650 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6651 PyThreadState* __tstate = wxPyBeginAllowThreads();
6652 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
6653
6654 wxPyEndAllowThreads(__tstate);
110da5b0 6655 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6656 }
6657 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
6658 return resultobj;
6659 fail:
6660 return NULL;
6661}
6662
6663
c370783e 6664static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6665 PyObject *resultobj = NULL;
d55e5bfc
RD
6666 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
6667 wxBitmap *arg2 = 0 ;
6668 PyObject * obj0 = 0 ;
6669 PyObject * obj1 = 0 ;
6670 char *kwnames[] = {
6671 (char *) "self",(char *) "bitmap", NULL
6672 };
6673
6674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_EXCEPTION | 0);
6676 if (SWIG_arg_fail(1)) SWIG_fail;
6677 {
6678 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6679 if (SWIG_arg_fail(2)) SWIG_fail;
6680 if (arg2 == NULL) {
6681 SWIG_null_ref("wxBitmap");
6682 }
6683 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
6684 }
6685 {
6686 PyThreadState* __tstate = wxPyBeginAllowThreads();
6687 (arg1)->SetBitmap((wxBitmap const &)*arg2);
6688
6689 wxPyEndAllowThreads(__tstate);
6690 if (PyErr_Occurred()) SWIG_fail;
6691 }
6692 Py_INCREF(Py_None); resultobj = Py_None;
6693 return resultobj;
6694 fail:
6695 return NULL;
6696}
6697
6698
c370783e 6699static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6700 PyObject *resultobj = NULL;
d55e5bfc
RD
6701 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
6702 wxBitmap *result;
6703 PyObject * obj0 = 0 ;
6704 char *kwnames[] = {
6705 (char *) "self", NULL
6706 };
6707
6708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
36ed4f51
RD
6709 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_EXCEPTION | 0);
6710 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6711 {
6712 PyThreadState* __tstate = wxPyBeginAllowThreads();
6713 {
6714 wxBitmap &_result_ref = (arg1)->GetBitmap();
6715 result = (wxBitmap *) &_result_ref;
6716 }
6717
6718 wxPyEndAllowThreads(__tstate);
6719 if (PyErr_Occurred()) SWIG_fail;
6720 }
6721 {
6722 wxBitmap* resultptr = new wxBitmap(*result);
6723 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
6724 }
6725 return resultobj;
6726 fail:
6727 return NULL;
6728}
6729
6730
c370783e 6731static PyObject * SplashScreenWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6732 PyObject *obj;
6733 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6734 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
6735 Py_INCREF(obj);
6736 return Py_BuildValue((char *)"");
6737}
c370783e 6738static PyObject *_wrap_new_SplashScreen(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6739 PyObject *resultobj = NULL;
d55e5bfc
RD
6740 wxBitmap *arg1 = 0 ;
6741 long arg2 ;
6742 int arg3 ;
6743 wxWindow *arg4 = (wxWindow *) 0 ;
bfddbb17 6744 int arg5 = (int) -1 ;
d55e5bfc
RD
6745 wxPoint const &arg6_defvalue = wxDefaultPosition ;
6746 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
6747 wxSize const &arg7_defvalue = wxDefaultSize ;
6748 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
6749 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
6750 wxSplashScreen *result;
6751 wxPoint temp6 ;
6752 wxSize temp7 ;
6753 PyObject * obj0 = 0 ;
6754 PyObject * obj1 = 0 ;
6755 PyObject * obj2 = 0 ;
6756 PyObject * obj3 = 0 ;
6757 PyObject * obj4 = 0 ;
6758 PyObject * obj5 = 0 ;
6759 PyObject * obj6 = 0 ;
6760 PyObject * obj7 = 0 ;
6761 char *kwnames[] = {
6762 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6763 };
6764
bfddbb17 6765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
6766 {
6767 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6768 if (SWIG_arg_fail(1)) SWIG_fail;
6769 if (arg1 == NULL) {
6770 SWIG_null_ref("wxBitmap");
6771 }
6772 if (SWIG_arg_fail(1)) SWIG_fail;
6773 }
6774 {
32fe5131 6775 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
6776 if (SWIG_arg_fail(2)) SWIG_fail;
6777 }
6778 {
32fe5131 6779 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
6780 if (SWIG_arg_fail(3)) SWIG_fail;
6781 }
6782 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6783 if (SWIG_arg_fail(4)) SWIG_fail;
bfddbb17 6784 if (obj4) {
36ed4f51 6785 {
32fe5131 6786 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
6787 if (SWIG_arg_fail(5)) SWIG_fail;
6788 }
bfddbb17 6789 }
d55e5bfc
RD
6790 if (obj5) {
6791 {
6792 arg6 = &temp6;
6793 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
6794 }
6795 }
6796 if (obj6) {
6797 {
6798 arg7 = &temp7;
6799 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
6800 }
6801 }
6802 if (obj7) {
36ed4f51 6803 {
32fe5131 6804 arg8 = static_cast<long >(SWIG_As_long(obj7));
36ed4f51
RD
6805 if (SWIG_arg_fail(8)) SWIG_fail;
6806 }
d55e5bfc
RD
6807 }
6808 {
0439c23b 6809 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6810 PyThreadState* __tstate = wxPyBeginAllowThreads();
6811 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
6812
6813 wxPyEndAllowThreads(__tstate);
110da5b0 6814 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6815 }
6816 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
6817 return resultobj;
6818 fail:
6819 return NULL;
6820}
6821
6822
c370783e 6823static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6824 PyObject *resultobj = NULL;
d55e5bfc
RD
6825 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6826 long result;
6827 PyObject * obj0 = 0 ;
6828 char *kwnames[] = {
6829 (char *) "self", NULL
6830 };
6831
6832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
36ed4f51
RD
6833 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6834 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6835 {
6836 PyThreadState* __tstate = wxPyBeginAllowThreads();
6837 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
6838
6839 wxPyEndAllowThreads(__tstate);
6840 if (PyErr_Occurred()) SWIG_fail;
6841 }
36ed4f51 6842 {
32fe5131 6843 resultobj = SWIG_From_long(static_cast<long >(result));
36ed4f51 6844 }
d55e5bfc
RD
6845 return resultobj;
6846 fail:
6847 return NULL;
6848}
6849
6850
c370783e 6851static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6852 PyObject *resultobj = NULL;
d55e5bfc
RD
6853 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6854 wxSplashScreenWindow *result;
6855 PyObject * obj0 = 0 ;
6856 char *kwnames[] = {
6857 (char *) "self", NULL
6858 };
6859
6860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
6861 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6862 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6863 {
6864 PyThreadState* __tstate = wxPyBeginAllowThreads();
6865 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
6866
6867 wxPyEndAllowThreads(__tstate);
6868 if (PyErr_Occurred()) SWIG_fail;
6869 }
6870 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
6871 return resultobj;
6872 fail:
6873 return NULL;
6874}
6875
6876
c370783e 6877static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6878 PyObject *resultobj = NULL;
d55e5bfc
RD
6879 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6880 int result;
6881 PyObject * obj0 = 0 ;
6882 char *kwnames[] = {
6883 (char *) "self", NULL
6884 };
6885
6886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
36ed4f51
RD
6887 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6888 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6889 {
6890 PyThreadState* __tstate = wxPyBeginAllowThreads();
6891 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
6892
6893 wxPyEndAllowThreads(__tstate);
6894 if (PyErr_Occurred()) SWIG_fail;
6895 }
36ed4f51 6896 {
32fe5131 6897 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 6898 }
d55e5bfc
RD
6899 return resultobj;
6900 fail:
6901 return NULL;
6902}
6903
6904
c370783e 6905static PyObject * SplashScreen_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6906 PyObject *obj;
6907 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6908 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
6909 Py_INCREF(obj);
6910 return Py_BuildValue((char *)"");
6911}
c370783e 6912static PyObject *_wrap_new_StatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6913 PyObject *resultobj = NULL;
d55e5bfc
RD
6914 wxWindow *arg1 = (wxWindow *) 0 ;
6915 int arg2 = (int) -1 ;
6d88e192 6916 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
d55e5bfc
RD
6917 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
6918 wxString *arg4 = (wxString *) &arg4_defvalue ;
6919 wxStatusBar *result;
b411df4a 6920 bool temp4 = false ;
d55e5bfc
RD
6921 PyObject * obj0 = 0 ;
6922 PyObject * obj1 = 0 ;
6923 PyObject * obj2 = 0 ;
6924 PyObject * obj3 = 0 ;
6925 char *kwnames[] = {
6926 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6927 };
6928
6929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
6930 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6931 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 6932 if (obj1) {
36ed4f51 6933 {
32fe5131 6934 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
6935 if (SWIG_arg_fail(2)) SWIG_fail;
6936 }
d55e5bfc
RD
6937 }
6938 if (obj2) {
36ed4f51 6939 {
32fe5131 6940 arg3 = static_cast<long >(SWIG_As_long(obj2));
36ed4f51
RD
6941 if (SWIG_arg_fail(3)) SWIG_fail;
6942 }
d55e5bfc
RD
6943 }
6944 if (obj3) {
6945 {
6946 arg4 = wxString_in_helper(obj3);
6947 if (arg4 == NULL) SWIG_fail;
b411df4a 6948 temp4 = true;
d55e5bfc
RD
6949 }
6950 }
6951 {
0439c23b 6952 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6953 PyThreadState* __tstate = wxPyBeginAllowThreads();
6954 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
6955
6956 wxPyEndAllowThreads(__tstate);
110da5b0 6957 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 6958 }
b0f7404b 6959 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
d55e5bfc
RD
6960 {
6961 if (temp4)
6962 delete arg4;
6963 }
6964 return resultobj;
6965 fail:
6966 {
6967 if (temp4)
6968 delete arg4;
6969 }
6970 return NULL;
6971}
6972
6973
c370783e 6974static PyObject *_wrap_new_PreStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6975 PyObject *resultobj = NULL;
d55e5bfc
RD
6976 wxStatusBar *result;
6977 char *kwnames[] = {
6978 NULL
6979 };
6980
6981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
6982 {
0439c23b 6983 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6984 PyThreadState* __tstate = wxPyBeginAllowThreads();
6985 result = (wxStatusBar *)new wxStatusBar();
6986
6987 wxPyEndAllowThreads(__tstate);
110da5b0 6988 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 6989 }
b0f7404b 6990 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
d55e5bfc
RD
6991 return resultobj;
6992 fail:
6993 return NULL;
6994}
6995
6996
c370783e 6997static PyObject *_wrap_StatusBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6998 PyObject *resultobj = NULL;
d55e5bfc
RD
6999 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7000 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17 7001 int arg3 = (int) -1 ;
d55e5bfc
RD
7002 long arg4 = (long) wxST_SIZEGRIP ;
7003 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
7004 wxString *arg5 = (wxString *) &arg5_defvalue ;
7005 bool result;
b411df4a 7006 bool temp5 = false ;
d55e5bfc
RD
7007 PyObject * obj0 = 0 ;
7008 PyObject * obj1 = 0 ;
7009 PyObject * obj2 = 0 ;
7010 PyObject * obj3 = 0 ;
7011 PyObject * obj4 = 0 ;
7012 char *kwnames[] = {
7013 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
7014 };
7015
bfddbb17 7016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
7017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7018 if (SWIG_arg_fail(1)) SWIG_fail;
7019 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7020 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 7021 if (obj2) {
36ed4f51 7022 {
32fe5131 7023 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
7024 if (SWIG_arg_fail(3)) SWIG_fail;
7025 }
bfddbb17 7026 }
d55e5bfc 7027 if (obj3) {
36ed4f51 7028 {
32fe5131 7029 arg4 = static_cast<long >(SWIG_As_long(obj3));
36ed4f51
RD
7030 if (SWIG_arg_fail(4)) SWIG_fail;
7031 }
d55e5bfc
RD
7032 }
7033 if (obj4) {
7034 {
7035 arg5 = wxString_in_helper(obj4);
7036 if (arg5 == NULL) SWIG_fail;
b411df4a 7037 temp5 = true;
d55e5bfc
RD
7038 }
7039 }
7040 {
7041 PyThreadState* __tstate = wxPyBeginAllowThreads();
7042 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
7043
7044 wxPyEndAllowThreads(__tstate);
7045 if (PyErr_Occurred()) SWIG_fail;
7046 }
7047 {
7048 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7049 }
7050 {
7051 if (temp5)
7052 delete arg5;
7053 }
7054 return resultobj;
7055 fail:
7056 {
7057 if (temp5)
7058 delete arg5;
7059 }
7060 return NULL;
7061}
7062
7063
c370783e 7064static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7065 PyObject *resultobj = NULL;
d55e5bfc
RD
7066 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7067 int arg2 = (int) 1 ;
7068 PyObject * obj0 = 0 ;
7069 PyObject * obj1 = 0 ;
7070 char *kwnames[] = {
7071 (char *) "self",(char *) "number", NULL
7072 };
7073
7074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7075 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7076 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 7077 if (obj1) {
36ed4f51 7078 {
32fe5131 7079 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7080 if (SWIG_arg_fail(2)) SWIG_fail;
7081 }
d55e5bfc
RD
7082 }
7083 {
7084 PyThreadState* __tstate = wxPyBeginAllowThreads();
7085 (arg1)->SetFieldsCount(arg2);
7086
7087 wxPyEndAllowThreads(__tstate);
7088 if (PyErr_Occurred()) SWIG_fail;
7089 }
7090 Py_INCREF(Py_None); resultobj = Py_None;
7091 return resultobj;
7092 fail:
7093 return NULL;
7094}
7095
7096
c370783e 7097static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7098 PyObject *resultobj = NULL;
d55e5bfc
RD
7099 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7100 int result;
7101 PyObject * obj0 = 0 ;
7102 char *kwnames[] = {
7103 (char *) "self", NULL
7104 };
7105
7106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
7107 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7108 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7109 {
7110 PyThreadState* __tstate = wxPyBeginAllowThreads();
7111 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
7112
7113 wxPyEndAllowThreads(__tstate);
7114 if (PyErr_Occurred()) SWIG_fail;
7115 }
36ed4f51 7116 {
32fe5131 7117 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 7118 }
d55e5bfc
RD
7119 return resultobj;
7120 fail:
7121 return NULL;
7122}
7123
7124
c370783e 7125static PyObject *_wrap_StatusBar_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7126 PyObject *resultobj = NULL;
d55e5bfc
RD
7127 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7128 wxString *arg2 = 0 ;
7129 int arg3 = (int) 0 ;
b411df4a 7130 bool temp2 = false ;
d55e5bfc
RD
7131 PyObject * obj0 = 0 ;
7132 PyObject * obj1 = 0 ;
7133 PyObject * obj2 = 0 ;
7134 char *kwnames[] = {
7135 (char *) "self",(char *) "text",(char *) "number", NULL
7136 };
7137
7138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
7139 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7140 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7141 {
7142 arg2 = wxString_in_helper(obj1);
7143 if (arg2 == NULL) SWIG_fail;
b411df4a 7144 temp2 = true;
d55e5bfc
RD
7145 }
7146 if (obj2) {
36ed4f51 7147 {
32fe5131 7148 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
7149 if (SWIG_arg_fail(3)) SWIG_fail;
7150 }
d55e5bfc
RD
7151 }
7152 {
7153 PyThreadState* __tstate = wxPyBeginAllowThreads();
7154 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
7155
7156 wxPyEndAllowThreads(__tstate);
7157 if (PyErr_Occurred()) SWIG_fail;
7158 }
7159 Py_INCREF(Py_None); resultobj = Py_None;
7160 {
7161 if (temp2)
7162 delete arg2;
7163 }
7164 return resultobj;
7165 fail:
7166 {
7167 if (temp2)
7168 delete arg2;
7169 }
7170 return NULL;
7171}
7172
7173
c370783e 7174static PyObject *_wrap_StatusBar_GetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7175 PyObject *resultobj = NULL;
d55e5bfc
RD
7176 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7177 int arg2 = (int) 0 ;
7178 wxString result;
7179 PyObject * obj0 = 0 ;
7180 PyObject * obj1 = 0 ;
7181 char *kwnames[] = {
7182 (char *) "self",(char *) "number", NULL
7183 };
7184
7185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7187 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 7188 if (obj1) {
36ed4f51 7189 {
32fe5131 7190 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7191 if (SWIG_arg_fail(2)) SWIG_fail;
7192 }
d55e5bfc
RD
7193 }
7194 {
7195 PyThreadState* __tstate = wxPyBeginAllowThreads();
7196 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
7197
7198 wxPyEndAllowThreads(__tstate);
7199 if (PyErr_Occurred()) SWIG_fail;
7200 }
7201 {
7202#if wxUSE_UNICODE
7203 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7204#else
7205 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7206#endif
7207 }
7208 return resultobj;
7209 fail:
7210 return NULL;
7211}
7212
7213
c370783e 7214static PyObject *_wrap_StatusBar_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7215 PyObject *resultobj = NULL;
d55e5bfc
RD
7216 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7217 wxString *arg2 = 0 ;
7218 int arg3 = (int) 0 ;
b411df4a 7219 bool temp2 = false ;
d55e5bfc
RD
7220 PyObject * obj0 = 0 ;
7221 PyObject * obj1 = 0 ;
7222 PyObject * obj2 = 0 ;
7223 char *kwnames[] = {
7224 (char *) "self",(char *) "text",(char *) "number", NULL
7225 };
7226
7227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
7228 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7229 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7230 {
7231 arg2 = wxString_in_helper(obj1);
7232 if (arg2 == NULL) SWIG_fail;
b411df4a 7233 temp2 = true;
d55e5bfc
RD
7234 }
7235 if (obj2) {
36ed4f51 7236 {
32fe5131 7237 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
7238 if (SWIG_arg_fail(3)) SWIG_fail;
7239 }
d55e5bfc
RD
7240 }
7241 {
7242 PyThreadState* __tstate = wxPyBeginAllowThreads();
7243 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
7244
7245 wxPyEndAllowThreads(__tstate);
7246 if (PyErr_Occurred()) SWIG_fail;
7247 }
7248 Py_INCREF(Py_None); resultobj = Py_None;
7249 {
7250 if (temp2)
7251 delete arg2;
7252 }
7253 return resultobj;
7254 fail:
7255 {
7256 if (temp2)
7257 delete arg2;
7258 }
7259 return NULL;
7260}
7261
7262
c370783e 7263static PyObject *_wrap_StatusBar_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7264 PyObject *resultobj = NULL;
d55e5bfc
RD
7265 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7266 int arg2 = (int) 0 ;
7267 PyObject * obj0 = 0 ;
7268 PyObject * obj1 = 0 ;
7269 char *kwnames[] = {
7270 (char *) "self",(char *) "number", NULL
7271 };
7272
7273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7274 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7275 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 7276 if (obj1) {
36ed4f51 7277 {
32fe5131 7278 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7279 if (SWIG_arg_fail(2)) SWIG_fail;
7280 }
d55e5bfc
RD
7281 }
7282 {
7283 PyThreadState* __tstate = wxPyBeginAllowThreads();
7284 (arg1)->PopStatusText(arg2);
7285
7286 wxPyEndAllowThreads(__tstate);
7287 if (PyErr_Occurred()) SWIG_fail;
7288 }
7289 Py_INCREF(Py_None); resultobj = Py_None;
7290 return resultobj;
7291 fail:
7292 return NULL;
7293}
7294
7295
c370783e 7296static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7297 PyObject *resultobj = NULL;
d55e5bfc
RD
7298 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7299 int arg2 ;
7300 int *arg3 = (int *) 0 ;
7301 PyObject * obj0 = 0 ;
7302 PyObject * obj1 = 0 ;
7303 char *kwnames[] = {
7304 (char *) "self",(char *) "widths", NULL
7305 };
7306
7307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7308 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7309 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7310 {
7311 arg2 = PyList_Size(obj1);
7312 arg3 = int_LIST_helper(obj1);
7313 if (arg3 == NULL) SWIG_fail;
7314 }
7315 {
7316 PyThreadState* __tstate = wxPyBeginAllowThreads();
7317 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
7318
7319 wxPyEndAllowThreads(__tstate);
7320 if (PyErr_Occurred()) SWIG_fail;
7321 }
7322 Py_INCREF(Py_None); resultobj = Py_None;
7323 {
7324 if (arg3) delete [] arg3;
7325 }
7326 return resultobj;
7327 fail:
7328 {
7329 if (arg3) delete [] arg3;
7330 }
7331 return NULL;
7332}
7333
7334
c370783e 7335static PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7336 PyObject *resultobj = NULL;
03837c5c
RD
7337 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7338 int arg2 ;
7339 int *arg3 = (int *) 0 ;
7340 PyObject * obj0 = 0 ;
7341 PyObject * obj1 = 0 ;
7342 char *kwnames[] = {
7343 (char *) "self",(char *) "styles", NULL
7344 };
7345
7346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7347 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7348 if (SWIG_arg_fail(1)) SWIG_fail;
03837c5c
RD
7349 {
7350 arg2 = PyList_Size(obj1);
7351 arg3 = int_LIST_helper(obj1);
7352 if (arg3 == NULL) SWIG_fail;
7353 }
7354 {
7355 PyThreadState* __tstate = wxPyBeginAllowThreads();
7356 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
7357
7358 wxPyEndAllowThreads(__tstate);
7359 if (PyErr_Occurred()) SWIG_fail;
7360 }
7361 Py_INCREF(Py_None); resultobj = Py_None;
7362 {
7363 if (arg3) delete [] arg3;
7364 }
7365 return resultobj;
7366 fail:
7367 {
7368 if (arg3) delete [] arg3;
7369 }
7370 return NULL;
7371}
7372
7373
c370783e 7374static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7375 PyObject *resultobj = NULL;
d55e5bfc
RD
7376 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7377 int arg2 ;
7378 wxRect result;
7379 PyObject * obj0 = 0 ;
7380 PyObject * obj1 = 0 ;
7381 char *kwnames[] = {
7382 (char *) "self",(char *) "i", NULL
7383 };
7384
7385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7387 if (SWIG_arg_fail(1)) SWIG_fail;
7388 {
32fe5131 7389 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7390 if (SWIG_arg_fail(2)) SWIG_fail;
7391 }
d55e5bfc
RD
7392 {
7393 PyThreadState* __tstate = wxPyBeginAllowThreads();
7394 result = wxStatusBar_GetFieldRect(arg1,arg2);
7395
7396 wxPyEndAllowThreads(__tstate);
7397 if (PyErr_Occurred()) SWIG_fail;
7398 }
7399 {
7400 wxRect * resultptr;
32fe5131 7401 resultptr = new wxRect(static_cast<wxRect & >(result));
d55e5bfc
RD
7402 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7403 }
7404 return resultobj;
7405 fail:
7406 return NULL;
7407}
7408
7409
c370783e 7410static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7411 PyObject *resultobj = NULL;
d55e5bfc
RD
7412 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7413 int arg2 ;
7414 PyObject * obj0 = 0 ;
7415 PyObject * obj1 = 0 ;
7416 char *kwnames[] = {
7417 (char *) "self",(char *) "height", NULL
7418 };
7419
7420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7421 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7422 if (SWIG_arg_fail(1)) SWIG_fail;
7423 {
32fe5131 7424 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7425 if (SWIG_arg_fail(2)) SWIG_fail;
7426 }
d55e5bfc
RD
7427 {
7428 PyThreadState* __tstate = wxPyBeginAllowThreads();
7429 (arg1)->SetMinHeight(arg2);
7430
7431 wxPyEndAllowThreads(__tstate);
7432 if (PyErr_Occurred()) SWIG_fail;
7433 }
7434 Py_INCREF(Py_None); resultobj = Py_None;
7435 return resultobj;
7436 fail:
7437 return NULL;
7438}
7439
7440
c370783e 7441static PyObject *_wrap_StatusBar_GetBorderX(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7442 PyObject *resultobj = NULL;
d55e5bfc
RD
7443 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7444 int result;
7445 PyObject * obj0 = 0 ;
7446 char *kwnames[] = {
7447 (char *) "self", NULL
7448 };
7449
7450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
36ed4f51
RD
7451 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7452 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7453 {
7454 PyThreadState* __tstate = wxPyBeginAllowThreads();
7455 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
7456
7457 wxPyEndAllowThreads(__tstate);
7458 if (PyErr_Occurred()) SWIG_fail;
7459 }
36ed4f51 7460 {
32fe5131 7461 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 7462 }
d55e5bfc
RD
7463 return resultobj;
7464 fail:
7465 return NULL;
7466}
7467
7468
c370783e 7469static PyObject *_wrap_StatusBar_GetBorderY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7470 PyObject *resultobj = NULL;
d55e5bfc
RD
7471 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7472 int result;
7473 PyObject * obj0 = 0 ;
7474 char *kwnames[] = {
7475 (char *) "self", NULL
7476 };
7477
7478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
36ed4f51
RD
7479 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7480 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7481 {
7482 PyThreadState* __tstate = wxPyBeginAllowThreads();
7483 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
7484
7485 wxPyEndAllowThreads(__tstate);
7486 if (PyErr_Occurred()) SWIG_fail;
7487 }
36ed4f51 7488 {
32fe5131 7489 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 7490 }
d55e5bfc
RD
7491 return resultobj;
7492 fail:
7493 return NULL;
7494}
7495
7496
c370783e 7497static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7498 PyObject *resultobj = NULL;
36ed4f51 7499 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
7500 wxVisualAttributes result;
7501 PyObject * obj0 = 0 ;
7502 char *kwnames[] = {
7503 (char *) "variant", NULL
7504 };
7505
7506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
7507 if (obj0) {
36ed4f51 7508 {
32fe5131 7509 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
36ed4f51
RD
7510 if (SWIG_arg_fail(1)) SWIG_fail;
7511 }
f20a2e1f
RD
7512 }
7513 {
0439c23b 7514 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 7515 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 7516 result = wxStatusBar::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
7517
7518 wxPyEndAllowThreads(__tstate);
110da5b0 7519 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
7520 }
7521 {
7522 wxVisualAttributes * resultptr;
32fe5131 7523 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
7524 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7525 }
7526 return resultobj;
7527 fail:
7528 return NULL;
7529}
7530
7531
c370783e 7532static PyObject * StatusBar_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7533 PyObject *obj;
7534 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7535 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
7536 Py_INCREF(obj);
7537 return Py_BuildValue((char *)"");
7538}
c370783e 7539static int _wrap_SplitterNameStr_set(PyObject *) {
d55e5bfc
RD
7540 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
7541 return 1;
7542}
7543
7544
36ed4f51 7545static PyObject *_wrap_SplitterNameStr_get(void) {
32fe5131 7546 PyObject *pyobj = NULL;
d55e5bfc
RD
7547
7548 {
7549#if wxUSE_UNICODE
7550 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
7551#else
7552 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
7553#endif
7554 }
7555 return pyobj;
7556}
7557
7558
c370783e 7559static PyObject *_wrap_new_SplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7560 PyObject *resultobj = NULL;
d55e5bfc
RD
7561 wxWindow *arg1 = (wxWindow *) 0 ;
7562 int arg2 = (int) -1 ;
7563 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7564 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7565 wxSize const &arg4_defvalue = wxDefaultSize ;
7566 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7567 long arg5 = (long) wxSP_3D ;
7568 wxString const &arg6_defvalue = wxPySplitterNameStr ;
7569 wxString *arg6 = (wxString *) &arg6_defvalue ;
7570 wxSplitterWindow *result;
7571 wxPoint temp3 ;
7572 wxSize temp4 ;
b411df4a 7573 bool temp6 = false ;
d55e5bfc
RD
7574 PyObject * obj0 = 0 ;
7575 PyObject * obj1 = 0 ;
7576 PyObject * obj2 = 0 ;
7577 PyObject * obj3 = 0 ;
7578 PyObject * obj4 = 0 ;
7579 PyObject * obj5 = 0 ;
7580 char *kwnames[] = {
7581 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7582 };
7583
7584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
7585 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7586 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 7587 if (obj1) {
36ed4f51 7588 {
32fe5131 7589 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7590 if (SWIG_arg_fail(2)) SWIG_fail;
7591 }
d55e5bfc
RD
7592 }
7593 if (obj2) {
7594 {
7595 arg3 = &temp3;
7596 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7597 }
7598 }
7599 if (obj3) {
7600 {
7601 arg4 = &temp4;
7602 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7603 }
7604 }
7605 if (obj4) {
36ed4f51 7606 {
32fe5131 7607 arg5 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
7608 if (SWIG_arg_fail(5)) SWIG_fail;
7609 }
d55e5bfc
RD
7610 }
7611 if (obj5) {
7612 {
7613 arg6 = wxString_in_helper(obj5);
7614 if (arg6 == NULL) SWIG_fail;
b411df4a 7615 temp6 = true;
d55e5bfc
RD
7616 }
7617 }
7618 {
0439c23b 7619 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7620 PyThreadState* __tstate = wxPyBeginAllowThreads();
7621 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7622
7623 wxPyEndAllowThreads(__tstate);
110da5b0 7624 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
7625 }
7626 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
7627 {
7628 if (temp6)
7629 delete arg6;
7630 }
7631 return resultobj;
7632 fail:
7633 {
7634 if (temp6)
7635 delete arg6;
7636 }
7637 return NULL;
7638}
7639
7640
c370783e 7641static PyObject *_wrap_new_PreSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7642 PyObject *resultobj = NULL;
d55e5bfc
RD
7643 wxSplitterWindow *result;
7644 char *kwnames[] = {
7645 NULL
7646 };
7647
7648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
7649 {
0439c23b 7650 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7651 PyThreadState* __tstate = wxPyBeginAllowThreads();
7652 result = (wxSplitterWindow *)new wxSplitterWindow();
7653
7654 wxPyEndAllowThreads(__tstate);
110da5b0 7655 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
7656 }
7657 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
7658 return resultobj;
7659 fail:
7660 return NULL;
7661}
7662
7663
c370783e 7664static PyObject *_wrap_SplitterWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7665 PyObject *resultobj = NULL;
d55e5bfc
RD
7666 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7667 wxWindow *arg2 = (wxWindow *) 0 ;
7668 int arg3 = (int) -1 ;
7669 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7670 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7671 wxSize const &arg5_defvalue = wxDefaultSize ;
7672 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7673 long arg6 = (long) wxSP_3D ;
7674 wxString const &arg7_defvalue = wxPySplitterNameStr ;
7675 wxString *arg7 = (wxString *) &arg7_defvalue ;
7676 bool result;
7677 wxPoint temp4 ;
7678 wxSize temp5 ;
b411df4a 7679 bool temp7 = false ;
d55e5bfc
RD
7680 PyObject * obj0 = 0 ;
7681 PyObject * obj1 = 0 ;
7682 PyObject * obj2 = 0 ;
7683 PyObject * obj3 = 0 ;
7684 PyObject * obj4 = 0 ;
7685 PyObject * obj5 = 0 ;
7686 PyObject * obj6 = 0 ;
7687 char *kwnames[] = {
7688 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7689 };
7690
7691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
7692 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7693 if (SWIG_arg_fail(1)) SWIG_fail;
7694 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7695 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 7696 if (obj2) {
36ed4f51 7697 {
32fe5131 7698 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
7699 if (SWIG_arg_fail(3)) SWIG_fail;
7700 }
d55e5bfc
RD
7701 }
7702 if (obj3) {
7703 {
7704 arg4 = &temp4;
7705 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7706 }
7707 }
7708 if (obj4) {
7709 {
7710 arg5 = &temp5;
7711 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7712 }
7713 }
7714 if (obj5) {
36ed4f51 7715 {
32fe5131 7716 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
7717 if (SWIG_arg_fail(6)) SWIG_fail;
7718 }
d55e5bfc
RD
7719 }
7720 if (obj6) {
7721 {
7722 arg7 = wxString_in_helper(obj6);
7723 if (arg7 == NULL) SWIG_fail;
b411df4a 7724 temp7 = true;
d55e5bfc
RD
7725 }
7726 }
7727 {
7728 PyThreadState* __tstate = wxPyBeginAllowThreads();
7729 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7730
7731 wxPyEndAllowThreads(__tstate);
7732 if (PyErr_Occurred()) SWIG_fail;
7733 }
7734 {
7735 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7736 }
7737 {
7738 if (temp7)
7739 delete arg7;
7740 }
7741 return resultobj;
7742 fail:
7743 {
7744 if (temp7)
7745 delete arg7;
7746 }
7747 return NULL;
7748}
7749
7750
c370783e 7751static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7752 PyObject *resultobj = NULL;
d55e5bfc
RD
7753 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7754 wxWindow *result;
7755 PyObject * obj0 = 0 ;
7756 char *kwnames[] = {
7757 (char *) "self", NULL
7758 };
7759
7760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
36ed4f51
RD
7761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7762 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7763 {
7764 PyThreadState* __tstate = wxPyBeginAllowThreads();
7765 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
7766
7767 wxPyEndAllowThreads(__tstate);
7768 if (PyErr_Occurred()) SWIG_fail;
7769 }
7770 {
412d302d 7771 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
7772 }
7773 return resultobj;
7774 fail:
7775 return NULL;
7776}
7777
7778
c370783e 7779static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7780 PyObject *resultobj = NULL;
d55e5bfc
RD
7781 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7782 wxWindow *result;
7783 PyObject * obj0 = 0 ;
7784 char *kwnames[] = {
7785 (char *) "self", NULL
7786 };
7787
7788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
36ed4f51
RD
7789 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7790 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7791 {
7792 PyThreadState* __tstate = wxPyBeginAllowThreads();
7793 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
7794
7795 wxPyEndAllowThreads(__tstate);
7796 if (PyErr_Occurred()) SWIG_fail;
7797 }
7798 {
412d302d 7799 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
7800 }
7801 return resultobj;
7802 fail:
7803 return NULL;
7804}
7805
7806
c370783e 7807static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7808 PyObject *resultobj = NULL;
d55e5bfc
RD
7809 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7810 int arg2 ;
7811 PyObject * obj0 = 0 ;
7812 PyObject * obj1 = 0 ;
7813 char *kwnames[] = {
7814 (char *) "self",(char *) "mode", NULL
7815 };
7816
7817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7818 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7819 if (SWIG_arg_fail(1)) SWIG_fail;
7820 {
32fe5131 7821 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7822 if (SWIG_arg_fail(2)) SWIG_fail;
7823 }
d55e5bfc
RD
7824 {
7825 PyThreadState* __tstate = wxPyBeginAllowThreads();
7826 (arg1)->SetSplitMode(arg2);
7827
7828 wxPyEndAllowThreads(__tstate);
7829 if (PyErr_Occurred()) SWIG_fail;
7830 }
7831 Py_INCREF(Py_None); resultobj = Py_None;
7832 return resultobj;
7833 fail:
7834 return NULL;
7835}
7836
7837
c370783e 7838static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7839 PyObject *resultobj = NULL;
d55e5bfc 7840 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
36ed4f51 7841 wxSplitMode result;
d55e5bfc
RD
7842 PyObject * obj0 = 0 ;
7843 char *kwnames[] = {
7844 (char *) "self", NULL
7845 };
7846
7847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
36ed4f51
RD
7848 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7849 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7850 {
7851 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7852 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
d55e5bfc
RD
7853
7854 wxPyEndAllowThreads(__tstate);
7855 if (PyErr_Occurred()) SWIG_fail;
7856 }
36ed4f51 7857 resultobj = SWIG_From_int((result));
d55e5bfc
RD
7858 return resultobj;
7859 fail:
7860 return NULL;
7861}
7862
7863
c370783e 7864static PyObject *_wrap_SplitterWindow_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7865 PyObject *resultobj = NULL;
d55e5bfc
RD
7866 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7867 wxWindow *arg2 = (wxWindow *) 0 ;
7868 PyObject * obj0 = 0 ;
7869 PyObject * obj1 = 0 ;
7870 char *kwnames[] = {
7871 (char *) "self",(char *) "window", NULL
7872 };
7873
7874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7875 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7876 if (SWIG_arg_fail(1)) SWIG_fail;
7877 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7878 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
7879 {
7880 PyThreadState* __tstate = wxPyBeginAllowThreads();
7881 (arg1)->Initialize(arg2);
7882
7883 wxPyEndAllowThreads(__tstate);
7884 if (PyErr_Occurred()) SWIG_fail;
7885 }
7886 Py_INCREF(Py_None); resultobj = Py_None;
7887 return resultobj;
7888 fail:
7889 return NULL;
7890}
7891
7892
c370783e 7893static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7894 PyObject *resultobj = NULL;
d55e5bfc
RD
7895 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7896 wxWindow *arg2 = (wxWindow *) 0 ;
7897 wxWindow *arg3 = (wxWindow *) 0 ;
7898 int arg4 = (int) 0 ;
7899 bool result;
7900 PyObject * obj0 = 0 ;
7901 PyObject * obj1 = 0 ;
7902 PyObject * obj2 = 0 ;
7903 PyObject * obj3 = 0 ;
7904 char *kwnames[] = {
7905 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7906 };
7907
7908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
7909 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7910 if (SWIG_arg_fail(1)) SWIG_fail;
7911 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7912 if (SWIG_arg_fail(2)) SWIG_fail;
7913 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7914 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc 7915 if (obj3) {
36ed4f51 7916 {
32fe5131 7917 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
7918 if (SWIG_arg_fail(4)) SWIG_fail;
7919 }
d55e5bfc
RD
7920 }
7921 {
7922 PyThreadState* __tstate = wxPyBeginAllowThreads();
7923 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
7924
7925 wxPyEndAllowThreads(__tstate);
7926 if (PyErr_Occurred()) SWIG_fail;
7927 }
7928 {
7929 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7930 }
7931 return resultobj;
7932 fail:
7933 return NULL;
7934}
7935
7936
c370783e 7937static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7938 PyObject *resultobj = NULL;
d55e5bfc
RD
7939 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7940 wxWindow *arg2 = (wxWindow *) 0 ;
7941 wxWindow *arg3 = (wxWindow *) 0 ;
7942 int arg4 = (int) 0 ;
7943 bool result;
7944 PyObject * obj0 = 0 ;
7945 PyObject * obj1 = 0 ;
7946 PyObject * obj2 = 0 ;
7947 PyObject * obj3 = 0 ;
7948 char *kwnames[] = {
7949 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7950 };
7951
7952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
7953 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7954 if (SWIG_arg_fail(1)) SWIG_fail;
7955 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7956 if (SWIG_arg_fail(2)) SWIG_fail;
7957 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7958 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc 7959 if (obj3) {
36ed4f51 7960 {
32fe5131 7961 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
7962 if (SWIG_arg_fail(4)) SWIG_fail;
7963 }
d55e5bfc
RD
7964 }
7965 {
7966 PyThreadState* __tstate = wxPyBeginAllowThreads();
7967 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
7968
7969 wxPyEndAllowThreads(__tstate);
7970 if (PyErr_Occurred()) SWIG_fail;
7971 }
7972 {
7973 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7974 }
7975 return resultobj;
7976 fail:
7977 return NULL;
7978}
7979
7980
c370783e 7981static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7982 PyObject *resultobj = NULL;
d55e5bfc
RD
7983 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7984 wxWindow *arg2 = (wxWindow *) NULL ;
7985 bool result;
7986 PyObject * obj0 = 0 ;
7987 PyObject * obj1 = 0 ;
7988 char *kwnames[] = {
7989 (char *) "self",(char *) "toRemove", NULL
7990 };
7991
7992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7993 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7994 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 7995 if (obj1) {
36ed4f51
RD
7996 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7997 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
7998 }
7999 {
8000 PyThreadState* __tstate = wxPyBeginAllowThreads();
8001 result = (bool)(arg1)->Unsplit(arg2);
8002
8003 wxPyEndAllowThreads(__tstate);
8004 if (PyErr_Occurred()) SWIG_fail;
8005 }
8006 {
8007 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8008 }
8009 return resultobj;
8010 fail:
8011 return NULL;
8012}
8013
8014
c370783e 8015static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8016 PyObject *resultobj = NULL;
d55e5bfc
RD
8017 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8018 wxWindow *arg2 = (wxWindow *) 0 ;
8019 wxWindow *arg3 = (wxWindow *) 0 ;
8020 bool result;
8021 PyObject * obj0 = 0 ;
8022 PyObject * obj1 = 0 ;
8023 PyObject * obj2 = 0 ;
8024 char *kwnames[] = {
8025 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
8026 };
8027
8028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
8029 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8030 if (SWIG_arg_fail(1)) SWIG_fail;
8031 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8032 if (SWIG_arg_fail(2)) SWIG_fail;
8033 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8034 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
8035 {
8036 PyThreadState* __tstate = wxPyBeginAllowThreads();
8037 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
8038
8039 wxPyEndAllowThreads(__tstate);
8040 if (PyErr_Occurred()) SWIG_fail;
8041 }
8042 {
8043 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8044 }
8045 return resultobj;
8046 fail:
8047 return NULL;
8048}
8049
8050
c370783e 8051static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8052 PyObject *resultobj = NULL;
d55e5bfc
RD
8053 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8054 PyObject * obj0 = 0 ;
8055 char *kwnames[] = {
8056 (char *) "self", NULL
8057 };
8058
8059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
8060 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8061 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8062 {
8063 PyThreadState* __tstate = wxPyBeginAllowThreads();
8064 (arg1)->UpdateSize();
8065
8066 wxPyEndAllowThreads(__tstate);
8067 if (PyErr_Occurred()) SWIG_fail;
8068 }
8069 Py_INCREF(Py_None); resultobj = Py_None;
8070 return resultobj;
8071 fail:
8072 return NULL;
8073}
8074
8075
c370783e 8076static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8077 PyObject *resultobj = NULL;
d55e5bfc
RD
8078 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8079 bool result;
8080 PyObject * obj0 = 0 ;
8081 char *kwnames[] = {
8082 (char *) "self", NULL
8083 };
8084
8085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
36ed4f51
RD
8086 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8087 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8088 {
8089 PyThreadState* __tstate = wxPyBeginAllowThreads();
8090 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
8091
8092 wxPyEndAllowThreads(__tstate);
8093 if (PyErr_Occurred()) SWIG_fail;
8094 }
8095 {
8096 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8097 }
8098 return resultobj;
8099 fail:
8100 return NULL;
8101}
8102
8103
c370783e 8104static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8105 PyObject *resultobj = NULL;
d55e5bfc
RD
8106 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8107 int arg2 ;
8108 PyObject * obj0 = 0 ;
8109 PyObject * obj1 = 0 ;
8110 char *kwnames[] = {
8111 (char *) "self",(char *) "width", NULL
8112 };
8113
8114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8115 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8116 if (SWIG_arg_fail(1)) SWIG_fail;
8117 {
32fe5131 8118 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
8119 if (SWIG_arg_fail(2)) SWIG_fail;
8120 }
d55e5bfc
RD
8121 {
8122 PyThreadState* __tstate = wxPyBeginAllowThreads();
8123 (arg1)->SetSashSize(arg2);
8124
8125 wxPyEndAllowThreads(__tstate);
8126 if (PyErr_Occurred()) SWIG_fail;
8127 }
8128 Py_INCREF(Py_None); resultobj = Py_None;
8129 return resultobj;
8130 fail:
8131 return NULL;
8132}
8133
8134
c370783e 8135static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8136 PyObject *resultobj = NULL;
d55e5bfc
RD
8137 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8138 int arg2 ;
8139 PyObject * obj0 = 0 ;
8140 PyObject * obj1 = 0 ;
8141 char *kwnames[] = {
8142 (char *) "self",(char *) "width", NULL
8143 };
8144
8145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8146 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8147 if (SWIG_arg_fail(1)) SWIG_fail;
8148 {
32fe5131 8149 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
8150 if (SWIG_arg_fail(2)) SWIG_fail;
8151 }
d55e5bfc
RD
8152 {
8153 PyThreadState* __tstate = wxPyBeginAllowThreads();
8154 (arg1)->SetBorderSize(arg2);
8155
8156 wxPyEndAllowThreads(__tstate);
8157 if (PyErr_Occurred()) SWIG_fail;
8158 }
8159 Py_INCREF(Py_None); resultobj = Py_None;
8160 return resultobj;
8161 fail:
8162 return NULL;
8163}
8164
8165
c370783e 8166static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8167 PyObject *resultobj = NULL;
d55e5bfc
RD
8168 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8169 int result;
8170 PyObject * obj0 = 0 ;
8171 char *kwnames[] = {
8172 (char *) "self", NULL
8173 };
8174
8175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
8176 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8177 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8178 {
8179 PyThreadState* __tstate = wxPyBeginAllowThreads();
8180 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
8181
8182 wxPyEndAllowThreads(__tstate);
8183 if (PyErr_Occurred()) SWIG_fail;
8184 }
36ed4f51 8185 {
32fe5131 8186 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 8187 }
d55e5bfc
RD
8188 return resultobj;
8189 fail:
8190 return NULL;
8191}
8192
8193
c370783e 8194static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8195 PyObject *resultobj = NULL;
d55e5bfc
RD
8196 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8197 int result;
8198 PyObject * obj0 = 0 ;
8199 char *kwnames[] = {
8200 (char *) "self", NULL
8201 };
8202
8203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
8204 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8205 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8206 {
8207 PyThreadState* __tstate = wxPyBeginAllowThreads();
8208 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
8209
8210 wxPyEndAllowThreads(__tstate);
8211 if (PyErr_Occurred()) SWIG_fail;
8212 }
36ed4f51 8213 {
32fe5131 8214 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 8215 }
d55e5bfc
RD
8216 return resultobj;
8217 fail:
8218 return NULL;
8219}
8220
8221
c370783e 8222static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8223 PyObject *resultobj = NULL;
d55e5bfc
RD
8224 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8225 int arg2 ;
b411df4a 8226 bool arg3 = (bool) true ;
d55e5bfc
RD
8227 PyObject * obj0 = 0 ;
8228 PyObject * obj1 = 0 ;
8229 PyObject * obj2 = 0 ;
8230 char *kwnames[] = {
8231 (char *) "self",(char *) "position",(char *) "redraw", NULL
8232 };
8233
8234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
8235 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8236 if (SWIG_arg_fail(1)) SWIG_fail;
8237 {
32fe5131 8238 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
8239 if (SWIG_arg_fail(2)) SWIG_fail;
8240 }
d55e5bfc 8241 if (obj2) {
36ed4f51 8242 {
32fe5131 8243 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
8244 if (SWIG_arg_fail(3)) SWIG_fail;
8245 }
d55e5bfc
RD
8246 }
8247 {
8248 PyThreadState* __tstate = wxPyBeginAllowThreads();
8249 (arg1)->SetSashPosition(arg2,arg3);
8250
8251 wxPyEndAllowThreads(__tstate);
8252 if (PyErr_Occurred()) SWIG_fail;
8253 }
8254 Py_INCREF(Py_None); resultobj = Py_None;
8255 return resultobj;
8256 fail:
8257 return NULL;
8258}
8259
8260
c370783e 8261static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8262 PyObject *resultobj = NULL;
d55e5bfc
RD
8263 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8264 int result;
8265 PyObject * obj0 = 0 ;
8266 char *kwnames[] = {
8267 (char *) "self", NULL
8268 };
8269
8270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
36ed4f51
RD
8271 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8272 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8273 {
8274 PyThreadState* __tstate = wxPyBeginAllowThreads();
8275 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
8276
8277 wxPyEndAllowThreads(__tstate);
8278 if (PyErr_Occurred()) SWIG_fail;
8279 }
36ed4f51 8280 {
32fe5131 8281 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 8282 }
d55e5bfc
RD
8283 return resultobj;
8284 fail:
8285 return NULL;
8286}
8287
8288
5cbf236d 8289static PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8290 PyObject *resultobj = NULL;
5cbf236d
RD
8291 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8292 double arg2 ;
8293 PyObject * obj0 = 0 ;
8294 PyObject * obj1 = 0 ;
8295 char *kwnames[] = {
8296 (char *) "self",(char *) "gravity", NULL
8297 };
8298
8299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8301 if (SWIG_arg_fail(1)) SWIG_fail;
8302 {
32fe5131 8303 arg2 = static_cast<double >(SWIG_As_double(obj1));
36ed4f51
RD
8304 if (SWIG_arg_fail(2)) SWIG_fail;
8305 }
5cbf236d
RD
8306 {
8307 PyThreadState* __tstate = wxPyBeginAllowThreads();
8308 (arg1)->SetSashGravity(arg2);
8309
8310 wxPyEndAllowThreads(__tstate);
8311 if (PyErr_Occurred()) SWIG_fail;
8312 }
8313 Py_INCREF(Py_None); resultobj = Py_None;
8314 return resultobj;
8315 fail:
8316 return NULL;
8317}
8318
8319
8320static PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8321 PyObject *resultobj = NULL;
5cbf236d
RD
8322 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8323 double result;
8324 PyObject * obj0 = 0 ;
8325 char *kwnames[] = {
8326 (char *) "self", NULL
8327 };
8328
8329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashGravity",kwnames,&obj0)) goto fail;
36ed4f51
RD
8330 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8331 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
8332 {
8333 PyThreadState* __tstate = wxPyBeginAllowThreads();
8334 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
8335
8336 wxPyEndAllowThreads(__tstate);
8337 if (PyErr_Occurred()) SWIG_fail;
8338 }
36ed4f51 8339 {
32fe5131 8340 resultobj = SWIG_From_double(static_cast<double >(result));
36ed4f51 8341 }
5cbf236d
RD
8342 return resultobj;
8343 fail:
8344 return NULL;
8345}
8346
8347
c370783e 8348static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8349 PyObject *resultobj = NULL;
d55e5bfc
RD
8350 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8351 int arg2 ;
8352 PyObject * obj0 = 0 ;
8353 PyObject * obj1 = 0 ;
8354 char *kwnames[] = {
8355 (char *) "self",(char *) "min", NULL
8356 };
8357
8358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8359 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8360 if (SWIG_arg_fail(1)) SWIG_fail;
8361 {
32fe5131 8362 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
8363 if (SWIG_arg_fail(2)) SWIG_fail;
8364 }
d55e5bfc
RD
8365 {
8366 PyThreadState* __tstate = wxPyBeginAllowThreads();
8367 (arg1)->SetMinimumPaneSize(arg2);
8368
8369 wxPyEndAllowThreads(__tstate);
8370 if (PyErr_Occurred()) SWIG_fail;
8371 }
8372 Py_INCREF(Py_None); resultobj = Py_None;
8373 return resultobj;
8374 fail:
8375 return NULL;
8376}
8377
8378
c370783e 8379static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8380 PyObject *resultobj = NULL;
d55e5bfc
RD
8381 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8382 int result;
8383 PyObject * obj0 = 0 ;
8384 char *kwnames[] = {
8385 (char *) "self", NULL
8386 };
8387
8388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
8389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8390 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8391 {
8392 PyThreadState* __tstate = wxPyBeginAllowThreads();
8393 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
8394
8395 wxPyEndAllowThreads(__tstate);
8396 if (PyErr_Occurred()) SWIG_fail;
8397 }
36ed4f51 8398 {
32fe5131 8399 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 8400 }
d55e5bfc
RD
8401 return resultobj;
8402 fail:
8403 return NULL;
8404}
8405
8406
c370783e 8407static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8408 PyObject *resultobj = NULL;
d55e5bfc
RD
8409 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8410 int arg2 ;
8411 int arg3 ;
8412 int arg4 = (int) 5 ;
8413 bool result;
8414 PyObject * obj0 = 0 ;
8415 PyObject * obj1 = 0 ;
8416 PyObject * obj2 = 0 ;
8417 PyObject * obj3 = 0 ;
8418 char *kwnames[] = {
8419 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
8420 };
8421
8422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
8423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8424 if (SWIG_arg_fail(1)) SWIG_fail;
8425 {
32fe5131 8426 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
8427 if (SWIG_arg_fail(2)) SWIG_fail;
8428 }
8429 {
32fe5131 8430 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
8431 if (SWIG_arg_fail(3)) SWIG_fail;
8432 }
d55e5bfc 8433 if (obj3) {
36ed4f51 8434 {
32fe5131 8435 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
8436 if (SWIG_arg_fail(4)) SWIG_fail;
8437 }
d55e5bfc
RD
8438 }
8439 {
8440 PyThreadState* __tstate = wxPyBeginAllowThreads();
8441 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
8442
8443 wxPyEndAllowThreads(__tstate);
8444 if (PyErr_Occurred()) SWIG_fail;
8445 }
8446 {
8447 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8448 }
8449 return resultobj;
8450 fail:
8451 return NULL;
8452}
8453
8454
c370783e 8455static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8456 PyObject *resultobj = NULL;
d55e5bfc
RD
8457 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8458 PyObject * obj0 = 0 ;
8459 char *kwnames[] = {
8460 (char *) "self", NULL
8461 };
8462
8463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
36ed4f51
RD
8464 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8465 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8466 {
8467 PyThreadState* __tstate = wxPyBeginAllowThreads();
8468 (arg1)->SizeWindows();
8469
8470 wxPyEndAllowThreads(__tstate);
8471 if (PyErr_Occurred()) SWIG_fail;
8472 }
8473 Py_INCREF(Py_None); resultobj = Py_None;
8474 return resultobj;
8475 fail:
8476 return NULL;
8477}
8478
8479
c370783e 8480static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8481 PyObject *resultobj = NULL;
d55e5bfc
RD
8482 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8483 bool arg2 ;
8484 PyObject * obj0 = 0 ;
8485 PyObject * obj1 = 0 ;
8486 char *kwnames[] = {
8487 (char *) "self",(char *) "needUpdating", NULL
8488 };
8489
8490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8491 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8492 if (SWIG_arg_fail(1)) SWIG_fail;
8493 {
32fe5131 8494 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
8495 if (SWIG_arg_fail(2)) SWIG_fail;
8496 }
d55e5bfc
RD
8497 {
8498 PyThreadState* __tstate = wxPyBeginAllowThreads();
8499 (arg1)->SetNeedUpdating(arg2);
8500
8501 wxPyEndAllowThreads(__tstate);
8502 if (PyErr_Occurred()) SWIG_fail;
8503 }
8504 Py_INCREF(Py_None); resultobj = Py_None;
8505 return resultobj;
8506 fail:
8507 return NULL;
8508}
8509
8510
c370783e 8511static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8512 PyObject *resultobj = NULL;
d55e5bfc
RD
8513 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8514 bool result;
8515 PyObject * obj0 = 0 ;
8516 char *kwnames[] = {
8517 (char *) "self", NULL
8518 };
8519
8520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
36ed4f51
RD
8521 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8522 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8523 {
8524 PyThreadState* __tstate = wxPyBeginAllowThreads();
8525 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
8526
8527 wxPyEndAllowThreads(__tstate);
8528 if (PyErr_Occurred()) SWIG_fail;
8529 }
8530 {
8531 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8532 }
8533 return resultobj;
8534 fail:
8535 return NULL;
8536}
8537
8538
c370783e 8539static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8540 PyObject *resultobj = NULL;
36ed4f51 8541 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
8542 wxVisualAttributes result;
8543 PyObject * obj0 = 0 ;
8544 char *kwnames[] = {
8545 (char *) "variant", NULL
8546 };
8547
8548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
8549 if (obj0) {
36ed4f51 8550 {
32fe5131 8551 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
36ed4f51
RD
8552 if (SWIG_arg_fail(1)) SWIG_fail;
8553 }
f20a2e1f
RD
8554 }
8555 {
0439c23b 8556 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 8557 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 8558 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
8559
8560 wxPyEndAllowThreads(__tstate);
110da5b0 8561 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
8562 }
8563 {
8564 wxVisualAttributes * resultptr;
32fe5131 8565 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
8566 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
8567 }
8568 return resultobj;
8569 fail:
8570 return NULL;
8571}
8572
8573
c370783e 8574static PyObject * SplitterWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8575 PyObject *obj;
8576 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8577 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
8578 Py_INCREF(obj);
8579 return Py_BuildValue((char *)"");
8580}
c370783e 8581static PyObject *_wrap_new_SplitterEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8582 PyObject *resultobj = NULL;
d55e5bfc
RD
8583 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
8584 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
8585 wxSplitterEvent *result;
8586 PyObject * obj0 = 0 ;
8587 PyObject * obj1 = 0 ;
8588 char *kwnames[] = {
8589 (char *) "type",(char *) "splitter", NULL
8590 };
8591
8592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
8593 if (obj0) {
36ed4f51 8594 {
32fe5131 8595 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
36ed4f51
RD
8596 if (SWIG_arg_fail(1)) SWIG_fail;
8597 }
d55e5bfc
RD
8598 }
8599 if (obj1) {
36ed4f51
RD
8600 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8601 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
8602 }
8603 {
8604 PyThreadState* __tstate = wxPyBeginAllowThreads();
8605 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
8606
8607 wxPyEndAllowThreads(__tstate);
8608 if (PyErr_Occurred()) SWIG_fail;
8609 }
8610 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
8611 return resultobj;
8612 fail:
8613 return NULL;
8614}
8615
8616
c370783e 8617static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8618 PyObject *resultobj = NULL;
d55e5bfc
RD
8619 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8620 int arg2 ;
8621 PyObject * obj0 = 0 ;
8622 PyObject * obj1 = 0 ;
8623 char *kwnames[] = {
8624 (char *) "self",(char *) "pos", NULL
8625 };
8626
8627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8628 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8629 if (SWIG_arg_fail(1)) SWIG_fail;
8630 {
32fe5131 8631 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
8632 if (SWIG_arg_fail(2)) SWIG_fail;
8633 }
d55e5bfc
RD
8634 {
8635 PyThreadState* __tstate = wxPyBeginAllowThreads();
8636 (arg1)->SetSashPosition(arg2);
8637
8638 wxPyEndAllowThreads(__tstate);
8639 if (PyErr_Occurred()) SWIG_fail;
8640 }
8641 Py_INCREF(Py_None); resultobj = Py_None;
8642 return resultobj;
8643 fail:
8644 return NULL;
8645}
8646
8647
c370783e 8648static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8649 PyObject *resultobj = NULL;
d55e5bfc
RD
8650 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8651 int result;
8652 PyObject * obj0 = 0 ;
8653 char *kwnames[] = {
8654 (char *) "self", NULL
8655 };
8656
8657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
36ed4f51
RD
8658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8659 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8660 {
8661 PyThreadState* __tstate = wxPyBeginAllowThreads();
8662 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
8663
8664 wxPyEndAllowThreads(__tstate);
8665 if (PyErr_Occurred()) SWIG_fail;
8666 }
36ed4f51 8667 {
32fe5131 8668 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 8669 }
d55e5bfc
RD
8670 return resultobj;
8671 fail:
8672 return NULL;
8673}
8674
8675
c370783e 8676static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8677 PyObject *resultobj = NULL;
d55e5bfc
RD
8678 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8679 wxWindow *result;
8680 PyObject * obj0 = 0 ;
8681 char *kwnames[] = {
8682 (char *) "self", NULL
8683 };
8684
8685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
36ed4f51
RD
8686 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8687 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8688 {
8689 PyThreadState* __tstate = wxPyBeginAllowThreads();
8690 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
8691
8692 wxPyEndAllowThreads(__tstate);
8693 if (PyErr_Occurred()) SWIG_fail;
8694 }
8695 {
412d302d 8696 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
8697 }
8698 return resultobj;
8699 fail:
8700 return NULL;
8701}
8702
8703
c370783e 8704static PyObject *_wrap_SplitterEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8705 PyObject *resultobj = NULL;
d55e5bfc
RD
8706 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8707 int result;
8708 PyObject * obj0 = 0 ;
8709 char *kwnames[] = {
8710 (char *) "self", NULL
8711 };
8712
8713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
36ed4f51
RD
8714 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8715 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8716 {
8717 PyThreadState* __tstate = wxPyBeginAllowThreads();
8718 result = (int)((wxSplitterEvent const *)arg1)->GetX();
8719
8720 wxPyEndAllowThreads(__tstate);
8721 if (PyErr_Occurred()) SWIG_fail;
8722 }
36ed4f51 8723 {
32fe5131 8724 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 8725 }
d55e5bfc
RD
8726 return resultobj;
8727 fail:
8728 return NULL;
8729}
8730
8731
c370783e 8732static PyObject *_wrap_SplitterEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8733 PyObject *resultobj = NULL;
d55e5bfc
RD
8734 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8735 int result;
8736 PyObject * obj0 = 0 ;
8737 char *kwnames[] = {
8738 (char *) "self", NULL
8739 };
8740
8741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
36ed4f51
RD
8742 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8743 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8744 {
8745 PyThreadState* __tstate = wxPyBeginAllowThreads();
8746 result = (int)((wxSplitterEvent const *)arg1)->GetY();
8747
8748 wxPyEndAllowThreads(__tstate);
8749 if (PyErr_Occurred()) SWIG_fail;
8750 }
36ed4f51 8751 {
32fe5131 8752 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 8753 }
d55e5bfc
RD
8754 return resultobj;
8755 fail:
8756 return NULL;
8757}
8758
8759
c370783e 8760static PyObject * SplitterEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8761 PyObject *obj;
8762 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8763 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
8764 Py_INCREF(obj);
8765 return Py_BuildValue((char *)"");
8766}
c370783e 8767static int _wrap_SashNameStr_set(PyObject *) {
d55e5bfc
RD
8768 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
8769 return 1;
8770}
8771
8772
36ed4f51 8773static PyObject *_wrap_SashNameStr_get(void) {
32fe5131 8774 PyObject *pyobj = NULL;
d55e5bfc
RD
8775
8776 {
8777#if wxUSE_UNICODE
8778 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
8779#else
8780 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
8781#endif
8782 }
8783 return pyobj;
8784}
8785
8786
c370783e 8787static int _wrap_SashLayoutNameStr_set(PyObject *) {
d55e5bfc
RD
8788 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
8789 return 1;
8790}
8791
8792
36ed4f51 8793static PyObject *_wrap_SashLayoutNameStr_get(void) {
32fe5131 8794 PyObject *pyobj = NULL;
d55e5bfc
RD
8795
8796 {
8797#if wxUSE_UNICODE
8798 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
8799#else
8800 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
8801#endif
8802 }
8803 return pyobj;
8804}
8805
8806
c370783e 8807static PyObject *_wrap_new_SashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8808 PyObject *resultobj = NULL;
d55e5bfc 8809 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 8810 int arg2 = (int) -1 ;
d55e5bfc
RD
8811 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8812 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8813 wxSize const &arg4_defvalue = wxDefaultSize ;
8814 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8815 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8816 wxString const &arg6_defvalue = wxPySashNameStr ;
8817 wxString *arg6 = (wxString *) &arg6_defvalue ;
8818 wxSashWindow *result;
8819 wxPoint temp3 ;
8820 wxSize temp4 ;
b411df4a 8821 bool temp6 = false ;
d55e5bfc
RD
8822 PyObject * obj0 = 0 ;
8823 PyObject * obj1 = 0 ;
8824 PyObject * obj2 = 0 ;
8825 PyObject * obj3 = 0 ;
8826 PyObject * obj4 = 0 ;
8827 PyObject * obj5 = 0 ;
8828 char *kwnames[] = {
8829 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8830 };
8831
bfddbb17 8832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
8833 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8834 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 8835 if (obj1) {
36ed4f51 8836 {
32fe5131 8837 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
8838 if (SWIG_arg_fail(2)) SWIG_fail;
8839 }
bfddbb17 8840 }
d55e5bfc
RD
8841 if (obj2) {
8842 {
8843 arg3 = &temp3;
8844 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8845 }
8846 }
8847 if (obj3) {
8848 {
8849 arg4 = &temp4;
8850 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8851 }
8852 }
8853 if (obj4) {
36ed4f51 8854 {
32fe5131 8855 arg5 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
8856 if (SWIG_arg_fail(5)) SWIG_fail;
8857 }
d55e5bfc
RD
8858 }
8859 if (obj5) {
8860 {
8861 arg6 = wxString_in_helper(obj5);
8862 if (arg6 == NULL) SWIG_fail;
b411df4a 8863 temp6 = true;
d55e5bfc
RD
8864 }
8865 }
8866 {
0439c23b 8867 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8868 PyThreadState* __tstate = wxPyBeginAllowThreads();
8869 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8870
8871 wxPyEndAllowThreads(__tstate);
110da5b0 8872 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8873 }
8874 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
8875 {
8876 if (temp6)
8877 delete arg6;
8878 }
8879 return resultobj;
8880 fail:
8881 {
8882 if (temp6)
8883 delete arg6;
8884 }
8885 return NULL;
8886}
8887
8888
c370783e 8889static PyObject *_wrap_new_PreSashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8890 PyObject *resultobj = NULL;
d55e5bfc
RD
8891 wxSashWindow *result;
8892 char *kwnames[] = {
8893 NULL
8894 };
8895
8896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
8897 {
0439c23b 8898 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8899 PyThreadState* __tstate = wxPyBeginAllowThreads();
8900 result = (wxSashWindow *)new wxSashWindow();
8901
8902 wxPyEndAllowThreads(__tstate);
110da5b0 8903 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8904 }
8905 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
8906 return resultobj;
8907 fail:
8908 return NULL;
8909}
8910
8911
c370783e 8912static PyObject *_wrap_SashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8913 PyObject *resultobj = NULL;
d55e5bfc
RD
8914 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8915 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17 8916 int arg3 = (int) -1 ;
d55e5bfc
RD
8917 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8918 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8919 wxSize const &arg5_defvalue = wxDefaultSize ;
8920 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8921 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8922 wxString const &arg7_defvalue = wxPySashNameStr ;
8923 wxString *arg7 = (wxString *) &arg7_defvalue ;
8924 bool result;
8925 wxPoint temp4 ;
8926 wxSize temp5 ;
b411df4a 8927 bool temp7 = false ;
d55e5bfc
RD
8928 PyObject * obj0 = 0 ;
8929 PyObject * obj1 = 0 ;
8930 PyObject * obj2 = 0 ;
8931 PyObject * obj3 = 0 ;
8932 PyObject * obj4 = 0 ;
8933 PyObject * obj5 = 0 ;
8934 PyObject * obj6 = 0 ;
8935 char *kwnames[] = {
8936 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8937 };
8938
bfddbb17 8939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
8940 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8941 if (SWIG_arg_fail(1)) SWIG_fail;
8942 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8943 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 8944 if (obj2) {
36ed4f51 8945 {
32fe5131 8946 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
8947 if (SWIG_arg_fail(3)) SWIG_fail;
8948 }
bfddbb17 8949 }
d55e5bfc
RD
8950 if (obj3) {
8951 {
8952 arg4 = &temp4;
8953 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8954 }
8955 }
8956 if (obj4) {
8957 {
8958 arg5 = &temp5;
8959 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8960 }
8961 }
8962 if (obj5) {
36ed4f51 8963 {
32fe5131 8964 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
8965 if (SWIG_arg_fail(6)) SWIG_fail;
8966 }
d55e5bfc
RD
8967 }
8968 if (obj6) {
8969 {
8970 arg7 = wxString_in_helper(obj6);
8971 if (arg7 == NULL) SWIG_fail;
b411df4a 8972 temp7 = true;
d55e5bfc
RD
8973 }
8974 }
8975 {
8976 PyThreadState* __tstate = wxPyBeginAllowThreads();
8977 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8978
8979 wxPyEndAllowThreads(__tstate);
8980 if (PyErr_Occurred()) SWIG_fail;
8981 }
8982 {
8983 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8984 }
8985 {
8986 if (temp7)
8987 delete arg7;
8988 }
8989 return resultobj;
8990 fail:
8991 {
8992 if (temp7)
8993 delete arg7;
8994 }
8995 return NULL;
8996}
8997
8998
c370783e 8999static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9000 PyObject *resultobj = NULL;
d55e5bfc 9001 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
36ed4f51 9002 wxSashEdgePosition arg2 ;
d55e5bfc
RD
9003 bool arg3 ;
9004 PyObject * obj0 = 0 ;
9005 PyObject * obj1 = 0 ;
9006 PyObject * obj2 = 0 ;
9007 char *kwnames[] = {
9008 (char *) "self",(char *) "edge",(char *) "sash", NULL
9009 };
9010
9011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
9012 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9013 if (SWIG_arg_fail(1)) SWIG_fail;
9014 {
32fe5131 9015 arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1));
36ed4f51
RD
9016 if (SWIG_arg_fail(2)) SWIG_fail;
9017 }
9018 {
32fe5131 9019 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
9020 if (SWIG_arg_fail(3)) SWIG_fail;
9021 }
d55e5bfc
RD
9022 {
9023 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 9024 (arg1)->SetSashVisible(arg2,arg3);
d55e5bfc
RD
9025
9026 wxPyEndAllowThreads(__tstate);
9027 if (PyErr_Occurred()) SWIG_fail;
9028 }
9029 Py_INCREF(Py_None); resultobj = Py_None;
9030 return resultobj;
9031 fail:
9032 return NULL;
9033}
9034
9035
c370783e 9036static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9037 PyObject *resultobj = NULL;
d55e5bfc 9038 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
36ed4f51 9039 wxSashEdgePosition arg2 ;
d55e5bfc
RD
9040 bool result;
9041 PyObject * obj0 = 0 ;
9042 PyObject * obj1 = 0 ;
9043 char *kwnames[] = {
9044 (char *) "self",(char *) "edge", NULL
9045 };
9046
9047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9049 if (SWIG_arg_fail(1)) SWIG_fail;
9050 {
32fe5131 9051 arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1));
36ed4f51
RD
9052 if (SWIG_arg_fail(2)) SWIG_fail;
9053 }
d55e5bfc
RD
9054 {
9055 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 9056 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
d55e5bfc
RD
9057
9058 wxPyEndAllowThreads(__tstate);
9059 if (PyErr_Occurred()) SWIG_fail;
9060 }
9061 {
9062 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9063 }
9064 return resultobj;
9065 fail:
9066 return NULL;
9067}
9068
9069
c370783e 9070static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9071 PyObject *resultobj = NULL;
d55e5bfc 9072 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
36ed4f51 9073 wxSashEdgePosition arg2 ;
d55e5bfc
RD
9074 bool arg3 ;
9075 PyObject * obj0 = 0 ;
9076 PyObject * obj1 = 0 ;
9077 PyObject * obj2 = 0 ;
9078 char *kwnames[] = {
9079 (char *) "self",(char *) "edge",(char *) "border", NULL
9080 };
9081
9082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
9083 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9084 if (SWIG_arg_fail(1)) SWIG_fail;
9085 {
32fe5131 9086 arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1));
36ed4f51
RD
9087 if (SWIG_arg_fail(2)) SWIG_fail;
9088 }
9089 {
32fe5131 9090 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
9091 if (SWIG_arg_fail(3)) SWIG_fail;
9092 }
d55e5bfc
RD
9093 {
9094 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 9095 (arg1)->SetSashBorder(arg2,arg3);
d55e5bfc
RD
9096
9097 wxPyEndAllowThreads(__tstate);
9098 if (PyErr_Occurred()) SWIG_fail;
9099 }
9100 Py_INCREF(Py_None); resultobj = Py_None;
9101 return resultobj;
9102 fail:
9103 return NULL;
9104}
9105
9106
c370783e 9107static PyObject *_wrap_SashWindow_HasBorder(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9108 PyObject *resultobj = NULL;
d55e5bfc 9109 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
36ed4f51 9110 wxSashEdgePosition arg2 ;
d55e5bfc
RD
9111 bool result;
9112 PyObject * obj0 = 0 ;
9113 PyObject * obj1 = 0 ;
9114 char *kwnames[] = {
9115 (char *) "self",(char *) "edge", NULL
9116 };
9117
9118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9119 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9120 if (SWIG_arg_fail(1)) SWIG_fail;
9121 {
32fe5131 9122 arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1));
36ed4f51
RD
9123 if (SWIG_arg_fail(2)) SWIG_fail;
9124 }
d55e5bfc
RD
9125 {
9126 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 9127 result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2);
d55e5bfc
RD
9128
9129 wxPyEndAllowThreads(__tstate);
9130 if (PyErr_Occurred()) SWIG_fail;
9131 }
9132 {
9133 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9134 }
9135 return resultobj;
9136 fail:
9137 return NULL;
9138}
9139
9140
c370783e 9141static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9142 PyObject *resultobj = NULL;
d55e5bfc 9143 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
36ed4f51 9144 wxSashEdgePosition arg2 ;
d55e5bfc
RD
9145 int result;
9146 PyObject * obj0 = 0 ;
9147 PyObject * obj1 = 0 ;
9148 char *kwnames[] = {
9149 (char *) "self",(char *) "edge", NULL
9150 };
9151
9152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9153 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9154 if (SWIG_arg_fail(1)) SWIG_fail;
9155 {
32fe5131 9156 arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1));
36ed4f51
RD
9157 if (SWIG_arg_fail(2)) SWIG_fail;
9158 }
d55e5bfc
RD
9159 {
9160 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 9161 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
d55e5bfc
RD
9162
9163 wxPyEndAllowThreads(__tstate);
9164 if (PyErr_Occurred()) SWIG_fail;
9165 }
36ed4f51 9166 {
32fe5131 9167 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 9168 }
d55e5bfc
RD
9169 return resultobj;
9170 fail:
9171 return NULL;
9172}
9173
9174
c370783e 9175static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9176 PyObject *resultobj = NULL;
d55e5bfc
RD
9177 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9178 int arg2 ;
9179 PyObject * obj0 = 0 ;
9180 PyObject * obj1 = 0 ;
9181 char *kwnames[] = {
9182 (char *) "self",(char *) "width", NULL
9183 };
9184
9185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9187 if (SWIG_arg_fail(1)) SWIG_fail;
9188 {
32fe5131 9189 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9190 if (SWIG_arg_fail(2)) SWIG_fail;
9191 }
d55e5bfc
RD
9192 {
9193 PyThreadState* __tstate = wxPyBeginAllowThreads();
9194 (arg1)->SetDefaultBorderSize(arg2);
9195
9196 wxPyEndAllowThreads(__tstate);
9197 if (PyErr_Occurred()) SWIG_fail;
9198 }
9199 Py_INCREF(Py_None); resultobj = Py_None;
9200 return resultobj;
9201 fail:
9202 return NULL;
9203}
9204
9205
c370783e 9206static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9207 PyObject *resultobj = NULL;
d55e5bfc
RD
9208 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9209 int result;
9210 PyObject * obj0 = 0 ;
9211 char *kwnames[] = {
9212 (char *) "self", NULL
9213 };
9214
9215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
9216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9217 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9218 {
9219 PyThreadState* __tstate = wxPyBeginAllowThreads();
9220 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
9221
9222 wxPyEndAllowThreads(__tstate);
9223 if (PyErr_Occurred()) SWIG_fail;
9224 }
36ed4f51 9225 {
32fe5131 9226 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 9227 }
d55e5bfc
RD
9228 return resultobj;
9229 fail:
9230 return NULL;
9231}
9232
9233
c370783e 9234static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9235 PyObject *resultobj = NULL;
d55e5bfc
RD
9236 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9237 int arg2 ;
9238 PyObject * obj0 = 0 ;
9239 PyObject * obj1 = 0 ;
9240 char *kwnames[] = {
9241 (char *) "self",(char *) "width", NULL
9242 };
9243
9244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9246 if (SWIG_arg_fail(1)) SWIG_fail;
9247 {
32fe5131 9248 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9249 if (SWIG_arg_fail(2)) SWIG_fail;
9250 }
d55e5bfc
RD
9251 {
9252 PyThreadState* __tstate = wxPyBeginAllowThreads();
9253 (arg1)->SetExtraBorderSize(arg2);
9254
9255 wxPyEndAllowThreads(__tstate);
9256 if (PyErr_Occurred()) SWIG_fail;
9257 }
9258 Py_INCREF(Py_None); resultobj = Py_None;
9259 return resultobj;
9260 fail:
9261 return NULL;
9262}
9263
9264
c370783e 9265static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9266 PyObject *resultobj = NULL;
d55e5bfc
RD
9267 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9268 int result;
9269 PyObject * obj0 = 0 ;
9270 char *kwnames[] = {
9271 (char *) "self", NULL
9272 };
9273
9274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
9275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9276 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9277 {
9278 PyThreadState* __tstate = wxPyBeginAllowThreads();
9279 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
9280
9281 wxPyEndAllowThreads(__tstate);
9282 if (PyErr_Occurred()) SWIG_fail;
9283 }
36ed4f51 9284 {
32fe5131 9285 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 9286 }
d55e5bfc
RD
9287 return resultobj;
9288 fail:
9289 return NULL;
9290}
9291
9292
c370783e 9293static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9294 PyObject *resultobj = NULL;
d55e5bfc
RD
9295 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9296 int arg2 ;
9297 PyObject * obj0 = 0 ;
9298 PyObject * obj1 = 0 ;
9299 char *kwnames[] = {
9300 (char *) "self",(char *) "min", NULL
9301 };
9302
9303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9305 if (SWIG_arg_fail(1)) SWIG_fail;
9306 {
32fe5131 9307 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9308 if (SWIG_arg_fail(2)) SWIG_fail;
9309 }
d55e5bfc
RD
9310 {
9311 PyThreadState* __tstate = wxPyBeginAllowThreads();
9312 (arg1)->SetMinimumSizeX(arg2);
9313
9314 wxPyEndAllowThreads(__tstate);
9315 if (PyErr_Occurred()) SWIG_fail;
9316 }
9317 Py_INCREF(Py_None); resultobj = Py_None;
9318 return resultobj;
9319 fail:
9320 return NULL;
9321}
9322
9323
c370783e 9324static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9325 PyObject *resultobj = NULL;
d55e5bfc
RD
9326 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9327 int arg2 ;
9328 PyObject * obj0 = 0 ;
9329 PyObject * obj1 = 0 ;
9330 char *kwnames[] = {
9331 (char *) "self",(char *) "min", NULL
9332 };
9333
9334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9335 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9336 if (SWIG_arg_fail(1)) SWIG_fail;
9337 {
32fe5131 9338 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9339 if (SWIG_arg_fail(2)) SWIG_fail;
9340 }
d55e5bfc
RD
9341 {
9342 PyThreadState* __tstate = wxPyBeginAllowThreads();
9343 (arg1)->SetMinimumSizeY(arg2);
9344
9345 wxPyEndAllowThreads(__tstate);
9346 if (PyErr_Occurred()) SWIG_fail;
9347 }
9348 Py_INCREF(Py_None); resultobj = Py_None;
9349 return resultobj;
9350 fail:
9351 return NULL;
9352}
9353
9354
c370783e 9355static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9356 PyObject *resultobj = NULL;
d55e5bfc
RD
9357 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9358 int result;
9359 PyObject * obj0 = 0 ;
9360 char *kwnames[] = {
9361 (char *) "self", NULL
9362 };
9363
9364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
36ed4f51
RD
9365 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9366 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9367 {
9368 PyThreadState* __tstate = wxPyBeginAllowThreads();
9369 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
9370
9371 wxPyEndAllowThreads(__tstate);
9372 if (PyErr_Occurred()) SWIG_fail;
9373 }
36ed4f51 9374 {
32fe5131 9375 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 9376 }
d55e5bfc
RD
9377 return resultobj;
9378 fail:
9379 return NULL;
9380}
9381
9382
c370783e 9383static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9384 PyObject *resultobj = NULL;
d55e5bfc
RD
9385 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9386 int result;
9387 PyObject * obj0 = 0 ;
9388 char *kwnames[] = {
9389 (char *) "self", NULL
9390 };
9391
9392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
36ed4f51
RD
9393 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9394 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9395 {
9396 PyThreadState* __tstate = wxPyBeginAllowThreads();
9397 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
9398
9399 wxPyEndAllowThreads(__tstate);
9400 if (PyErr_Occurred()) SWIG_fail;
9401 }
36ed4f51 9402 {
32fe5131 9403 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 9404 }
d55e5bfc
RD
9405 return resultobj;
9406 fail:
9407 return NULL;
9408}
9409
9410
c370783e 9411static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9412 PyObject *resultobj = NULL;
d55e5bfc
RD
9413 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9414 int arg2 ;
9415 PyObject * obj0 = 0 ;
9416 PyObject * obj1 = 0 ;
9417 char *kwnames[] = {
9418 (char *) "self",(char *) "max", NULL
9419 };
9420
9421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9423 if (SWIG_arg_fail(1)) SWIG_fail;
9424 {
32fe5131 9425 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9426 if (SWIG_arg_fail(2)) SWIG_fail;
9427 }
d55e5bfc
RD
9428 {
9429 PyThreadState* __tstate = wxPyBeginAllowThreads();
9430 (arg1)->SetMaximumSizeX(arg2);
9431
9432 wxPyEndAllowThreads(__tstate);
9433 if (PyErr_Occurred()) SWIG_fail;
9434 }
9435 Py_INCREF(Py_None); resultobj = Py_None;
9436 return resultobj;
9437 fail:
9438 return NULL;
9439}
9440
9441
c370783e 9442static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9443 PyObject *resultobj = NULL;
d55e5bfc
RD
9444 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9445 int arg2 ;
9446 PyObject * obj0 = 0 ;
9447 PyObject * obj1 = 0 ;
9448 char *kwnames[] = {
9449 (char *) "self",(char *) "max", NULL
9450 };
9451
9452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9454 if (SWIG_arg_fail(1)) SWIG_fail;
9455 {
32fe5131 9456 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9457 if (SWIG_arg_fail(2)) SWIG_fail;
9458 }
d55e5bfc
RD
9459 {
9460 PyThreadState* __tstate = wxPyBeginAllowThreads();
9461 (arg1)->SetMaximumSizeY(arg2);
9462
9463 wxPyEndAllowThreads(__tstate);
9464 if (PyErr_Occurred()) SWIG_fail;
9465 }
9466 Py_INCREF(Py_None); resultobj = Py_None;
9467 return resultobj;
9468 fail:
9469 return NULL;
9470}
9471
9472
c370783e 9473static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9474 PyObject *resultobj = NULL;
d55e5bfc
RD
9475 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9476 int result;
9477 PyObject * obj0 = 0 ;
9478 char *kwnames[] = {
9479 (char *) "self", NULL
9480 };
9481
9482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
36ed4f51
RD
9483 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9484 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9485 {
9486 PyThreadState* __tstate = wxPyBeginAllowThreads();
9487 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
9488
9489 wxPyEndAllowThreads(__tstate);
9490 if (PyErr_Occurred()) SWIG_fail;
9491 }
36ed4f51 9492 {
32fe5131 9493 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 9494 }
d55e5bfc
RD
9495 return resultobj;
9496 fail:
9497 return NULL;
9498}
9499
9500
c370783e 9501static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9502 PyObject *resultobj = NULL;
d55e5bfc
RD
9503 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9504 int result;
9505 PyObject * obj0 = 0 ;
9506 char *kwnames[] = {
9507 (char *) "self", NULL
9508 };
9509
9510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
36ed4f51
RD
9511 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9512 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9513 {
9514 PyThreadState* __tstate = wxPyBeginAllowThreads();
9515 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
9516
9517 wxPyEndAllowThreads(__tstate);
9518 if (PyErr_Occurred()) SWIG_fail;
9519 }
36ed4f51 9520 {
32fe5131 9521 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 9522 }
d55e5bfc
RD
9523 return resultobj;
9524 fail:
9525 return NULL;
9526}
9527
9528
c370783e 9529static PyObject *_wrap_SashWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9530 PyObject *resultobj = NULL;
d55e5bfc
RD
9531 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9532 int arg2 ;
9533 int arg3 ;
9534 int arg4 = (int) 2 ;
36ed4f51 9535 wxSashEdgePosition result;
d55e5bfc
RD
9536 PyObject * obj0 = 0 ;
9537 PyObject * obj1 = 0 ;
9538 PyObject * obj2 = 0 ;
9539 PyObject * obj3 = 0 ;
9540 char *kwnames[] = {
9541 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
9542 };
9543
9544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
9545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9546 if (SWIG_arg_fail(1)) SWIG_fail;
9547 {
32fe5131 9548 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9549 if (SWIG_arg_fail(2)) SWIG_fail;
9550 }
9551 {
32fe5131 9552 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
9553 if (SWIG_arg_fail(3)) SWIG_fail;
9554 }
d55e5bfc 9555 if (obj3) {
36ed4f51 9556 {
32fe5131 9557 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
9558 if (SWIG_arg_fail(4)) SWIG_fail;
9559 }
d55e5bfc
RD
9560 }
9561 {
9562 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9563 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
d55e5bfc
RD
9564
9565 wxPyEndAllowThreads(__tstate);
9566 if (PyErr_Occurred()) SWIG_fail;
9567 }
36ed4f51 9568 resultobj = SWIG_From_int((result));
d55e5bfc
RD
9569 return resultobj;
9570 fail:
9571 return NULL;
9572}
9573
9574
c370783e 9575static PyObject *_wrap_SashWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9576 PyObject *resultobj = NULL;
d55e5bfc
RD
9577 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9578 PyObject * obj0 = 0 ;
9579 char *kwnames[] = {
9580 (char *) "self", NULL
9581 };
9582
9583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
36ed4f51
RD
9584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9585 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9586 {
9587 PyThreadState* __tstate = wxPyBeginAllowThreads();
9588 (arg1)->SizeWindows();
9589
9590 wxPyEndAllowThreads(__tstate);
9591 if (PyErr_Occurred()) SWIG_fail;
9592 }
9593 Py_INCREF(Py_None); resultobj = Py_None;
9594 return resultobj;
9595 fail:
9596 return NULL;
9597}
9598
9599
c370783e 9600static PyObject * SashWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9601 PyObject *obj;
9602 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9603 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
9604 Py_INCREF(obj);
9605 return Py_BuildValue((char *)"");
9606}
c370783e 9607static PyObject *_wrap_new_SashEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9608 PyObject *resultobj = NULL;
d55e5bfc 9609 int arg1 = (int) 0 ;
36ed4f51 9610 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
d55e5bfc
RD
9611 wxSashEvent *result;
9612 PyObject * obj0 = 0 ;
9613 PyObject * obj1 = 0 ;
9614 char *kwnames[] = {
9615 (char *) "id",(char *) "edge", NULL
9616 };
9617
9618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
9619 if (obj0) {
36ed4f51 9620 {
32fe5131 9621 arg1 = static_cast<int >(SWIG_As_int(obj0));
36ed4f51
RD
9622 if (SWIG_arg_fail(1)) SWIG_fail;
9623 }
d55e5bfc
RD
9624 }
9625 if (obj1) {
36ed4f51 9626 {
32fe5131 9627 arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1));
36ed4f51
RD
9628 if (SWIG_arg_fail(2)) SWIG_fail;
9629 }
d55e5bfc
RD
9630 }
9631 {
9632 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 9633 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
d55e5bfc
RD
9634
9635 wxPyEndAllowThreads(__tstate);
9636 if (PyErr_Occurred()) SWIG_fail;
9637 }
9638 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
9639 return resultobj;
9640 fail:
9641 return NULL;
9642}
9643
9644
c370783e 9645static PyObject *_wrap_SashEvent_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9646 PyObject *resultobj = NULL;
d55e5bfc 9647 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
36ed4f51 9648 wxSashEdgePosition arg2 ;
d55e5bfc
RD
9649 PyObject * obj0 = 0 ;
9650 PyObject * obj1 = 0 ;
9651 char *kwnames[] = {
9652 (char *) "self",(char *) "edge", NULL
9653 };
9654
9655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9657 if (SWIG_arg_fail(1)) SWIG_fail;
9658 {
32fe5131 9659 arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1));
36ed4f51
RD
9660 if (SWIG_arg_fail(2)) SWIG_fail;
9661 }
d55e5bfc
RD
9662 {
9663 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 9664 (arg1)->SetEdge(arg2);
d55e5bfc
RD
9665
9666 wxPyEndAllowThreads(__tstate);
9667 if (PyErr_Occurred()) SWIG_fail;
9668 }
9669 Py_INCREF(Py_None); resultobj = Py_None;
9670 return resultobj;
9671 fail:
9672 return NULL;
9673}
9674
9675
c370783e 9676static PyObject *_wrap_SashEvent_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9677 PyObject *resultobj = NULL;
d55e5bfc 9678 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
36ed4f51 9679 wxSashEdgePosition result;
d55e5bfc
RD
9680 PyObject * obj0 = 0 ;
9681 char *kwnames[] = {
9682 (char *) "self", NULL
9683 };
9684
9685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
36ed4f51
RD
9686 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9687 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9688 {
9689 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9690 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
d55e5bfc
RD
9691
9692 wxPyEndAllowThreads(__tstate);
9693 if (PyErr_Occurred()) SWIG_fail;
9694 }
36ed4f51 9695 resultobj = SWIG_From_int((result));
d55e5bfc
RD
9696 return resultobj;
9697 fail:
9698 return NULL;
9699}
9700
9701
c370783e 9702static PyObject *_wrap_SashEvent_SetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9703 PyObject *resultobj = NULL;
d55e5bfc
RD
9704 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9705 wxRect *arg2 = 0 ;
9706 wxRect temp2 ;
9707 PyObject * obj0 = 0 ;
9708 PyObject * obj1 = 0 ;
9709 char *kwnames[] = {
9710 (char *) "self",(char *) "rect", NULL
9711 };
9712
9713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9714 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9715 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9716 {
9717 arg2 = &temp2;
9718 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9719 }
9720 {
9721 PyThreadState* __tstate = wxPyBeginAllowThreads();
9722 (arg1)->SetDragRect((wxRect const &)*arg2);
9723
9724 wxPyEndAllowThreads(__tstate);
9725 if (PyErr_Occurred()) SWIG_fail;
9726 }
9727 Py_INCREF(Py_None); resultobj = Py_None;
9728 return resultobj;
9729 fail:
9730 return NULL;
9731}
9732
9733
c370783e 9734static PyObject *_wrap_SashEvent_GetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9735 PyObject *resultobj = NULL;
d55e5bfc
RD
9736 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9737 wxRect result;
9738 PyObject * obj0 = 0 ;
9739 char *kwnames[] = {
9740 (char *) "self", NULL
9741 };
9742
9743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
36ed4f51
RD
9744 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9745 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9746 {
9747 PyThreadState* __tstate = wxPyBeginAllowThreads();
9748 result = ((wxSashEvent const *)arg1)->GetDragRect();
9749
9750 wxPyEndAllowThreads(__tstate);
9751 if (PyErr_Occurred()) SWIG_fail;
9752 }
9753 {
9754 wxRect * resultptr;
32fe5131 9755 resultptr = new wxRect(static_cast<wxRect & >(result));
d55e5bfc
RD
9756 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
9757 }
9758 return resultobj;
9759 fail:
9760 return NULL;
9761}
9762
9763
c370783e 9764static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9765 PyObject *resultobj = NULL;
d55e5bfc 9766 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
36ed4f51 9767 wxSashDragStatus arg2 ;
d55e5bfc
RD
9768 PyObject * obj0 = 0 ;
9769 PyObject * obj1 = 0 ;
9770 char *kwnames[] = {
9771 (char *) "self",(char *) "status", NULL
9772 };
9773
9774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9775 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9776 if (SWIG_arg_fail(1)) SWIG_fail;
9777 {
32fe5131 9778 arg2 = static_cast<wxSashDragStatus >(SWIG_As_int(obj1));
36ed4f51
RD
9779 if (SWIG_arg_fail(2)) SWIG_fail;
9780 }
d55e5bfc
RD
9781 {
9782 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 9783 (arg1)->SetDragStatus(arg2);
d55e5bfc
RD
9784
9785 wxPyEndAllowThreads(__tstate);
9786 if (PyErr_Occurred()) SWIG_fail;
9787 }
9788 Py_INCREF(Py_None); resultobj = Py_None;
9789 return resultobj;
9790 fail:
9791 return NULL;
9792}
9793
9794
c370783e 9795static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9796 PyObject *resultobj = NULL;
d55e5bfc 9797 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
36ed4f51 9798 wxSashDragStatus result;
d55e5bfc
RD
9799 PyObject * obj0 = 0 ;
9800 char *kwnames[] = {
9801 (char *) "self", NULL
9802 };
9803
9804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
36ed4f51
RD
9805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9806 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9807 {
9808 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9809 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
d55e5bfc
RD
9810
9811 wxPyEndAllowThreads(__tstate);
9812 if (PyErr_Occurred()) SWIG_fail;
9813 }
36ed4f51 9814 resultobj = SWIG_From_int((result));
d55e5bfc
RD
9815 return resultobj;
9816 fail:
9817 return NULL;
9818}
9819
9820
c370783e 9821static PyObject * SashEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9822 PyObject *obj;
9823 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9824 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
9825 Py_INCREF(obj);
9826 return Py_BuildValue((char *)"");
9827}
c370783e 9828static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9829 PyObject *resultobj = NULL;
d55e5bfc
RD
9830 int arg1 = (int) 0 ;
9831 wxQueryLayoutInfoEvent *result;
9832 PyObject * obj0 = 0 ;
9833 char *kwnames[] = {
9834 (char *) "id", NULL
9835 };
9836
9837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
9838 if (obj0) {
36ed4f51 9839 {
32fe5131 9840 arg1 = static_cast<int >(SWIG_As_int(obj0));
36ed4f51
RD
9841 if (SWIG_arg_fail(1)) SWIG_fail;
9842 }
d55e5bfc
RD
9843 }
9844 {
9845 PyThreadState* __tstate = wxPyBeginAllowThreads();
9846 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
9847
9848 wxPyEndAllowThreads(__tstate);
9849 if (PyErr_Occurred()) SWIG_fail;
9850 }
9851 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
9852 return resultobj;
9853 fail:
9854 return NULL;
9855}
9856
9857
c370783e 9858static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9859 PyObject *resultobj = NULL;
d55e5bfc
RD
9860 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9861 int arg2 ;
9862 PyObject * obj0 = 0 ;
9863 PyObject * obj1 = 0 ;
9864 char *kwnames[] = {
9865 (char *) "self",(char *) "length", NULL
9866 };
9867
9868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9869 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9870 if (SWIG_arg_fail(1)) SWIG_fail;
9871 {
32fe5131 9872 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9873 if (SWIG_arg_fail(2)) SWIG_fail;
9874 }
d55e5bfc
RD
9875 {
9876 PyThreadState* __tstate = wxPyBeginAllowThreads();
9877 (arg1)->SetRequestedLength(arg2);
9878
9879 wxPyEndAllowThreads(__tstate);
9880 if (PyErr_Occurred()) SWIG_fail;
9881 }
9882 Py_INCREF(Py_None); resultobj = Py_None;
9883 return resultobj;
9884 fail:
9885 return NULL;
9886}
9887
9888
c370783e 9889static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9890 PyObject *resultobj = NULL;
d55e5bfc
RD
9891 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9892 int result;
9893 PyObject * obj0 = 0 ;
9894 char *kwnames[] = {
9895 (char *) "self", NULL
9896 };
9897
9898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
36ed4f51
RD
9899 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9900 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9901 {
9902 PyThreadState* __tstate = wxPyBeginAllowThreads();
9903 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
9904
9905 wxPyEndAllowThreads(__tstate);
9906 if (PyErr_Occurred()) SWIG_fail;
9907 }
36ed4f51 9908 {
32fe5131 9909 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 9910 }
d55e5bfc
RD
9911 return resultobj;
9912 fail:
9913 return NULL;
9914}
9915
9916
c370783e 9917static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9918 PyObject *resultobj = NULL;
d55e5bfc
RD
9919 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9920 int arg2 ;
9921 PyObject * obj0 = 0 ;
9922 PyObject * obj1 = 0 ;
9923 char *kwnames[] = {
9924 (char *) "self",(char *) "flags", NULL
9925 };
9926
9927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9928 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9929 if (SWIG_arg_fail(1)) SWIG_fail;
9930 {
32fe5131 9931 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9932 if (SWIG_arg_fail(2)) SWIG_fail;
9933 }
d55e5bfc
RD
9934 {
9935 PyThreadState* __tstate = wxPyBeginAllowThreads();
9936 (arg1)->SetFlags(arg2);
9937
9938 wxPyEndAllowThreads(__tstate);
9939 if (PyErr_Occurred()) SWIG_fail;
9940 }
9941 Py_INCREF(Py_None); resultobj = Py_None;
9942 return resultobj;
9943 fail:
9944 return NULL;
9945}
9946
9947
c370783e 9948static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9949 PyObject *resultobj = NULL;
d55e5bfc
RD
9950 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9951 int result;
9952 PyObject * obj0 = 0 ;
9953 char *kwnames[] = {
9954 (char *) "self", NULL
9955 };
9956
9957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
36ed4f51
RD
9958 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9959 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9960 {
9961 PyThreadState* __tstate = wxPyBeginAllowThreads();
9962 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
9963
9964 wxPyEndAllowThreads(__tstate);
9965 if (PyErr_Occurred()) SWIG_fail;
9966 }
36ed4f51 9967 {
32fe5131 9968 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 9969 }
d55e5bfc
RD
9970 return resultobj;
9971 fail:
9972 return NULL;
9973}
9974
9975
c370783e 9976static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9977 PyObject *resultobj = NULL;
d55e5bfc
RD
9978 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9979 wxSize *arg2 = 0 ;
9980 wxSize temp2 ;
9981 PyObject * obj0 = 0 ;
9982 PyObject * obj1 = 0 ;
9983 char *kwnames[] = {
9984 (char *) "self",(char *) "size", NULL
9985 };
9986
9987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9989 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9990 {
9991 arg2 = &temp2;
9992 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
9993 }
9994 {
9995 PyThreadState* __tstate = wxPyBeginAllowThreads();
9996 (arg1)->SetSize((wxSize const &)*arg2);
9997
9998 wxPyEndAllowThreads(__tstate);
9999 if (PyErr_Occurred()) SWIG_fail;
10000 }
10001 Py_INCREF(Py_None); resultobj = Py_None;
10002 return resultobj;
10003 fail:
10004 return NULL;
10005}
10006
10007
c370783e 10008static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10009 PyObject *resultobj = NULL;
d55e5bfc
RD
10010 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
10011 wxSize result;
10012 PyObject * obj0 = 0 ;
10013 char *kwnames[] = {
10014 (char *) "self", NULL
10015 };
10016
10017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
10018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
10019 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10020 {
10021 PyThreadState* __tstate = wxPyBeginAllowThreads();
10022 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
10023
10024 wxPyEndAllowThreads(__tstate);
10025 if (PyErr_Occurred()) SWIG_fail;
10026 }
10027 {
10028 wxSize * resultptr;
32fe5131 10029 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
10030 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
10031 }
10032 return resultobj;
10033 fail:
10034 return NULL;
10035}
10036
10037
c370783e 10038static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10039 PyObject *resultobj = NULL;
d55e5bfc 10040 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
36ed4f51 10041 wxLayoutOrientation arg2 ;
d55e5bfc
RD
10042 PyObject * obj0 = 0 ;
10043 PyObject * obj1 = 0 ;
10044 char *kwnames[] = {
10045 (char *) "self",(char *) "orient", NULL
10046 };
10047
10048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10049 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
10050 if (SWIG_arg_fail(1)) SWIG_fail;
10051 {
32fe5131 10052 arg2 = static_cast<wxLayoutOrientation >(SWIG_As_int(obj1));
36ed4f51
RD
10053 if (SWIG_arg_fail(2)) SWIG_fail;
10054 }
d55e5bfc
RD
10055 {
10056 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 10057 (arg1)->SetOrientation(arg2);
d55e5bfc
RD
10058
10059 wxPyEndAllowThreads(__tstate);
10060 if (PyErr_Occurred()) SWIG_fail;
10061 }
10062 Py_INCREF(Py_None); resultobj = Py_None;
10063 return resultobj;
10064 fail:
10065 return NULL;
10066}
10067
10068
c370783e 10069static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10070 PyObject *resultobj = NULL;
d55e5bfc 10071 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
36ed4f51 10072 wxLayoutOrientation result;
d55e5bfc
RD
10073 PyObject * obj0 = 0 ;
10074 char *kwnames[] = {
10075 (char *) "self", NULL
10076 };
10077
10078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
36ed4f51
RD
10079 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
10080 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10081 {
10082 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10083 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
d55e5bfc
RD
10084
10085 wxPyEndAllowThreads(__tstate);
10086 if (PyErr_Occurred()) SWIG_fail;
10087 }
36ed4f51 10088 resultobj = SWIG_From_int((result));
d55e5bfc
RD
10089 return resultobj;
10090 fail:
10091 return NULL;
10092}
10093
10094
c370783e 10095static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10096 PyObject *resultobj = NULL;
d55e5bfc 10097 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
36ed4f51 10098 wxLayoutAlignment arg2 ;
d55e5bfc
RD
10099 PyObject * obj0 = 0 ;
10100 PyObject * obj1 = 0 ;
10101 char *kwnames[] = {
10102 (char *) "self",(char *) "align", NULL
10103 };
10104
10105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10106 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
10107 if (SWIG_arg_fail(1)) SWIG_fail;
10108 {
32fe5131 10109 arg2 = static_cast<wxLayoutAlignment >(SWIG_As_int(obj1));
36ed4f51
RD
10110 if (SWIG_arg_fail(2)) SWIG_fail;
10111 }
d55e5bfc
RD
10112 {
10113 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 10114 (arg1)->SetAlignment(arg2);
d55e5bfc
RD
10115
10116 wxPyEndAllowThreads(__tstate);
10117 if (PyErr_Occurred()) SWIG_fail;
10118 }
10119 Py_INCREF(Py_None); resultobj = Py_None;
10120 return resultobj;
10121 fail:
10122 return NULL;
10123}
10124
10125
c370783e 10126static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10127 PyObject *resultobj = NULL;
d55e5bfc 10128 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
36ed4f51 10129 wxLayoutAlignment result;
d55e5bfc
RD
10130 PyObject * obj0 = 0 ;
10131 char *kwnames[] = {
10132 (char *) "self", NULL
10133 };
10134
10135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
36ed4f51
RD
10136 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
10137 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10138 {
10139 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10140 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
d55e5bfc
RD
10141
10142 wxPyEndAllowThreads(__tstate);
10143 if (PyErr_Occurred()) SWIG_fail;
10144 }
36ed4f51 10145 resultobj = SWIG_From_int((result));
d55e5bfc
RD
10146 return resultobj;
10147 fail:
10148 return NULL;
10149}
10150
10151
c370783e 10152static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10153 PyObject *obj;
10154 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10155 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
10156 Py_INCREF(obj);
10157 return Py_BuildValue((char *)"");
10158}
c370783e 10159static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10160 PyObject *resultobj = NULL;
d55e5bfc
RD
10161 int arg1 = (int) 0 ;
10162 wxCalculateLayoutEvent *result;
10163 PyObject * obj0 = 0 ;
10164 char *kwnames[] = {
10165 (char *) "id", NULL
10166 };
10167
10168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
10169 if (obj0) {
36ed4f51 10170 {
32fe5131 10171 arg1 = static_cast<int >(SWIG_As_int(obj0));
36ed4f51
RD
10172 if (SWIG_arg_fail(1)) SWIG_fail;
10173 }
d55e5bfc
RD
10174 }
10175 {
10176 PyThreadState* __tstate = wxPyBeginAllowThreads();
10177 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
10178
10179 wxPyEndAllowThreads(__tstate);
10180 if (PyErr_Occurred()) SWIG_fail;
10181 }
10182 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
10183 return resultobj;
10184 fail:
10185 return NULL;
10186}
10187
10188
c370783e 10189static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10190 PyObject *resultobj = NULL;
d55e5bfc
RD
10191 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10192 int arg2 ;
10193 PyObject * obj0 = 0 ;
10194 PyObject * obj1 = 0 ;
10195 char *kwnames[] = {
10196 (char *) "self",(char *) "flags", NULL
10197 };
10198
10199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10200 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10201 if (SWIG_arg_fail(1)) SWIG_fail;
10202 {
32fe5131 10203 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
10204 if (SWIG_arg_fail(2)) SWIG_fail;
10205 }
d55e5bfc
RD
10206 {
10207 PyThreadState* __tstate = wxPyBeginAllowThreads();
10208 (arg1)->SetFlags(arg2);
10209
10210 wxPyEndAllowThreads(__tstate);
10211 if (PyErr_Occurred()) SWIG_fail;
10212 }
10213 Py_INCREF(Py_None); resultobj = Py_None;
10214 return resultobj;
10215 fail:
10216 return NULL;
10217}
10218
10219
c370783e 10220static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10221 PyObject *resultobj = NULL;
d55e5bfc
RD
10222 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10223 int result;
10224 PyObject * obj0 = 0 ;
10225 char *kwnames[] = {
10226 (char *) "self", NULL
10227 };
10228
10229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
36ed4f51
RD
10230 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10231 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10232 {
10233 PyThreadState* __tstate = wxPyBeginAllowThreads();
10234 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
10235
10236 wxPyEndAllowThreads(__tstate);
10237 if (PyErr_Occurred()) SWIG_fail;
10238 }
36ed4f51 10239 {
32fe5131 10240 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 10241 }
d55e5bfc
RD
10242 return resultobj;
10243 fail:
10244 return NULL;
10245}
10246
10247
c370783e 10248static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10249 PyObject *resultobj = NULL;
d55e5bfc
RD
10250 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10251 wxRect *arg2 = 0 ;
10252 wxRect temp2 ;
10253 PyObject * obj0 = 0 ;
10254 PyObject * obj1 = 0 ;
10255 char *kwnames[] = {
10256 (char *) "self",(char *) "rect", NULL
10257 };
10258
10259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10260 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10261 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10262 {
10263 arg2 = &temp2;
10264 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10265 }
10266 {
10267 PyThreadState* __tstate = wxPyBeginAllowThreads();
10268 (arg1)->SetRect((wxRect const &)*arg2);
10269
10270 wxPyEndAllowThreads(__tstate);
10271 if (PyErr_Occurred()) SWIG_fail;
10272 }
10273 Py_INCREF(Py_None); resultobj = Py_None;
10274 return resultobj;
10275 fail:
10276 return NULL;
10277}
10278
10279
c370783e 10280static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10281 PyObject *resultobj = NULL;
d55e5bfc
RD
10282 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10283 wxRect result;
10284 PyObject * obj0 = 0 ;
10285 char *kwnames[] = {
10286 (char *) "self", NULL
10287 };
10288
10289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
36ed4f51
RD
10290 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10291 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10292 {
10293 PyThreadState* __tstate = wxPyBeginAllowThreads();
10294 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
10295
10296 wxPyEndAllowThreads(__tstate);
10297 if (PyErr_Occurred()) SWIG_fail;
10298 }
10299 {
10300 wxRect * resultptr;
32fe5131 10301 resultptr = new wxRect(static_cast<wxRect & >(result));
d55e5bfc
RD
10302 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
10303 }
10304 return resultobj;
10305 fail:
10306 return NULL;
10307}
10308
10309
c370783e 10310static PyObject * CalculateLayoutEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10311 PyObject *obj;
10312 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10313 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
10314 Py_INCREF(obj);
10315 return Py_BuildValue((char *)"");
10316}
c370783e 10317static PyObject *_wrap_new_SashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10318 PyObject *resultobj = NULL;
d55e5bfc 10319 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 10320 int arg2 = (int) -1 ;
d55e5bfc
RD
10321 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10322 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10323 wxSize const &arg4_defvalue = wxDefaultSize ;
10324 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10325 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10326 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
10327 wxString *arg6 = (wxString *) &arg6_defvalue ;
10328 wxSashLayoutWindow *result;
10329 wxPoint temp3 ;
10330 wxSize temp4 ;
b411df4a 10331 bool temp6 = false ;
d55e5bfc
RD
10332 PyObject * obj0 = 0 ;
10333 PyObject * obj1 = 0 ;
10334 PyObject * obj2 = 0 ;
10335 PyObject * obj3 = 0 ;
10336 PyObject * obj4 = 0 ;
10337 PyObject * obj5 = 0 ;
10338 char *kwnames[] = {
10339 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10340 };
10341
bfddbb17 10342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
10343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10344 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 10345 if (obj1) {
36ed4f51 10346 {
32fe5131 10347 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
10348 if (SWIG_arg_fail(2)) SWIG_fail;
10349 }
bfddbb17 10350 }
d55e5bfc
RD
10351 if (obj2) {
10352 {
10353 arg3 = &temp3;
10354 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10355 }
10356 }
10357 if (obj3) {
10358 {
10359 arg4 = &temp4;
10360 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10361 }
10362 }
10363 if (obj4) {
36ed4f51 10364 {
32fe5131 10365 arg5 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
10366 if (SWIG_arg_fail(5)) SWIG_fail;
10367 }
d55e5bfc
RD
10368 }
10369 if (obj5) {
10370 {
10371 arg6 = wxString_in_helper(obj5);
10372 if (arg6 == NULL) SWIG_fail;
b411df4a 10373 temp6 = true;
d55e5bfc
RD
10374 }
10375 }
10376 {
0439c23b 10377 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10378 PyThreadState* __tstate = wxPyBeginAllowThreads();
10379 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10380
10381 wxPyEndAllowThreads(__tstate);
110da5b0 10382 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10383 }
10384 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
10385 {
10386 if (temp6)
10387 delete arg6;
10388 }
10389 return resultobj;
10390 fail:
10391 {
10392 if (temp6)
10393 delete arg6;
10394 }
10395 return NULL;
10396}
10397
10398
c370783e 10399static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10400 PyObject *resultobj = NULL;
d55e5bfc
RD
10401 wxSashLayoutWindow *result;
10402 char *kwnames[] = {
10403 NULL
10404 };
10405
10406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
10407 {
0439c23b 10408 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10409 PyThreadState* __tstate = wxPyBeginAllowThreads();
10410 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
10411
10412 wxPyEndAllowThreads(__tstate);
110da5b0 10413 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10414 }
10415 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
10416 return resultobj;
10417 fail:
10418 return NULL;
10419}
10420
10421
c370783e 10422static PyObject *_wrap_SashLayoutWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10423 PyObject *resultobj = NULL;
d55e5bfc
RD
10424 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10425 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17 10426 int arg3 = (int) -1 ;
d55e5bfc
RD
10427 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10428 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10429 wxSize const &arg5_defvalue = wxDefaultSize ;
10430 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10431 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10432 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
10433 wxString *arg7 = (wxString *) &arg7_defvalue ;
10434 bool result;
10435 wxPoint temp4 ;
10436 wxSize temp5 ;
b411df4a 10437 bool temp7 = false ;
d55e5bfc
RD
10438 PyObject * obj0 = 0 ;
10439 PyObject * obj1 = 0 ;
10440 PyObject * obj2 = 0 ;
10441 PyObject * obj3 = 0 ;
10442 PyObject * obj4 = 0 ;
10443 PyObject * obj5 = 0 ;
10444 PyObject * obj6 = 0 ;
10445 char *kwnames[] = {
10446 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10447 };
10448
bfddbb17 10449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
10450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10451 if (SWIG_arg_fail(1)) SWIG_fail;
10452 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10453 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 10454 if (obj2) {
36ed4f51 10455 {
32fe5131 10456 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
10457 if (SWIG_arg_fail(3)) SWIG_fail;
10458 }
bfddbb17 10459 }
d55e5bfc
RD
10460 if (obj3) {
10461 {
10462 arg4 = &temp4;
10463 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10464 }
10465 }
10466 if (obj4) {
10467 {
10468 arg5 = &temp5;
10469 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10470 }
10471 }
10472 if (obj5) {
36ed4f51 10473 {
32fe5131 10474 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
10475 if (SWIG_arg_fail(6)) SWIG_fail;
10476 }
d55e5bfc
RD
10477 }
10478 if (obj6) {
10479 {
10480 arg7 = wxString_in_helper(obj6);
10481 if (arg7 == NULL) SWIG_fail;
b411df4a 10482 temp7 = true;
d55e5bfc
RD
10483 }
10484 }
10485 {
10486 PyThreadState* __tstate = wxPyBeginAllowThreads();
10487 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10488
10489 wxPyEndAllowThreads(__tstate);
10490 if (PyErr_Occurred()) SWIG_fail;
10491 }
10492 {
10493 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10494 }
10495 {
10496 if (temp7)
10497 delete arg7;
10498 }
10499 return resultobj;
10500 fail:
10501 {
10502 if (temp7)
10503 delete arg7;
10504 }
10505 return NULL;
10506}
10507
10508
c370783e 10509static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10510 PyObject *resultobj = NULL;
d55e5bfc 10511 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
36ed4f51 10512 wxLayoutAlignment result;
d55e5bfc
RD
10513 PyObject * obj0 = 0 ;
10514 char *kwnames[] = {
10515 (char *) "self", NULL
10516 };
10517
10518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
36ed4f51
RD
10519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10520 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10521 {
10522 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10523 result = (wxLayoutAlignment)(arg1)->GetAlignment();
d55e5bfc
RD
10524
10525 wxPyEndAllowThreads(__tstate);
10526 if (PyErr_Occurred()) SWIG_fail;
10527 }
36ed4f51 10528 resultobj = SWIG_From_int((result));
d55e5bfc
RD
10529 return resultobj;
10530 fail:
10531 return NULL;
10532}
10533
10534
c370783e 10535static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10536 PyObject *resultobj = NULL;
d55e5bfc 10537 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
36ed4f51 10538 wxLayoutOrientation result;
d55e5bfc
RD
10539 PyObject * obj0 = 0 ;
10540 char *kwnames[] = {
10541 (char *) "self", NULL
10542 };
10543
10544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
36ed4f51
RD
10545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10546 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10547 {
10548 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10549 result = (wxLayoutOrientation)(arg1)->GetOrientation();
d55e5bfc
RD
10550
10551 wxPyEndAllowThreads(__tstate);
10552 if (PyErr_Occurred()) SWIG_fail;
10553 }
36ed4f51 10554 resultobj = SWIG_From_int((result));
d55e5bfc
RD
10555 return resultobj;
10556 fail:
10557 return NULL;
10558}
10559
10560
c370783e 10561static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10562 PyObject *resultobj = NULL;
d55e5bfc 10563 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
36ed4f51 10564 wxLayoutAlignment arg2 ;
d55e5bfc
RD
10565 PyObject * obj0 = 0 ;
10566 PyObject * obj1 = 0 ;
10567 char *kwnames[] = {
10568 (char *) "self",(char *) "alignment", NULL
10569 };
10570
10571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10572 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10573 if (SWIG_arg_fail(1)) SWIG_fail;
10574 {
32fe5131 10575 arg2 = static_cast<wxLayoutAlignment >(SWIG_As_int(obj1));
36ed4f51
RD
10576 if (SWIG_arg_fail(2)) SWIG_fail;
10577 }
d55e5bfc
RD
10578 {
10579 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 10580 (arg1)->SetAlignment(arg2);
d55e5bfc
RD
10581
10582 wxPyEndAllowThreads(__tstate);
10583 if (PyErr_Occurred()) SWIG_fail;
10584 }
10585 Py_INCREF(Py_None); resultobj = Py_None;
10586 return resultobj;
10587 fail:
10588 return NULL;
10589}
10590
10591
c370783e 10592static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10593 PyObject *resultobj = NULL;
d55e5bfc
RD
10594 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10595 wxSize *arg2 = 0 ;
10596 wxSize temp2 ;
10597 PyObject * obj0 = 0 ;
10598 PyObject * obj1 = 0 ;
10599 char *kwnames[] = {
10600 (char *) "self",(char *) "size", NULL
10601 };
10602
10603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10604 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10605 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10606 {
10607 arg2 = &temp2;
10608 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
10609 }
10610 {
10611 PyThreadState* __tstate = wxPyBeginAllowThreads();
10612 (arg1)->SetDefaultSize((wxSize const &)*arg2);
10613
10614 wxPyEndAllowThreads(__tstate);
10615 if (PyErr_Occurred()) SWIG_fail;
10616 }
10617 Py_INCREF(Py_None); resultobj = Py_None;
10618 return resultobj;
10619 fail:
10620 return NULL;
10621}
10622
10623
c370783e 10624static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10625 PyObject *resultobj = NULL;
d55e5bfc 10626 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
36ed4f51 10627 wxLayoutOrientation arg2 ;
d55e5bfc
RD
10628 PyObject * obj0 = 0 ;
10629 PyObject * obj1 = 0 ;
10630 char *kwnames[] = {
10631 (char *) "self",(char *) "orientation", NULL
10632 };
10633
10634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10635 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10636 if (SWIG_arg_fail(1)) SWIG_fail;
10637 {
32fe5131 10638 arg2 = static_cast<wxLayoutOrientation >(SWIG_As_int(obj1));
36ed4f51
RD
10639 if (SWIG_arg_fail(2)) SWIG_fail;
10640 }
d55e5bfc
RD
10641 {
10642 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 10643 (arg1)->SetOrientation(arg2);
d55e5bfc
RD
10644
10645 wxPyEndAllowThreads(__tstate);
10646 if (PyErr_Occurred()) SWIG_fail;
10647 }
10648 Py_INCREF(Py_None); resultobj = Py_None;
10649 return resultobj;
10650 fail:
10651 return NULL;
10652}
10653
10654
c370783e 10655static PyObject * SashLayoutWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10656 PyObject *obj;
10657 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10658 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
10659 Py_INCREF(obj);
10660 return Py_BuildValue((char *)"");
10661}
c370783e 10662static PyObject *_wrap_new_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10663 PyObject *resultobj = NULL;
d55e5bfc
RD
10664 wxLayoutAlgorithm *result;
10665 char *kwnames[] = {
10666 NULL
10667 };
10668
10669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
10670 {
10671 PyThreadState* __tstate = wxPyBeginAllowThreads();
10672 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
10673
10674 wxPyEndAllowThreads(__tstate);
10675 if (PyErr_Occurred()) SWIG_fail;
10676 }
10677 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
10678 return resultobj;
10679 fail:
10680 return NULL;
10681}
10682
10683
c370783e 10684static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10685 PyObject *resultobj = NULL;
d55e5bfc
RD
10686 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10687 PyObject * obj0 = 0 ;
10688 char *kwnames[] = {
10689 (char *) "self", NULL
10690 };
10691
10692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
36ed4f51
RD
10693 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10694 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10695 {
10696 PyThreadState* __tstate = wxPyBeginAllowThreads();
10697 delete arg1;
10698
10699 wxPyEndAllowThreads(__tstate);
10700 if (PyErr_Occurred()) SWIG_fail;
10701 }
10702 Py_INCREF(Py_None); resultobj = Py_None;
10703 return resultobj;
10704 fail:
10705 return NULL;
10706}
10707
10708
c370783e 10709static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10710 PyObject *resultobj = NULL;
d55e5bfc
RD
10711 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10712 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
10713 wxRect *arg3 = (wxRect *) NULL ;
10714 bool result;
10715 PyObject * obj0 = 0 ;
10716 PyObject * obj1 = 0 ;
10717 PyObject * obj2 = 0 ;
10718 char *kwnames[] = {
10719 (char *) "self",(char *) "frame",(char *) "rect", NULL
10720 };
10721
10722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
10723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10724 if (SWIG_arg_fail(1)) SWIG_fail;
10725 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
10726 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 10727 if (obj2) {
36ed4f51
RD
10728 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
10729 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
10730 }
10731 {
10732 PyThreadState* __tstate = wxPyBeginAllowThreads();
10733 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
10734
10735 wxPyEndAllowThreads(__tstate);
10736 if (PyErr_Occurred()) SWIG_fail;
10737 }
10738 {
10739 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10740 }
10741 return resultobj;
10742 fail:
10743 return NULL;
10744}
10745
10746
c370783e 10747static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10748 PyObject *resultobj = NULL;
d55e5bfc
RD
10749 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10750 wxFrame *arg2 = (wxFrame *) 0 ;
10751 wxWindow *arg3 = (wxWindow *) NULL ;
10752 bool result;
10753 PyObject * obj0 = 0 ;
10754 PyObject * obj1 = 0 ;
10755 PyObject * obj2 = 0 ;
10756 char *kwnames[] = {
10757 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
10758 };
10759
10760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
10761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10762 if (SWIG_arg_fail(1)) SWIG_fail;
10763 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
10764 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 10765 if (obj2) {
36ed4f51
RD
10766 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10767 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
10768 }
10769 {
10770 PyThreadState* __tstate = wxPyBeginAllowThreads();
10771 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
10772
10773 wxPyEndAllowThreads(__tstate);
10774 if (PyErr_Occurred()) SWIG_fail;
10775 }
10776 {
10777 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10778 }
10779 return resultobj;
10780 fail:
10781 return NULL;
10782}
10783
10784
c370783e 10785static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10786 PyObject *resultobj = NULL;
d55e5bfc
RD
10787 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10788 wxWindow *arg2 = (wxWindow *) 0 ;
10789 wxWindow *arg3 = (wxWindow *) NULL ;
10790 bool result;
10791 PyObject * obj0 = 0 ;
10792 PyObject * obj1 = 0 ;
10793 PyObject * obj2 = 0 ;
10794 char *kwnames[] = {
10795 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
10796 };
10797
10798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
10799 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10800 if (SWIG_arg_fail(1)) SWIG_fail;
10801 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10802 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 10803 if (obj2) {
36ed4f51
RD
10804 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10805 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
10806 }
10807 {
10808 PyThreadState* __tstate = wxPyBeginAllowThreads();
10809 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
10810
10811 wxPyEndAllowThreads(__tstate);
10812 if (PyErr_Occurred()) SWIG_fail;
10813 }
10814 {
10815 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10816 }
10817 return resultobj;
10818 fail:
10819 return NULL;
10820}
10821
10822
c370783e 10823static PyObject * LayoutAlgorithm_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10824 PyObject *obj;
10825 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10826 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
10827 Py_INCREF(obj);
10828 return Py_BuildValue((char *)"");
10829}
c370783e 10830static PyObject *_wrap_new_PopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10831 PyObject *resultobj = NULL;
d55e5bfc
RD
10832 wxWindow *arg1 = (wxWindow *) 0 ;
10833 int arg2 = (int) wxBORDER_NONE ;
10834 wxPopupWindow *result;
10835 PyObject * obj0 = 0 ;
10836 PyObject * obj1 = 0 ;
10837 char *kwnames[] = {
10838 (char *) "parent",(char *) "flags", NULL
10839 };
10840
10841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10842 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10843 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 10844 if (obj1) {
36ed4f51 10845 {
32fe5131 10846 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
10847 if (SWIG_arg_fail(2)) SWIG_fail;
10848 }
d55e5bfc
RD
10849 }
10850 {
10851 PyThreadState* __tstate = wxPyBeginAllowThreads();
10852 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
10853
10854 wxPyEndAllowThreads(__tstate);
10855 if (PyErr_Occurred()) SWIG_fail;
10856 }
10857 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
10858 return resultobj;
10859 fail:
10860 return NULL;
10861}
10862
10863
c370783e 10864static PyObject *_wrap_new_PrePopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10865 PyObject *resultobj = NULL;
d55e5bfc
RD
10866 wxPopupWindow *result;
10867 char *kwnames[] = {
10868 NULL
10869 };
10870
10871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
10872 {
10873 PyThreadState* __tstate = wxPyBeginAllowThreads();
10874 result = (wxPopupWindow *)new wxPopupWindow();
10875
10876 wxPyEndAllowThreads(__tstate);
10877 if (PyErr_Occurred()) SWIG_fail;
10878 }
10879 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
10880 return resultobj;
10881 fail:
10882 return NULL;
10883}
10884
10885
c370783e 10886static PyObject * PopupWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10887 PyObject *obj;
10888 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10889 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
10890 Py_INCREF(obj);
10891 return Py_BuildValue((char *)"");
10892}
c370783e 10893static PyObject *_wrap_new_PopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10894 PyObject *resultobj = NULL;
d55e5bfc
RD
10895 wxWindow *arg1 = (wxWindow *) 0 ;
10896 int arg2 = (int) wxBORDER_NONE ;
10897 wxPyPopupTransientWindow *result;
10898 PyObject * obj0 = 0 ;
10899 PyObject * obj1 = 0 ;
10900 char *kwnames[] = {
10901 (char *) "parent",(char *) "style", NULL
10902 };
10903
10904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10905 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10906 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 10907 if (obj1) {
36ed4f51 10908 {
32fe5131 10909 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
10910 if (SWIG_arg_fail(2)) SWIG_fail;
10911 }
d55e5bfc
RD
10912 }
10913 {
10914 PyThreadState* __tstate = wxPyBeginAllowThreads();
10915 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
10916
10917 wxPyEndAllowThreads(__tstate);
10918 if (PyErr_Occurred()) SWIG_fail;
10919 }
10920 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
10921 return resultobj;
10922 fail:
10923 return NULL;
10924}
10925
10926
c370783e 10927static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10928 PyObject *resultobj = NULL;
d55e5bfc
RD
10929 wxPyPopupTransientWindow *result;
10930 char *kwnames[] = {
10931 NULL
10932 };
10933
10934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
10935 {
10936 PyThreadState* __tstate = wxPyBeginAllowThreads();
10937 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
10938
10939 wxPyEndAllowThreads(__tstate);
10940 if (PyErr_Occurred()) SWIG_fail;
10941 }
10942 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
10943 return resultobj;
10944 fail:
10945 return NULL;
10946}
10947
10948
c370783e 10949static PyObject * PopupTransientWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10950 PyObject *obj;
10951 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10952 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
10953 Py_INCREF(obj);
10954 return Py_BuildValue((char *)"");
10955}
c370783e 10956static PyObject *_wrap_new_TipWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10957 PyObject *resultobj = NULL;
d55e5bfc
RD
10958 wxWindow *arg1 = (wxWindow *) 0 ;
10959 wxString *arg2 = 0 ;
10960 int arg3 = (int) 100 ;
10961 wxRect *arg4 = (wxRect *) NULL ;
10962 wxTipWindow *result;
b411df4a 10963 bool temp2 = false ;
d55e5bfc
RD
10964 PyObject * obj0 = 0 ;
10965 PyObject * obj1 = 0 ;
10966 PyObject * obj2 = 0 ;
10967 PyObject * obj3 = 0 ;
10968 char *kwnames[] = {
10969 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
10970 };
10971
10972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
10973 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10974 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10975 {
10976 arg2 = wxString_in_helper(obj1);
10977 if (arg2 == NULL) SWIG_fail;
b411df4a 10978 temp2 = true;
d55e5bfc
RD
10979 }
10980 if (obj2) {
36ed4f51 10981 {
32fe5131 10982 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
10983 if (SWIG_arg_fail(3)) SWIG_fail;
10984 }
d55e5bfc
RD
10985 }
10986 if (obj3) {
36ed4f51
RD
10987 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
10988 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
10989 }
10990 {
0439c23b 10991 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10992 PyThreadState* __tstate = wxPyBeginAllowThreads();
10993 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
10994
10995 wxPyEndAllowThreads(__tstate);
110da5b0 10996 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10997 }
10998 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
10999 {
11000 if (temp2)
11001 delete arg2;
11002 }
11003 return resultobj;
11004 fail:
11005 {
11006 if (temp2)
11007 delete arg2;
11008 }
11009 return NULL;
11010}
11011
11012
c370783e 11013static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11014 PyObject *resultobj = NULL;
d55e5bfc
RD
11015 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
11016 wxRect *arg2 = 0 ;
11017 wxRect temp2 ;
11018 PyObject * obj0 = 0 ;
11019 PyObject * obj1 = 0 ;
11020 char *kwnames[] = {
11021 (char *) "self",(char *) "rectBound", NULL
11022 };
11023
11024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11025 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipWindow, SWIG_POINTER_EXCEPTION | 0);
11026 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11027 {
11028 arg2 = &temp2;
11029 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11030 }
11031 {
11032 PyThreadState* __tstate = wxPyBeginAllowThreads();
11033 (arg1)->SetBoundingRect((wxRect const &)*arg2);
11034
11035 wxPyEndAllowThreads(__tstate);
11036 if (PyErr_Occurred()) SWIG_fail;
11037 }
11038 Py_INCREF(Py_None); resultobj = Py_None;
11039 return resultobj;
11040 fail:
11041 return NULL;
11042}
11043
11044
c370783e 11045static PyObject *_wrap_TipWindow_Close(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11046 PyObject *resultobj = NULL;
d55e5bfc
RD
11047 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
11048 PyObject * obj0 = 0 ;
11049 char *kwnames[] = {
11050 (char *) "self", NULL
11051 };
11052
11053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
36ed4f51
RD
11054 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipWindow, SWIG_POINTER_EXCEPTION | 0);
11055 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11056 {
11057 PyThreadState* __tstate = wxPyBeginAllowThreads();
11058 (arg1)->Close();
11059
11060 wxPyEndAllowThreads(__tstate);
11061 if (PyErr_Occurred()) SWIG_fail;
11062 }
11063 Py_INCREF(Py_None); resultobj = Py_None;
11064 return resultobj;
11065 fail:
11066 return NULL;
11067}
11068
11069
c370783e 11070static PyObject * TipWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11071 PyObject *obj;
11072 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11073 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
11074 Py_INCREF(obj);
11075 return Py_BuildValue((char *)"");
11076}
c370783e 11077static PyObject *_wrap_new_VScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11078 PyObject *resultobj = NULL;
d55e5bfc
RD
11079 wxWindow *arg1 = (wxWindow *) 0 ;
11080 int arg2 = (int) wxID_ANY ;
11081 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11082 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11083 wxSize const &arg4_defvalue = wxDefaultSize ;
11084 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11085 long arg5 = (long) 0 ;
11086 wxString const &arg6_defvalue = wxPyPanelNameStr ;
11087 wxString *arg6 = (wxString *) &arg6_defvalue ;
11088 wxPyVScrolledWindow *result;
11089 wxPoint temp3 ;
11090 wxSize temp4 ;
b411df4a 11091 bool temp6 = false ;
d55e5bfc
RD
11092 PyObject * obj0 = 0 ;
11093 PyObject * obj1 = 0 ;
11094 PyObject * obj2 = 0 ;
11095 PyObject * obj3 = 0 ;
11096 PyObject * obj4 = 0 ;
11097 PyObject * obj5 = 0 ;
11098 char *kwnames[] = {
11099 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11100 };
11101
11102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
11103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11104 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 11105 if (obj1) {
36ed4f51 11106 {
32fe5131 11107 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
11108 if (SWIG_arg_fail(2)) SWIG_fail;
11109 }
d55e5bfc
RD
11110 }
11111 if (obj2) {
11112 {
11113 arg3 = &temp3;
11114 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11115 }
11116 }
11117 if (obj3) {
11118 {
11119 arg4 = &temp4;
11120 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11121 }
11122 }
11123 if (obj4) {
36ed4f51 11124 {
32fe5131 11125 arg5 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
11126 if (SWIG_arg_fail(5)) SWIG_fail;
11127 }
d55e5bfc
RD
11128 }
11129 if (obj5) {
11130 {
11131 arg6 = wxString_in_helper(obj5);
11132 if (arg6 == NULL) SWIG_fail;
b411df4a 11133 temp6 = true;
d55e5bfc
RD
11134 }
11135 }
11136 {
0439c23b 11137 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11138 PyThreadState* __tstate = wxPyBeginAllowThreads();
11139 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11140
11141 wxPyEndAllowThreads(__tstate);
110da5b0 11142 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11143 }
11144 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
11145 {
11146 if (temp6)
11147 delete arg6;
11148 }
11149 return resultobj;
11150 fail:
11151 {
11152 if (temp6)
11153 delete arg6;
11154 }
11155 return NULL;
11156}
11157
11158
c370783e 11159static PyObject *_wrap_new_PreVScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11160 PyObject *resultobj = NULL;
d55e5bfc
RD
11161 wxPyVScrolledWindow *result;
11162 char *kwnames[] = {
11163 NULL
11164 };
11165
11166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
11167 {
0439c23b 11168 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11169 PyThreadState* __tstate = wxPyBeginAllowThreads();
11170 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
11171
11172 wxPyEndAllowThreads(__tstate);
110da5b0 11173 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11174 }
11175 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
11176 return resultobj;
11177 fail:
11178 return NULL;
11179}
11180
11181
c370783e 11182static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11183 PyObject *resultobj = NULL;
d55e5bfc
RD
11184 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11185 PyObject *arg2 = (PyObject *) 0 ;
11186 PyObject *arg3 = (PyObject *) 0 ;
11187 PyObject * obj0 = 0 ;
11188 PyObject * obj1 = 0 ;
11189 PyObject * obj2 = 0 ;
11190 char *kwnames[] = {
11191 (char *) "self",(char *) "self",(char *) "_class", NULL
11192 };
11193
11194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
11195 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11196 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11197 arg2 = obj1;
11198 arg3 = obj2;
11199 {
11200 PyThreadState* __tstate = wxPyBeginAllowThreads();
11201 (arg1)->_setCallbackInfo(arg2,arg3);
11202
11203 wxPyEndAllowThreads(__tstate);
11204 if (PyErr_Occurred()) SWIG_fail;
11205 }
11206 Py_INCREF(Py_None); resultobj = Py_None;
11207 return resultobj;
11208 fail:
11209 return NULL;
11210}
11211
11212
c370783e 11213static PyObject *_wrap_VScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11214 PyObject *resultobj = NULL;
d55e5bfc
RD
11215 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11216 wxWindow *arg2 = (wxWindow *) 0 ;
11217 int arg3 = (int) wxID_ANY ;
11218 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11219 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11220 wxSize const &arg5_defvalue = wxDefaultSize ;
11221 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11222 long arg6 = (long) 0 ;
11223 wxString const &arg7_defvalue = wxPyPanelNameStr ;
11224 wxString *arg7 = (wxString *) &arg7_defvalue ;
11225 bool result;
11226 wxPoint temp4 ;
11227 wxSize temp5 ;
b411df4a 11228 bool temp7 = false ;
d55e5bfc
RD
11229 PyObject * obj0 = 0 ;
11230 PyObject * obj1 = 0 ;
11231 PyObject * obj2 = 0 ;
11232 PyObject * obj3 = 0 ;
11233 PyObject * obj4 = 0 ;
11234 PyObject * obj5 = 0 ;
11235 PyObject * obj6 = 0 ;
11236 char *kwnames[] = {
11237 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11238 };
11239
11240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
11241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11242 if (SWIG_arg_fail(1)) SWIG_fail;
11243 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11244 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 11245 if (obj2) {
36ed4f51 11246 {
32fe5131 11247 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
11248 if (SWIG_arg_fail(3)) SWIG_fail;
11249 }
d55e5bfc
RD
11250 }
11251 if (obj3) {
11252 {
11253 arg4 = &temp4;
11254 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11255 }
11256 }
11257 if (obj4) {
11258 {
11259 arg5 = &temp5;
11260 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11261 }
11262 }
11263 if (obj5) {
36ed4f51 11264 {
32fe5131 11265 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
11266 if (SWIG_arg_fail(6)) SWIG_fail;
11267 }
d55e5bfc
RD
11268 }
11269 if (obj6) {
11270 {
11271 arg7 = wxString_in_helper(obj6);
11272 if (arg7 == NULL) SWIG_fail;
b411df4a 11273 temp7 = true;
d55e5bfc
RD
11274 }
11275 }
11276 {
11277 PyThreadState* __tstate = wxPyBeginAllowThreads();
11278 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11279
11280 wxPyEndAllowThreads(__tstate);
11281 if (PyErr_Occurred()) SWIG_fail;
11282 }
11283 {
11284 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11285 }
11286 {
11287 if (temp7)
11288 delete arg7;
11289 }
11290 return resultobj;
11291 fail:
11292 {
11293 if (temp7)
11294 delete arg7;
11295 }
11296 return NULL;
11297}
11298
11299
c370783e 11300static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11301 PyObject *resultobj = NULL;
d55e5bfc
RD
11302 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11303 size_t arg2 ;
11304 PyObject * obj0 = 0 ;
11305 PyObject * obj1 = 0 ;
11306 char *kwnames[] = {
11307 (char *) "self",(char *) "count", NULL
11308 };
11309
11310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11311 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11312 if (SWIG_arg_fail(1)) SWIG_fail;
11313 {
32fe5131 11314 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
11315 if (SWIG_arg_fail(2)) SWIG_fail;
11316 }
d55e5bfc
RD
11317 {
11318 PyThreadState* __tstate = wxPyBeginAllowThreads();
11319 (arg1)->SetLineCount(arg2);
11320
11321 wxPyEndAllowThreads(__tstate);
11322 if (PyErr_Occurred()) SWIG_fail;
11323 }
11324 Py_INCREF(Py_None); resultobj = Py_None;
11325 return resultobj;
11326 fail:
11327 return NULL;
11328}
11329
11330
c370783e 11331static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11332 PyObject *resultobj = NULL;
d55e5bfc
RD
11333 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11334 size_t arg2 ;
11335 bool result;
11336 PyObject * obj0 = 0 ;
11337 PyObject * obj1 = 0 ;
11338 char *kwnames[] = {
11339 (char *) "self",(char *) "line", NULL
11340 };
11341
11342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11344 if (SWIG_arg_fail(1)) SWIG_fail;
11345 {
32fe5131 11346 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
11347 if (SWIG_arg_fail(2)) SWIG_fail;
11348 }
d55e5bfc
RD
11349 {
11350 PyThreadState* __tstate = wxPyBeginAllowThreads();
11351 result = (bool)(arg1)->ScrollToLine(arg2);
11352
11353 wxPyEndAllowThreads(__tstate);
11354 if (PyErr_Occurred()) SWIG_fail;
11355 }
11356 {
11357 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11358 }
11359 return resultobj;
11360 fail:
11361 return NULL;
11362}
11363
11364
c370783e 11365static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11366 PyObject *resultobj = NULL;
d55e5bfc
RD
11367 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11368 int arg2 ;
11369 bool result;
11370 PyObject * obj0 = 0 ;
11371 PyObject * obj1 = 0 ;
11372 char *kwnames[] = {
11373 (char *) "self",(char *) "lines", NULL
11374 };
11375
11376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11378 if (SWIG_arg_fail(1)) SWIG_fail;
11379 {
32fe5131 11380 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
11381 if (SWIG_arg_fail(2)) SWIG_fail;
11382 }
d55e5bfc
RD
11383 {
11384 PyThreadState* __tstate = wxPyBeginAllowThreads();
11385 result = (bool)(arg1)->ScrollLines(arg2);
11386
11387 wxPyEndAllowThreads(__tstate);
11388 if (PyErr_Occurred()) SWIG_fail;
11389 }
11390 {
11391 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11392 }
11393 return resultobj;
11394 fail:
11395 return NULL;
11396}
11397
11398
c370783e 11399static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11400 PyObject *resultobj = NULL;
d55e5bfc
RD
11401 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11402 int arg2 ;
11403 bool result;
11404 PyObject * obj0 = 0 ;
11405 PyObject * obj1 = 0 ;
11406 char *kwnames[] = {
11407 (char *) "self",(char *) "pages", NULL
11408 };
11409
11410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11411 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11412 if (SWIG_arg_fail(1)) SWIG_fail;
11413 {
32fe5131 11414 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
11415 if (SWIG_arg_fail(2)) SWIG_fail;
11416 }
d55e5bfc
RD
11417 {
11418 PyThreadState* __tstate = wxPyBeginAllowThreads();
11419 result = (bool)(arg1)->ScrollPages(arg2);
11420
11421 wxPyEndAllowThreads(__tstate);
11422 if (PyErr_Occurred()) SWIG_fail;
11423 }
11424 {
11425 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11426 }
11427 return resultobj;
11428 fail:
11429 return NULL;
11430}
11431
11432
c370783e 11433static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11434 PyObject *resultobj = NULL;
d55e5bfc
RD
11435 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11436 size_t arg2 ;
11437 PyObject * obj0 = 0 ;
11438 PyObject * obj1 = 0 ;
11439 char *kwnames[] = {
11440 (char *) "self",(char *) "line", NULL
11441 };
11442
11443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11445 if (SWIG_arg_fail(1)) SWIG_fail;
11446 {
32fe5131 11447 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
11448 if (SWIG_arg_fail(2)) SWIG_fail;
11449 }
d55e5bfc
RD
11450 {
11451 PyThreadState* __tstate = wxPyBeginAllowThreads();
11452 (arg1)->RefreshLine(arg2);
11453
11454 wxPyEndAllowThreads(__tstate);
11455 if (PyErr_Occurred()) SWIG_fail;
11456 }
11457 Py_INCREF(Py_None); resultobj = Py_None;
11458 return resultobj;
11459 fail:
11460 return NULL;
11461}
11462
11463
c370783e 11464static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11465 PyObject *resultobj = NULL;
d55e5bfc
RD
11466 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11467 size_t arg2 ;
11468 size_t arg3 ;
11469 PyObject * obj0 = 0 ;
11470 PyObject * obj1 = 0 ;
11471 PyObject * obj2 = 0 ;
11472 char *kwnames[] = {
11473 (char *) "self",(char *) "from",(char *) "to", NULL
11474 };
11475
11476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
11477 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11478 if (SWIG_arg_fail(1)) SWIG_fail;
11479 {
32fe5131 11480 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
11481 if (SWIG_arg_fail(2)) SWIG_fail;
11482 }
11483 {
32fe5131 11484 arg3 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2));
36ed4f51
RD
11485 if (SWIG_arg_fail(3)) SWIG_fail;
11486 }
d55e5bfc
RD
11487 {
11488 PyThreadState* __tstate = wxPyBeginAllowThreads();
11489 (arg1)->RefreshLines(arg2,arg3);
11490
11491 wxPyEndAllowThreads(__tstate);
11492 if (PyErr_Occurred()) SWIG_fail;
11493 }
11494 Py_INCREF(Py_None); resultobj = Py_None;
11495 return resultobj;
11496 fail:
11497 return NULL;
11498}
11499
11500
c370783e 11501static PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11502 PyObject *resultobj = NULL;
d55e5bfc
RD
11503 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11504 int arg2 ;
11505 int arg3 ;
11506 int result;
11507 PyObject * obj0 = 0 ;
11508 PyObject * obj1 = 0 ;
11509 PyObject * obj2 = 0 ;
11510 char *kwnames[] = {
11511 (char *) "self",(char *) "x",(char *) "y", NULL
11512 };
11513
03ee685a 11514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
11515 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11516 if (SWIG_arg_fail(1)) SWIG_fail;
11517 {
32fe5131 11518 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
11519 if (SWIG_arg_fail(2)) SWIG_fail;
11520 }
11521 {
32fe5131 11522 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
11523 if (SWIG_arg_fail(3)) SWIG_fail;
11524 }
d55e5bfc
RD
11525 {
11526 PyThreadState* __tstate = wxPyBeginAllowThreads();
11527 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
11528
11529 wxPyEndAllowThreads(__tstate);
11530 if (PyErr_Occurred()) SWIG_fail;
11531 }
36ed4f51 11532 {
32fe5131 11533 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 11534 }
d55e5bfc
RD
11535 return resultobj;
11536 fail:
11537 return NULL;
11538}
11539
11540
c370783e 11541static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11542 PyObject *resultobj = NULL;
d55e5bfc
RD
11543 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11544 wxPoint *arg2 = 0 ;
11545 int result;
11546 wxPoint temp2 ;
11547 PyObject * obj0 = 0 ;
11548 PyObject * obj1 = 0 ;
11549 char *kwnames[] = {
11550 (char *) "self",(char *) "pt", NULL
11551 };
11552
11553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11554 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11555 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11556 {
11557 arg2 = &temp2;
11558 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11559 }
11560 {
11561 PyThreadState* __tstate = wxPyBeginAllowThreads();
11562 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
11563
11564 wxPyEndAllowThreads(__tstate);
11565 if (PyErr_Occurred()) SWIG_fail;
11566 }
36ed4f51 11567 {
32fe5131 11568 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 11569 }
d55e5bfc
RD
11570 return resultobj;
11571 fail:
11572 return NULL;
11573}
11574
11575
c370783e 11576static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11577 PyObject *resultobj = NULL;
d55e5bfc
RD
11578 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11579 PyObject * obj0 = 0 ;
11580 char *kwnames[] = {
11581 (char *) "self", NULL
11582 };
11583
11584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
36ed4f51
RD
11585 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11586 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11587 {
11588 PyThreadState* __tstate = wxPyBeginAllowThreads();
11589 (arg1)->RefreshAll();
11590
11591 wxPyEndAllowThreads(__tstate);
11592 if (PyErr_Occurred()) SWIG_fail;
11593 }
11594 Py_INCREF(Py_None); resultobj = Py_None;
11595 return resultobj;
11596 fail:
11597 return NULL;
11598}
11599
11600
c370783e 11601static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11602 PyObject *resultobj = NULL;
d55e5bfc
RD
11603 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11604 size_t result;
11605 PyObject * obj0 = 0 ;
11606 char *kwnames[] = {
11607 (char *) "self", NULL
11608 };
11609
11610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
11611 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11612 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11613 {
11614 PyThreadState* __tstate = wxPyBeginAllowThreads();
11615 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
11616
11617 wxPyEndAllowThreads(__tstate);
11618 if (PyErr_Occurred()) SWIG_fail;
11619 }
36ed4f51 11620 {
32fe5131 11621 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
36ed4f51 11622 }
d55e5bfc
RD
11623 return resultobj;
11624 fail:
11625 return NULL;
11626}
11627
11628
7993762b 11629static PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11630 PyObject *resultobj = NULL;
d55e5bfc
RD
11631 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11632 size_t result;
11633 PyObject * obj0 = 0 ;
11634 char *kwnames[] = {
11635 (char *) "self", NULL
11636 };
11637
7993762b 11638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetVisibleBegin",kwnames,&obj0)) goto fail;
36ed4f51
RD
11639 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11640 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11641 {
11642 PyThreadState* __tstate = wxPyBeginAllowThreads();
7993762b 11643 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
d55e5bfc
RD
11644
11645 wxPyEndAllowThreads(__tstate);
11646 if (PyErr_Occurred()) SWIG_fail;
11647 }
36ed4f51 11648 {
32fe5131 11649 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
36ed4f51 11650 }
d55e5bfc
RD
11651 return resultobj;
11652 fail:
11653 return NULL;
11654}
11655
11656
7993762b 11657static PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11658 PyObject *resultobj = NULL;
d55e5bfc
RD
11659 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11660 size_t result;
11661 PyObject * obj0 = 0 ;
11662 char *kwnames[] = {
11663 (char *) "self", NULL
11664 };
11665
7993762b 11666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetVisibleEnd",kwnames,&obj0)) goto fail;
36ed4f51
RD
11667 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11668 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11669 {
11670 PyThreadState* __tstate = wxPyBeginAllowThreads();
7993762b 11671 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
d55e5bfc
RD
11672
11673 wxPyEndAllowThreads(__tstate);
11674 if (PyErr_Occurred()) SWIG_fail;
11675 }
36ed4f51 11676 {
32fe5131 11677 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
36ed4f51 11678 }
d55e5bfc
RD
11679 return resultobj;
11680 fail:
11681 return NULL;
11682}
11683
11684
c370783e 11685static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11686 PyObject *resultobj = NULL;
d55e5bfc
RD
11687 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11688 size_t arg2 ;
11689 bool result;
11690 PyObject * obj0 = 0 ;
11691 PyObject * obj1 = 0 ;
11692 char *kwnames[] = {
11693 (char *) "self",(char *) "line", NULL
11694 };
11695
11696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11697 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11698 if (SWIG_arg_fail(1)) SWIG_fail;
11699 {
32fe5131 11700 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
11701 if (SWIG_arg_fail(2)) SWIG_fail;
11702 }
d55e5bfc
RD
11703 {
11704 PyThreadState* __tstate = wxPyBeginAllowThreads();
11705 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
11706
11707 wxPyEndAllowThreads(__tstate);
11708 if (PyErr_Occurred()) SWIG_fail;
11709 }
11710 {
11711 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11712 }
11713 return resultobj;
11714 fail:
11715 return NULL;
11716}
11717
11718
7993762b 11719static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11720 PyObject *resultobj = NULL;
7993762b
RD
11721 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11722 size_t result;
11723 PyObject * obj0 = 0 ;
11724 char *kwnames[] = {
11725 (char *) "self", NULL
11726 };
11727
11728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
11729 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11730 if (SWIG_arg_fail(1)) SWIG_fail;
11731 {
11732 PyThreadState* __tstate = wxPyBeginAllowThreads();
11733 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
11734
11735 wxPyEndAllowThreads(__tstate);
11736 if (PyErr_Occurred()) SWIG_fail;
11737 }
11738 {
32fe5131 11739 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
7993762b
RD
11740 }
11741 return resultobj;
11742 fail:
11743 return NULL;
11744}
11745
11746
11747static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11748 PyObject *resultobj = NULL;
7993762b
RD
11749 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11750 size_t result;
11751 PyObject * obj0 = 0 ;
11752 char *kwnames[] = {
11753 (char *) "self", NULL
11754 };
11755
11756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
11757 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11758 if (SWIG_arg_fail(1)) SWIG_fail;
11759 {
11760 PyThreadState* __tstate = wxPyBeginAllowThreads();
11761 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
11762
11763 wxPyEndAllowThreads(__tstate);
11764 if (PyErr_Occurred()) SWIG_fail;
11765 }
11766 {
32fe5131 11767 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
7993762b
RD
11768 }
11769 return resultobj;
11770 fail:
11771 return NULL;
11772}
11773
11774
c370783e 11775static PyObject * VScrolledWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11776 PyObject *obj;
11777 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11778 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
11779 Py_INCREF(obj);
11780 return Py_BuildValue((char *)"");
11781}
c370783e 11782static int _wrap_VListBoxNameStr_set(PyObject *) {
d55e5bfc
RD
11783 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
11784 return 1;
11785}
11786
11787
36ed4f51 11788static PyObject *_wrap_VListBoxNameStr_get(void) {
32fe5131 11789 PyObject *pyobj = NULL;
d55e5bfc
RD
11790
11791 {
11792#if wxUSE_UNICODE
11793 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
11794#else
11795 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
11796#endif
11797 }
11798 return pyobj;
11799}
11800
11801
c370783e 11802static PyObject *_wrap_new_VListBox(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11803 PyObject *resultobj = NULL;
d55e5bfc
RD
11804 wxWindow *arg1 = (wxWindow *) 0 ;
11805 int arg2 = (int) wxID_ANY ;
11806 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11807 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11808 wxSize const &arg4_defvalue = wxDefaultSize ;
11809 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11810 long arg5 = (long) 0 ;
11811 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
11812 wxString *arg6 = (wxString *) &arg6_defvalue ;
11813 wxPyVListBox *result;
11814 wxPoint temp3 ;
11815 wxSize temp4 ;
b411df4a 11816 bool temp6 = false ;
d55e5bfc
RD
11817 PyObject * obj0 = 0 ;
11818 PyObject * obj1 = 0 ;
11819 PyObject * obj2 = 0 ;
11820 PyObject * obj3 = 0 ;
11821 PyObject * obj4 = 0 ;
11822 PyObject * obj5 = 0 ;
11823 char *kwnames[] = {
11824 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11825 };
11826
11827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
11828 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11829 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 11830 if (obj1) {
36ed4f51 11831 {
32fe5131 11832 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
11833 if (SWIG_arg_fail(2)) SWIG_fail;
11834 }
d55e5bfc
RD
11835 }
11836 if (obj2) {
11837 {
11838 arg3 = &temp3;
11839 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11840 }
11841 }
11842 if (obj3) {
11843 {
11844 arg4 = &temp4;
11845 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11846 }
11847 }
11848 if (obj4) {
36ed4f51 11849 {
32fe5131 11850 arg5 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
11851 if (SWIG_arg_fail(5)) SWIG_fail;
11852 }
d55e5bfc
RD
11853 }
11854 if (obj5) {
11855 {
11856 arg6 = wxString_in_helper(obj5);
11857 if (arg6 == NULL) SWIG_fail;
b411df4a 11858 temp6 = true;
d55e5bfc
RD
11859 }
11860 }
11861 {
0439c23b 11862 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11863 PyThreadState* __tstate = wxPyBeginAllowThreads();
11864 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11865
11866 wxPyEndAllowThreads(__tstate);
110da5b0 11867 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11868 }
11869 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
11870 {
11871 if (temp6)
11872 delete arg6;
11873 }
11874 return resultobj;
11875 fail:
11876 {
11877 if (temp6)
11878 delete arg6;
11879 }
11880 return NULL;
11881}
11882
11883
c370783e 11884static PyObject *_wrap_new_PreVListBox(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11885 PyObject *resultobj = NULL;
d55e5bfc
RD
11886 wxPyVListBox *result;
11887 char *kwnames[] = {
11888 NULL
11889 };
11890
11891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
11892 {
0439c23b 11893 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11894 PyThreadState* __tstate = wxPyBeginAllowThreads();
11895 result = (wxPyVListBox *)new wxPyVListBox();
11896
11897 wxPyEndAllowThreads(__tstate);
110da5b0 11898 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11899 }
11900 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
11901 return resultobj;
11902 fail:
11903 return NULL;
11904}
11905
11906
c370783e 11907static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11908 PyObject *resultobj = NULL;
d55e5bfc
RD
11909 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11910 PyObject *arg2 = (PyObject *) 0 ;
11911 PyObject *arg3 = (PyObject *) 0 ;
11912 PyObject * obj0 = 0 ;
11913 PyObject * obj1 = 0 ;
11914 PyObject * obj2 = 0 ;
11915 char *kwnames[] = {
11916 (char *) "self",(char *) "self",(char *) "_class", NULL
11917 };
11918
11919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
11920 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11921 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11922 arg2 = obj1;
11923 arg3 = obj2;
11924 {
11925 PyThreadState* __tstate = wxPyBeginAllowThreads();
11926 (arg1)->_setCallbackInfo(arg2,arg3);
11927
11928 wxPyEndAllowThreads(__tstate);
11929 if (PyErr_Occurred()) SWIG_fail;
11930 }
11931 Py_INCREF(Py_None); resultobj = Py_None;
11932 return resultobj;
11933 fail:
11934 return NULL;
11935}
11936
11937
c370783e 11938static PyObject *_wrap_VListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11939 PyObject *resultobj = NULL;
d55e5bfc
RD
11940 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11941 wxWindow *arg2 = (wxWindow *) 0 ;
11942 int arg3 = (int) wxID_ANY ;
11943 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11944 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11945 wxSize const &arg5_defvalue = wxDefaultSize ;
11946 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11947 long arg6 = (long) 0 ;
11948 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
11949 wxString *arg7 = (wxString *) &arg7_defvalue ;
11950 bool result;
11951 wxPoint temp4 ;
11952 wxSize temp5 ;
b411df4a 11953 bool temp7 = false ;
d55e5bfc
RD
11954 PyObject * obj0 = 0 ;
11955 PyObject * obj1 = 0 ;
11956 PyObject * obj2 = 0 ;
11957 PyObject * obj3 = 0 ;
11958 PyObject * obj4 = 0 ;
11959 PyObject * obj5 = 0 ;
11960 PyObject * obj6 = 0 ;
11961 char *kwnames[] = {
11962 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11963 };
11964
11965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
11966 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11967 if (SWIG_arg_fail(1)) SWIG_fail;
11968 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11969 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 11970 if (obj2) {
36ed4f51 11971 {
32fe5131 11972 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
11973 if (SWIG_arg_fail(3)) SWIG_fail;
11974 }
d55e5bfc
RD
11975 }
11976 if (obj3) {
11977 {
11978 arg4 = &temp4;
11979 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11980 }
11981 }
11982 if (obj4) {
11983 {
11984 arg5 = &temp5;
11985 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11986 }
11987 }
11988 if (obj5) {
36ed4f51 11989 {
32fe5131 11990 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
11991 if (SWIG_arg_fail(6)) SWIG_fail;
11992 }
d55e5bfc
RD
11993 }
11994 if (obj6) {
11995 {
11996 arg7 = wxString_in_helper(obj6);
11997 if (arg7 == NULL) SWIG_fail;
b411df4a 11998 temp7 = true;
d55e5bfc
RD
11999 }
12000 }
12001 {
12002 PyThreadState* __tstate = wxPyBeginAllowThreads();
12003 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12004
12005 wxPyEndAllowThreads(__tstate);
12006 if (PyErr_Occurred()) SWIG_fail;
12007 }
12008 {
12009 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12010 }
12011 {
12012 if (temp7)
12013 delete arg7;
12014 }
12015 return resultobj;
12016 fail:
12017 {
12018 if (temp7)
12019 delete arg7;
12020 }
12021 return NULL;
12022}
12023
12024
c370783e 12025static PyObject *_wrap_VListBox_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12026 PyObject *resultobj = NULL;
d55e5bfc
RD
12027 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12028 size_t result;
12029 PyObject * obj0 = 0 ;
12030 char *kwnames[] = {
12031 (char *) "self", NULL
12032 };
12033
12034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
12035 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12036 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12037 {
12038 PyThreadState* __tstate = wxPyBeginAllowThreads();
12039 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
12040
12041 wxPyEndAllowThreads(__tstate);
12042 if (PyErr_Occurred()) SWIG_fail;
12043 }
36ed4f51 12044 {
32fe5131 12045 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
36ed4f51 12046 }
d55e5bfc
RD
12047 return resultobj;
12048 fail:
12049 return NULL;
12050}
12051
12052
c370783e 12053static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12054 PyObject *resultobj = NULL;
d55e5bfc
RD
12055 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12056 bool result;
12057 PyObject * obj0 = 0 ;
12058 char *kwnames[] = {
12059 (char *) "self", NULL
12060 };
12061
12062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
12063 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12064 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12065 {
12066 PyThreadState* __tstate = wxPyBeginAllowThreads();
12067 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
12068
12069 wxPyEndAllowThreads(__tstate);
12070 if (PyErr_Occurred()) SWIG_fail;
12071 }
12072 {
12073 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12074 }
12075 return resultobj;
12076 fail:
12077 return NULL;
12078}
12079
12080
c370783e 12081static PyObject *_wrap_VListBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12082 PyObject *resultobj = NULL;
d55e5bfc
RD
12083 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12084 int result;
12085 PyObject * obj0 = 0 ;
12086 char *kwnames[] = {
12087 (char *) "self", NULL
12088 };
12089
12090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
12091 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12092 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12093 {
12094 PyThreadState* __tstate = wxPyBeginAllowThreads();
12095 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
12096
12097 wxPyEndAllowThreads(__tstate);
12098 if (PyErr_Occurred()) SWIG_fail;
12099 }
36ed4f51 12100 {
32fe5131 12101 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 12102 }
d55e5bfc
RD
12103 return resultobj;
12104 fail:
12105 return NULL;
12106}
12107
12108
c370783e 12109static PyObject *_wrap_VListBox_IsCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12110 PyObject *resultobj = NULL;
d55e5bfc
RD
12111 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12112 size_t arg2 ;
12113 bool result;
12114 PyObject * obj0 = 0 ;
12115 PyObject * obj1 = 0 ;
12116 char *kwnames[] = {
12117 (char *) "self",(char *) "item", NULL
12118 };
12119
12120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12122 if (SWIG_arg_fail(1)) SWIG_fail;
12123 {
32fe5131 12124 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
12125 if (SWIG_arg_fail(2)) SWIG_fail;
12126 }
d55e5bfc
RD
12127 {
12128 PyThreadState* __tstate = wxPyBeginAllowThreads();
12129 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
12130
12131 wxPyEndAllowThreads(__tstate);
12132 if (PyErr_Occurred()) SWIG_fail;
12133 }
12134 {
12135 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12136 }
12137 return resultobj;
12138 fail:
12139 return NULL;
12140}
12141
12142
c370783e 12143static PyObject *_wrap_VListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12144 PyObject *resultobj = NULL;
d55e5bfc
RD
12145 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12146 size_t arg2 ;
12147 bool result;
12148 PyObject * obj0 = 0 ;
12149 PyObject * obj1 = 0 ;
12150 char *kwnames[] = {
12151 (char *) "self",(char *) "item", NULL
12152 };
12153
12154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12155 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12156 if (SWIG_arg_fail(1)) SWIG_fail;
12157 {
32fe5131 12158 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
12159 if (SWIG_arg_fail(2)) SWIG_fail;
12160 }
d55e5bfc
RD
12161 {
12162 PyThreadState* __tstate = wxPyBeginAllowThreads();
12163 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
12164
12165 wxPyEndAllowThreads(__tstate);
12166 if (PyErr_Occurred()) SWIG_fail;
12167 }
12168 {
12169 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12170 }
12171 return resultobj;
12172 fail:
12173 return NULL;
12174}
12175
12176
c370783e 12177static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12178 PyObject *resultobj = NULL;
d55e5bfc
RD
12179 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12180 size_t result;
12181 PyObject * obj0 = 0 ;
12182 char *kwnames[] = {
12183 (char *) "self", NULL
12184 };
12185
12186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
12187 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12188 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12189 {
12190 PyThreadState* __tstate = wxPyBeginAllowThreads();
12191 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
12192
12193 wxPyEndAllowThreads(__tstate);
12194 if (PyErr_Occurred()) SWIG_fail;
12195 }
36ed4f51 12196 {
32fe5131 12197 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
36ed4f51 12198 }
d55e5bfc
RD
12199 return resultobj;
12200 fail:
12201 return NULL;
12202}
12203
12204
c370783e 12205static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12206 PyObject *resultobj = NULL;
d55e5bfc 12207 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
09c21d3b 12208 PyObject *result;
d55e5bfc 12209 PyObject * obj0 = 0 ;
d55e5bfc 12210 char *kwnames[] = {
09c21d3b 12211 (char *) "self", NULL
d55e5bfc
RD
12212 };
12213
09c21d3b 12214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetFirstSelected",kwnames,&obj0)) goto fail;
36ed4f51
RD
12215 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12216 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12217 {
12218 PyThreadState* __tstate = wxPyBeginAllowThreads();
09c21d3b 12219 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
d55e5bfc
RD
12220
12221 wxPyEndAllowThreads(__tstate);
12222 if (PyErr_Occurred()) SWIG_fail;
12223 }
09c21d3b 12224 resultobj = result;
d55e5bfc
RD
12225 return resultobj;
12226 fail:
12227 return NULL;
12228}
12229
12230
c370783e 12231static PyObject *_wrap_VListBox_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12232 PyObject *resultobj = NULL;
d55e5bfc 12233 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
09c21d3b
RD
12234 unsigned long arg2 ;
12235 PyObject *result;
d55e5bfc
RD
12236 PyObject * obj0 = 0 ;
12237 PyObject * obj1 = 0 ;
12238 char *kwnames[] = {
12239 (char *) "self",(char *) "cookie", NULL
12240 };
12241
12242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12244 if (SWIG_arg_fail(1)) SWIG_fail;
12245 {
32fe5131 12246 arg2 = static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
12247 if (SWIG_arg_fail(2)) SWIG_fail;
12248 }
d55e5bfc
RD
12249 {
12250 PyThreadState* __tstate = wxPyBeginAllowThreads();
09c21d3b 12251 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
d55e5bfc
RD
12252
12253 wxPyEndAllowThreads(__tstate);
12254 if (PyErr_Occurred()) SWIG_fail;
12255 }
09c21d3b 12256 resultobj = result;
d55e5bfc
RD
12257 return resultobj;
12258 fail:
12259 return NULL;
12260}
12261
12262
c370783e 12263static PyObject *_wrap_VListBox_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12264 PyObject *resultobj = NULL;
d55e5bfc
RD
12265 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12266 wxPoint result;
12267 PyObject * obj0 = 0 ;
12268 char *kwnames[] = {
12269 (char *) "self", NULL
12270 };
12271
12272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
36ed4f51
RD
12273 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12274 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12275 {
12276 PyThreadState* __tstate = wxPyBeginAllowThreads();
12277 result = ((wxPyVListBox const *)arg1)->GetMargins();
12278
12279 wxPyEndAllowThreads(__tstate);
12280 if (PyErr_Occurred()) SWIG_fail;
12281 }
12282 {
12283 wxPoint * resultptr;
32fe5131 12284 resultptr = new wxPoint(static_cast<wxPoint & >(result));
d55e5bfc
RD
12285 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
12286 }
12287 return resultobj;
12288 fail:
12289 return NULL;
12290}
12291
12292
c370783e 12293static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12294 PyObject *resultobj = NULL;
d55e5bfc
RD
12295 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12296 wxColour *result;
12297 PyObject * obj0 = 0 ;
12298 char *kwnames[] = {
12299 (char *) "self", NULL
12300 };
12301
12302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
36ed4f51
RD
12303 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12304 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12305 {
12306 PyThreadState* __tstate = wxPyBeginAllowThreads();
12307 {
12308 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
12309 result = (wxColour *) &_result_ref;
12310 }
12311
12312 wxPyEndAllowThreads(__tstate);
12313 if (PyErr_Occurred()) SWIG_fail;
12314 }
12315 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
12316 return resultobj;
12317 fail:
12318 return NULL;
12319}
12320
12321
c370783e 12322static PyObject *_wrap_VListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12323 PyObject *resultobj = NULL;
d55e5bfc
RD
12324 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12325 size_t arg2 ;
12326 PyObject * obj0 = 0 ;
12327 PyObject * obj1 = 0 ;
12328 char *kwnames[] = {
12329 (char *) "self",(char *) "count", NULL
12330 };
12331
12332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12333 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12334 if (SWIG_arg_fail(1)) SWIG_fail;
12335 {
32fe5131 12336 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
12337 if (SWIG_arg_fail(2)) SWIG_fail;
12338 }
d55e5bfc
RD
12339 {
12340 PyThreadState* __tstate = wxPyBeginAllowThreads();
12341 (arg1)->SetItemCount(arg2);
12342
12343 wxPyEndAllowThreads(__tstate);
12344 if (PyErr_Occurred()) SWIG_fail;
12345 }
12346 Py_INCREF(Py_None); resultobj = Py_None;
12347 return resultobj;
12348 fail:
12349 return NULL;
12350}
12351
12352
c370783e 12353static PyObject *_wrap_VListBox_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12354 PyObject *resultobj = NULL;
d55e5bfc
RD
12355 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12356 PyObject * obj0 = 0 ;
12357 char *kwnames[] = {
12358 (char *) "self", NULL
12359 };
12360
12361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
36ed4f51
RD
12362 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12363 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12364 {
12365 PyThreadState* __tstate = wxPyBeginAllowThreads();
12366 (arg1)->Clear();
12367
12368 wxPyEndAllowThreads(__tstate);
12369 if (PyErr_Occurred()) SWIG_fail;
12370 }
12371 Py_INCREF(Py_None); resultobj = Py_None;
12372 return resultobj;
12373 fail:
12374 return NULL;
12375}
12376
12377
c370783e 12378static PyObject *_wrap_VListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12379 PyObject *resultobj = NULL;
d55e5bfc
RD
12380 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12381 int arg2 ;
12382 PyObject * obj0 = 0 ;
12383 PyObject * obj1 = 0 ;
12384 char *kwnames[] = {
12385 (char *) "self",(char *) "selection", NULL
12386 };
12387
12388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12390 if (SWIG_arg_fail(1)) SWIG_fail;
12391 {
32fe5131 12392 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
12393 if (SWIG_arg_fail(2)) SWIG_fail;
12394 }
d55e5bfc
RD
12395 {
12396 PyThreadState* __tstate = wxPyBeginAllowThreads();
12397 (arg1)->SetSelection(arg2);
12398
12399 wxPyEndAllowThreads(__tstate);
12400 if (PyErr_Occurred()) SWIG_fail;
12401 }
12402 Py_INCREF(Py_None); resultobj = Py_None;
12403 return resultobj;
12404 fail:
12405 return NULL;
12406}
12407
12408
c370783e 12409static PyObject *_wrap_VListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12410 PyObject *resultobj = NULL;
d55e5bfc
RD
12411 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12412 size_t arg2 ;
b411df4a 12413 bool arg3 = (bool) true ;
d55e5bfc
RD
12414 bool result;
12415 PyObject * obj0 = 0 ;
12416 PyObject * obj1 = 0 ;
12417 PyObject * obj2 = 0 ;
12418 char *kwnames[] = {
12419 (char *) "self",(char *) "item",(char *) "select", NULL
12420 };
12421
12422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
12423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12424 if (SWIG_arg_fail(1)) SWIG_fail;
12425 {
32fe5131 12426 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
12427 if (SWIG_arg_fail(2)) SWIG_fail;
12428 }
d55e5bfc 12429 if (obj2) {
36ed4f51 12430 {
32fe5131 12431 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
12432 if (SWIG_arg_fail(3)) SWIG_fail;
12433 }
d55e5bfc
RD
12434 }
12435 {
12436 PyThreadState* __tstate = wxPyBeginAllowThreads();
12437 result = (bool)(arg1)->Select(arg2,arg3);
12438
12439 wxPyEndAllowThreads(__tstate);
12440 if (PyErr_Occurred()) SWIG_fail;
12441 }
12442 {
12443 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12444 }
12445 return resultobj;
12446 fail:
12447 return NULL;
12448}
12449
12450
c370783e 12451static PyObject *_wrap_VListBox_SelectRange(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12452 PyObject *resultobj = NULL;
d55e5bfc
RD
12453 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12454 size_t arg2 ;
12455 size_t arg3 ;
12456 bool result;
12457 PyObject * obj0 = 0 ;
12458 PyObject * obj1 = 0 ;
12459 PyObject * obj2 = 0 ;
12460 char *kwnames[] = {
12461 (char *) "self",(char *) "from",(char *) "to", NULL
12462 };
12463
12464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
12465 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12466 if (SWIG_arg_fail(1)) SWIG_fail;
12467 {
32fe5131 12468 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
12469 if (SWIG_arg_fail(2)) SWIG_fail;
12470 }
12471 {
32fe5131 12472 arg3 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2));
36ed4f51
RD
12473 if (SWIG_arg_fail(3)) SWIG_fail;
12474 }
d55e5bfc
RD
12475 {
12476 PyThreadState* __tstate = wxPyBeginAllowThreads();
12477 result = (bool)(arg1)->SelectRange(arg2,arg3);
12478
12479 wxPyEndAllowThreads(__tstate);
12480 if (PyErr_Occurred()) SWIG_fail;
12481 }
12482 {
12483 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12484 }
12485 return resultobj;
12486 fail:
12487 return NULL;
12488}
12489
12490
c370783e 12491static PyObject *_wrap_VListBox_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12492 PyObject *resultobj = NULL;
d55e5bfc
RD
12493 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12494 size_t arg2 ;
12495 PyObject * obj0 = 0 ;
12496 PyObject * obj1 = 0 ;
12497 char *kwnames[] = {
12498 (char *) "self",(char *) "item", NULL
12499 };
12500
12501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12503 if (SWIG_arg_fail(1)) SWIG_fail;
12504 {
32fe5131 12505 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
12506 if (SWIG_arg_fail(2)) SWIG_fail;
12507 }
d55e5bfc
RD
12508 {
12509 PyThreadState* __tstate = wxPyBeginAllowThreads();
12510 (arg1)->Toggle(arg2);
12511
12512 wxPyEndAllowThreads(__tstate);
12513 if (PyErr_Occurred()) SWIG_fail;
12514 }
12515 Py_INCREF(Py_None); resultobj = Py_None;
12516 return resultobj;
12517 fail:
12518 return NULL;
12519}
12520
12521
c370783e 12522static PyObject *_wrap_VListBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12523 PyObject *resultobj = NULL;
d55e5bfc
RD
12524 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12525 bool result;
12526 PyObject * obj0 = 0 ;
12527 char *kwnames[] = {
12528 (char *) "self", NULL
12529 };
12530
12531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
36ed4f51
RD
12532 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12533 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12534 {
12535 PyThreadState* __tstate = wxPyBeginAllowThreads();
12536 result = (bool)(arg1)->SelectAll();
12537
12538 wxPyEndAllowThreads(__tstate);
12539 if (PyErr_Occurred()) SWIG_fail;
12540 }
12541 {
12542 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12543 }
12544 return resultobj;
12545 fail:
12546 return NULL;
12547}
12548
12549
c370783e 12550static PyObject *_wrap_VListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12551 PyObject *resultobj = NULL;
d55e5bfc
RD
12552 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12553 bool result;
12554 PyObject * obj0 = 0 ;
12555 char *kwnames[] = {
12556 (char *) "self", NULL
12557 };
12558
12559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
36ed4f51
RD
12560 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12561 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12562 {
12563 PyThreadState* __tstate = wxPyBeginAllowThreads();
12564 result = (bool)(arg1)->DeselectAll();
12565
12566 wxPyEndAllowThreads(__tstate);
12567 if (PyErr_Occurred()) SWIG_fail;
12568 }
12569 {
12570 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12571 }
12572 return resultobj;
12573 fail:
12574 return NULL;
12575}
12576
12577
c370783e 12578static PyObject *_wrap_VListBox_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12579 PyObject *resultobj = NULL;
d55e5bfc
RD
12580 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12581 wxPoint *arg2 = 0 ;
12582 wxPoint temp2 ;
12583 PyObject * obj0 = 0 ;
12584 PyObject * obj1 = 0 ;
12585 char *kwnames[] = {
12586 (char *) "self",(char *) "pt", NULL
12587 };
12588
12589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12590 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12591 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12592 {
12593 arg2 = &temp2;
12594 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12595 }
12596 {
12597 PyThreadState* __tstate = wxPyBeginAllowThreads();
12598 (arg1)->SetMargins((wxPoint const &)*arg2);
12599
12600 wxPyEndAllowThreads(__tstate);
12601 if (PyErr_Occurred()) SWIG_fail;
12602 }
12603 Py_INCREF(Py_None); resultobj = Py_None;
12604 return resultobj;
12605 fail:
12606 return NULL;
12607}
12608
12609
c370783e 12610static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12611 PyObject *resultobj = NULL;
d55e5bfc
RD
12612 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12613 int arg2 ;
12614 int arg3 ;
12615 PyObject * obj0 = 0 ;
12616 PyObject * obj1 = 0 ;
12617 PyObject * obj2 = 0 ;
12618 char *kwnames[] = {
12619 (char *) "self",(char *) "x",(char *) "y", NULL
12620 };
12621
12622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
12623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12624 if (SWIG_arg_fail(1)) SWIG_fail;
12625 {
32fe5131 12626 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
12627 if (SWIG_arg_fail(2)) SWIG_fail;
12628 }
12629 {
32fe5131 12630 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
12631 if (SWIG_arg_fail(3)) SWIG_fail;
12632 }
d55e5bfc
RD
12633 {
12634 PyThreadState* __tstate = wxPyBeginAllowThreads();
12635 (arg1)->SetMargins(arg2,arg3);
12636
12637 wxPyEndAllowThreads(__tstate);
12638 if (PyErr_Occurred()) SWIG_fail;
12639 }
12640 Py_INCREF(Py_None); resultobj = Py_None;
12641 return resultobj;
12642 fail:
12643 return NULL;
12644}
12645
12646
c370783e 12647static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12648 PyObject *resultobj = NULL;
d55e5bfc
RD
12649 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12650 wxColour *arg2 = 0 ;
12651 wxColour temp2 ;
12652 PyObject * obj0 = 0 ;
12653 PyObject * obj1 = 0 ;
12654 char *kwnames[] = {
12655 (char *) "self",(char *) "col", NULL
12656 };
12657
12658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12659 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12660 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12661 {
12662 arg2 = &temp2;
12663 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12664 }
12665 {
12666 PyThreadState* __tstate = wxPyBeginAllowThreads();
12667 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
12668
12669 wxPyEndAllowThreads(__tstate);
12670 if (PyErr_Occurred()) SWIG_fail;
12671 }
12672 Py_INCREF(Py_None); resultobj = Py_None;
12673 return resultobj;
12674 fail:
12675 return NULL;
12676}
12677
12678
c370783e 12679static PyObject * VListBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
12680 PyObject *obj;
12681 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12682 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
12683 Py_INCREF(obj);
12684 return Py_BuildValue((char *)"");
12685}
c370783e 12686static PyObject *_wrap_new_HtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12687 PyObject *resultobj = NULL;
d55e5bfc
RD
12688 wxWindow *arg1 = (wxWindow *) 0 ;
12689 int arg2 = (int) wxID_ANY ;
12690 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12691 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12692 wxSize const &arg4_defvalue = wxDefaultSize ;
12693 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12694 long arg5 = (long) 0 ;
12695 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
12696 wxString *arg6 = (wxString *) &arg6_defvalue ;
12697 wxPyHtmlListBox *result;
12698 wxPoint temp3 ;
12699 wxSize temp4 ;
b411df4a 12700 bool temp6 = false ;
d55e5bfc
RD
12701 PyObject * obj0 = 0 ;
12702 PyObject * obj1 = 0 ;
12703 PyObject * obj2 = 0 ;
12704 PyObject * obj3 = 0 ;
12705 PyObject * obj4 = 0 ;
12706 PyObject * obj5 = 0 ;
12707 char *kwnames[] = {
12708 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12709 };
12710
12711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
12712 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12713 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 12714 if (obj1) {
36ed4f51 12715 {
32fe5131 12716 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
12717 if (SWIG_arg_fail(2)) SWIG_fail;
12718 }
d55e5bfc
RD
12719 }
12720 if (obj2) {
12721 {
12722 arg3 = &temp3;
12723 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12724 }
12725 }
12726 if (obj3) {
12727 {
12728 arg4 = &temp4;
12729 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12730 }
12731 }
12732 if (obj4) {
36ed4f51 12733 {
32fe5131 12734 arg5 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
12735 if (SWIG_arg_fail(5)) SWIG_fail;
12736 }
d55e5bfc
RD
12737 }
12738 if (obj5) {
12739 {
12740 arg6 = wxString_in_helper(obj5);
12741 if (arg6 == NULL) SWIG_fail;
b411df4a 12742 temp6 = true;
d55e5bfc
RD
12743 }
12744 }
12745 {
0439c23b 12746 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12747 PyThreadState* __tstate = wxPyBeginAllowThreads();
12748 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12749
12750 wxPyEndAllowThreads(__tstate);
110da5b0 12751 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12752 }
12753 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
12754 {
12755 if (temp6)
12756 delete arg6;
12757 }
12758 return resultobj;
12759 fail:
12760 {
12761 if (temp6)
12762 delete arg6;
12763 }
12764 return NULL;
12765}
12766
12767
c370783e 12768static PyObject *_wrap_new_PreHtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12769 PyObject *resultobj = NULL;
d55e5bfc
RD
12770 wxPyHtmlListBox *result;
12771 char *kwnames[] = {
12772 NULL
12773 };
12774
12775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
12776 {
0439c23b 12777 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12778 PyThreadState* __tstate = wxPyBeginAllowThreads();
12779 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
12780
12781 wxPyEndAllowThreads(__tstate);
110da5b0 12782 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12783 }
12784 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
12785 return resultobj;
12786 fail:
12787 return NULL;
12788}
12789
12790
c370783e 12791static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12792 PyObject *resultobj = NULL;
d55e5bfc
RD
12793 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12794 PyObject *arg2 = (PyObject *) 0 ;
12795 PyObject *arg3 = (PyObject *) 0 ;
12796 PyObject * obj0 = 0 ;
12797 PyObject * obj1 = 0 ;
12798 PyObject * obj2 = 0 ;
12799 char *kwnames[] = {
12800 (char *) "self",(char *) "self",(char *) "_class", NULL
12801 };
12802
12803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
12804 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12805 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12806 arg2 = obj1;
12807 arg3 = obj2;
12808 {
12809 PyThreadState* __tstate = wxPyBeginAllowThreads();
12810 (arg1)->_setCallbackInfo(arg2,arg3);
12811
12812 wxPyEndAllowThreads(__tstate);
12813 if (PyErr_Occurred()) SWIG_fail;
12814 }
12815 Py_INCREF(Py_None); resultobj = Py_None;
12816 return resultobj;
12817 fail:
12818 return NULL;
12819}
12820
12821
c370783e 12822static PyObject *_wrap_HtmlListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12823 PyObject *resultobj = NULL;
d55e5bfc
RD
12824 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12825 wxWindow *arg2 = (wxWindow *) 0 ;
12826 int arg3 = (int) wxID_ANY ;
12827 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12828 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12829 wxSize const &arg5_defvalue = wxDefaultSize ;
12830 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12831 long arg6 = (long) 0 ;
12832 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
12833 wxString *arg7 = (wxString *) &arg7_defvalue ;
12834 bool result;
12835 wxPoint temp4 ;
12836 wxSize temp5 ;
b411df4a 12837 bool temp7 = false ;
d55e5bfc
RD
12838 PyObject * obj0 = 0 ;
12839 PyObject * obj1 = 0 ;
12840 PyObject * obj2 = 0 ;
12841 PyObject * obj3 = 0 ;
12842 PyObject * obj4 = 0 ;
12843 PyObject * obj5 = 0 ;
12844 PyObject * obj6 = 0 ;
12845 char *kwnames[] = {
12846 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12847 };
12848
12849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
12850 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12851 if (SWIG_arg_fail(1)) SWIG_fail;
12852 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12853 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 12854 if (obj2) {
36ed4f51 12855 {
32fe5131 12856 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
12857 if (SWIG_arg_fail(3)) SWIG_fail;
12858 }
d55e5bfc
RD
12859 }
12860 if (obj3) {
12861 {
12862 arg4 = &temp4;
12863 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12864 }
12865 }
12866 if (obj4) {
12867 {
12868 arg5 = &temp5;
12869 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12870 }
12871 }
12872 if (obj5) {
36ed4f51 12873 {
32fe5131 12874 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
12875 if (SWIG_arg_fail(6)) SWIG_fail;
12876 }
d55e5bfc
RD
12877 }
12878 if (obj6) {
12879 {
12880 arg7 = wxString_in_helper(obj6);
12881 if (arg7 == NULL) SWIG_fail;
b411df4a 12882 temp7 = true;
d55e5bfc
RD
12883 }
12884 }
12885 {
12886 PyThreadState* __tstate = wxPyBeginAllowThreads();
12887 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12888
12889 wxPyEndAllowThreads(__tstate);
12890 if (PyErr_Occurred()) SWIG_fail;
12891 }
12892 {
12893 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12894 }
12895 {
12896 if (temp7)
12897 delete arg7;
12898 }
12899 return resultobj;
12900 fail:
12901 {
12902 if (temp7)
12903 delete arg7;
12904 }
12905 return NULL;
12906}
12907
12908
c370783e 12909static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12910 PyObject *resultobj = NULL;
d55e5bfc
RD
12911 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12912 PyObject * obj0 = 0 ;
12913 char *kwnames[] = {
12914 (char *) "self", NULL
12915 };
12916
12917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
36ed4f51
RD
12918 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12919 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12920 {
12921 PyThreadState* __tstate = wxPyBeginAllowThreads();
12922 (arg1)->RefreshAll();
12923
12924 wxPyEndAllowThreads(__tstate);
12925 if (PyErr_Occurred()) SWIG_fail;
12926 }
12927 Py_INCREF(Py_None); resultobj = Py_None;
12928 return resultobj;
12929 fail:
12930 return NULL;
12931}
12932
12933
c370783e 12934static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12935 PyObject *resultobj = NULL;
d55e5bfc
RD
12936 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12937 size_t arg2 ;
12938 PyObject * obj0 = 0 ;
12939 PyObject * obj1 = 0 ;
12940 char *kwnames[] = {
12941 (char *) "self",(char *) "count", NULL
12942 };
12943
12944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12945 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12946 if (SWIG_arg_fail(1)) SWIG_fail;
12947 {
32fe5131 12948 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
12949 if (SWIG_arg_fail(2)) SWIG_fail;
12950 }
d55e5bfc
RD
12951 {
12952 PyThreadState* __tstate = wxPyBeginAllowThreads();
12953 (arg1)->SetItemCount(arg2);
12954
12955 wxPyEndAllowThreads(__tstate);
12956 if (PyErr_Occurred()) SWIG_fail;
12957 }
12958 Py_INCREF(Py_None); resultobj = Py_None;
12959 return resultobj;
12960 fail:
12961 return NULL;
12962}
12963
12964
c370783e 12965static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12966 PyObject *resultobj = NULL;
d6c14a4c
RD
12967 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12968 wxFileSystem *result;
12969 PyObject * obj0 = 0 ;
12970 char *kwnames[] = {
12971 (char *) "self", NULL
12972 };
12973
12974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail;
36ed4f51
RD
12975 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12976 if (SWIG_arg_fail(1)) SWIG_fail;
d6c14a4c
RD
12977 {
12978 PyThreadState* __tstate = wxPyBeginAllowThreads();
12979 {
12980 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
12981 result = (wxFileSystem *) &_result_ref;
12982 }
12983
12984 wxPyEndAllowThreads(__tstate);
12985 if (PyErr_Occurred()) SWIG_fail;
12986 }
12987 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0);
12988 return resultobj;
12989 fail:
12990 return NULL;
12991}
12992
12993
c370783e 12994static PyObject * HtmlListBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
12995 PyObject *obj;
12996 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12997 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
12998 Py_INCREF(obj);
12999 return Py_BuildValue((char *)"");
13000}
c370783e 13001static PyObject *_wrap_new_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13002 PyObject *resultobj = NULL;
5e483524 13003 wxPyTaskBarIcon *result;
d55e5bfc
RD
13004 char *kwnames[] = {
13005 NULL
13006 };
13007
13008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
13009 {
0439c23b 13010 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 13011 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 13012 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
d55e5bfc
RD
13013
13014 wxPyEndAllowThreads(__tstate);
110da5b0 13015 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 13016 }
5e483524 13017 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTaskBarIcon, 1);
d55e5bfc
RD
13018 return resultobj;
13019 fail:
13020 return NULL;
13021}
13022
13023
7e08d4ef
RD
13024static PyObject *_wrap_delete_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
13025 PyObject *resultobj = NULL;
13026 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13027 PyObject * obj0 = 0 ;
13028 char *kwnames[] = {
13029 (char *) "self", NULL
13030 };
13031
13032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
13033 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13034 if (SWIG_arg_fail(1)) SWIG_fail;
13035 {
13036 PyThreadState* __tstate = wxPyBeginAllowThreads();
13037 delete arg1;
13038
13039 wxPyEndAllowThreads(__tstate);
13040 if (PyErr_Occurred()) SWIG_fail;
13041 }
13042 Py_INCREF(Py_None); resultobj = Py_None;
13043 return resultobj;
13044 fail:
13045 return NULL;
13046}
13047
13048
5e483524 13049static PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13050 PyObject *resultobj = NULL;
5e483524
RD
13051 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13052 PyObject *arg2 = (PyObject *) 0 ;
13053 PyObject *arg3 = (PyObject *) 0 ;
13054 int arg4 ;
d55e5bfc 13055 PyObject * obj0 = 0 ;
5e483524
RD
13056 PyObject * obj1 = 0 ;
13057 PyObject * obj2 = 0 ;
13058 PyObject * obj3 = 0 ;
d55e5bfc 13059 char *kwnames[] = {
5e483524 13060 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
d55e5bfc
RD
13061 };
13062
5e483524 13063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
13064 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13065 if (SWIG_arg_fail(1)) SWIG_fail;
5e483524
RD
13066 arg2 = obj1;
13067 arg3 = obj2;
36ed4f51 13068 {
32fe5131 13069 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
13070 if (SWIG_arg_fail(4)) SWIG_fail;
13071 }
d55e5bfc
RD
13072 {
13073 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 13074 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
d55e5bfc
RD
13075
13076 wxPyEndAllowThreads(__tstate);
13077 if (PyErr_Occurred()) SWIG_fail;
13078 }
13079 Py_INCREF(Py_None); resultobj = Py_None;
13080 return resultobj;
13081 fail:
13082 return NULL;
13083}
13084
13085
c370783e 13086static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13087 PyObject *resultobj = NULL;
5e483524 13088 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d55e5bfc
RD
13089 PyObject * obj0 = 0 ;
13090 char *kwnames[] = {
13091 (char *) "self", NULL
13092 };
13093
13094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
36ed4f51
RD
13095 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13096 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13097 {
13098 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 13099 wxPyTaskBarIcon_Destroy(arg1);
d55e5bfc
RD
13100
13101 wxPyEndAllowThreads(__tstate);
13102 if (PyErr_Occurred()) SWIG_fail;
13103 }
13104 Py_INCREF(Py_None); resultobj = Py_None;
13105 return resultobj;
13106 fail:
13107 return NULL;
13108}
13109
13110
b411df4a 13111static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13112 PyObject *resultobj = NULL;
5e483524 13113 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
b411df4a
RD
13114 bool result;
13115 PyObject * obj0 = 0 ;
13116 char *kwnames[] = {
13117 (char *) "self", NULL
13118 };
13119
13120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
36ed4f51
RD
13121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13122 if (SWIG_arg_fail(1)) SWIG_fail;
b411df4a
RD
13123 {
13124 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 13125 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
b411df4a
RD
13126
13127 wxPyEndAllowThreads(__tstate);
13128 if (PyErr_Occurred()) SWIG_fail;
13129 }
13130 {
13131 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13132 }
13133 return resultobj;
13134 fail:
13135 return NULL;
13136}
13137
13138
13139static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13140 PyObject *resultobj = NULL;
5e483524 13141 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
b411df4a
RD
13142 bool result;
13143 PyObject * obj0 = 0 ;
13144 char *kwnames[] = {
13145 (char *) "self", NULL
13146 };
13147
13148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
36ed4f51
RD
13149 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13150 if (SWIG_arg_fail(1)) SWIG_fail;
b411df4a
RD
13151 {
13152 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 13153 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
b411df4a
RD
13154
13155 wxPyEndAllowThreads(__tstate);
13156 if (PyErr_Occurred()) SWIG_fail;
13157 }
13158 {
13159 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13160 }
13161 return resultobj;
13162 fail:
13163 return NULL;
13164}
13165
13166
13167static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13168 PyObject *resultobj = NULL;
5e483524 13169 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
b411df4a
RD
13170 wxIcon *arg2 = 0 ;
13171 wxString const &arg3_defvalue = wxPyEmptyString ;
13172 wxString *arg3 = (wxString *) &arg3_defvalue ;
13173 bool result;
13174 bool temp3 = false ;
13175 PyObject * obj0 = 0 ;
13176 PyObject * obj1 = 0 ;
13177 PyObject * obj2 = 0 ;
13178 char *kwnames[] = {
13179 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
13180 };
13181
13182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
13183 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13184 if (SWIG_arg_fail(1)) SWIG_fail;
13185 {
13186 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
13187 if (SWIG_arg_fail(2)) SWIG_fail;
13188 if (arg2 == NULL) {
13189 SWIG_null_ref("wxIcon");
13190 }
13191 if (SWIG_arg_fail(2)) SWIG_fail;
b411df4a
RD
13192 }
13193 if (obj2) {
13194 {
13195 arg3 = wxString_in_helper(obj2);
13196 if (arg3 == NULL) SWIG_fail;
13197 temp3 = true;
13198 }
13199 }
13200 {
13201 PyThreadState* __tstate = wxPyBeginAllowThreads();
13202 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
13203
13204 wxPyEndAllowThreads(__tstate);
13205 if (PyErr_Occurred()) SWIG_fail;
13206 }
13207 {
13208 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13209 }
13210 {
13211 if (temp3)
13212 delete arg3;
13213 }
13214 return resultobj;
13215 fail:
13216 {
13217 if (temp3)
13218 delete arg3;
13219 }
13220 return NULL;
13221}
13222
13223
13224static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13225 PyObject *resultobj = NULL;
5e483524 13226 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
b411df4a
RD
13227 bool result;
13228 PyObject * obj0 = 0 ;
13229 char *kwnames[] = {
13230 (char *) "self", NULL
13231 };
13232
13233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
36ed4f51
RD
13234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13235 if (SWIG_arg_fail(1)) SWIG_fail;
b411df4a
RD
13236 {
13237 PyThreadState* __tstate = wxPyBeginAllowThreads();
13238 result = (bool)(arg1)->RemoveIcon();
13239
13240 wxPyEndAllowThreads(__tstate);
13241 if (PyErr_Occurred()) SWIG_fail;
13242 }
13243 {
13244 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13245 }
13246 return resultobj;
13247 fail:
13248 return NULL;
13249}
13250
13251
13252static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13253 PyObject *resultobj = NULL;
5e483524 13254 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
b411df4a
RD
13255 wxMenu *arg2 = (wxMenu *) 0 ;
13256 bool result;
13257 PyObject * obj0 = 0 ;
13258 PyObject * obj1 = 0 ;
13259 char *kwnames[] = {
13260 (char *) "self",(char *) "menu", NULL
13261 };
13262
13263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) 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;
13266 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
13267 if (SWIG_arg_fail(2)) SWIG_fail;
b411df4a
RD
13268 {
13269 PyThreadState* __tstate = wxPyBeginAllowThreads();
13270 result = (bool)(arg1)->PopupMenu(arg2);
13271
13272 wxPyEndAllowThreads(__tstate);
13273 if (PyErr_Occurred()) SWIG_fail;
13274 }
13275 {
13276 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13277 }
13278 return resultobj;
13279 fail:
13280 return NULL;
13281}
13282
13283
c370783e 13284static PyObject * TaskBarIcon_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13285 PyObject *obj;
13286 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5e483524 13287 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon, obj);
d55e5bfc
RD
13288 Py_INCREF(obj);
13289 return Py_BuildValue((char *)"");
13290}
c370783e 13291static PyObject *_wrap_new_TaskBarIconEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13292 PyObject *resultobj = NULL;
d55e5bfc
RD
13293 wxEventType arg1 ;
13294 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
13295 wxTaskBarIconEvent *result;
13296 PyObject * obj0 = 0 ;
13297 PyObject * obj1 = 0 ;
13298 char *kwnames[] = {
13299 (char *) "evtType",(char *) "tbIcon", NULL
13300 };
13301
13302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
36ed4f51 13303 {
32fe5131 13304 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
36ed4f51
RD
13305 if (SWIG_arg_fail(1)) SWIG_fail;
13306 }
13307 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13308 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
13309 {
13310 PyThreadState* __tstate = wxPyBeginAllowThreads();
13311 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
13312
13313 wxPyEndAllowThreads(__tstate);
13314 if (PyErr_Occurred()) SWIG_fail;
13315 }
13316 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
13317 return resultobj;
13318 fail:
13319 return NULL;
13320}
13321
13322
c370783e 13323static PyObject * TaskBarIconEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13324 PyObject *obj;
13325 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13326 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
13327 Py_INCREF(obj);
13328 return Py_BuildValue((char *)"");
13329}
c370783e 13330static int _wrap_FileSelectorPromptStr_set(PyObject *) {
d55e5bfc
RD
13331 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
13332 return 1;
13333}
13334
13335
36ed4f51 13336static PyObject *_wrap_FileSelectorPromptStr_get(void) {
32fe5131 13337 PyObject *pyobj = NULL;
d55e5bfc
RD
13338
13339 {
13340#if wxUSE_UNICODE
13341 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
13342#else
13343 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
13344#endif
13345 }
13346 return pyobj;
13347}
13348
13349
c370783e 13350static int _wrap_DirSelectorPromptStr_set(PyObject *) {
d55e5bfc
RD
13351 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
13352 return 1;
13353}
13354
13355
36ed4f51 13356static PyObject *_wrap_DirSelectorPromptStr_get(void) {
32fe5131 13357 PyObject *pyobj = NULL;
d55e5bfc
RD
13358
13359 {
13360#if wxUSE_UNICODE
13361 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
13362#else
13363 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
13364#endif
13365 }
13366 return pyobj;
13367}
13368
13369
c370783e 13370static int _wrap_DirDialogNameStr_set(PyObject *) {
d55e5bfc
RD
13371 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
13372 return 1;
13373}
13374
13375
36ed4f51 13376static PyObject *_wrap_DirDialogNameStr_get(void) {
32fe5131 13377 PyObject *pyobj = NULL;
d55e5bfc
RD
13378
13379 {
13380#if wxUSE_UNICODE
13381 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
13382#else
13383 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
13384#endif
13385 }
13386 return pyobj;
13387}
13388
13389
c370783e 13390static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
d55e5bfc
RD
13391 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
13392 return 1;
13393}
13394
13395
36ed4f51 13396static PyObject *_wrap_FileSelectorDefaultWildcardStr_get(void) {
32fe5131 13397 PyObject *pyobj = NULL;
d55e5bfc
RD
13398
13399 {
13400#if wxUSE_UNICODE
13401 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
13402#else
13403 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
13404#endif
13405 }
13406 return pyobj;
13407}
13408
13409
c370783e 13410static int _wrap_GetTextFromUserPromptStr_set(PyObject *) {
d55e5bfc
RD
13411 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
13412 return 1;
13413}
13414
13415
36ed4f51 13416static PyObject *_wrap_GetTextFromUserPromptStr_get(void) {
32fe5131 13417 PyObject *pyobj = NULL;
d55e5bfc
RD
13418
13419 {
13420#if wxUSE_UNICODE
13421 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
13422#else
13423 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
13424#endif
13425 }
13426 return pyobj;
13427}
13428
13429
c370783e 13430static int _wrap_MessageBoxCaptionStr_set(PyObject *) {
d55e5bfc
RD
13431 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
13432 return 1;
13433}
13434
13435
36ed4f51 13436static PyObject *_wrap_MessageBoxCaptionStr_get(void) {
32fe5131 13437 PyObject *pyobj = NULL;
d55e5bfc
RD
13438
13439 {
13440#if wxUSE_UNICODE
13441 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
13442#else
13443 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
13444#endif
13445 }
13446 return pyobj;
13447}
13448
13449
c370783e 13450static PyObject *_wrap_new_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13451 PyObject *resultobj = NULL;
d55e5bfc
RD
13452 wxColourData *result;
13453 char *kwnames[] = {
13454 NULL
13455 };
13456
13457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
13458 {
13459 PyThreadState* __tstate = wxPyBeginAllowThreads();
13460 result = (wxColourData *)new wxColourData();
13461
13462 wxPyEndAllowThreads(__tstate);
13463 if (PyErr_Occurred()) SWIG_fail;
13464 }
13465 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
13466 return resultobj;
13467 fail:
13468 return NULL;
13469}
13470
13471
c370783e 13472static PyObject *_wrap_delete_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13473 PyObject *resultobj = NULL;
d55e5bfc
RD
13474 wxColourData *arg1 = (wxColourData *) 0 ;
13475 PyObject * obj0 = 0 ;
13476 char *kwnames[] = {
13477 (char *) "self", NULL
13478 };
13479
13480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
36ed4f51
RD
13481 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13482 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13483 {
13484 PyThreadState* __tstate = wxPyBeginAllowThreads();
13485 delete arg1;
13486
13487 wxPyEndAllowThreads(__tstate);
13488 if (PyErr_Occurred()) SWIG_fail;
13489 }
13490 Py_INCREF(Py_None); resultobj = Py_None;
13491 return resultobj;
13492 fail:
13493 return NULL;
13494}
13495
13496
c370783e 13497static PyObject *_wrap_ColourData_GetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13498 PyObject *resultobj = NULL;
d55e5bfc
RD
13499 wxColourData *arg1 = (wxColourData *) 0 ;
13500 bool result;
13501 PyObject * obj0 = 0 ;
13502 char *kwnames[] = {
13503 (char *) "self", NULL
13504 };
13505
13506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
36ed4f51
RD
13507 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13508 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13509 {
13510 PyThreadState* __tstate = wxPyBeginAllowThreads();
13511 result = (bool)(arg1)->GetChooseFull();
13512
13513 wxPyEndAllowThreads(__tstate);
13514 if (PyErr_Occurred()) SWIG_fail;
13515 }
13516 {
13517 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13518 }
13519 return resultobj;
13520 fail:
13521 return NULL;
13522}
13523
13524
c370783e 13525static PyObject *_wrap_ColourData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13526 PyObject *resultobj = NULL;
d55e5bfc
RD
13527 wxColourData *arg1 = (wxColourData *) 0 ;
13528 wxColour result;
13529 PyObject * obj0 = 0 ;
13530 char *kwnames[] = {
13531 (char *) "self", NULL
13532 };
13533
13534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
13535 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13536 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13537 {
13538 PyThreadState* __tstate = wxPyBeginAllowThreads();
13539 result = (arg1)->GetColour();
13540
13541 wxPyEndAllowThreads(__tstate);
13542 if (PyErr_Occurred()) SWIG_fail;
13543 }
13544 {
13545 wxColour * resultptr;
32fe5131 13546 resultptr = new wxColour(static_cast<wxColour & >(result));
d55e5bfc
RD
13547 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13548 }
13549 return resultobj;
13550 fail:
13551 return NULL;
13552}
13553
13554
c370783e 13555static PyObject *_wrap_ColourData_GetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13556 PyObject *resultobj = NULL;
d55e5bfc
RD
13557 wxColourData *arg1 = (wxColourData *) 0 ;
13558 int arg2 ;
13559 wxColour result;
13560 PyObject * obj0 = 0 ;
13561 PyObject * obj1 = 0 ;
13562 char *kwnames[] = {
13563 (char *) "self",(char *) "i", NULL
13564 };
13565
13566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
13567 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13568 if (SWIG_arg_fail(1)) SWIG_fail;
13569 {
32fe5131 13570 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
13571 if (SWIG_arg_fail(2)) SWIG_fail;
13572 }
d55e5bfc
RD
13573 {
13574 PyThreadState* __tstate = wxPyBeginAllowThreads();
13575 result = (arg1)->GetCustomColour(arg2);
13576
13577 wxPyEndAllowThreads(__tstate);
13578 if (PyErr_Occurred()) SWIG_fail;
13579 }
13580 {
13581 wxColour * resultptr;
32fe5131 13582 resultptr = new wxColour(static_cast<wxColour & >(result));
d55e5bfc
RD
13583 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13584 }
13585 return resultobj;
13586 fail:
13587 return NULL;
13588}
13589
13590
c370783e 13591static PyObject *_wrap_ColourData_SetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13592 PyObject *resultobj = NULL;
d55e5bfc
RD
13593 wxColourData *arg1 = (wxColourData *) 0 ;
13594 int arg2 ;
13595 PyObject * obj0 = 0 ;
13596 PyObject * obj1 = 0 ;
13597 char *kwnames[] = {
13598 (char *) "self",(char *) "flag", NULL
13599 };
13600
13601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
13602 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13603 if (SWIG_arg_fail(1)) SWIG_fail;
13604 {
32fe5131 13605 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
13606 if (SWIG_arg_fail(2)) SWIG_fail;
13607 }
d55e5bfc
RD
13608 {
13609 PyThreadState* __tstate = wxPyBeginAllowThreads();
13610 (arg1)->SetChooseFull(arg2);
13611
13612 wxPyEndAllowThreads(__tstate);
13613 if (PyErr_Occurred()) SWIG_fail;
13614 }
13615 Py_INCREF(Py_None); resultobj = Py_None;
13616 return resultobj;
13617 fail:
13618 return NULL;
13619}
13620
13621
c370783e 13622static PyObject *_wrap_ColourData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13623 PyObject *resultobj = NULL;
d55e5bfc
RD
13624 wxColourData *arg1 = (wxColourData *) 0 ;
13625 wxColour *arg2 = 0 ;
13626 wxColour temp2 ;
13627 PyObject * obj0 = 0 ;
13628 PyObject * obj1 = 0 ;
13629 char *kwnames[] = {
13630 (char *) "self",(char *) "colour", NULL
13631 };
13632
13633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
13634 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13635 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13636 {
13637 arg2 = &temp2;
13638 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13639 }
13640 {
13641 PyThreadState* __tstate = wxPyBeginAllowThreads();
13642 (arg1)->SetColour((wxColour const &)*arg2);
13643
13644 wxPyEndAllowThreads(__tstate);
13645 if (PyErr_Occurred()) SWIG_fail;
13646 }
13647 Py_INCREF(Py_None); resultobj = Py_None;
13648 return resultobj;
13649 fail:
13650 return NULL;
13651}
13652
13653
c370783e 13654static PyObject *_wrap_ColourData_SetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13655 PyObject *resultobj = NULL;
d55e5bfc
RD
13656 wxColourData *arg1 = (wxColourData *) 0 ;
13657 int arg2 ;
13658 wxColour *arg3 = 0 ;
13659 wxColour temp3 ;
13660 PyObject * obj0 = 0 ;
13661 PyObject * obj1 = 0 ;
13662 PyObject * obj2 = 0 ;
13663 char *kwnames[] = {
13664 (char *) "self",(char *) "i",(char *) "colour", NULL
13665 };
13666
13667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
13668 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13669 if (SWIG_arg_fail(1)) SWIG_fail;
13670 {
32fe5131 13671 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
13672 if (SWIG_arg_fail(2)) SWIG_fail;
13673 }
d55e5bfc
RD
13674 {
13675 arg3 = &temp3;
13676 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
13677 }
13678 {
13679 PyThreadState* __tstate = wxPyBeginAllowThreads();
13680 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
13681
13682 wxPyEndAllowThreads(__tstate);
13683 if (PyErr_Occurred()) SWIG_fail;
13684 }
13685 Py_INCREF(Py_None); resultobj = Py_None;
13686 return resultobj;
13687 fail:
13688 return NULL;
13689}
13690
13691
c370783e 13692static PyObject * ColourData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13693 PyObject *obj;
13694 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13695 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
13696 Py_INCREF(obj);
13697 return Py_BuildValue((char *)"");
13698}
c370783e 13699static PyObject *_wrap_new_ColourDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13700 PyObject *resultobj = NULL;
d55e5bfc
RD
13701 wxWindow *arg1 = (wxWindow *) 0 ;
13702 wxColourData *arg2 = (wxColourData *) NULL ;
13703 wxColourDialog *result;
13704 PyObject * obj0 = 0 ;
13705 PyObject * obj1 = 0 ;
13706 char *kwnames[] = {
13707 (char *) "parent",(char *) "data", NULL
13708 };
13709
13710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
13711 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13712 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 13713 if (obj1) {
36ed4f51
RD
13714 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13715 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
13716 }
13717 {
0439c23b 13718 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13719 PyThreadState* __tstate = wxPyBeginAllowThreads();
13720 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
13721
13722 wxPyEndAllowThreads(__tstate);
110da5b0 13723 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13724 }
13725 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
13726 return resultobj;
13727 fail:
13728 return NULL;
13729}
13730
13731
c370783e 13732static PyObject *_wrap_ColourDialog_GetColourData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13733 PyObject *resultobj = NULL;
d55e5bfc
RD
13734 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
13735 wxColourData *result;
13736 PyObject * obj0 = 0 ;
13737 char *kwnames[] = {
13738 (char *) "self", NULL
13739 };
13740
13741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
36ed4f51
RD
13742 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourDialog, SWIG_POINTER_EXCEPTION | 0);
13743 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13744 {
13745 PyThreadState* __tstate = wxPyBeginAllowThreads();
13746 {
13747 wxColourData &_result_ref = (arg1)->GetColourData();
13748 result = (wxColourData *) &_result_ref;
13749 }
13750
13751 wxPyEndAllowThreads(__tstate);
13752 if (PyErr_Occurred()) SWIG_fail;
13753 }
13754 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
13755 return resultobj;
13756 fail:
13757 return NULL;
13758}
13759
13760
c370783e 13761static PyObject * ColourDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13762 PyObject *obj;
13763 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13764 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
13765 Py_INCREF(obj);
13766 return Py_BuildValue((char *)"");
13767}
32fe5131
RD
13768static PyObject *_wrap_GetColourFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
13769 PyObject *resultobj = NULL;
13770 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
13771 wxColour const &arg2_defvalue = wxNullColour ;
13772 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
13773 wxString const &arg3_defvalue = wxPyEmptyString ;
13774 wxString *arg3 = (wxString *) &arg3_defvalue ;
13775 wxColour result;
13776 wxColour temp2 ;
13777 bool temp3 = false ;
13778 PyObject * obj0 = 0 ;
13779 PyObject * obj1 = 0 ;
13780 PyObject * obj2 = 0 ;
13781 char *kwnames[] = {
13782 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
13783 };
13784
13785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) goto fail;
13786 if (obj0) {
13787 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13788 if (SWIG_arg_fail(1)) SWIG_fail;
13789 }
13790 if (obj1) {
13791 {
13792 arg2 = &temp2;
13793 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13794 }
13795 }
13796 if (obj2) {
13797 {
13798 arg3 = wxString_in_helper(obj2);
13799 if (arg3 == NULL) SWIG_fail;
13800 temp3 = true;
13801 }
13802 }
13803 {
13804 PyThreadState* __tstate = wxPyBeginAllowThreads();
13805 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
13806
13807 wxPyEndAllowThreads(__tstate);
13808 if (PyErr_Occurred()) SWIG_fail;
13809 }
13810 {
13811 wxColour * resultptr;
13812 resultptr = new wxColour(static_cast<wxColour & >(result));
13813 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13814 }
13815 {
13816 if (temp3)
13817 delete arg3;
13818 }
13819 return resultobj;
13820 fail:
13821 {
13822 if (temp3)
13823 delete arg3;
13824 }
13825 return NULL;
13826}
13827
13828
c370783e 13829static PyObject *_wrap_new_DirDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13830 PyObject *resultobj = NULL;
d55e5bfc
RD
13831 wxWindow *arg1 = (wxWindow *) 0 ;
13832 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
13833 wxString *arg2 = (wxString *) &arg2_defvalue ;
13834 wxString const &arg3_defvalue = wxPyEmptyString ;
13835 wxString *arg3 = (wxString *) &arg3_defvalue ;
13836 long arg4 = (long) 0 ;
13837 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13838 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13839 wxSize const &arg6_defvalue = wxDefaultSize ;
13840 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13841 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
13842 wxString *arg7 = (wxString *) &arg7_defvalue ;
13843 wxDirDialog *result;
b411df4a
RD
13844 bool temp2 = false ;
13845 bool temp3 = false ;
d55e5bfc
RD
13846 wxPoint temp5 ;
13847 wxSize temp6 ;
b411df4a 13848 bool temp7 = false ;
d55e5bfc
RD
13849 PyObject * obj0 = 0 ;
13850 PyObject * obj1 = 0 ;
13851 PyObject * obj2 = 0 ;
13852 PyObject * obj3 = 0 ;
13853 PyObject * obj4 = 0 ;
13854 PyObject * obj5 = 0 ;
13855 PyObject * obj6 = 0 ;
13856 char *kwnames[] = {
13857 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
13858 };
13859
13860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
13861 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13862 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13863 if (obj1) {
13864 {
13865 arg2 = wxString_in_helper(obj1);
13866 if (arg2 == NULL) SWIG_fail;
b411df4a 13867 temp2 = true;
d55e5bfc
RD
13868 }
13869 }
13870 if (obj2) {
13871 {
13872 arg3 = wxString_in_helper(obj2);
13873 if (arg3 == NULL) SWIG_fail;
b411df4a 13874 temp3 = true;
d55e5bfc
RD
13875 }
13876 }
13877 if (obj3) {
36ed4f51 13878 {
32fe5131 13879 arg4 = static_cast<long >(SWIG_As_long(obj3));
36ed4f51
RD
13880 if (SWIG_arg_fail(4)) SWIG_fail;
13881 }
d55e5bfc
RD
13882 }
13883 if (obj4) {
13884 {
13885 arg5 = &temp5;
13886 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13887 }
13888 }
13889 if (obj5) {
13890 {
13891 arg6 = &temp6;
13892 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13893 }
13894 }
13895 if (obj6) {
13896 {
13897 arg7 = wxString_in_helper(obj6);
13898 if (arg7 == NULL) SWIG_fail;
b411df4a 13899 temp7 = true;
d55e5bfc
RD
13900 }
13901 }
13902 {
0439c23b 13903 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13904 PyThreadState* __tstate = wxPyBeginAllowThreads();
13905 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
13906
13907 wxPyEndAllowThreads(__tstate);
110da5b0 13908 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13909 }
13910 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
13911 {
13912 if (temp2)
13913 delete arg2;
13914 }
13915 {
13916 if (temp3)
13917 delete arg3;
13918 }
13919 {
13920 if (temp7)
13921 delete arg7;
13922 }
13923 return resultobj;
13924 fail:
13925 {
13926 if (temp2)
13927 delete arg2;
13928 }
13929 {
13930 if (temp3)
13931 delete arg3;
13932 }
13933 {
13934 if (temp7)
13935 delete arg7;
13936 }
13937 return NULL;
13938}
13939
13940
c370783e 13941static PyObject *_wrap_DirDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13942 PyObject *resultobj = NULL;
d55e5bfc
RD
13943 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13944 wxString result;
13945 PyObject * obj0 = 0 ;
13946 char *kwnames[] = {
13947 (char *) "self", NULL
13948 };
13949
13950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
36ed4f51
RD
13951 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13952 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13953 {
13954 PyThreadState* __tstate = wxPyBeginAllowThreads();
13955 result = (arg1)->GetPath();
13956
13957 wxPyEndAllowThreads(__tstate);
13958 if (PyErr_Occurred()) SWIG_fail;
13959 }
13960 {
13961#if wxUSE_UNICODE
13962 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13963#else
13964 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13965#endif
13966 }
13967 return resultobj;
13968 fail:
13969 return NULL;
13970}
13971
13972
c370783e 13973static PyObject *_wrap_DirDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13974 PyObject *resultobj = NULL;
d55e5bfc
RD
13975 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13976 wxString result;
13977 PyObject * obj0 = 0 ;
13978 char *kwnames[] = {
13979 (char *) "self", NULL
13980 };
13981
13982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
36ed4f51
RD
13983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13984 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13985 {
13986 PyThreadState* __tstate = wxPyBeginAllowThreads();
13987 result = (arg1)->GetMessage();
13988
13989 wxPyEndAllowThreads(__tstate);
13990 if (PyErr_Occurred()) SWIG_fail;
13991 }
13992 {
13993#if wxUSE_UNICODE
13994 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13995#else
13996 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13997#endif
13998 }
13999 return resultobj;
14000 fail:
14001 return NULL;
14002}
14003
14004
c370783e 14005static PyObject *_wrap_DirDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14006 PyObject *resultobj = NULL;
d55e5bfc
RD
14007 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
14008 long result;
14009 PyObject * obj0 = 0 ;
14010 char *kwnames[] = {
14011 (char *) "self", NULL
14012 };
14013
14014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
36ed4f51
RD
14015 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
14016 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14017 {
14018 PyThreadState* __tstate = wxPyBeginAllowThreads();
14019 result = (long)(arg1)->GetStyle();
14020
14021 wxPyEndAllowThreads(__tstate);
14022 if (PyErr_Occurred()) SWIG_fail;
14023 }
36ed4f51 14024 {
32fe5131 14025 resultobj = SWIG_From_long(static_cast<long >(result));
36ed4f51 14026 }
d55e5bfc
RD
14027 return resultobj;
14028 fail:
14029 return NULL;
14030}
14031
14032
c370783e 14033static PyObject *_wrap_DirDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14034 PyObject *resultobj = NULL;
d55e5bfc
RD
14035 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
14036 wxString *arg2 = 0 ;
b411df4a 14037 bool temp2 = false ;
d55e5bfc
RD
14038 PyObject * obj0 = 0 ;
14039 PyObject * obj1 = 0 ;
14040 char *kwnames[] = {
14041 (char *) "self",(char *) "message", NULL
14042 };
14043
14044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
14046 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14047 {
14048 arg2 = wxString_in_helper(obj1);
14049 if (arg2 == NULL) SWIG_fail;
b411df4a 14050 temp2 = true;
d55e5bfc
RD
14051 }
14052 {
14053 PyThreadState* __tstate = wxPyBeginAllowThreads();
14054 (arg1)->SetMessage((wxString const &)*arg2);
14055
14056 wxPyEndAllowThreads(__tstate);
14057 if (PyErr_Occurred()) SWIG_fail;
14058 }
14059 Py_INCREF(Py_None); resultobj = Py_None;
14060 {
14061 if (temp2)
14062 delete arg2;
14063 }
14064 return resultobj;
14065 fail:
14066 {
14067 if (temp2)
14068 delete arg2;
14069 }
14070 return NULL;
14071}
14072
14073
c370783e 14074static PyObject *_wrap_DirDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14075 PyObject *resultobj = NULL;
d55e5bfc
RD
14076 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
14077 wxString *arg2 = 0 ;
b411df4a 14078 bool temp2 = false ;
d55e5bfc
RD
14079 PyObject * obj0 = 0 ;
14080 PyObject * obj1 = 0 ;
14081 char *kwnames[] = {
14082 (char *) "self",(char *) "path", NULL
14083 };
14084
14085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14086 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
14087 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14088 {
14089 arg2 = wxString_in_helper(obj1);
14090 if (arg2 == NULL) SWIG_fail;
b411df4a 14091 temp2 = true;
d55e5bfc
RD
14092 }
14093 {
14094 PyThreadState* __tstate = wxPyBeginAllowThreads();
14095 (arg1)->SetPath((wxString const &)*arg2);
14096
14097 wxPyEndAllowThreads(__tstate);
14098 if (PyErr_Occurred()) SWIG_fail;
14099 }
14100 Py_INCREF(Py_None); resultobj = Py_None;
14101 {
14102 if (temp2)
14103 delete arg2;
14104 }
14105 return resultobj;
14106 fail:
14107 {
14108 if (temp2)
14109 delete arg2;
14110 }
14111 return NULL;
14112}
14113
14114
c370783e 14115static PyObject * DirDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14116 PyObject *obj;
14117 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14118 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
14119 Py_INCREF(obj);
14120 return Py_BuildValue((char *)"");
14121}
c370783e 14122static PyObject *_wrap_new_FileDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14123 PyObject *resultobj = NULL;
d55e5bfc
RD
14124 wxWindow *arg1 = (wxWindow *) 0 ;
14125 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
14126 wxString *arg2 = (wxString *) &arg2_defvalue ;
14127 wxString const &arg3_defvalue = wxPyEmptyString ;
14128 wxString *arg3 = (wxString *) &arg3_defvalue ;
14129 wxString const &arg4_defvalue = wxPyEmptyString ;
14130 wxString *arg4 = (wxString *) &arg4_defvalue ;
14131 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
14132 wxString *arg5 = (wxString *) &arg5_defvalue ;
14133 long arg6 = (long) 0 ;
14134 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14135 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14136 wxFileDialog *result;
b411df4a
RD
14137 bool temp2 = false ;
14138 bool temp3 = false ;
14139 bool temp4 = false ;
14140 bool temp5 = false ;
d55e5bfc
RD
14141 wxPoint temp7 ;
14142 PyObject * obj0 = 0 ;
14143 PyObject * obj1 = 0 ;
14144 PyObject * obj2 = 0 ;
14145 PyObject * obj3 = 0 ;
14146 PyObject * obj4 = 0 ;
14147 PyObject * obj5 = 0 ;
14148 PyObject * obj6 = 0 ;
14149 char *kwnames[] = {
14150 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
14151 };
14152
14153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
14154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14155 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14156 if (obj1) {
14157 {
14158 arg2 = wxString_in_helper(obj1);
14159 if (arg2 == NULL) SWIG_fail;
b411df4a 14160 temp2 = true;
d55e5bfc
RD
14161 }
14162 }
14163 if (obj2) {
14164 {
14165 arg3 = wxString_in_helper(obj2);
14166 if (arg3 == NULL) SWIG_fail;
b411df4a 14167 temp3 = true;
d55e5bfc
RD
14168 }
14169 }
14170 if (obj3) {
14171 {
14172 arg4 = wxString_in_helper(obj3);
14173 if (arg4 == NULL) SWIG_fail;
b411df4a 14174 temp4 = true;
d55e5bfc
RD
14175 }
14176 }
14177 if (obj4) {
14178 {
14179 arg5 = wxString_in_helper(obj4);
14180 if (arg5 == NULL) SWIG_fail;
b411df4a 14181 temp5 = true;
d55e5bfc
RD
14182 }
14183 }
14184 if (obj5) {
36ed4f51 14185 {
32fe5131 14186 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
14187 if (SWIG_arg_fail(6)) SWIG_fail;
14188 }
d55e5bfc
RD
14189 }
14190 if (obj6) {
14191 {
14192 arg7 = &temp7;
14193 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
14194 }
14195 }
14196 {
0439c23b 14197 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14198 PyThreadState* __tstate = wxPyBeginAllowThreads();
14199 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
14200
14201 wxPyEndAllowThreads(__tstate);
110da5b0 14202 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14203 }
14204 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
14205 {
14206 if (temp2)
14207 delete arg2;
14208 }
14209 {
14210 if (temp3)
14211 delete arg3;
14212 }
14213 {
14214 if (temp4)
14215 delete arg4;
14216 }
14217 {
14218 if (temp5)
14219 delete arg5;
14220 }
14221 return resultobj;
14222 fail:
14223 {
14224 if (temp2)
14225 delete arg2;
14226 }
14227 {
14228 if (temp3)
14229 delete arg3;
14230 }
14231 {
14232 if (temp4)
14233 delete arg4;
14234 }
14235 {
14236 if (temp5)
14237 delete arg5;
14238 }
14239 return NULL;
14240}
14241
14242
c370783e 14243static PyObject *_wrap_FileDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14244 PyObject *resultobj = NULL;
d55e5bfc
RD
14245 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14246 wxString *arg2 = 0 ;
b411df4a 14247 bool temp2 = false ;
d55e5bfc
RD
14248 PyObject * obj0 = 0 ;
14249 PyObject * obj1 = 0 ;
14250 char *kwnames[] = {
14251 (char *) "self",(char *) "message", NULL
14252 };
14253
14254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14255 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14256 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14257 {
14258 arg2 = wxString_in_helper(obj1);
14259 if (arg2 == NULL) SWIG_fail;
b411df4a 14260 temp2 = true;
d55e5bfc
RD
14261 }
14262 {
14263 PyThreadState* __tstate = wxPyBeginAllowThreads();
14264 (arg1)->SetMessage((wxString const &)*arg2);
14265
14266 wxPyEndAllowThreads(__tstate);
14267 if (PyErr_Occurred()) SWIG_fail;
14268 }
14269 Py_INCREF(Py_None); resultobj = Py_None;
14270 {
14271 if (temp2)
14272 delete arg2;
14273 }
14274 return resultobj;
14275 fail:
14276 {
14277 if (temp2)
14278 delete arg2;
14279 }
14280 return NULL;
14281}
14282
14283
c370783e 14284static PyObject *_wrap_FileDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14285 PyObject *resultobj = NULL;
d55e5bfc
RD
14286 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14287 wxString *arg2 = 0 ;
b411df4a 14288 bool temp2 = false ;
d55e5bfc
RD
14289 PyObject * obj0 = 0 ;
14290 PyObject * obj1 = 0 ;
14291 char *kwnames[] = {
14292 (char *) "self",(char *) "path", NULL
14293 };
14294
14295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14296 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14297 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14298 {
14299 arg2 = wxString_in_helper(obj1);
14300 if (arg2 == NULL) SWIG_fail;
b411df4a 14301 temp2 = true;
d55e5bfc
RD
14302 }
14303 {
14304 PyThreadState* __tstate = wxPyBeginAllowThreads();
14305 (arg1)->SetPath((wxString const &)*arg2);
14306
14307 wxPyEndAllowThreads(__tstate);
14308 if (PyErr_Occurred()) SWIG_fail;
14309 }
14310 Py_INCREF(Py_None); resultobj = Py_None;
14311 {
14312 if (temp2)
14313 delete arg2;
14314 }
14315 return resultobj;
14316 fail:
14317 {
14318 if (temp2)
14319 delete arg2;
14320 }
14321 return NULL;
14322}
14323
14324
c370783e 14325static PyObject *_wrap_FileDialog_SetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14326 PyObject *resultobj = NULL;
d55e5bfc
RD
14327 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14328 wxString *arg2 = 0 ;
b411df4a 14329 bool temp2 = false ;
d55e5bfc
RD
14330 PyObject * obj0 = 0 ;
14331 PyObject * obj1 = 0 ;
14332 char *kwnames[] = {
14333 (char *) "self",(char *) "dir", NULL
14334 };
14335
14336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14337 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14338 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14339 {
14340 arg2 = wxString_in_helper(obj1);
14341 if (arg2 == NULL) SWIG_fail;
b411df4a 14342 temp2 = true;
d55e5bfc
RD
14343 }
14344 {
14345 PyThreadState* __tstate = wxPyBeginAllowThreads();
14346 (arg1)->SetDirectory((wxString const &)*arg2);
14347
14348 wxPyEndAllowThreads(__tstate);
14349 if (PyErr_Occurred()) SWIG_fail;
14350 }
14351 Py_INCREF(Py_None); resultobj = Py_None;
14352 {
14353 if (temp2)
14354 delete arg2;
14355 }
14356 return resultobj;
14357 fail:
14358 {
14359 if (temp2)
14360 delete arg2;
14361 }
14362 return NULL;
14363}
14364
14365
c370783e 14366static PyObject *_wrap_FileDialog_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14367 PyObject *resultobj = NULL;
d55e5bfc
RD
14368 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14369 wxString *arg2 = 0 ;
b411df4a 14370 bool temp2 = false ;
d55e5bfc
RD
14371 PyObject * obj0 = 0 ;
14372 PyObject * obj1 = 0 ;
14373 char *kwnames[] = {
14374 (char *) "self",(char *) "name", NULL
14375 };
14376
14377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14378 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14379 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14380 {
14381 arg2 = wxString_in_helper(obj1);
14382 if (arg2 == NULL) SWIG_fail;
b411df4a 14383 temp2 = true;
d55e5bfc
RD
14384 }
14385 {
14386 PyThreadState* __tstate = wxPyBeginAllowThreads();
14387 (arg1)->SetFilename((wxString const &)*arg2);
14388
14389 wxPyEndAllowThreads(__tstate);
14390 if (PyErr_Occurred()) SWIG_fail;
14391 }
14392 Py_INCREF(Py_None); resultobj = Py_None;
14393 {
14394 if (temp2)
14395 delete arg2;
14396 }
14397 return resultobj;
14398 fail:
14399 {
14400 if (temp2)
14401 delete arg2;
14402 }
14403 return NULL;
14404}
14405
14406
c370783e 14407static PyObject *_wrap_FileDialog_SetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14408 PyObject *resultobj = NULL;
d55e5bfc
RD
14409 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14410 wxString *arg2 = 0 ;
b411df4a 14411 bool temp2 = false ;
d55e5bfc
RD
14412 PyObject * obj0 = 0 ;
14413 PyObject * obj1 = 0 ;
14414 char *kwnames[] = {
14415 (char *) "self",(char *) "wildCard", NULL
14416 };
14417
14418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14419 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14420 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14421 {
14422 arg2 = wxString_in_helper(obj1);
14423 if (arg2 == NULL) SWIG_fail;
b411df4a 14424 temp2 = true;
d55e5bfc
RD
14425 }
14426 {
14427 PyThreadState* __tstate = wxPyBeginAllowThreads();
14428 (arg1)->SetWildcard((wxString const &)*arg2);
14429
14430 wxPyEndAllowThreads(__tstate);
14431 if (PyErr_Occurred()) SWIG_fail;
14432 }
14433 Py_INCREF(Py_None); resultobj = Py_None;
14434 {
14435 if (temp2)
14436 delete arg2;
14437 }
14438 return resultobj;
14439 fail:
14440 {
14441 if (temp2)
14442 delete arg2;
14443 }
14444 return NULL;
14445}
14446
14447
c370783e 14448static PyObject *_wrap_FileDialog_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14449 PyObject *resultobj = NULL;
d55e5bfc
RD
14450 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14451 long arg2 ;
14452 PyObject * obj0 = 0 ;
14453 PyObject * obj1 = 0 ;
14454 char *kwnames[] = {
14455 (char *) "self",(char *) "style", NULL
14456 };
14457
14458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14459 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14460 if (SWIG_arg_fail(1)) SWIG_fail;
14461 {
32fe5131 14462 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
14463 if (SWIG_arg_fail(2)) SWIG_fail;
14464 }
d55e5bfc
RD
14465 {
14466 PyThreadState* __tstate = wxPyBeginAllowThreads();
14467 (arg1)->SetStyle(arg2);
14468
14469 wxPyEndAllowThreads(__tstate);
14470 if (PyErr_Occurred()) SWIG_fail;
14471 }
14472 Py_INCREF(Py_None); resultobj = Py_None;
14473 return resultobj;
14474 fail:
14475 return NULL;
14476}
14477
14478
c370783e 14479static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14480 PyObject *resultobj = NULL;
d55e5bfc
RD
14481 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14482 int arg2 ;
14483 PyObject * obj0 = 0 ;
14484 PyObject * obj1 = 0 ;
14485 char *kwnames[] = {
14486 (char *) "self",(char *) "filterIndex", NULL
14487 };
14488
14489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14491 if (SWIG_arg_fail(1)) SWIG_fail;
14492 {
32fe5131 14493 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
14494 if (SWIG_arg_fail(2)) SWIG_fail;
14495 }
d55e5bfc
RD
14496 {
14497 PyThreadState* __tstate = wxPyBeginAllowThreads();
14498 (arg1)->SetFilterIndex(arg2);
14499
14500 wxPyEndAllowThreads(__tstate);
14501 if (PyErr_Occurred()) SWIG_fail;
14502 }
14503 Py_INCREF(Py_None); resultobj = Py_None;
14504 return resultobj;
14505 fail:
14506 return NULL;
14507}
14508
14509
c370783e 14510static PyObject *_wrap_FileDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14511 PyObject *resultobj = NULL;
d55e5bfc
RD
14512 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14513 wxString result;
14514 PyObject * obj0 = 0 ;
14515 char *kwnames[] = {
14516 (char *) "self", NULL
14517 };
14518
14519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
36ed4f51
RD
14520 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14521 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14522 {
14523 PyThreadState* __tstate = wxPyBeginAllowThreads();
14524 result = ((wxFileDialog const *)arg1)->GetMessage();
14525
14526 wxPyEndAllowThreads(__tstate);
14527 if (PyErr_Occurred()) SWIG_fail;
14528 }
14529 {
14530#if wxUSE_UNICODE
14531 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14532#else
14533 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14534#endif
14535 }
14536 return resultobj;
14537 fail:
14538 return NULL;
14539}
14540
14541
c370783e 14542static PyObject *_wrap_FileDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14543 PyObject *resultobj = NULL;
d55e5bfc
RD
14544 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14545 wxString result;
14546 PyObject * obj0 = 0 ;
14547 char *kwnames[] = {
14548 (char *) "self", NULL
14549 };
14550
14551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
36ed4f51
RD
14552 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14553 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14554 {
14555 PyThreadState* __tstate = wxPyBeginAllowThreads();
14556 result = ((wxFileDialog const *)arg1)->GetPath();
14557
14558 wxPyEndAllowThreads(__tstate);
14559 if (PyErr_Occurred()) SWIG_fail;
14560 }
14561 {
14562#if wxUSE_UNICODE
14563 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14564#else
14565 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14566#endif
14567 }
14568 return resultobj;
14569 fail:
14570 return NULL;
14571}
14572
14573
c370783e 14574static PyObject *_wrap_FileDialog_GetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14575 PyObject *resultobj = NULL;
d55e5bfc
RD
14576 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14577 wxString result;
14578 PyObject * obj0 = 0 ;
14579 char *kwnames[] = {
14580 (char *) "self", NULL
14581 };
14582
14583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
36ed4f51
RD
14584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14585 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14586 {
14587 PyThreadState* __tstate = wxPyBeginAllowThreads();
14588 result = ((wxFileDialog const *)arg1)->GetDirectory();
14589
14590 wxPyEndAllowThreads(__tstate);
14591 if (PyErr_Occurred()) SWIG_fail;
14592 }
14593 {
14594#if wxUSE_UNICODE
14595 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14596#else
14597 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14598#endif
14599 }
14600 return resultobj;
14601 fail:
14602 return NULL;
14603}
14604
14605
c370783e 14606static PyObject *_wrap_FileDialog_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14607 PyObject *resultobj = NULL;
d55e5bfc
RD
14608 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14609 wxString result;
14610 PyObject * obj0 = 0 ;
14611 char *kwnames[] = {
14612 (char *) "self", NULL
14613 };
14614
14615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
36ed4f51
RD
14616 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14617 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14618 {
14619 PyThreadState* __tstate = wxPyBeginAllowThreads();
14620 result = ((wxFileDialog const *)arg1)->GetFilename();
14621
14622 wxPyEndAllowThreads(__tstate);
14623 if (PyErr_Occurred()) SWIG_fail;
14624 }
14625 {
14626#if wxUSE_UNICODE
14627 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14628#else
14629 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14630#endif
14631 }
14632 return resultobj;
14633 fail:
14634 return NULL;
14635}
14636
14637
c370783e 14638static PyObject *_wrap_FileDialog_GetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14639 PyObject *resultobj = NULL;
d55e5bfc
RD
14640 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14641 wxString result;
14642 PyObject * obj0 = 0 ;
14643 char *kwnames[] = {
14644 (char *) "self", NULL
14645 };
14646
14647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
36ed4f51
RD
14648 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14649 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14650 {
14651 PyThreadState* __tstate = wxPyBeginAllowThreads();
14652 result = ((wxFileDialog const *)arg1)->GetWildcard();
14653
14654 wxPyEndAllowThreads(__tstate);
14655 if (PyErr_Occurred()) SWIG_fail;
14656 }
14657 {
14658#if wxUSE_UNICODE
14659 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14660#else
14661 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14662#endif
14663 }
14664 return resultobj;
14665 fail:
14666 return NULL;
14667}
14668
14669
c370783e 14670static PyObject *_wrap_FileDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14671 PyObject *resultobj = NULL;
d55e5bfc
RD
14672 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14673 long result;
14674 PyObject * obj0 = 0 ;
14675 char *kwnames[] = {
14676 (char *) "self", NULL
14677 };
14678
14679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
36ed4f51
RD
14680 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14681 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14682 {
14683 PyThreadState* __tstate = wxPyBeginAllowThreads();
14684 result = (long)((wxFileDialog const *)arg1)->GetStyle();
14685
14686 wxPyEndAllowThreads(__tstate);
14687 if (PyErr_Occurred()) SWIG_fail;
14688 }
36ed4f51 14689 {
32fe5131 14690 resultobj = SWIG_From_long(static_cast<long >(result));
36ed4f51 14691 }
d55e5bfc
RD
14692 return resultobj;
14693 fail:
14694 return NULL;
14695}
14696
14697
c370783e 14698static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14699 PyObject *resultobj = NULL;
d55e5bfc
RD
14700 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14701 int result;
14702 PyObject * obj0 = 0 ;
14703 char *kwnames[] = {
14704 (char *) "self", NULL
14705 };
14706
14707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
36ed4f51
RD
14708 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14709 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14710 {
14711 PyThreadState* __tstate = wxPyBeginAllowThreads();
14712 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
14713
14714 wxPyEndAllowThreads(__tstate);
14715 if (PyErr_Occurred()) SWIG_fail;
14716 }
36ed4f51 14717 {
32fe5131 14718 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 14719 }
d55e5bfc
RD
14720 return resultobj;
14721 fail:
14722 return NULL;
14723}
14724
14725
c370783e 14726static PyObject *_wrap_FileDialog_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14727 PyObject *resultobj = NULL;
d55e5bfc
RD
14728 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14729 PyObject *result;
14730 PyObject * obj0 = 0 ;
14731 char *kwnames[] = {
14732 (char *) "self", NULL
14733 };
14734
14735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
36ed4f51
RD
14736 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14737 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14738 {
14739 PyThreadState* __tstate = wxPyBeginAllowThreads();
14740 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
14741
14742 wxPyEndAllowThreads(__tstate);
14743 if (PyErr_Occurred()) SWIG_fail;
14744 }
14745 resultobj = result;
14746 return resultobj;
14747 fail:
14748 return NULL;
14749}
14750
14751
c370783e 14752static PyObject *_wrap_FileDialog_GetPaths(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14753 PyObject *resultobj = NULL;
d55e5bfc
RD
14754 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14755 PyObject *result;
14756 PyObject * obj0 = 0 ;
14757 char *kwnames[] = {
14758 (char *) "self", NULL
14759 };
14760
14761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
36ed4f51
RD
14762 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14763 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14764 {
14765 PyThreadState* __tstate = wxPyBeginAllowThreads();
14766 result = (PyObject *)wxFileDialog_GetPaths(arg1);
14767
14768 wxPyEndAllowThreads(__tstate);
14769 if (PyErr_Occurred()) SWIG_fail;
14770 }
14771 resultobj = result;
14772 return resultobj;
14773 fail:
14774 return NULL;
14775}
14776
14777
c370783e 14778static PyObject * FileDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14779 PyObject *obj;
14780 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14781 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
14782 Py_INCREF(obj);
14783 return Py_BuildValue((char *)"");
14784}
c370783e 14785static PyObject *_wrap_new_MultiChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14786 PyObject *resultobj = NULL;
d55e5bfc
RD
14787 wxWindow *arg1 = (wxWindow *) 0 ;
14788 wxString *arg2 = 0 ;
14789 wxString *arg3 = 0 ;
14790 int arg4 = (int) 0 ;
bfddbb17 14791 wxString *arg5 = (wxString *) NULL ;
d55e5bfc
RD
14792 long arg6 = (long) wxCHOICEDLG_STYLE ;
14793 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14794 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14795 wxMultiChoiceDialog *result;
b411df4a
RD
14796 bool temp2 = false ;
14797 bool temp3 = false ;
36ed4f51 14798 wxPoint temp7 ;
d55e5bfc
RD
14799 PyObject * obj0 = 0 ;
14800 PyObject * obj1 = 0 ;
14801 PyObject * obj2 = 0 ;
14802 PyObject * obj3 = 0 ;
14803 PyObject * obj4 = 0 ;
14804 PyObject * obj5 = 0 ;
14805 char *kwnames[] = {
14806 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14807 };
14808
14809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
14810 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14811 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14812 {
14813 arg2 = wxString_in_helper(obj1);
14814 if (arg2 == NULL) SWIG_fail;
b411df4a 14815 temp2 = true;
d55e5bfc
RD
14816 }
14817 {
14818 arg3 = wxString_in_helper(obj2);
14819 if (arg3 == NULL) SWIG_fail;
b411df4a 14820 temp3 = true;
d55e5bfc
RD
14821 }
14822 if (obj3) {
14823 {
14824 arg4 = PyList_Size(obj3);
14825 arg5 = wxString_LIST_helper(obj3);
14826 if (arg5 == NULL) SWIG_fail;
14827 }
14828 }
14829 if (obj4) {
36ed4f51 14830 {
32fe5131 14831 arg6 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
14832 if (SWIG_arg_fail(6)) SWIG_fail;
14833 }
d55e5bfc
RD
14834 }
14835 if (obj5) {
14836 {
36ed4f51 14837 arg7 = &temp7;
d55e5bfc
RD
14838 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
14839 }
14840 }
14841 {
0439c23b 14842 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14843 PyThreadState* __tstate = wxPyBeginAllowThreads();
14844 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
14845
14846 wxPyEndAllowThreads(__tstate);
110da5b0 14847 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14848 }
14849 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
14850 {
14851 if (temp2)
14852 delete arg2;
14853 }
14854 {
14855 if (temp3)
14856 delete arg3;
14857 }
14858 {
14859 if (arg5) delete [] arg5;
14860 }
14861 return resultobj;
14862 fail:
14863 {
14864 if (temp2)
14865 delete arg2;
14866 }
14867 {
14868 if (temp3)
14869 delete arg3;
14870 }
14871 {
14872 if (arg5) delete [] arg5;
14873 }
14874 return NULL;
14875}
14876
14877
c370783e 14878static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14879 PyObject *resultobj = NULL;
d55e5bfc
RD
14880 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
14881 wxArrayInt *arg2 = 0 ;
b411df4a 14882 bool temp2 = false ;
d55e5bfc
RD
14883 PyObject * obj0 = 0 ;
14884 PyObject * obj1 = 0 ;
14885 char *kwnames[] = {
14886 (char *) "self",(char *) "selections", NULL
14887 };
14888
14889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14890 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14891 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14892 {
14893 if (! PySequence_Check(obj1)) {
14894 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
14895 SWIG_fail;
14896 }
14897 arg2 = new wxArrayInt;
b411df4a 14898 temp2 = true;
d55e5bfc
RD
14899 int i, len=PySequence_Length(obj1);
14900 for (i=0; i<len; i++) {
14901 PyObject* item = PySequence_GetItem(obj1, i);
14902 PyObject* number = PyNumber_Int(item);
14903 arg2->Add(PyInt_AS_LONG(number));
14904 Py_DECREF(item);
14905 Py_DECREF(number);
14906 }
14907 }
14908 {
14909 PyThreadState* __tstate = wxPyBeginAllowThreads();
14910 (arg1)->SetSelections((wxArrayInt const &)*arg2);
14911
14912 wxPyEndAllowThreads(__tstate);
14913 if (PyErr_Occurred()) SWIG_fail;
14914 }
14915 Py_INCREF(Py_None); resultobj = Py_None;
14916 {
14917 if (temp2) delete arg2;
14918 }
14919 return resultobj;
14920 fail:
14921 {
14922 if (temp2) delete arg2;
14923 }
14924 return NULL;
14925}
14926
14927
c370783e 14928static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14929 PyObject *resultobj = NULL;
d55e5bfc
RD
14930 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
14931 PyObject *result;
14932 PyObject * obj0 = 0 ;
14933 char *kwnames[] = {
14934 (char *) "self", NULL
14935 };
14936
14937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
36ed4f51
RD
14938 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14939 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14940 {
14941 PyThreadState* __tstate = wxPyBeginAllowThreads();
14942 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
14943
14944 wxPyEndAllowThreads(__tstate);
14945 if (PyErr_Occurred()) SWIG_fail;
14946 }
14947 resultobj = result;
14948 return resultobj;
14949 fail:
14950 return NULL;
14951}
14952
14953
c370783e 14954static PyObject * MultiChoiceDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14955 PyObject *obj;
14956 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14957 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
14958 Py_INCREF(obj);
14959 return Py_BuildValue((char *)"");
14960}
c370783e 14961static PyObject *_wrap_new_SingleChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14962 PyObject *resultobj = NULL;
d55e5bfc
RD
14963 wxWindow *arg1 = (wxWindow *) 0 ;
14964 wxString *arg2 = 0 ;
14965 wxString *arg3 = 0 ;
14966 int arg4 ;
14967 wxString *arg5 = (wxString *) 0 ;
14968 long arg6 = (long) wxCHOICEDLG_STYLE ;
14969 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14970 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14971 wxSingleChoiceDialog *result;
b411df4a
RD
14972 bool temp2 = false ;
14973 bool temp3 = false ;
36ed4f51 14974 wxPoint temp7 ;
d55e5bfc
RD
14975 PyObject * obj0 = 0 ;
14976 PyObject * obj1 = 0 ;
14977 PyObject * obj2 = 0 ;
14978 PyObject * obj3 = 0 ;
14979 PyObject * obj4 = 0 ;
14980 PyObject * obj5 = 0 ;
14981 char *kwnames[] = {
14982 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14983 };
14984
14985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
14986 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14987 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14988 {
14989 arg2 = wxString_in_helper(obj1);
14990 if (arg2 == NULL) SWIG_fail;
b411df4a 14991 temp2 = true;
d55e5bfc
RD
14992 }
14993 {
14994 arg3 = wxString_in_helper(obj2);
14995 if (arg3 == NULL) SWIG_fail;
b411df4a 14996 temp3 = true;
d55e5bfc
RD
14997 }
14998 {
14999 arg4 = PyList_Size(obj3);
15000 arg5 = wxString_LIST_helper(obj3);
15001 if (arg5 == NULL) SWIG_fail;
15002 }
15003 if (obj4) {
36ed4f51 15004 {
32fe5131 15005 arg6 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
15006 if (SWIG_arg_fail(6)) SWIG_fail;
15007 }
d55e5bfc
RD
15008 }
15009 if (obj5) {
15010 {
36ed4f51 15011 arg7 = &temp7;
d55e5bfc
RD
15012 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
15013 }
15014 }
15015 {
0439c23b 15016 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15017 PyThreadState* __tstate = wxPyBeginAllowThreads();
15018 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
15019
15020 wxPyEndAllowThreads(__tstate);
110da5b0 15021 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15022 }
15023 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
15024 {
15025 if (temp2)
15026 delete arg2;
15027 }
15028 {
15029 if (temp3)
15030 delete arg3;
15031 }
15032 {
15033 if (arg5) delete [] arg5;
15034 }
15035 return resultobj;
15036 fail:
15037 {
15038 if (temp2)
15039 delete arg2;
15040 }
15041 {
15042 if (temp3)
15043 delete arg3;
15044 }
15045 {
15046 if (arg5) delete [] arg5;
15047 }
15048 return NULL;
15049}
15050
15051
c370783e 15052static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15053 PyObject *resultobj = NULL;
d55e5bfc
RD
15054 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
15055 int result;
15056 PyObject * obj0 = 0 ;
15057 char *kwnames[] = {
15058 (char *) "self", NULL
15059 };
15060
15061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
15062 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
15063 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15064 {
15065 PyThreadState* __tstate = wxPyBeginAllowThreads();
15066 result = (int)(arg1)->GetSelection();
15067
15068 wxPyEndAllowThreads(__tstate);
15069 if (PyErr_Occurred()) SWIG_fail;
15070 }
36ed4f51 15071 {
32fe5131 15072 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 15073 }
d55e5bfc
RD
15074 return resultobj;
15075 fail:
15076 return NULL;
15077}
15078
15079
c370783e 15080static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15081 PyObject *resultobj = NULL;
d55e5bfc
RD
15082 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
15083 wxString result;
15084 PyObject * obj0 = 0 ;
15085 char *kwnames[] = {
15086 (char *) "self", NULL
15087 };
15088
15089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
15090 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
15091 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15092 {
15093 PyThreadState* __tstate = wxPyBeginAllowThreads();
15094 result = (arg1)->GetStringSelection();
15095
15096 wxPyEndAllowThreads(__tstate);
15097 if (PyErr_Occurred()) SWIG_fail;
15098 }
15099 {
15100#if wxUSE_UNICODE
15101 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15102#else
15103 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15104#endif
15105 }
15106 return resultobj;
15107 fail:
15108 return NULL;
15109}
15110
15111
c370783e 15112static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15113 PyObject *resultobj = NULL;
d55e5bfc
RD
15114 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
15115 int arg2 ;
15116 PyObject * obj0 = 0 ;
15117 PyObject * obj1 = 0 ;
15118 char *kwnames[] = {
15119 (char *) "self",(char *) "sel", NULL
15120 };
15121
15122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15123 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
15124 if (SWIG_arg_fail(1)) SWIG_fail;
15125 {
32fe5131 15126 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
15127 if (SWIG_arg_fail(2)) SWIG_fail;
15128 }
d55e5bfc
RD
15129 {
15130 PyThreadState* __tstate = wxPyBeginAllowThreads();
15131 (arg1)->SetSelection(arg2);
15132
15133 wxPyEndAllowThreads(__tstate);
15134 if (PyErr_Occurred()) SWIG_fail;
15135 }
15136 Py_INCREF(Py_None); resultobj = Py_None;
15137 return resultobj;
15138 fail:
15139 return NULL;
15140}
15141
15142
c370783e 15143static PyObject * SingleChoiceDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15144 PyObject *obj;
15145 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15146 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
15147 Py_INCREF(obj);
15148 return Py_BuildValue((char *)"");
15149}
c370783e 15150static PyObject *_wrap_new_TextEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15151 PyObject *resultobj = NULL;
d55e5bfc
RD
15152 wxWindow *arg1 = (wxWindow *) 0 ;
15153 wxString *arg2 = 0 ;
15154 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
15155 wxString *arg3 = (wxString *) &arg3_defvalue ;
15156 wxString const &arg4_defvalue = wxPyEmptyString ;
15157 wxString *arg4 = (wxString *) &arg4_defvalue ;
070c48b4 15158 long arg5 = (long) wxTextEntryDialogStyle ;
d55e5bfc
RD
15159 wxPoint const &arg6_defvalue = wxDefaultPosition ;
15160 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
15161 wxTextEntryDialog *result;
b411df4a
RD
15162 bool temp2 = false ;
15163 bool temp3 = false ;
15164 bool temp4 = false ;
d55e5bfc
RD
15165 wxPoint temp6 ;
15166 PyObject * obj0 = 0 ;
15167 PyObject * obj1 = 0 ;
15168 PyObject * obj2 = 0 ;
15169 PyObject * obj3 = 0 ;
15170 PyObject * obj4 = 0 ;
15171 PyObject * obj5 = 0 ;
15172 char *kwnames[] = {
15173 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
15174 };
15175
15176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
15177 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15178 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15179 {
15180 arg2 = wxString_in_helper(obj1);
15181 if (arg2 == NULL) SWIG_fail;
b411df4a 15182 temp2 = true;
d55e5bfc
RD
15183 }
15184 if (obj2) {
15185 {
15186 arg3 = wxString_in_helper(obj2);
15187 if (arg3 == NULL) SWIG_fail;
b411df4a 15188 temp3 = true;
d55e5bfc
RD
15189 }
15190 }
15191 if (obj3) {
15192 {
15193 arg4 = wxString_in_helper(obj3);
15194 if (arg4 == NULL) SWIG_fail;
b411df4a 15195 temp4 = true;
d55e5bfc
RD
15196 }
15197 }
15198 if (obj4) {
36ed4f51 15199 {
32fe5131 15200 arg5 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
15201 if (SWIG_arg_fail(5)) SWIG_fail;
15202 }
d55e5bfc
RD
15203 }
15204 if (obj5) {
15205 {
15206 arg6 = &temp6;
15207 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
15208 }
15209 }
15210 {
0439c23b 15211 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15212 PyThreadState* __tstate = wxPyBeginAllowThreads();
15213 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
15214
15215 wxPyEndAllowThreads(__tstate);
110da5b0 15216 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15217 }
15218 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
15219 {
15220 if (temp2)
15221 delete arg2;
15222 }
15223 {
15224 if (temp3)
15225 delete arg3;
15226 }
15227 {
15228 if (temp4)
15229 delete arg4;
15230 }
15231 return resultobj;
15232 fail:
15233 {
15234 if (temp2)
15235 delete arg2;
15236 }
15237 {
15238 if (temp3)
15239 delete arg3;
15240 }
15241 {
15242 if (temp4)
15243 delete arg4;
15244 }
15245 return NULL;
15246}
15247
15248
c370783e 15249static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15250 PyObject *resultobj = NULL;
d55e5bfc
RD
15251 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
15252 wxString result;
15253 PyObject * obj0 = 0 ;
15254 char *kwnames[] = {
15255 (char *) "self", NULL
15256 };
15257
15258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
36ed4f51
RD
15259 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_EXCEPTION | 0);
15260 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15261 {
15262 PyThreadState* __tstate = wxPyBeginAllowThreads();
15263 result = (arg1)->GetValue();
15264
15265 wxPyEndAllowThreads(__tstate);
15266 if (PyErr_Occurred()) SWIG_fail;
15267 }
15268 {
15269#if wxUSE_UNICODE
15270 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15271#else
15272 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15273#endif
15274 }
15275 return resultobj;
15276 fail:
15277 return NULL;
15278}
15279
15280
c370783e 15281static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15282 PyObject *resultobj = NULL;
d55e5bfc
RD
15283 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
15284 wxString *arg2 = 0 ;
b411df4a 15285 bool temp2 = false ;
d55e5bfc
RD
15286 PyObject * obj0 = 0 ;
15287 PyObject * obj1 = 0 ;
15288 char *kwnames[] = {
15289 (char *) "self",(char *) "value", NULL
15290 };
15291
15292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15293 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_EXCEPTION | 0);
15294 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15295 {
15296 arg2 = wxString_in_helper(obj1);
15297 if (arg2 == NULL) SWIG_fail;
b411df4a 15298 temp2 = true;
d55e5bfc
RD
15299 }
15300 {
15301 PyThreadState* __tstate = wxPyBeginAllowThreads();
15302 (arg1)->SetValue((wxString const &)*arg2);
15303
15304 wxPyEndAllowThreads(__tstate);
15305 if (PyErr_Occurred()) SWIG_fail;
15306 }
15307 Py_INCREF(Py_None); resultobj = Py_None;
15308 {
15309 if (temp2)
15310 delete arg2;
15311 }
15312 return resultobj;
15313 fail:
15314 {
15315 if (temp2)
15316 delete arg2;
15317 }
15318 return NULL;
15319}
15320
15321
c370783e 15322static PyObject * TextEntryDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15323 PyObject *obj;
15324 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15325 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
15326 Py_INCREF(obj);
15327 return Py_BuildValue((char *)"");
15328}
070c48b4
RD
15329static int _wrap_GetPasswordFromUserPromptStr_set(PyObject *) {
15330 PyErr_SetString(PyExc_TypeError,"Variable GetPasswordFromUserPromptStr is read-only.");
15331 return 1;
15332}
15333
15334
36ed4f51 15335static PyObject *_wrap_GetPasswordFromUserPromptStr_get(void) {
32fe5131 15336 PyObject *pyobj = NULL;
070c48b4
RD
15337
15338 {
15339#if wxUSE_UNICODE
15340 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
15341#else
15342 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
15343#endif
15344 }
15345 return pyobj;
15346}
15347
15348
15349static PyObject *_wrap_new_PasswordEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15350 PyObject *resultobj = NULL;
070c48b4
RD
15351 wxWindow *arg1 = (wxWindow *) 0 ;
15352 wxString *arg2 = 0 ;
15353 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
15354 wxString *arg3 = (wxString *) &arg3_defvalue ;
15355 wxString const &arg4_defvalue = wxPyEmptyString ;
15356 wxString *arg4 = (wxString *) &arg4_defvalue ;
15357 long arg5 = (long) wxTextEntryDialogStyle ;
15358 wxPoint const &arg6_defvalue = wxDefaultPosition ;
15359 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
15360 wxPasswordEntryDialog *result;
15361 bool temp2 = false ;
15362 bool temp3 = false ;
15363 bool temp4 = false ;
15364 wxPoint temp6 ;
15365 PyObject * obj0 = 0 ;
15366 PyObject * obj1 = 0 ;
15367 PyObject * obj2 = 0 ;
15368 PyObject * obj3 = 0 ;
15369 PyObject * obj4 = 0 ;
15370 PyObject * obj5 = 0 ;
15371 char *kwnames[] = {
15372 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
15373 };
15374
15375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
15376 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15377 if (SWIG_arg_fail(1)) SWIG_fail;
070c48b4
RD
15378 {
15379 arg2 = wxString_in_helper(obj1);
15380 if (arg2 == NULL) SWIG_fail;
15381 temp2 = true;
15382 }
15383 if (obj2) {
15384 {
15385 arg3 = wxString_in_helper(obj2);
15386 if (arg3 == NULL) SWIG_fail;
15387 temp3 = true;
15388 }
15389 }
15390 if (obj3) {
15391 {
15392 arg4 = wxString_in_helper(obj3);
15393 if (arg4 == NULL) SWIG_fail;
15394 temp4 = true;
15395 }
15396 }
15397 if (obj4) {
36ed4f51 15398 {
32fe5131 15399 arg5 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
15400 if (SWIG_arg_fail(5)) SWIG_fail;
15401 }
070c48b4
RD
15402 }
15403 if (obj5) {
15404 {
15405 arg6 = &temp6;
15406 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
15407 }
15408 }
15409 {
15410 PyThreadState* __tstate = wxPyBeginAllowThreads();
15411 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
15412
15413 wxPyEndAllowThreads(__tstate);
15414 if (PyErr_Occurred()) SWIG_fail;
15415 }
15416 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPasswordEntryDialog, 1);
15417 {
15418 if (temp2)
15419 delete arg2;
15420 }
15421 {
15422 if (temp3)
15423 delete arg3;
15424 }
15425 {
15426 if (temp4)
15427 delete arg4;
15428 }
15429 return resultobj;
15430 fail:
15431 {
15432 if (temp2)
15433 delete arg2;
15434 }
15435 {
15436 if (temp3)
15437 delete arg3;
15438 }
15439 {
15440 if (temp4)
15441 delete arg4;
15442 }
15443 return NULL;
15444}
15445
15446
15447static PyObject * PasswordEntryDialog_swigregister(PyObject *, PyObject *args) {
15448 PyObject *obj;
15449 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15450 SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog, obj);
15451 Py_INCREF(obj);
15452 return Py_BuildValue((char *)"");
15453}
c370783e 15454static PyObject *_wrap_new_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15455 PyObject *resultobj = NULL;
d55e5bfc
RD
15456 wxFontData *result;
15457 char *kwnames[] = {
15458 NULL
15459 };
15460
15461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
15462 {
15463 PyThreadState* __tstate = wxPyBeginAllowThreads();
15464 result = (wxFontData *)new wxFontData();
15465
15466 wxPyEndAllowThreads(__tstate);
15467 if (PyErr_Occurred()) SWIG_fail;
15468 }
15469 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
15470 return resultobj;
15471 fail:
15472 return NULL;
15473}
15474
15475
c370783e 15476static PyObject *_wrap_delete_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15477 PyObject *resultobj = NULL;
d55e5bfc
RD
15478 wxFontData *arg1 = (wxFontData *) 0 ;
15479 PyObject * obj0 = 0 ;
15480 char *kwnames[] = {
15481 (char *) "self", NULL
15482 };
15483
15484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
36ed4f51
RD
15485 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15486 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15487 {
15488 PyThreadState* __tstate = wxPyBeginAllowThreads();
15489 delete arg1;
15490
15491 wxPyEndAllowThreads(__tstate);
15492 if (PyErr_Occurred()) SWIG_fail;
15493 }
15494 Py_INCREF(Py_None); resultobj = Py_None;
15495 return resultobj;
15496 fail:
15497 return NULL;
15498}
15499
15500
c370783e 15501static PyObject *_wrap_FontData_EnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15502 PyObject *resultobj = NULL;
d55e5bfc
RD
15503 wxFontData *arg1 = (wxFontData *) 0 ;
15504 bool arg2 ;
15505 PyObject * obj0 = 0 ;
15506 PyObject * obj1 = 0 ;
15507 char *kwnames[] = {
15508 (char *) "self",(char *) "enable", NULL
15509 };
15510
15511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15513 if (SWIG_arg_fail(1)) SWIG_fail;
15514 {
32fe5131 15515 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
15516 if (SWIG_arg_fail(2)) SWIG_fail;
15517 }
d55e5bfc
RD
15518 {
15519 PyThreadState* __tstate = wxPyBeginAllowThreads();
15520 (arg1)->EnableEffects(arg2);
15521
15522 wxPyEndAllowThreads(__tstate);
15523 if (PyErr_Occurred()) SWIG_fail;
15524 }
15525 Py_INCREF(Py_None); resultobj = Py_None;
15526 return resultobj;
15527 fail:
15528 return NULL;
15529}
15530
15531
c370783e 15532static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15533 PyObject *resultobj = NULL;
d55e5bfc
RD
15534 wxFontData *arg1 = (wxFontData *) 0 ;
15535 bool result;
15536 PyObject * obj0 = 0 ;
15537 char *kwnames[] = {
15538 (char *) "self", NULL
15539 };
15540
15541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
36ed4f51
RD
15542 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15543 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15544 {
15545 PyThreadState* __tstate = wxPyBeginAllowThreads();
15546 result = (bool)(arg1)->GetAllowSymbols();
15547
15548 wxPyEndAllowThreads(__tstate);
15549 if (PyErr_Occurred()) SWIG_fail;
15550 }
15551 {
15552 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15553 }
15554 return resultobj;
15555 fail:
15556 return NULL;
15557}
15558
15559
c370783e 15560static PyObject *_wrap_FontData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15561 PyObject *resultobj = NULL;
d55e5bfc
RD
15562 wxFontData *arg1 = (wxFontData *) 0 ;
15563 wxColour result;
15564 PyObject * obj0 = 0 ;
15565 char *kwnames[] = {
15566 (char *) "self", NULL
15567 };
15568
15569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
15570 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15571 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15572 {
15573 PyThreadState* __tstate = wxPyBeginAllowThreads();
15574 result = (arg1)->GetColour();
15575
15576 wxPyEndAllowThreads(__tstate);
15577 if (PyErr_Occurred()) SWIG_fail;
15578 }
15579 {
15580 wxColour * resultptr;
32fe5131 15581 resultptr = new wxColour(static_cast<wxColour & >(result));
d55e5bfc
RD
15582 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
15583 }
15584 return resultobj;
15585 fail:
15586 return NULL;
15587}
15588
15589
c370783e 15590static PyObject *_wrap_FontData_GetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15591 PyObject *resultobj = NULL;
d55e5bfc
RD
15592 wxFontData *arg1 = (wxFontData *) 0 ;
15593 wxFont result;
15594 PyObject * obj0 = 0 ;
15595 char *kwnames[] = {
15596 (char *) "self", NULL
15597 };
15598
15599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
36ed4f51
RD
15600 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15601 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15602 {
15603 PyThreadState* __tstate = wxPyBeginAllowThreads();
15604 result = (arg1)->GetChosenFont();
15605
15606 wxPyEndAllowThreads(__tstate);
15607 if (PyErr_Occurred()) SWIG_fail;
15608 }
15609 {
15610 wxFont * resultptr;
32fe5131 15611 resultptr = new wxFont(static_cast<wxFont & >(result));
d55e5bfc
RD
15612 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
15613 }
15614 return resultobj;
15615 fail:
15616 return NULL;
15617}
15618
15619
c370783e 15620static PyObject *_wrap_FontData_GetEnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15621 PyObject *resultobj = NULL;
d55e5bfc
RD
15622 wxFontData *arg1 = (wxFontData *) 0 ;
15623 bool result;
15624 PyObject * obj0 = 0 ;
15625 char *kwnames[] = {
15626 (char *) "self", NULL
15627 };
15628
15629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
36ed4f51
RD
15630 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15631 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15632 {
15633 PyThreadState* __tstate = wxPyBeginAllowThreads();
15634 result = (bool)(arg1)->GetEnableEffects();
15635
15636 wxPyEndAllowThreads(__tstate);
15637 if (PyErr_Occurred()) SWIG_fail;
15638 }
15639 {
15640 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15641 }
15642 return resultobj;
15643 fail:
15644 return NULL;
15645}
15646
15647
c370783e 15648static PyObject *_wrap_FontData_GetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15649 PyObject *resultobj = NULL;
d55e5bfc
RD
15650 wxFontData *arg1 = (wxFontData *) 0 ;
15651 wxFont result;
15652 PyObject * obj0 = 0 ;
15653 char *kwnames[] = {
15654 (char *) "self", NULL
15655 };
15656
15657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
36ed4f51
RD
15658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15659 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15660 {
15661 PyThreadState* __tstate = wxPyBeginAllowThreads();
15662 result = (arg1)->GetInitialFont();
15663
15664 wxPyEndAllowThreads(__tstate);
15665 if (PyErr_Occurred()) SWIG_fail;
15666 }
15667 {
15668 wxFont * resultptr;
32fe5131 15669 resultptr = new wxFont(static_cast<wxFont & >(result));
d55e5bfc
RD
15670 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
15671 }
15672 return resultobj;
15673 fail:
15674 return NULL;
15675}
15676
15677
c370783e 15678static PyObject *_wrap_FontData_GetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15679 PyObject *resultobj = NULL;
d55e5bfc
RD
15680 wxFontData *arg1 = (wxFontData *) 0 ;
15681 bool result;
15682 PyObject * obj0 = 0 ;
15683 char *kwnames[] = {
15684 (char *) "self", NULL
15685 };
15686
15687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
36ed4f51
RD
15688 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15689 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15690 {
15691 PyThreadState* __tstate = wxPyBeginAllowThreads();
15692 result = (bool)(arg1)->GetShowHelp();
15693
15694 wxPyEndAllowThreads(__tstate);
15695 if (PyErr_Occurred()) SWIG_fail;
15696 }
15697 {
15698 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15699 }
15700 return resultobj;
15701 fail:
15702 return NULL;
15703}
15704
15705
c370783e 15706static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15707 PyObject *resultobj = NULL;
d55e5bfc
RD
15708 wxFontData *arg1 = (wxFontData *) 0 ;
15709 bool arg2 ;
15710 PyObject * obj0 = 0 ;
15711 PyObject * obj1 = 0 ;
15712 char *kwnames[] = {
15713 (char *) "self",(char *) "allowSymbols", NULL
15714 };
15715
15716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15717 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15718 if (SWIG_arg_fail(1)) SWIG_fail;
15719 {
32fe5131 15720 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
15721 if (SWIG_arg_fail(2)) SWIG_fail;
15722 }
d55e5bfc
RD
15723 {
15724 PyThreadState* __tstate = wxPyBeginAllowThreads();
15725 (arg1)->SetAllowSymbols(arg2);
15726
15727 wxPyEndAllowThreads(__tstate);
15728 if (PyErr_Occurred()) SWIG_fail;
15729 }
15730 Py_INCREF(Py_None); resultobj = Py_None;
15731 return resultobj;
15732 fail:
15733 return NULL;
15734}
15735
15736
c370783e 15737static PyObject *_wrap_FontData_SetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15738 PyObject *resultobj = NULL;
d55e5bfc
RD
15739 wxFontData *arg1 = (wxFontData *) 0 ;
15740 wxFont *arg2 = 0 ;
15741 PyObject * obj0 = 0 ;
15742 PyObject * obj1 = 0 ;
15743 char *kwnames[] = {
15744 (char *) "self",(char *) "font", NULL
15745 };
15746
15747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15748 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15749 if (SWIG_arg_fail(1)) SWIG_fail;
15750 {
15751 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
15752 if (SWIG_arg_fail(2)) SWIG_fail;
15753 if (arg2 == NULL) {
15754 SWIG_null_ref("wxFont");
15755 }
15756 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
15757 }
15758 {
15759 PyThreadState* __tstate = wxPyBeginAllowThreads();
15760 (arg1)->SetChosenFont((wxFont const &)*arg2);
15761
15762 wxPyEndAllowThreads(__tstate);
15763 if (PyErr_Occurred()) SWIG_fail;
15764 }
15765 Py_INCREF(Py_None); resultobj = Py_None;
15766 return resultobj;
15767 fail:
15768 return NULL;
15769}
15770
15771
c370783e 15772static PyObject *_wrap_FontData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15773 PyObject *resultobj = NULL;
d55e5bfc
RD
15774 wxFontData *arg1 = (wxFontData *) 0 ;
15775 wxColour *arg2 = 0 ;
15776 wxColour temp2 ;
15777 PyObject * obj0 = 0 ;
15778 PyObject * obj1 = 0 ;
15779 char *kwnames[] = {
15780 (char *) "self",(char *) "colour", NULL
15781 };
15782
15783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15784 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15785 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15786 {
15787 arg2 = &temp2;
15788 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15789 }
15790 {
15791 PyThreadState* __tstate = wxPyBeginAllowThreads();
15792 (arg1)->SetColour((wxColour const &)*arg2);
15793
15794 wxPyEndAllowThreads(__tstate);
15795 if (PyErr_Occurred()) SWIG_fail;
15796 }
15797 Py_INCREF(Py_None); resultobj = Py_None;
15798 return resultobj;
15799 fail:
15800 return NULL;
15801}
15802
15803
c370783e 15804static PyObject *_wrap_FontData_SetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15805 PyObject *resultobj = NULL;
d55e5bfc
RD
15806 wxFontData *arg1 = (wxFontData *) 0 ;
15807 wxFont *arg2 = 0 ;
15808 PyObject * obj0 = 0 ;
15809 PyObject * obj1 = 0 ;
15810 char *kwnames[] = {
15811 (char *) "self",(char *) "font", NULL
15812 };
15813
15814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15815 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15816 if (SWIG_arg_fail(1)) SWIG_fail;
15817 {
15818 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
15819 if (SWIG_arg_fail(2)) SWIG_fail;
15820 if (arg2 == NULL) {
15821 SWIG_null_ref("wxFont");
15822 }
15823 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
15824 }
15825 {
15826 PyThreadState* __tstate = wxPyBeginAllowThreads();
15827 (arg1)->SetInitialFont((wxFont const &)*arg2);
15828
15829 wxPyEndAllowThreads(__tstate);
15830 if (PyErr_Occurred()) SWIG_fail;
15831 }
15832 Py_INCREF(Py_None); resultobj = Py_None;
15833 return resultobj;
15834 fail:
15835 return NULL;
15836}
15837
15838
c370783e 15839static PyObject *_wrap_FontData_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15840 PyObject *resultobj = NULL;
d55e5bfc
RD
15841 wxFontData *arg1 = (wxFontData *) 0 ;
15842 int arg2 ;
15843 int arg3 ;
15844 PyObject * obj0 = 0 ;
15845 PyObject * obj1 = 0 ;
15846 PyObject * obj2 = 0 ;
15847 char *kwnames[] = {
15848 (char *) "self",(char *) "min",(char *) "max", NULL
15849 };
15850
15851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
15852 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15853 if (SWIG_arg_fail(1)) SWIG_fail;
15854 {
32fe5131 15855 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
15856 if (SWIG_arg_fail(2)) SWIG_fail;
15857 }
15858 {
32fe5131 15859 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
15860 if (SWIG_arg_fail(3)) SWIG_fail;
15861 }
d55e5bfc
RD
15862 {
15863 PyThreadState* __tstate = wxPyBeginAllowThreads();
15864 (arg1)->SetRange(arg2,arg3);
15865
15866 wxPyEndAllowThreads(__tstate);
15867 if (PyErr_Occurred()) SWIG_fail;
15868 }
15869 Py_INCREF(Py_None); resultobj = Py_None;
15870 return resultobj;
15871 fail:
15872 return NULL;
15873}
15874
15875
c370783e 15876static PyObject *_wrap_FontData_SetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15877 PyObject *resultobj = NULL;
d55e5bfc
RD
15878 wxFontData *arg1 = (wxFontData *) 0 ;
15879 bool arg2 ;
15880 PyObject * obj0 = 0 ;
15881 PyObject * obj1 = 0 ;
15882 char *kwnames[] = {
15883 (char *) "self",(char *) "showHelp", NULL
15884 };
15885
15886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15887 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15888 if (SWIG_arg_fail(1)) SWIG_fail;
15889 {
32fe5131 15890 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
15891 if (SWIG_arg_fail(2)) SWIG_fail;
15892 }
d55e5bfc
RD
15893 {
15894 PyThreadState* __tstate = wxPyBeginAllowThreads();
15895 (arg1)->SetShowHelp(arg2);
15896
15897 wxPyEndAllowThreads(__tstate);
15898 if (PyErr_Occurred()) SWIG_fail;
15899 }
15900 Py_INCREF(Py_None); resultobj = Py_None;
15901 return resultobj;
15902 fail:
15903 return NULL;
15904}
15905
15906
c370783e 15907static PyObject * FontData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15908 PyObject *obj;
15909 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15910 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
15911 Py_INCREF(obj);
15912 return Py_BuildValue((char *)"");
15913}
c370783e 15914static PyObject *_wrap_new_FontDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15915 PyObject *resultobj = NULL;
d55e5bfc
RD
15916 wxWindow *arg1 = (wxWindow *) 0 ;
15917 wxFontData *arg2 = 0 ;
15918 wxFontDialog *result;
15919 PyObject * obj0 = 0 ;
15920 PyObject * obj1 = 0 ;
15921 char *kwnames[] = {
15922 (char *) "parent",(char *) "data", NULL
15923 };
15924
15925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15926 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15927 if (SWIG_arg_fail(1)) SWIG_fail;
15928 {
15929 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15930 if (SWIG_arg_fail(2)) SWIG_fail;
15931 if (arg2 == NULL) {
15932 SWIG_null_ref("wxFontData");
15933 }
15934 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
15935 }
15936 {
0439c23b 15937 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15938 PyThreadState* __tstate = wxPyBeginAllowThreads();
15939 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
15940
15941 wxPyEndAllowThreads(__tstate);
110da5b0 15942 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15943 }
15944 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
15945 return resultobj;
15946 fail:
15947 return NULL;
15948}
15949
15950
c370783e 15951static PyObject *_wrap_FontDialog_GetFontData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15952 PyObject *resultobj = NULL;
d55e5bfc
RD
15953 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
15954 wxFontData *result;
15955 PyObject * obj0 = 0 ;
15956 char *kwnames[] = {
32fe5131
RD
15957 (char *) "self", NULL
15958 };
15959
15960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
15961 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontDialog, SWIG_POINTER_EXCEPTION | 0);
15962 if (SWIG_arg_fail(1)) SWIG_fail;
15963 {
15964 PyThreadState* __tstate = wxPyBeginAllowThreads();
15965 {
15966 wxFontData &_result_ref = (arg1)->GetFontData();
15967 result = (wxFontData *) &_result_ref;
15968 }
15969
15970 wxPyEndAllowThreads(__tstate);
15971 if (PyErr_Occurred()) SWIG_fail;
15972 }
15973 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
15974 return resultobj;
15975 fail:
15976 return NULL;
15977}
15978
15979
15980static PyObject * FontDialog_swigregister(PyObject *, PyObject *args) {
15981 PyObject *obj;
15982 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15983 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
15984 Py_INCREF(obj);
15985 return Py_BuildValue((char *)"");
15986}
15987static PyObject *_wrap_GetFontFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
15988 PyObject *resultobj = NULL;
15989 wxWindow *arg1 = (wxWindow *) NULL ;
15990 wxFont const &arg2_defvalue = wxNullFont ;
15991 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
15992 wxString const &arg3_defvalue = wxPyEmptyString ;
15993 wxString *arg3 = (wxString *) &arg3_defvalue ;
15994 wxFont result;
15995 bool temp3 = false ;
15996 PyObject * obj0 = 0 ;
15997 PyObject * obj1 = 0 ;
15998 PyObject * obj2 = 0 ;
15999 char *kwnames[] = {
16000 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
d55e5bfc
RD
16001 };
16002
32fe5131
RD
16003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) goto fail;
16004 if (obj0) {
16005 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16006 if (SWIG_arg_fail(1)) SWIG_fail;
16007 }
16008 if (obj1) {
d55e5bfc 16009 {
32fe5131
RD
16010 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
16011 if (SWIG_arg_fail(2)) SWIG_fail;
16012 if (arg2 == NULL) {
16013 SWIG_null_ref("wxFont");
16014 }
16015 if (SWIG_arg_fail(2)) SWIG_fail;
16016 }
16017 }
16018 if (obj2) {
16019 {
16020 arg3 = wxString_in_helper(obj2);
16021 if (arg3 == NULL) SWIG_fail;
16022 temp3 = true;
d55e5bfc 16023 }
32fe5131
RD
16024 }
16025 {
16026 PyThreadState* __tstate = wxPyBeginAllowThreads();
16027 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
d55e5bfc
RD
16028
16029 wxPyEndAllowThreads(__tstate);
16030 if (PyErr_Occurred()) SWIG_fail;
16031 }
32fe5131
RD
16032 {
16033 wxFont * resultptr;
16034 resultptr = new wxFont(static_cast<wxFont & >(result));
16035 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
16036 }
16037 {
16038 if (temp3)
16039 delete arg3;
16040 }
d55e5bfc
RD
16041 return resultobj;
16042 fail:
32fe5131
RD
16043 {
16044 if (temp3)
16045 delete arg3;
16046 }
d55e5bfc
RD
16047 return NULL;
16048}
16049
16050
c370783e 16051static PyObject *_wrap_new_MessageDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16052 PyObject *resultobj = NULL;
d55e5bfc
RD
16053 wxWindow *arg1 = (wxWindow *) 0 ;
16054 wxString *arg2 = 0 ;
16055 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
16056 wxString *arg3 = (wxString *) &arg3_defvalue ;
16057 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
16058 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16059 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16060 wxMessageDialog *result;
b411df4a
RD
16061 bool temp2 = false ;
16062 bool temp3 = false ;
d55e5bfc
RD
16063 wxPoint temp5 ;
16064 PyObject * obj0 = 0 ;
16065 PyObject * obj1 = 0 ;
16066 PyObject * obj2 = 0 ;
16067 PyObject * obj3 = 0 ;
16068 PyObject * obj4 = 0 ;
16069 char *kwnames[] = {
16070 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
16071 };
16072
16073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
16074 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16075 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16076 {
16077 arg2 = wxString_in_helper(obj1);
16078 if (arg2 == NULL) SWIG_fail;
b411df4a 16079 temp2 = true;
d55e5bfc
RD
16080 }
16081 if (obj2) {
16082 {
16083 arg3 = wxString_in_helper(obj2);
16084 if (arg3 == NULL) SWIG_fail;
b411df4a 16085 temp3 = true;
d55e5bfc
RD
16086 }
16087 }
16088 if (obj3) {
36ed4f51 16089 {
32fe5131 16090 arg4 = static_cast<long >(SWIG_As_long(obj3));
36ed4f51
RD
16091 if (SWIG_arg_fail(4)) SWIG_fail;
16092 }
d55e5bfc
RD
16093 }
16094 if (obj4) {
16095 {
16096 arg5 = &temp5;
16097 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16098 }
16099 }
16100 {
0439c23b 16101 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
16102 PyThreadState* __tstate = wxPyBeginAllowThreads();
16103 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
16104
16105 wxPyEndAllowThreads(__tstate);
110da5b0 16106 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
16107 }
16108 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
16109 {
16110 if (temp2)
16111 delete arg2;
16112 }
16113 {
16114 if (temp3)
16115 delete arg3;
16116 }
16117 return resultobj;
16118 fail:
16119 {
16120 if (temp2)
16121 delete arg2;
16122 }
16123 {
16124 if (temp3)
16125 delete arg3;
16126 }
16127 return NULL;
16128}
16129
16130
c370783e 16131static PyObject * MessageDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16132 PyObject *obj;
16133 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16134 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
16135 Py_INCREF(obj);
16136 return Py_BuildValue((char *)"");
16137}
c370783e 16138static PyObject *_wrap_new_ProgressDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16139 PyObject *resultobj = NULL;
d55e5bfc
RD
16140 wxString *arg1 = 0 ;
16141 wxString *arg2 = 0 ;
16142 int arg3 = (int) 100 ;
16143 wxWindow *arg4 = (wxWindow *) NULL ;
16144 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
16145 wxProgressDialog *result;
b411df4a
RD
16146 bool temp1 = false ;
16147 bool temp2 = false ;
d55e5bfc
RD
16148 PyObject * obj0 = 0 ;
16149 PyObject * obj1 = 0 ;
16150 PyObject * obj2 = 0 ;
16151 PyObject * obj3 = 0 ;
16152 PyObject * obj4 = 0 ;
16153 char *kwnames[] = {
16154 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
16155 };
16156
16157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16158 {
16159 arg1 = wxString_in_helper(obj0);
16160 if (arg1 == NULL) SWIG_fail;
b411df4a 16161 temp1 = true;
d55e5bfc
RD
16162 }
16163 {
16164 arg2 = wxString_in_helper(obj1);
16165 if (arg2 == NULL) SWIG_fail;
b411df4a 16166 temp2 = true;
d55e5bfc
RD
16167 }
16168 if (obj2) {
36ed4f51 16169 {
32fe5131 16170 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
16171 if (SWIG_arg_fail(3)) SWIG_fail;
16172 }
d55e5bfc
RD
16173 }
16174 if (obj3) {
36ed4f51
RD
16175 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16176 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
16177 }
16178 if (obj4) {
36ed4f51 16179 {
32fe5131 16180 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
16181 if (SWIG_arg_fail(5)) SWIG_fail;
16182 }
d55e5bfc
RD
16183 }
16184 {
0439c23b 16185 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
16186 PyThreadState* __tstate = wxPyBeginAllowThreads();
16187 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
16188
16189 wxPyEndAllowThreads(__tstate);
110da5b0 16190 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
16191 }
16192 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
16193 {
16194 if (temp1)
16195 delete arg1;
16196 }
16197 {
16198 if (temp2)
16199 delete arg2;
16200 }
16201 return resultobj;
16202 fail:
16203 {
16204 if (temp1)
16205 delete arg1;
16206 }
16207 {
16208 if (temp2)
16209 delete arg2;
16210 }
16211 return NULL;
16212}
16213
16214
c370783e 16215static PyObject *_wrap_ProgressDialog_Update(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16216 PyObject *resultobj = NULL;
d55e5bfc
RD
16217 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
16218 int arg2 ;
16219 wxString const &arg3_defvalue = wxPyEmptyString ;
16220 wxString *arg3 = (wxString *) &arg3_defvalue ;
16221 bool result;
b411df4a 16222 bool temp3 = false ;
d55e5bfc
RD
16223 PyObject * obj0 = 0 ;
16224 PyObject * obj1 = 0 ;
16225 PyObject * obj2 = 0 ;
16226 char *kwnames[] = {
16227 (char *) "self",(char *) "value",(char *) "newmsg", NULL
16228 };
16229
16230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
16231 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0);
16232 if (SWIG_arg_fail(1)) SWIG_fail;
16233 {
32fe5131 16234 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
16235 if (SWIG_arg_fail(2)) SWIG_fail;
16236 }
d55e5bfc
RD
16237 if (obj2) {
16238 {
16239 arg3 = wxString_in_helper(obj2);
16240 if (arg3 == NULL) SWIG_fail;
b411df4a 16241 temp3 = true;
d55e5bfc
RD
16242 }
16243 }
16244 {
16245 PyThreadState* __tstate = wxPyBeginAllowThreads();
16246 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
16247
16248 wxPyEndAllowThreads(__tstate);
16249 if (PyErr_Occurred()) SWIG_fail;
16250 }
16251 {
16252 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16253 }
16254 {
16255 if (temp3)
16256 delete arg3;
16257 }
16258 return resultobj;
16259 fail:
16260 {
16261 if (temp3)
16262 delete arg3;
16263 }
16264 return NULL;
16265}
16266
16267
c370783e 16268static PyObject *_wrap_ProgressDialog_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16269 PyObject *resultobj = NULL;
d55e5bfc
RD
16270 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
16271 PyObject * obj0 = 0 ;
16272 char *kwnames[] = {
16273 (char *) "self", NULL
16274 };
16275
16276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
36ed4f51
RD
16277 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0);
16278 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16279 {
16280 PyThreadState* __tstate = wxPyBeginAllowThreads();
16281 (arg1)->Resume();
16282
16283 wxPyEndAllowThreads(__tstate);
16284 if (PyErr_Occurred()) SWIG_fail;
16285 }
16286 Py_INCREF(Py_None); resultobj = Py_None;
16287 return resultobj;
16288 fail:
16289 return NULL;
16290}
16291
16292
c370783e 16293static PyObject * ProgressDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16294 PyObject *obj;
16295 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16296 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
16297 Py_INCREF(obj);
16298 return Py_BuildValue((char *)"");
16299}
c370783e 16300static PyObject *_wrap_new_FindDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16301 PyObject *resultobj = NULL;
d55e5bfc
RD
16302 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16303 int arg2 = (int) 0 ;
16304 wxFindDialogEvent *result;
16305 PyObject * obj0 = 0 ;
16306 PyObject * obj1 = 0 ;
16307 char *kwnames[] = {
16308 (char *) "commandType",(char *) "id", NULL
16309 };
16310
16311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
16312 if (obj0) {
36ed4f51 16313 {
32fe5131 16314 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
36ed4f51
RD
16315 if (SWIG_arg_fail(1)) SWIG_fail;
16316 }
d55e5bfc
RD
16317 }
16318 if (obj1) {
36ed4f51 16319 {
32fe5131 16320 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
16321 if (SWIG_arg_fail(2)) SWIG_fail;
16322 }
d55e5bfc
RD
16323 }
16324 {
16325 PyThreadState* __tstate = wxPyBeginAllowThreads();
16326 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
16327
16328 wxPyEndAllowThreads(__tstate);
16329 if (PyErr_Occurred()) SWIG_fail;
16330 }
16331 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
16332 return resultobj;
16333 fail:
16334 return NULL;
16335}
16336
16337
c370783e 16338static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16339 PyObject *resultobj = NULL;
d55e5bfc
RD
16340 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16341 int result;
16342 PyObject * obj0 = 0 ;
16343 char *kwnames[] = {
16344 (char *) "self", NULL
16345 };
16346
16347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
36ed4f51
RD
16348 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16349 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16350 {
16351 PyThreadState* __tstate = wxPyBeginAllowThreads();
16352 result = (int)(arg1)->GetFlags();
16353
16354 wxPyEndAllowThreads(__tstate);
16355 if (PyErr_Occurred()) SWIG_fail;
16356 }
36ed4f51 16357 {
32fe5131 16358 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 16359 }
d55e5bfc
RD
16360 return resultobj;
16361 fail:
16362 return NULL;
16363}
16364
16365
c370783e 16366static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16367 PyObject *resultobj = NULL;
d55e5bfc
RD
16368 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16369 wxString *result;
16370 PyObject * obj0 = 0 ;
16371 char *kwnames[] = {
16372 (char *) "self", NULL
16373 };
16374
16375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
36ed4f51
RD
16376 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16377 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16378 {
16379 PyThreadState* __tstate = wxPyBeginAllowThreads();
16380 {
16381 wxString const &_result_ref = (arg1)->GetFindString();
16382 result = (wxString *) &_result_ref;
16383 }
16384
16385 wxPyEndAllowThreads(__tstate);
16386 if (PyErr_Occurred()) SWIG_fail;
16387 }
16388 {
16389#if wxUSE_UNICODE
16390 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16391#else
16392 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16393#endif
16394 }
16395 return resultobj;
16396 fail:
16397 return NULL;
16398}
16399
16400
c370783e 16401static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16402 PyObject *resultobj = NULL;
d55e5bfc
RD
16403 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16404 wxString *result;
16405 PyObject * obj0 = 0 ;
16406 char *kwnames[] = {
16407 (char *) "self", NULL
16408 };
16409
16410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
36ed4f51
RD
16411 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16412 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16413 {
16414 PyThreadState* __tstate = wxPyBeginAllowThreads();
16415 {
16416 wxString const &_result_ref = (arg1)->GetReplaceString();
16417 result = (wxString *) &_result_ref;
16418 }
16419
16420 wxPyEndAllowThreads(__tstate);
16421 if (PyErr_Occurred()) SWIG_fail;
16422 }
16423 {
16424#if wxUSE_UNICODE
16425 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16426#else
16427 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16428#endif
16429 }
16430 return resultobj;
16431 fail:
16432 return NULL;
16433}
16434
16435
c370783e 16436static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16437 PyObject *resultobj = NULL;
d55e5bfc
RD
16438 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16439 wxFindReplaceDialog *result;
16440 PyObject * obj0 = 0 ;
16441 char *kwnames[] = {
16442 (char *) "self", NULL
16443 };
16444
16445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
36ed4f51
RD
16446 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16447 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16448 {
16449 PyThreadState* __tstate = wxPyBeginAllowThreads();
16450 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
16451
16452 wxPyEndAllowThreads(__tstate);
16453 if (PyErr_Occurred()) SWIG_fail;
16454 }
16455 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
16456 return resultobj;
16457 fail:
16458 return NULL;
16459}
16460
16461
c370783e 16462static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16463 PyObject *resultobj = NULL;
d55e5bfc
RD
16464 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16465 int arg2 ;
16466 PyObject * obj0 = 0 ;
16467 PyObject * obj1 = 0 ;
16468 char *kwnames[] = {
16469 (char *) "self",(char *) "flags", NULL
16470 };
16471
16472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16473 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16474 if (SWIG_arg_fail(1)) SWIG_fail;
16475 {
32fe5131 16476 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
16477 if (SWIG_arg_fail(2)) SWIG_fail;
16478 }
d55e5bfc
RD
16479 {
16480 PyThreadState* __tstate = wxPyBeginAllowThreads();
16481 (arg1)->SetFlags(arg2);
16482
16483 wxPyEndAllowThreads(__tstate);
16484 if (PyErr_Occurred()) SWIG_fail;
16485 }
16486 Py_INCREF(Py_None); resultobj = Py_None;
16487 return resultobj;
16488 fail:
16489 return NULL;
16490}
16491
16492
c370783e 16493static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16494 PyObject *resultobj = NULL;
d55e5bfc
RD
16495 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16496 wxString *arg2 = 0 ;
b411df4a 16497 bool temp2 = false ;
d55e5bfc
RD
16498 PyObject * obj0 = 0 ;
16499 PyObject * obj1 = 0 ;
16500 char *kwnames[] = {
16501 (char *) "self",(char *) "str", NULL
16502 };
16503
16504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16505 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16506 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16507 {
16508 arg2 = wxString_in_helper(obj1);
16509 if (arg2 == NULL) SWIG_fail;
b411df4a 16510 temp2 = true;
d55e5bfc
RD
16511 }
16512 {
16513 PyThreadState* __tstate = wxPyBeginAllowThreads();
16514 (arg1)->SetFindString((wxString const &)*arg2);
16515
16516 wxPyEndAllowThreads(__tstate);
16517 if (PyErr_Occurred()) SWIG_fail;
16518 }
16519 Py_INCREF(Py_None); resultobj = Py_None;
16520 {
16521 if (temp2)
16522 delete arg2;
16523 }
16524 return resultobj;
16525 fail:
16526 {
16527 if (temp2)
16528 delete arg2;
16529 }
16530 return NULL;
16531}
16532
16533
c370783e 16534static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16535 PyObject *resultobj = NULL;
d55e5bfc
RD
16536 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16537 wxString *arg2 = 0 ;
b411df4a 16538 bool temp2 = false ;
d55e5bfc
RD
16539 PyObject * obj0 = 0 ;
16540 PyObject * obj1 = 0 ;
16541 char *kwnames[] = {
16542 (char *) "self",(char *) "str", NULL
16543 };
16544
16545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16546 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16547 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16548 {
16549 arg2 = wxString_in_helper(obj1);
16550 if (arg2 == NULL) SWIG_fail;
b411df4a 16551 temp2 = true;
d55e5bfc
RD
16552 }
16553 {
16554 PyThreadState* __tstate = wxPyBeginAllowThreads();
16555 (arg1)->SetReplaceString((wxString const &)*arg2);
16556
16557 wxPyEndAllowThreads(__tstate);
16558 if (PyErr_Occurred()) SWIG_fail;
16559 }
16560 Py_INCREF(Py_None); resultobj = Py_None;
16561 {
16562 if (temp2)
16563 delete arg2;
16564 }
16565 return resultobj;
16566 fail:
16567 {
16568 if (temp2)
16569 delete arg2;
16570 }
16571 return NULL;
16572}
16573
16574
c370783e 16575static PyObject * FindDialogEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16576 PyObject *obj;
16577 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16578 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
16579 Py_INCREF(obj);
16580 return Py_BuildValue((char *)"");
16581}
c370783e 16582static PyObject *_wrap_new_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16583 PyObject *resultobj = NULL;
d55e5bfc
RD
16584 int arg1 = (int) 0 ;
16585 wxFindReplaceData *result;
16586 PyObject * obj0 = 0 ;
16587 char *kwnames[] = {
16588 (char *) "flags", NULL
16589 };
16590
16591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
16592 if (obj0) {
36ed4f51 16593 {
32fe5131 16594 arg1 = static_cast<int >(SWIG_As_int(obj0));
36ed4f51
RD
16595 if (SWIG_arg_fail(1)) SWIG_fail;
16596 }
d55e5bfc
RD
16597 }
16598 {
16599 PyThreadState* __tstate = wxPyBeginAllowThreads();
16600 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
16601
16602 wxPyEndAllowThreads(__tstate);
16603 if (PyErr_Occurred()) SWIG_fail;
16604 }
16605 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
16606 return resultobj;
16607 fail:
16608 return NULL;
16609}
16610
16611
c370783e 16612static PyObject *_wrap_delete_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16613 PyObject *resultobj = NULL;
d55e5bfc
RD
16614 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16615 PyObject * obj0 = 0 ;
16616 char *kwnames[] = {
16617 (char *) "self", NULL
16618 };
16619
16620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
36ed4f51
RD
16621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16622 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16623 {
16624 PyThreadState* __tstate = wxPyBeginAllowThreads();
16625 delete arg1;
16626
16627 wxPyEndAllowThreads(__tstate);
16628 if (PyErr_Occurred()) SWIG_fail;
16629 }
16630 Py_INCREF(Py_None); resultobj = Py_None;
16631 return resultobj;
16632 fail:
16633 return NULL;
16634}
16635
16636
c370783e 16637static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16638 PyObject *resultobj = NULL;
d55e5bfc
RD
16639 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16640 wxString *result;
16641 PyObject * obj0 = 0 ;
16642 char *kwnames[] = {
16643 (char *) "self", NULL
16644 };
16645
16646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
36ed4f51
RD
16647 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16648 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16649 {
16650 PyThreadState* __tstate = wxPyBeginAllowThreads();
16651 {
16652 wxString const &_result_ref = (arg1)->GetFindString();
16653 result = (wxString *) &_result_ref;
16654 }
16655
16656 wxPyEndAllowThreads(__tstate);
16657 if (PyErr_Occurred()) SWIG_fail;
16658 }
16659 {
16660#if wxUSE_UNICODE
16661 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16662#else
16663 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16664#endif
16665 }
16666 return resultobj;
16667 fail:
16668 return NULL;
16669}
16670
16671
c370783e 16672static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16673 PyObject *resultobj = NULL;
d55e5bfc
RD
16674 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16675 wxString *result;
16676 PyObject * obj0 = 0 ;
16677 char *kwnames[] = {
16678 (char *) "self", NULL
16679 };
16680
16681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
36ed4f51
RD
16682 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16683 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16684 {
16685 PyThreadState* __tstate = wxPyBeginAllowThreads();
16686 {
16687 wxString const &_result_ref = (arg1)->GetReplaceString();
16688 result = (wxString *) &_result_ref;
16689 }
16690
16691 wxPyEndAllowThreads(__tstate);
16692 if (PyErr_Occurred()) SWIG_fail;
16693 }
16694 {
16695#if wxUSE_UNICODE
16696 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16697#else
16698 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16699#endif
16700 }
16701 return resultobj;
16702 fail:
16703 return NULL;
16704}
16705
16706
c370783e 16707static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16708 PyObject *resultobj = NULL;
d55e5bfc
RD
16709 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16710 int result;
16711 PyObject * obj0 = 0 ;
16712 char *kwnames[] = {
16713 (char *) "self", NULL
16714 };
16715
16716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
36ed4f51
RD
16717 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16718 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16719 {
16720 PyThreadState* __tstate = wxPyBeginAllowThreads();
16721 result = (int)(arg1)->GetFlags();
16722
16723 wxPyEndAllowThreads(__tstate);
16724 if (PyErr_Occurred()) SWIG_fail;
16725 }
36ed4f51 16726 {
32fe5131 16727 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 16728 }
d55e5bfc
RD
16729 return resultobj;
16730 fail:
16731 return NULL;
16732}
16733
16734
c370783e 16735static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16736 PyObject *resultobj = NULL;
d55e5bfc
RD
16737 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16738 int arg2 ;
16739 PyObject * obj0 = 0 ;
16740 PyObject * obj1 = 0 ;
16741 char *kwnames[] = {
16742 (char *) "self",(char *) "flags", NULL
16743 };
16744
16745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16746 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16747 if (SWIG_arg_fail(1)) SWIG_fail;
16748 {
32fe5131 16749 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
16750 if (SWIG_arg_fail(2)) SWIG_fail;
16751 }
d55e5bfc
RD
16752 {
16753 PyThreadState* __tstate = wxPyBeginAllowThreads();
16754 (arg1)->SetFlags(arg2);
16755
16756 wxPyEndAllowThreads(__tstate);
16757 if (PyErr_Occurred()) SWIG_fail;
16758 }
16759 Py_INCREF(Py_None); resultobj = Py_None;
16760 return resultobj;
16761 fail:
16762 return NULL;
16763}
16764
16765
c370783e 16766static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16767 PyObject *resultobj = NULL;
d55e5bfc
RD
16768 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16769 wxString *arg2 = 0 ;
b411df4a 16770 bool temp2 = false ;
d55e5bfc
RD
16771 PyObject * obj0 = 0 ;
16772 PyObject * obj1 = 0 ;
16773 char *kwnames[] = {
16774 (char *) "self",(char *) "str", NULL
16775 };
16776
16777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16778 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16779 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16780 {
16781 arg2 = wxString_in_helper(obj1);
16782 if (arg2 == NULL) SWIG_fail;
b411df4a 16783 temp2 = true;
d55e5bfc
RD
16784 }
16785 {
16786 PyThreadState* __tstate = wxPyBeginAllowThreads();
16787 (arg1)->SetFindString((wxString const &)*arg2);
16788
16789 wxPyEndAllowThreads(__tstate);
16790 if (PyErr_Occurred()) SWIG_fail;
16791 }
16792 Py_INCREF(Py_None); resultobj = Py_None;
16793 {
16794 if (temp2)
16795 delete arg2;
16796 }
16797 return resultobj;
16798 fail:
16799 {
16800 if (temp2)
16801 delete arg2;
16802 }
16803 return NULL;
16804}
16805
16806
c370783e 16807static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16808 PyObject *resultobj = NULL;
d55e5bfc
RD
16809 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16810 wxString *arg2 = 0 ;
b411df4a 16811 bool temp2 = false ;
d55e5bfc
RD
16812 PyObject * obj0 = 0 ;
16813 PyObject * obj1 = 0 ;
16814 char *kwnames[] = {
16815 (char *) "self",(char *) "str", NULL
16816 };
16817
16818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16819 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16820 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16821 {
16822 arg2 = wxString_in_helper(obj1);
16823 if (arg2 == NULL) SWIG_fail;
b411df4a 16824 temp2 = true;
d55e5bfc
RD
16825 }
16826 {
16827 PyThreadState* __tstate = wxPyBeginAllowThreads();
16828 (arg1)->SetReplaceString((wxString const &)*arg2);
16829
16830 wxPyEndAllowThreads(__tstate);
16831 if (PyErr_Occurred()) SWIG_fail;
16832 }
16833 Py_INCREF(Py_None); resultobj = Py_None;
16834 {
16835 if (temp2)
16836 delete arg2;
16837 }
16838 return resultobj;
16839 fail:
16840 {
16841 if (temp2)
16842 delete arg2;
16843 }
16844 return NULL;
16845}
16846
16847
c370783e 16848static PyObject * FindReplaceData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16849 PyObject *obj;
16850 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16851 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
16852 Py_INCREF(obj);
16853 return Py_BuildValue((char *)"");
16854}
c370783e 16855static PyObject *_wrap_new_FindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16856 PyObject *resultobj = NULL;
d55e5bfc
RD
16857 wxWindow *arg1 = (wxWindow *) 0 ;
16858 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
16859 wxString *arg3 = 0 ;
16860 int arg4 = (int) 0 ;
16861 wxFindReplaceDialog *result;
b411df4a 16862 bool temp3 = false ;
d55e5bfc
RD
16863 PyObject * obj0 = 0 ;
16864 PyObject * obj1 = 0 ;
16865 PyObject * obj2 = 0 ;
16866 PyObject * obj3 = 0 ;
16867 char *kwnames[] = {
16868 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16869 };
16870
16871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
16872 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16873 if (SWIG_arg_fail(1)) SWIG_fail;
16874 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16875 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
16876 {
16877 arg3 = wxString_in_helper(obj2);
16878 if (arg3 == NULL) SWIG_fail;
b411df4a 16879 temp3 = true;
d55e5bfc
RD
16880 }
16881 if (obj3) {
36ed4f51 16882 {
32fe5131 16883 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
16884 if (SWIG_arg_fail(4)) SWIG_fail;
16885 }
d55e5bfc
RD
16886 }
16887 {
0439c23b 16888 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
16889 PyThreadState* __tstate = wxPyBeginAllowThreads();
16890 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
16891
16892 wxPyEndAllowThreads(__tstate);
110da5b0 16893 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
16894 }
16895 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
16896 {
16897 if (temp3)
16898 delete arg3;
16899 }
16900 return resultobj;
16901 fail:
16902 {
16903 if (temp3)
16904 delete arg3;
16905 }
16906 return NULL;
16907}
16908
16909
c370783e 16910static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16911 PyObject *resultobj = NULL;
d55e5bfc
RD
16912 wxFindReplaceDialog *result;
16913 char *kwnames[] = {
16914 NULL
16915 };
16916
16917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
16918 {
0439c23b 16919 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
16920 PyThreadState* __tstate = wxPyBeginAllowThreads();
16921 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
16922
16923 wxPyEndAllowThreads(__tstate);
110da5b0 16924 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
16925 }
16926 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
16927 return resultobj;
16928 fail:
16929 return NULL;
16930}
16931
16932
c370783e 16933static PyObject *_wrap_FindReplaceDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16934 PyObject *resultobj = NULL;
d55e5bfc
RD
16935 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
16936 wxWindow *arg2 = (wxWindow *) 0 ;
16937 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
16938 wxString *arg4 = 0 ;
16939 int arg5 = (int) 0 ;
16940 bool result;
b411df4a 16941 bool temp4 = false ;
d55e5bfc
RD
16942 PyObject * obj0 = 0 ;
16943 PyObject * obj1 = 0 ;
16944 PyObject * obj2 = 0 ;
16945 PyObject * obj3 = 0 ;
16946 PyObject * obj4 = 0 ;
16947 char *kwnames[] = {
16948 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16949 };
16950
16951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
16952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
16953 if (SWIG_arg_fail(1)) SWIG_fail;
16954 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16955 if (SWIG_arg_fail(2)) SWIG_fail;
16956 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16957 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
16958 {
16959 arg4 = wxString_in_helper(obj3);
16960 if (arg4 == NULL) SWIG_fail;
b411df4a 16961 temp4 = true;
d55e5bfc
RD
16962 }
16963 if (obj4) {
36ed4f51 16964 {
32fe5131 16965 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
16966 if (SWIG_arg_fail(5)) SWIG_fail;
16967 }
d55e5bfc
RD
16968 }
16969 {
16970 PyThreadState* __tstate = wxPyBeginAllowThreads();
16971 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
16972
16973 wxPyEndAllowThreads(__tstate);
16974 if (PyErr_Occurred()) SWIG_fail;
16975 }
16976 {
16977 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16978 }
16979 {
16980 if (temp4)
16981 delete arg4;
16982 }
16983 return resultobj;
16984 fail:
16985 {
16986 if (temp4)
16987 delete arg4;
16988 }
16989 return NULL;
16990}
16991
16992
c370783e 16993static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16994 PyObject *resultobj = NULL;
d55e5bfc
RD
16995 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
16996 wxFindReplaceData *result;
16997 PyObject * obj0 = 0 ;
16998 char *kwnames[] = {
16999 (char *) "self", NULL
17000 };
17001
17002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
36ed4f51
RD
17003 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
17004 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17005 {
17006 PyThreadState* __tstate = wxPyBeginAllowThreads();
17007 result = (wxFindReplaceData *)(arg1)->GetData();
17008
17009 wxPyEndAllowThreads(__tstate);
17010 if (PyErr_Occurred()) SWIG_fail;
17011 }
17012 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
17013 return resultobj;
17014 fail:
17015 return NULL;
17016}
17017
17018
c370783e 17019static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17020 PyObject *resultobj = NULL;
d55e5bfc
RD
17021 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
17022 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
17023 PyObject * obj0 = 0 ;
17024 PyObject * obj1 = 0 ;
17025 char *kwnames[] = {
17026 (char *) "self",(char *) "data", NULL
17027 };
17028
17029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
17030 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
17031 if (SWIG_arg_fail(1)) SWIG_fail;
17032 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
17033 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
17034 {
17035 PyThreadState* __tstate = wxPyBeginAllowThreads();
17036 (arg1)->SetData(arg2);
17037
17038 wxPyEndAllowThreads(__tstate);
17039 if (PyErr_Occurred()) SWIG_fail;
17040 }
17041 Py_INCREF(Py_None); resultobj = Py_None;
17042 return resultobj;
17043 fail:
17044 return NULL;
17045}
17046
17047
c370783e 17048static PyObject * FindReplaceDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17049 PyObject *obj;
17050 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17051 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
17052 Py_INCREF(obj);
17053 return Py_BuildValue((char *)"");
17054}
c370783e 17055static PyObject *_wrap_new_MDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17056 PyObject *resultobj = NULL;
d55e5bfc 17057 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
17058 int arg2 = (int) (int)-1 ;
17059 wxString const &arg3_defvalue = wxPyEmptyString ;
17060 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
17061 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17062 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17063 wxSize const &arg5_defvalue = wxDefaultSize ;
17064 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17065 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
17066 wxString const &arg7_defvalue = wxPyFrameNameStr ;
17067 wxString *arg7 = (wxString *) &arg7_defvalue ;
17068 wxMDIParentFrame *result;
b411df4a 17069 bool temp3 = false ;
d55e5bfc
RD
17070 wxPoint temp4 ;
17071 wxSize temp5 ;
b411df4a 17072 bool temp7 = false ;
d55e5bfc
RD
17073 PyObject * obj0 = 0 ;
17074 PyObject * obj1 = 0 ;
17075 PyObject * obj2 = 0 ;
17076 PyObject * obj3 = 0 ;
17077 PyObject * obj4 = 0 ;
17078 PyObject * obj5 = 0 ;
17079 PyObject * obj6 = 0 ;
17080 char *kwnames[] = {
17081 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17082 };
17083
bfddbb17 17084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
17085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17086 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 17087 if (obj1) {
36ed4f51 17088 {
32fe5131 17089 arg2 = static_cast<int const >(SWIG_As_int(obj1));
36ed4f51
RD
17090 if (SWIG_arg_fail(2)) SWIG_fail;
17091 }
bfddbb17
RD
17092 }
17093 if (obj2) {
17094 {
17095 arg3 = wxString_in_helper(obj2);
17096 if (arg3 == NULL) SWIG_fail;
b411df4a 17097 temp3 = true;
bfddbb17 17098 }
d55e5bfc
RD
17099 }
17100 if (obj3) {
17101 {
17102 arg4 = &temp4;
17103 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17104 }
17105 }
17106 if (obj4) {
17107 {
17108 arg5 = &temp5;
17109 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17110 }
17111 }
17112 if (obj5) {
36ed4f51 17113 {
32fe5131 17114 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
17115 if (SWIG_arg_fail(6)) SWIG_fail;
17116 }
d55e5bfc
RD
17117 }
17118 if (obj6) {
17119 {
17120 arg7 = wxString_in_helper(obj6);
17121 if (arg7 == NULL) SWIG_fail;
b411df4a 17122 temp7 = true;
d55e5bfc
RD
17123 }
17124 }
17125 {
0439c23b 17126 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17127 PyThreadState* __tstate = wxPyBeginAllowThreads();
17128 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17129
17130 wxPyEndAllowThreads(__tstate);
110da5b0 17131 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
17132 }
17133 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
17134 {
17135 if (temp3)
17136 delete arg3;
17137 }
17138 {
17139 if (temp7)
17140 delete arg7;
17141 }
17142 return resultobj;
17143 fail:
17144 {
17145 if (temp3)
17146 delete arg3;
17147 }
17148 {
17149 if (temp7)
17150 delete arg7;
17151 }
17152 return NULL;
17153}
17154
17155
c370783e 17156static PyObject *_wrap_new_PreMDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17157 PyObject *resultobj = NULL;
d55e5bfc
RD
17158 wxMDIParentFrame *result;
17159 char *kwnames[] = {
17160 NULL
17161 };
17162
17163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
17164 {
0439c23b 17165 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17166 PyThreadState* __tstate = wxPyBeginAllowThreads();
17167 result = (wxMDIParentFrame *)new wxMDIParentFrame();
17168
17169 wxPyEndAllowThreads(__tstate);
110da5b0 17170 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
17171 }
17172 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
17173 return resultobj;
17174 fail:
17175 return NULL;
17176}
17177
17178
c370783e 17179static PyObject *_wrap_MDIParentFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17180 PyObject *resultobj = NULL;
d55e5bfc
RD
17181 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17182 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
17183 int arg3 = (int) (int)-1 ;
17184 wxString const &arg4_defvalue = wxPyEmptyString ;
17185 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
17186 wxPoint const &arg5_defvalue = wxDefaultPosition ;
17187 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
17188 wxSize const &arg6_defvalue = wxDefaultSize ;
17189 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17190 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
17191 wxString const &arg8_defvalue = wxPyFrameNameStr ;
17192 wxString *arg8 = (wxString *) &arg8_defvalue ;
17193 bool result;
b411df4a 17194 bool temp4 = false ;
d55e5bfc
RD
17195 wxPoint temp5 ;
17196 wxSize temp6 ;
b411df4a 17197 bool temp8 = false ;
d55e5bfc
RD
17198 PyObject * obj0 = 0 ;
17199 PyObject * obj1 = 0 ;
17200 PyObject * obj2 = 0 ;
17201 PyObject * obj3 = 0 ;
17202 PyObject * obj4 = 0 ;
17203 PyObject * obj5 = 0 ;
17204 PyObject * obj6 = 0 ;
17205 PyObject * obj7 = 0 ;
17206 char *kwnames[] = {
17207 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17208 };
17209
bfddbb17 17210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
17211 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17212 if (SWIG_arg_fail(1)) SWIG_fail;
17213 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17214 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 17215 if (obj2) {
36ed4f51 17216 {
32fe5131 17217 arg3 = static_cast<int const >(SWIG_As_int(obj2));
36ed4f51
RD
17218 if (SWIG_arg_fail(3)) SWIG_fail;
17219 }
bfddbb17
RD
17220 }
17221 if (obj3) {
17222 {
17223 arg4 = wxString_in_helper(obj3);
17224 if (arg4 == NULL) SWIG_fail;
b411df4a 17225 temp4 = true;
bfddbb17 17226 }
d55e5bfc
RD
17227 }
17228 if (obj4) {
17229 {
17230 arg5 = &temp5;
17231 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
17232 }
17233 }
17234 if (obj5) {
17235 {
17236 arg6 = &temp6;
17237 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
17238 }
17239 }
17240 if (obj6) {
36ed4f51 17241 {
32fe5131 17242 arg7 = static_cast<long >(SWIG_As_long(obj6));
36ed4f51
RD
17243 if (SWIG_arg_fail(7)) SWIG_fail;
17244 }
d55e5bfc
RD
17245 }
17246 if (obj7) {
17247 {
17248 arg8 = wxString_in_helper(obj7);
17249 if (arg8 == NULL) SWIG_fail;
b411df4a 17250 temp8 = true;
d55e5bfc
RD
17251 }
17252 }
17253 {
17254 PyThreadState* __tstate = wxPyBeginAllowThreads();
17255 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
17256
17257 wxPyEndAllowThreads(__tstate);
17258 if (PyErr_Occurred()) SWIG_fail;
17259 }
17260 {
17261 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17262 }
17263 {
17264 if (temp4)
17265 delete arg4;
17266 }
17267 {
17268 if (temp8)
17269 delete arg8;
17270 }
17271 return resultobj;
17272 fail:
17273 {
17274 if (temp4)
17275 delete arg4;
17276 }
17277 {
17278 if (temp8)
17279 delete arg8;
17280 }
17281 return NULL;
17282}
17283
17284
c370783e 17285static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17286 PyObject *resultobj = NULL;
d55e5bfc
RD
17287 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17288 PyObject * obj0 = 0 ;
17289 char *kwnames[] = {
17290 (char *) "self", NULL
17291 };
17292
17293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
36ed4f51
RD
17294 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17295 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17296 {
17297 PyThreadState* __tstate = wxPyBeginAllowThreads();
17298 (arg1)->ActivateNext();
17299
17300 wxPyEndAllowThreads(__tstate);
17301 if (PyErr_Occurred()) SWIG_fail;
17302 }
17303 Py_INCREF(Py_None); resultobj = Py_None;
17304 return resultobj;
17305 fail:
17306 return NULL;
17307}
17308
17309
c370783e 17310static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17311 PyObject *resultobj = NULL;
d55e5bfc
RD
17312 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17313 PyObject * obj0 = 0 ;
17314 char *kwnames[] = {
17315 (char *) "self", NULL
17316 };
17317
17318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
36ed4f51
RD
17319 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17320 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17321 {
17322 PyThreadState* __tstate = wxPyBeginAllowThreads();
17323 (arg1)->ActivatePrevious();
17324
17325 wxPyEndAllowThreads(__tstate);
17326 if (PyErr_Occurred()) SWIG_fail;
17327 }
17328 Py_INCREF(Py_None); resultobj = Py_None;
17329 return resultobj;
17330 fail:
17331 return NULL;
17332}
17333
17334
c370783e 17335static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17336 PyObject *resultobj = NULL;
d55e5bfc
RD
17337 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17338 PyObject * obj0 = 0 ;
17339 char *kwnames[] = {
17340 (char *) "self", NULL
17341 };
17342
17343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
36ed4f51
RD
17344 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17345 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17346 {
17347 PyThreadState* __tstate = wxPyBeginAllowThreads();
17348 (arg1)->ArrangeIcons();
17349
17350 wxPyEndAllowThreads(__tstate);
17351 if (PyErr_Occurred()) SWIG_fail;
17352 }
17353 Py_INCREF(Py_None); resultobj = Py_None;
17354 return resultobj;
17355 fail:
17356 return NULL;
17357}
17358
17359
c370783e 17360static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17361 PyObject *resultobj = NULL;
d55e5bfc
RD
17362 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17363 PyObject * obj0 = 0 ;
17364 char *kwnames[] = {
17365 (char *) "self", NULL
17366 };
17367
17368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
36ed4f51
RD
17369 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17370 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17371 {
17372 PyThreadState* __tstate = wxPyBeginAllowThreads();
17373 (arg1)->Cascade();
17374
17375 wxPyEndAllowThreads(__tstate);
17376 if (PyErr_Occurred()) SWIG_fail;
17377 }
17378 Py_INCREF(Py_None); resultobj = Py_None;
17379 return resultobj;
17380 fail:
17381 return NULL;
17382}
17383
17384
c370783e 17385static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17386 PyObject *resultobj = NULL;
d55e5bfc
RD
17387 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17388 wxMDIChildFrame *result;
17389 PyObject * obj0 = 0 ;
17390 char *kwnames[] = {
17391 (char *) "self", NULL
17392 };
17393
17394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
36ed4f51
RD
17395 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17396 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17397 {
17398 PyThreadState* __tstate = wxPyBeginAllowThreads();
17399 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
17400
17401 wxPyEndAllowThreads(__tstate);
17402 if (PyErr_Occurred()) SWIG_fail;
17403 }
17404 {
7e08d4ef 17405 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
17406 }
17407 return resultobj;
17408 fail:
17409 return NULL;
17410}
17411
17412
c370783e 17413static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17414 PyObject *resultobj = NULL;
d55e5bfc
RD
17415 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17416 wxMDIClientWindow *result;
17417 PyObject * obj0 = 0 ;
17418 char *kwnames[] = {
17419 (char *) "self", NULL
17420 };
17421
17422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
17423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17424 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17425 {
17426 PyThreadState* __tstate = wxPyBeginAllowThreads();
17427 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
17428
17429 wxPyEndAllowThreads(__tstate);
17430 if (PyErr_Occurred()) SWIG_fail;
17431 }
17432 {
7e08d4ef 17433 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
17434 }
17435 return resultobj;
17436 fail:
17437 return NULL;
17438}
17439
17440
c370783e 17441static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17442 PyObject *resultobj = NULL;
d55e5bfc
RD
17443 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17444 wxWindow *result;
17445 PyObject * obj0 = 0 ;
17446 char *kwnames[] = {
17447 (char *) "self", NULL
17448 };
17449
17450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
36ed4f51
RD
17451 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17452 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17453 {
17454 PyThreadState* __tstate = wxPyBeginAllowThreads();
17455 result = (wxWindow *)(arg1)->GetToolBar();
17456
17457 wxPyEndAllowThreads(__tstate);
17458 if (PyErr_Occurred()) SWIG_fail;
17459 }
17460 {
412d302d 17461 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
17462 }
17463 return resultobj;
17464 fail:
17465 return NULL;
17466}
17467
17468
c370783e 17469static PyObject *_wrap_MDIParentFrame_Tile(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17470 PyObject *resultobj = NULL;
d55e5bfc 17471 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
3837a853 17472 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
d55e5bfc 17473 PyObject * obj0 = 0 ;
3837a853 17474 PyObject * obj1 = 0 ;
d55e5bfc 17475 char *kwnames[] = {
3837a853 17476 (char *) "self",(char *) "orient", NULL
d55e5bfc
RD
17477 };
17478
3837a853 17479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
17480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17481 if (SWIG_arg_fail(1)) SWIG_fail;
3837a853
RD
17482 if (obj1) {
17483 {
32fe5131 17484 arg2 = static_cast<wxOrientation >(SWIG_As_int(obj1));
3837a853
RD
17485 if (SWIG_arg_fail(2)) SWIG_fail;
17486 }
17487 }
d55e5bfc
RD
17488 {
17489 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 17490 (arg1)->Tile(arg2);
d55e5bfc
RD
17491
17492 wxPyEndAllowThreads(__tstate);
17493 if (PyErr_Occurred()) SWIG_fail;
17494 }
17495 Py_INCREF(Py_None); resultobj = Py_None;
17496 return resultobj;
17497 fail:
17498 return NULL;
17499}
17500
17501
c370783e 17502static PyObject * MDIParentFrame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17503 PyObject *obj;
17504 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17505 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
17506 Py_INCREF(obj);
17507 return Py_BuildValue((char *)"");
17508}
c370783e 17509static PyObject *_wrap_new_MDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17510 PyObject *resultobj = NULL;
d55e5bfc 17511 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
bfddbb17
RD
17512 int arg2 = (int) (int)-1 ;
17513 wxString const &arg3_defvalue = wxPyEmptyString ;
17514 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
17515 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17516 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17517 wxSize const &arg5_defvalue = wxDefaultSize ;
17518 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17519 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
17520 wxString const &arg7_defvalue = wxPyFrameNameStr ;
17521 wxString *arg7 = (wxString *) &arg7_defvalue ;
17522 wxMDIChildFrame *result;
b411df4a 17523 bool temp3 = false ;
d55e5bfc
RD
17524 wxPoint temp4 ;
17525 wxSize temp5 ;
b411df4a 17526 bool temp7 = false ;
d55e5bfc
RD
17527 PyObject * obj0 = 0 ;
17528 PyObject * obj1 = 0 ;
17529 PyObject * obj2 = 0 ;
17530 PyObject * obj3 = 0 ;
17531 PyObject * obj4 = 0 ;
17532 PyObject * obj5 = 0 ;
17533 PyObject * obj6 = 0 ;
17534 char *kwnames[] = {
17535 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17536 };
17537
bfddbb17 17538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
17539 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17540 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 17541 if (obj1) {
36ed4f51 17542 {
32fe5131 17543 arg2 = static_cast<int const >(SWIG_As_int(obj1));
36ed4f51
RD
17544 if (SWIG_arg_fail(2)) SWIG_fail;
17545 }
bfddbb17
RD
17546 }
17547 if (obj2) {
17548 {
17549 arg3 = wxString_in_helper(obj2);
17550 if (arg3 == NULL) SWIG_fail;
b411df4a 17551 temp3 = true;
bfddbb17 17552 }
d55e5bfc
RD
17553 }
17554 if (obj3) {
17555 {
17556 arg4 = &temp4;
17557 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17558 }
17559 }
17560 if (obj4) {
17561 {
17562 arg5 = &temp5;
17563 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17564 }
17565 }
17566 if (obj5) {
36ed4f51 17567 {
32fe5131 17568 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
17569 if (SWIG_arg_fail(6)) SWIG_fail;
17570 }
d55e5bfc
RD
17571 }
17572 if (obj6) {
17573 {
17574 arg7 = wxString_in_helper(obj6);
17575 if (arg7 == NULL) SWIG_fail;
b411df4a 17576 temp7 = true;
d55e5bfc
RD
17577 }
17578 }
17579 {
0439c23b 17580 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17581 PyThreadState* __tstate = wxPyBeginAllowThreads();
17582 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17583
17584 wxPyEndAllowThreads(__tstate);
110da5b0 17585 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 17586 }
b0f7404b 17587 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
d55e5bfc
RD
17588 {
17589 if (temp3)
17590 delete arg3;
17591 }
17592 {
17593 if (temp7)
17594 delete arg7;
17595 }
17596 return resultobj;
17597 fail:
17598 {
17599 if (temp3)
17600 delete arg3;
17601 }
17602 {
17603 if (temp7)
17604 delete arg7;
17605 }
17606 return NULL;
17607}
17608
17609
c370783e 17610static PyObject *_wrap_new_PreMDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17611 PyObject *resultobj = NULL;
d55e5bfc
RD
17612 wxMDIChildFrame *result;
17613 char *kwnames[] = {
17614 NULL
17615 };
17616
17617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
17618 {
0439c23b 17619 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17620 PyThreadState* __tstate = wxPyBeginAllowThreads();
17621 result = (wxMDIChildFrame *)new wxMDIChildFrame();
17622
17623 wxPyEndAllowThreads(__tstate);
110da5b0 17624 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 17625 }
b0f7404b 17626 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
d55e5bfc
RD
17627 return resultobj;
17628 fail:
17629 return NULL;
17630}
17631
17632
c370783e 17633static PyObject *_wrap_MDIChildFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17634 PyObject *resultobj = NULL;
d55e5bfc
RD
17635 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17636 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
bfddbb17
RD
17637 int arg3 = (int) (int)-1 ;
17638 wxString const &arg4_defvalue = wxPyEmptyString ;
17639 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
17640 wxPoint const &arg5_defvalue = wxDefaultPosition ;
17641 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
17642 wxSize const &arg6_defvalue = wxDefaultSize ;
17643 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17644 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
17645 wxString const &arg8_defvalue = wxPyFrameNameStr ;
17646 wxString *arg8 = (wxString *) &arg8_defvalue ;
17647 bool result;
b411df4a 17648 bool temp4 = false ;
d55e5bfc
RD
17649 wxPoint temp5 ;
17650 wxSize temp6 ;
b411df4a 17651 bool temp8 = false ;
d55e5bfc
RD
17652 PyObject * obj0 = 0 ;
17653 PyObject * obj1 = 0 ;
17654 PyObject * obj2 = 0 ;
17655 PyObject * obj3 = 0 ;
17656 PyObject * obj4 = 0 ;
17657 PyObject * obj5 = 0 ;
17658 PyObject * obj6 = 0 ;
17659 PyObject * obj7 = 0 ;
17660 char *kwnames[] = {
17661 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17662 };
17663
bfddbb17 17664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
17665 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17666 if (SWIG_arg_fail(1)) SWIG_fail;
17667 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17668 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 17669 if (obj2) {
36ed4f51 17670 {
32fe5131 17671 arg3 = static_cast<int const >(SWIG_As_int(obj2));
36ed4f51
RD
17672 if (SWIG_arg_fail(3)) SWIG_fail;
17673 }
bfddbb17
RD
17674 }
17675 if (obj3) {
17676 {
17677 arg4 = wxString_in_helper(obj3);
17678 if (arg4 == NULL) SWIG_fail;
b411df4a 17679 temp4 = true;
bfddbb17 17680 }
d55e5bfc
RD
17681 }
17682 if (obj4) {
17683 {
17684 arg5 = &temp5;
17685 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
17686 }
17687 }
17688 if (obj5) {
17689 {
17690 arg6 = &temp6;
17691 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
17692 }
17693 }
17694 if (obj6) {
36ed4f51 17695 {
32fe5131 17696 arg7 = static_cast<long >(SWIG_As_long(obj6));
36ed4f51
RD
17697 if (SWIG_arg_fail(7)) SWIG_fail;
17698 }
d55e5bfc
RD
17699 }
17700 if (obj7) {
17701 {
17702 arg8 = wxString_in_helper(obj7);
17703 if (arg8 == NULL) SWIG_fail;
b411df4a 17704 temp8 = true;
d55e5bfc
RD
17705 }
17706 }
17707 {
17708 PyThreadState* __tstate = wxPyBeginAllowThreads();
17709 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
17710
17711 wxPyEndAllowThreads(__tstate);
17712 if (PyErr_Occurred()) SWIG_fail;
17713 }
17714 {
17715 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17716 }
17717 {
17718 if (temp4)
17719 delete arg4;
17720 }
17721 {
17722 if (temp8)
17723 delete arg8;
17724 }
17725 return resultobj;
17726 fail:
17727 {
17728 if (temp4)
17729 delete arg4;
17730 }
17731 {
17732 if (temp8)
17733 delete arg8;
17734 }
17735 return NULL;
17736}
17737
17738
c370783e 17739static PyObject *_wrap_MDIChildFrame_Activate(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17740 PyObject *resultobj = NULL;
d55e5bfc
RD
17741 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17742 PyObject * obj0 = 0 ;
17743 char *kwnames[] = {
17744 (char *) "self", NULL
17745 };
17746
17747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
36ed4f51
RD
17748 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17749 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17750 {
17751 PyThreadState* __tstate = wxPyBeginAllowThreads();
17752 (arg1)->Activate();
17753
17754 wxPyEndAllowThreads(__tstate);
17755 if (PyErr_Occurred()) SWIG_fail;
17756 }
17757 Py_INCREF(Py_None); resultobj = Py_None;
17758 return resultobj;
17759 fail:
17760 return NULL;
17761}
17762
17763
c370783e 17764static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17765 PyObject *resultobj = NULL;
d55e5bfc 17766 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
5cbf236d 17767 bool arg2 = (bool) true ;
d55e5bfc
RD
17768 PyObject * obj0 = 0 ;
17769 PyObject * obj1 = 0 ;
17770 char *kwnames[] = {
17771 (char *) "self",(char *) "maximize", NULL
17772 };
17773
5cbf236d 17774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
17775 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17776 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d 17777 if (obj1) {
36ed4f51 17778 {
32fe5131 17779 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
17780 if (SWIG_arg_fail(2)) SWIG_fail;
17781 }
5cbf236d 17782 }
d55e5bfc
RD
17783 {
17784 PyThreadState* __tstate = wxPyBeginAllowThreads();
17785 (arg1)->Maximize(arg2);
17786
17787 wxPyEndAllowThreads(__tstate);
17788 if (PyErr_Occurred()) SWIG_fail;
17789 }
17790 Py_INCREF(Py_None); resultobj = Py_None;
17791 return resultobj;
17792 fail:
17793 return NULL;
17794}
17795
17796
c370783e 17797static PyObject *_wrap_MDIChildFrame_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17798 PyObject *resultobj = NULL;
d55e5bfc
RD
17799 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17800 PyObject * obj0 = 0 ;
17801 char *kwnames[] = {
17802 (char *) "self", NULL
17803 };
17804
17805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
36ed4f51
RD
17806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17807 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17808 {
17809 PyThreadState* __tstate = wxPyBeginAllowThreads();
17810 (arg1)->Restore();
17811
17812 wxPyEndAllowThreads(__tstate);
17813 if (PyErr_Occurred()) SWIG_fail;
17814 }
17815 Py_INCREF(Py_None); resultobj = Py_None;
17816 return resultobj;
17817 fail:
17818 return NULL;
17819}
17820
17821
c370783e 17822static PyObject * MDIChildFrame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17823 PyObject *obj;
17824 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17825 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
17826 Py_INCREF(obj);
17827 return Py_BuildValue((char *)"");
17828}
c370783e 17829static PyObject *_wrap_new_MDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17830 PyObject *resultobj = NULL;
d55e5bfc
RD
17831 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17832 long arg2 = (long) 0 ;
17833 wxMDIClientWindow *result;
17834 PyObject * obj0 = 0 ;
17835 PyObject * obj1 = 0 ;
17836 char *kwnames[] = {
17837 (char *) "parent",(char *) "style", NULL
17838 };
17839
17840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
17841 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17842 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 17843 if (obj1) {
36ed4f51 17844 {
32fe5131 17845 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
17846 if (SWIG_arg_fail(2)) SWIG_fail;
17847 }
d55e5bfc
RD
17848 }
17849 {
0439c23b 17850 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17851 PyThreadState* __tstate = wxPyBeginAllowThreads();
17852 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
17853
17854 wxPyEndAllowThreads(__tstate);
110da5b0 17855 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 17856 }
b0f7404b 17857 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
d55e5bfc
RD
17858 return resultobj;
17859 fail:
17860 return NULL;
17861}
17862
17863
c370783e 17864static PyObject *_wrap_new_PreMDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17865 PyObject *resultobj = NULL;
d55e5bfc
RD
17866 wxMDIClientWindow *result;
17867 char *kwnames[] = {
17868 NULL
17869 };
17870
17871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
17872 {
0439c23b 17873 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17874 PyThreadState* __tstate = wxPyBeginAllowThreads();
17875 result = (wxMDIClientWindow *)new wxMDIClientWindow();
17876
17877 wxPyEndAllowThreads(__tstate);
110da5b0 17878 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 17879 }
b0f7404b 17880 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
d55e5bfc
RD
17881 return resultobj;
17882 fail:
17883 return NULL;
17884}
17885
17886
c370783e 17887static PyObject *_wrap_MDIClientWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17888 PyObject *resultobj = NULL;
d55e5bfc
RD
17889 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
17890 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
17891 long arg3 = (long) 0 ;
17892 bool result;
17893 PyObject * obj0 = 0 ;
17894 PyObject * obj1 = 0 ;
17895 PyObject * obj2 = 0 ;
17896 char *kwnames[] = {
17897 (char *) "self",(char *) "parent",(char *) "style", NULL
17898 };
17899
17900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
17901 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_EXCEPTION | 0);
17902 if (SWIG_arg_fail(1)) SWIG_fail;
17903 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17904 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 17905 if (obj2) {
36ed4f51 17906 {
32fe5131 17907 arg3 = static_cast<long >(SWIG_As_long(obj2));
36ed4f51
RD
17908 if (SWIG_arg_fail(3)) SWIG_fail;
17909 }
d55e5bfc
RD
17910 }
17911 {
17912 PyThreadState* __tstate = wxPyBeginAllowThreads();
17913 result = (bool)(arg1)->Create(arg2,arg3);
17914
17915 wxPyEndAllowThreads(__tstate);
17916 if (PyErr_Occurred()) SWIG_fail;
17917 }
17918 {
17919 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17920 }
17921 return resultobj;
17922 fail:
17923 return NULL;
17924}
17925
17926
c370783e 17927static PyObject * MDIClientWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17928 PyObject *obj;
17929 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17930 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
17931 Py_INCREF(obj);
17932 return Py_BuildValue((char *)"");
17933}
c370783e 17934static PyObject *_wrap_new_PyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17935 PyObject *resultobj = NULL;
d55e5bfc 17936 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 17937 int arg2 = (int) (int)-1 ;
d55e5bfc
RD
17938 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17939 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17940 wxSize const &arg4_defvalue = wxDefaultSize ;
17941 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17942 long arg5 = (long) 0 ;
17943 wxString const &arg6_defvalue = wxPyPanelNameStr ;
17944 wxString *arg6 = (wxString *) &arg6_defvalue ;
17945 wxPyWindow *result;
17946 wxPoint temp3 ;
17947 wxSize temp4 ;
b411df4a 17948 bool temp6 = false ;
d55e5bfc
RD
17949 PyObject * obj0 = 0 ;
17950 PyObject * obj1 = 0 ;
17951 PyObject * obj2 = 0 ;
17952 PyObject * obj3 = 0 ;
17953 PyObject * obj4 = 0 ;
17954 PyObject * obj5 = 0 ;
17955 char *kwnames[] = {
17956 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17957 };
17958
bfddbb17 17959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
17960 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17961 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 17962 if (obj1) {
36ed4f51 17963 {
32fe5131 17964 arg2 = static_cast<int const >(SWIG_As_int(obj1));
36ed4f51
RD
17965 if (SWIG_arg_fail(2)) SWIG_fail;
17966 }
bfddbb17 17967 }
d55e5bfc
RD
17968 if (obj2) {
17969 {
17970 arg3 = &temp3;
17971 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17972 }
17973 }
17974 if (obj3) {
17975 {
17976 arg4 = &temp4;
17977 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17978 }
17979 }
17980 if (obj4) {
36ed4f51 17981 {
32fe5131 17982 arg5 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
17983 if (SWIG_arg_fail(5)) SWIG_fail;
17984 }
d55e5bfc
RD
17985 }
17986 if (obj5) {
17987 {
17988 arg6 = wxString_in_helper(obj5);
17989 if (arg6 == NULL) SWIG_fail;
b411df4a 17990 temp6 = true;
d55e5bfc
RD
17991 }
17992 }
17993 {
0439c23b 17994 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17995 PyThreadState* __tstate = wxPyBeginAllowThreads();
17996 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17997
17998 wxPyEndAllowThreads(__tstate);
110da5b0 17999 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
18000 }
18001 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
18002 {
18003 if (temp6)
18004 delete arg6;
18005 }
18006 return resultobj;
18007 fail:
18008 {
18009 if (temp6)
18010 delete arg6;
18011 }
18012 return NULL;
18013}
18014
18015
c370783e 18016static PyObject *_wrap_new_PrePyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18017 PyObject *resultobj = NULL;
d55e5bfc
RD
18018 wxPyWindow *result;
18019 char *kwnames[] = {
18020 NULL
18021 };
18022
18023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
18024 {
0439c23b 18025 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
18026 PyThreadState* __tstate = wxPyBeginAllowThreads();
18027 result = (wxPyWindow *)new wxPyWindow();
18028
18029 wxPyEndAllowThreads(__tstate);
110da5b0 18030 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
18031 }
18032 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
18033 return resultobj;
18034 fail:
18035 return NULL;
18036}
18037
18038
c370783e 18039static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18040 PyObject *resultobj = NULL;
d55e5bfc
RD
18041 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18042 PyObject *arg2 = (PyObject *) 0 ;
18043 PyObject *arg3 = (PyObject *) 0 ;
18044 PyObject * obj0 = 0 ;
18045 PyObject * obj1 = 0 ;
18046 PyObject * obj2 = 0 ;
18047 char *kwnames[] = {
18048 (char *) "self",(char *) "self",(char *) "_class", NULL
18049 };
18050
18051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
18052 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18053 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18054 arg2 = obj1;
18055 arg3 = obj2;
18056 {
18057 PyThreadState* __tstate = wxPyBeginAllowThreads();
18058 (arg1)->_setCallbackInfo(arg2,arg3);
18059
18060 wxPyEndAllowThreads(__tstate);
18061 if (PyErr_Occurred()) SWIG_fail;
18062 }
18063 Py_INCREF(Py_None); resultobj = Py_None;
18064 return resultobj;
18065 fail:
18066 return NULL;
18067}
18068
18069
c370783e 18070static PyObject *_wrap_PyWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18071 PyObject *resultobj = NULL;
a5ee0656
RD
18072 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18073 wxSize *arg2 = 0 ;
18074 wxSize temp2 ;
18075 PyObject * obj0 = 0 ;
18076 PyObject * obj1 = 0 ;
18077 char *kwnames[] = {
18078 (char *) "self",(char *) "size", NULL
18079 };
18080
18081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
18082 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18083 if (SWIG_arg_fail(1)) SWIG_fail;
a5ee0656
RD
18084 {
18085 arg2 = &temp2;
18086 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18087 }
18088 {
18089 PyThreadState* __tstate = wxPyBeginAllowThreads();
18090 (arg1)->SetBestSize((wxSize const &)*arg2);
18091
18092 wxPyEndAllowThreads(__tstate);
18093 if (PyErr_Occurred()) SWIG_fail;
18094 }
18095 Py_INCREF(Py_None); resultobj = Py_None;
18096 return resultobj;
18097 fail:
18098 return NULL;
18099}
18100
18101
976dbff5 18102static PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18103 PyObject *resultobj = NULL;
976dbff5
RD
18104 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18105 wxDC *arg2 = (wxDC *) 0 ;
18106 bool result;
18107 PyObject * obj0 = 0 ;
18108 PyObject * obj1 = 0 ;
18109 char *kwnames[] = {
18110 (char *) "self",(char *) "dc", NULL
18111 };
18112
18113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail;
18114 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18115 if (SWIG_arg_fail(1)) SWIG_fail;
18116 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
18117 if (SWIG_arg_fail(2)) SWIG_fail;
18118 {
18119 PyThreadState* __tstate = wxPyBeginAllowThreads();
18120 result = (bool)(arg1)->DoEraseBackground(arg2);
18121
18122 wxPyEndAllowThreads(__tstate);
18123 if (PyErr_Occurred()) SWIG_fail;
18124 }
18125 {
18126 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18127 }
18128 return resultobj;
18129 fail:
18130 return NULL;
18131}
18132
18133
c370783e 18134static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18135 PyObject *resultobj = NULL;
d55e5bfc
RD
18136 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18137 int arg2 ;
18138 int arg3 ;
18139 int arg4 ;
18140 int arg5 ;
18141 PyObject * obj0 = 0 ;
18142 PyObject * obj1 = 0 ;
18143 PyObject * obj2 = 0 ;
18144 PyObject * obj3 = 0 ;
18145 PyObject * obj4 = 0 ;
18146 char *kwnames[] = {
18147 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18148 };
18149
18150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
18151 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18152 if (SWIG_arg_fail(1)) SWIG_fail;
18153 {
32fe5131 18154 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
18155 if (SWIG_arg_fail(2)) SWIG_fail;
18156 }
18157 {
32fe5131 18158 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
18159 if (SWIG_arg_fail(3)) SWIG_fail;
18160 }
18161 {
32fe5131 18162 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
18163 if (SWIG_arg_fail(4)) SWIG_fail;
18164 }
18165 {
32fe5131 18166 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
18167 if (SWIG_arg_fail(5)) SWIG_fail;
18168 }
d55e5bfc
RD
18169 {
18170 PyThreadState* __tstate = wxPyBeginAllowThreads();
18171 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
18172
18173 wxPyEndAllowThreads(__tstate);
18174 if (PyErr_Occurred()) SWIG_fail;
18175 }
18176 Py_INCREF(Py_None); resultobj = Py_None;
18177 return resultobj;
18178 fail:
18179 return NULL;
18180}
18181
18182
c370783e 18183static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18184 PyObject *resultobj = NULL;
d55e5bfc
RD
18185 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18186 int arg2 ;
18187 int arg3 ;
18188 int arg4 ;
18189 int arg5 ;
18190 int arg6 = (int) wxSIZE_AUTO ;
18191 PyObject * obj0 = 0 ;
18192 PyObject * obj1 = 0 ;
18193 PyObject * obj2 = 0 ;
18194 PyObject * obj3 = 0 ;
18195 PyObject * obj4 = 0 ;
18196 PyObject * obj5 = 0 ;
18197 char *kwnames[] = {
18198 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
18199 };
18200
18201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
18202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18203 if (SWIG_arg_fail(1)) SWIG_fail;
18204 {
32fe5131 18205 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
18206 if (SWIG_arg_fail(2)) SWIG_fail;
18207 }
18208 {
32fe5131 18209 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
18210 if (SWIG_arg_fail(3)) SWIG_fail;
18211 }
18212 {
32fe5131 18213 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
18214 if (SWIG_arg_fail(4)) SWIG_fail;
18215 }
18216 {
32fe5131 18217 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
18218 if (SWIG_arg_fail(5)) SWIG_fail;
18219 }
d55e5bfc 18220 if (obj5) {
36ed4f51 18221 {
32fe5131 18222 arg6 = static_cast<int >(SWIG_As_int(obj5));
36ed4f51
RD
18223 if (SWIG_arg_fail(6)) SWIG_fail;
18224 }
d55e5bfc
RD
18225 }
18226 {
18227 PyThreadState* __tstate = wxPyBeginAllowThreads();
18228 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
18229
18230 wxPyEndAllowThreads(__tstate);
18231 if (PyErr_Occurred()) SWIG_fail;
18232 }
18233 Py_INCREF(Py_None); resultobj = Py_None;
18234 return resultobj;
18235 fail:
18236 return NULL;
18237}
18238
18239
c370783e 18240static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18241 PyObject *resultobj = NULL;
d55e5bfc
RD
18242 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18243 int arg2 ;
18244 int arg3 ;
18245 PyObject * obj0 = 0 ;
18246 PyObject * obj1 = 0 ;
18247 PyObject * obj2 = 0 ;
18248 char *kwnames[] = {
18249 (char *) "self",(char *) "width",(char *) "height", NULL
18250 };
18251
18252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
18253 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18254 if (SWIG_arg_fail(1)) SWIG_fail;
18255 {
32fe5131 18256 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
18257 if (SWIG_arg_fail(2)) SWIG_fail;
18258 }
18259 {
32fe5131 18260 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
18261 if (SWIG_arg_fail(3)) SWIG_fail;
18262 }
d55e5bfc
RD
18263 {
18264 PyThreadState* __tstate = wxPyBeginAllowThreads();
18265 (arg1)->base_DoSetClientSize(arg2,arg3);
18266
18267 wxPyEndAllowThreads(__tstate);
18268 if (PyErr_Occurred()) SWIG_fail;
18269 }
18270 Py_INCREF(Py_None); resultobj = Py_None;
18271 return resultobj;
18272 fail:
18273 return NULL;
18274}
18275
18276
c370783e 18277static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18278 PyObject *resultobj = NULL;
d55e5bfc
RD
18279 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18280 int arg2 ;
18281 int arg3 ;
18282 PyObject * obj0 = 0 ;
18283 PyObject * obj1 = 0 ;
18284 PyObject * obj2 = 0 ;
18285 char *kwnames[] = {
18286 (char *) "self",(char *) "x",(char *) "y", NULL
18287 };
18288
18289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
18290 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18291 if (SWIG_arg_fail(1)) SWIG_fail;
18292 {
32fe5131 18293 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
18294 if (SWIG_arg_fail(2)) SWIG_fail;
18295 }
18296 {
32fe5131 18297 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
18298 if (SWIG_arg_fail(3)) SWIG_fail;
18299 }
d55e5bfc
RD
18300 {
18301 PyThreadState* __tstate = wxPyBeginAllowThreads();
18302 (arg1)->base_DoSetVirtualSize(arg2,arg3);
18303
18304 wxPyEndAllowThreads(__tstate);
18305 if (PyErr_Occurred()) SWIG_fail;
18306 }
18307 Py_INCREF(Py_None); resultobj = Py_None;
18308 return resultobj;
18309 fail:
18310 return NULL;
18311}
18312
18313
c370783e 18314static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18315 PyObject *resultobj = NULL;
d55e5bfc
RD
18316 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18317 int *arg2 = (int *) 0 ;
18318 int *arg3 = (int *) 0 ;
18319 int temp2 ;
c370783e 18320 int res2 = 0 ;
d55e5bfc 18321 int temp3 ;
c370783e 18322 int res3 = 0 ;
d55e5bfc
RD
18323 PyObject * obj0 = 0 ;
18324 char *kwnames[] = {
18325 (char *) "self", NULL
18326 };
18327
c370783e
RD
18328 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18329 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 18330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
18331 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18332 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18333 {
18334 PyThreadState* __tstate = wxPyBeginAllowThreads();
18335 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
18336
18337 wxPyEndAllowThreads(__tstate);
18338 if (PyErr_Occurred()) SWIG_fail;
18339 }
18340 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
18341 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18342 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18343 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18344 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
18345 return resultobj;
18346 fail:
18347 return NULL;
18348}
18349
18350
c370783e 18351static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18352 PyObject *resultobj = NULL;
d55e5bfc
RD
18353 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18354 int *arg2 = (int *) 0 ;
18355 int *arg3 = (int *) 0 ;
18356 int temp2 ;
c370783e 18357 int res2 = 0 ;
d55e5bfc 18358 int temp3 ;
c370783e 18359 int res3 = 0 ;
d55e5bfc
RD
18360 PyObject * obj0 = 0 ;
18361 char *kwnames[] = {
18362 (char *) "self", NULL
18363 };
18364
c370783e
RD
18365 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18366 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 18367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
18368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18369 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18370 {
18371 PyThreadState* __tstate = wxPyBeginAllowThreads();
18372 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
18373
18374 wxPyEndAllowThreads(__tstate);
18375 if (PyErr_Occurred()) SWIG_fail;
18376 }
18377 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
18378 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18379 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18380 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18381 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
18382 return resultobj;
18383 fail:
18384 return NULL;
18385}
18386
18387
c370783e 18388static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18389 PyObject *resultobj = NULL;
d55e5bfc
RD
18390 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18391 int *arg2 = (int *) 0 ;
18392 int *arg3 = (int *) 0 ;
18393 int temp2 ;
c370783e 18394 int res2 = 0 ;
d55e5bfc 18395 int temp3 ;
c370783e 18396 int res3 = 0 ;
d55e5bfc
RD
18397 PyObject * obj0 = 0 ;
18398 char *kwnames[] = {
18399 (char *) "self", NULL
18400 };
18401
c370783e
RD
18402 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18403 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 18404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
36ed4f51
RD
18405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18406 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18407 {
18408 PyThreadState* __tstate = wxPyBeginAllowThreads();
18409 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
18410
18411 wxPyEndAllowThreads(__tstate);
18412 if (PyErr_Occurred()) SWIG_fail;
18413 }
18414 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
18415 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18416 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18417 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18418 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
18419 return resultobj;
18420 fail:
18421 return NULL;
18422}
18423
18424
c370783e 18425static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18426 PyObject *resultobj = NULL;
d55e5bfc
RD
18427 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18428 wxSize result;
18429 PyObject * obj0 = 0 ;
18430 char *kwnames[] = {
18431 (char *) "self", NULL
18432 };
18433
18434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
18435 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18436 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18437 {
18438 PyThreadState* __tstate = wxPyBeginAllowThreads();
18439 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
18440
18441 wxPyEndAllowThreads(__tstate);
18442 if (PyErr_Occurred()) SWIG_fail;
18443 }
18444 {
18445 wxSize * resultptr;
32fe5131 18446 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
18447 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18448 }
18449 return resultobj;
18450 fail:
18451 return NULL;
18452}
18453
18454
c370783e 18455static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18456 PyObject *resultobj = NULL;
d55e5bfc
RD
18457 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18458 wxSize result;
18459 PyObject * obj0 = 0 ;
18460 char *kwnames[] = {
18461 (char *) "self", NULL
18462 };
18463
18464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
18465 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18466 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18467 {
18468 PyThreadState* __tstate = wxPyBeginAllowThreads();
18469 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
18470
18471 wxPyEndAllowThreads(__tstate);
18472 if (PyErr_Occurred()) SWIG_fail;
18473 }
18474 {
18475 wxSize * resultptr;
32fe5131 18476 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
18477 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18478 }
18479 return resultobj;
18480 fail:
18481 return NULL;
18482}
18483
18484
c370783e 18485static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18486 PyObject *resultobj = NULL;
d55e5bfc
RD
18487 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18488 PyObject * obj0 = 0 ;
18489 char *kwnames[] = {
18490 (char *) "self", NULL
18491 };
18492
18493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
36ed4f51
RD
18494 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18495 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18496 {
18497 PyThreadState* __tstate = wxPyBeginAllowThreads();
18498 (arg1)->base_InitDialog();
18499
18500 wxPyEndAllowThreads(__tstate);
18501 if (PyErr_Occurred()) SWIG_fail;
18502 }
18503 Py_INCREF(Py_None); resultobj = Py_None;
18504 return resultobj;
18505 fail:
18506 return NULL;
18507}
18508
18509
c370783e 18510static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18511 PyObject *resultobj = NULL;
d55e5bfc
RD
18512 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18513 bool result;
18514 PyObject * obj0 = 0 ;
18515 char *kwnames[] = {
18516 (char *) "self", NULL
18517 };
18518
18519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
18520 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18521 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18522 {
18523 PyThreadState* __tstate = wxPyBeginAllowThreads();
18524 result = (bool)(arg1)->base_TransferDataToWindow();
18525
18526 wxPyEndAllowThreads(__tstate);
18527 if (PyErr_Occurred()) SWIG_fail;
18528 }
18529 {
18530 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18531 }
18532 return resultobj;
18533 fail:
18534 return NULL;
18535}
18536
18537
c370783e 18538static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18539 PyObject *resultobj = NULL;
d55e5bfc
RD
18540 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18541 bool result;
18542 PyObject * obj0 = 0 ;
18543 char *kwnames[] = {
18544 (char *) "self", NULL
18545 };
18546
18547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",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();
18552 result = (bool)(arg1)->base_TransferDataFromWindow();
18553
18554 wxPyEndAllowThreads(__tstate);
18555 if (PyErr_Occurred()) SWIG_fail;
18556 }
18557 {
18558 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18559 }
18560 return resultobj;
18561 fail:
18562 return NULL;
18563}
18564
18565
c370783e 18566static PyObject *_wrap_PyWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18567 PyObject *resultobj = NULL;
d55e5bfc
RD
18568 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18569 bool result;
18570 PyObject * obj0 = 0 ;
18571 char *kwnames[] = {
18572 (char *) "self", NULL
18573 };
18574
18575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
36ed4f51
RD
18576 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18577 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18578 {
18579 PyThreadState* __tstate = wxPyBeginAllowThreads();
18580 result = (bool)(arg1)->base_Validate();
18581
18582 wxPyEndAllowThreads(__tstate);
18583 if (PyErr_Occurred()) SWIG_fail;
18584 }
18585 {
18586 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18587 }
18588 return resultobj;
18589 fail:
18590 return NULL;
18591}
18592
18593
c370783e 18594static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18595 PyObject *resultobj = NULL;
d55e5bfc
RD
18596 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18597 bool result;
18598 PyObject * obj0 = 0 ;
18599 char *kwnames[] = {
18600 (char *) "self", NULL
18601 };
18602
18603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
36ed4f51
RD
18604 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18605 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18606 {
18607 PyThreadState* __tstate = wxPyBeginAllowThreads();
18608 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
18609
18610 wxPyEndAllowThreads(__tstate);
18611 if (PyErr_Occurred()) SWIG_fail;
18612 }
18613 {
18614 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18615 }
18616 return resultobj;
18617 fail:
18618 return NULL;
18619}
18620
18621
c370783e 18622static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18623 PyObject *resultobj = NULL;
d55e5bfc
RD
18624 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18625 bool result;
18626 PyObject * obj0 = 0 ;
18627 char *kwnames[] = {
18628 (char *) "self", NULL
18629 };
18630
18631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
36ed4f51
RD
18632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18633 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18634 {
18635 PyThreadState* __tstate = wxPyBeginAllowThreads();
18636 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
18637
18638 wxPyEndAllowThreads(__tstate);
18639 if (PyErr_Occurred()) SWIG_fail;
18640 }
18641 {
18642 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18643 }
18644 return resultobj;
18645 fail:
18646 return NULL;
18647}
18648
18649
c370783e 18650static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18651 PyObject *resultobj = NULL;
d55e5bfc
RD
18652 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18653 wxSize result;
18654 PyObject * obj0 = 0 ;
18655 char *kwnames[] = {
18656 (char *) "self", NULL
18657 };
18658
18659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
18660 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18661 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18662 {
18663 PyThreadState* __tstate = wxPyBeginAllowThreads();
18664 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
18665
18666 wxPyEndAllowThreads(__tstate);
18667 if (PyErr_Occurred()) SWIG_fail;
18668 }
18669 {
18670 wxSize * resultptr;
32fe5131 18671 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
18672 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18673 }
18674 return resultobj;
18675 fail:
18676 return NULL;
18677}
18678
18679
c370783e 18680static PyObject *_wrap_PyWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18681 PyObject *resultobj = NULL;
d55e5bfc
RD
18682 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18683 wxWindow *arg2 = (wxWindow *) 0 ;
18684 PyObject * obj0 = 0 ;
18685 PyObject * obj1 = 0 ;
18686 char *kwnames[] = {
18687 (char *) "self",(char *) "child", NULL
18688 };
18689
18690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) 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;
18693 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18694 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
18695 {
18696 PyThreadState* __tstate = wxPyBeginAllowThreads();
18697 (arg1)->base_AddChild(arg2);
18698
18699 wxPyEndAllowThreads(__tstate);
18700 if (PyErr_Occurred()) SWIG_fail;
18701 }
18702 Py_INCREF(Py_None); resultobj = Py_None;
18703 return resultobj;
18704 fail:
18705 return NULL;
18706}
18707
18708
c370783e 18709static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18710 PyObject *resultobj = NULL;
d55e5bfc
RD
18711 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18712 wxWindow *arg2 = (wxWindow *) 0 ;
18713 PyObject * obj0 = 0 ;
18714 PyObject * obj1 = 0 ;
18715 char *kwnames[] = {
18716 (char *) "self",(char *) "child", NULL
18717 };
18718
18719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
18720 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18721 if (SWIG_arg_fail(1)) SWIG_fail;
18722 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18723 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
18724 {
18725 PyThreadState* __tstate = wxPyBeginAllowThreads();
18726 (arg1)->base_RemoveChild(arg2);
18727
18728 wxPyEndAllowThreads(__tstate);
18729 if (PyErr_Occurred()) SWIG_fail;
18730 }
18731 Py_INCREF(Py_None); resultobj = Py_None;
18732 return resultobj;
18733 fail:
18734 return NULL;
18735}
18736
18737
c370783e 18738static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18739 PyObject *resultobj = NULL;
d55e5bfc
RD
18740 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18741 bool result;
18742 PyObject * obj0 = 0 ;
18743 char *kwnames[] = {
18744 (char *) "self", NULL
18745 };
18746
18747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
36ed4f51
RD
18748 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18749 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18750 {
18751 PyThreadState* __tstate = wxPyBeginAllowThreads();
a5ee0656 18752 result = (bool)((wxPyWindow const *)arg1)->base_ShouldInheritColours();
d55e5bfc
RD
18753
18754 wxPyEndAllowThreads(__tstate);
18755 if (PyErr_Occurred()) SWIG_fail;
18756 }
18757 {
18758 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18759 }
18760 return resultobj;
18761 fail:
18762 return NULL;
18763}
18764
18765
c370783e 18766static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18767 PyObject *resultobj = NULL;
a5ee0656
RD
18768 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18769 wxVisualAttributes result;
18770 PyObject * obj0 = 0 ;
18771 char *kwnames[] = {
18772 (char *) "self", NULL
18773 };
18774
18775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
36ed4f51
RD
18776 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18777 if (SWIG_arg_fail(1)) SWIG_fail;
a5ee0656
RD
18778 {
18779 PyThreadState* __tstate = wxPyBeginAllowThreads();
18780 result = (arg1)->base_GetDefaultAttributes();
18781
18782 wxPyEndAllowThreads(__tstate);
18783 if (PyErr_Occurred()) SWIG_fail;
18784 }
18785 {
18786 wxVisualAttributes * resultptr;
32fe5131 18787 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
a5ee0656
RD
18788 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
18789 }
18790 return resultobj;
18791 fail:
18792 return NULL;
18793}
18794
18795
8d38bd1d 18796static PyObject *_wrap_PyWindow_base_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18797 PyObject *resultobj = NULL;
8d38bd1d
RD
18798 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18799 PyObject * obj0 = 0 ;
18800 char *kwnames[] = {
18801 (char *) "self", NULL
18802 };
18803
18804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_OnInternalIdle",kwnames,&obj0)) goto fail;
18805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18806 if (SWIG_arg_fail(1)) SWIG_fail;
18807 {
18808 PyThreadState* __tstate = wxPyBeginAllowThreads();
18809 (arg1)->base_OnInternalIdle();
18810
18811 wxPyEndAllowThreads(__tstate);
18812 if (PyErr_Occurred()) SWIG_fail;
18813 }
18814 Py_INCREF(Py_None); resultobj = Py_None;
18815 return resultobj;
18816 fail:
18817 return NULL;
18818}
18819
18820
c370783e 18821static PyObject * PyWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
18822 PyObject *obj;
18823 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18824 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
18825 Py_INCREF(obj);
18826 return Py_BuildValue((char *)"");
18827}
c370783e 18828static PyObject *_wrap_new_PyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18829 PyObject *resultobj = NULL;
d55e5bfc 18830 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 18831 int arg2 = (int) (int)-1 ;
d55e5bfc
RD
18832 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18833 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18834 wxSize const &arg4_defvalue = wxDefaultSize ;
18835 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18836 long arg5 = (long) 0 ;
18837 wxString const &arg6_defvalue = wxPyPanelNameStr ;
18838 wxString *arg6 = (wxString *) &arg6_defvalue ;
18839 wxPyPanel *result;
18840 wxPoint temp3 ;
18841 wxSize temp4 ;
b411df4a 18842 bool temp6 = false ;
d55e5bfc
RD
18843 PyObject * obj0 = 0 ;
18844 PyObject * obj1 = 0 ;
18845 PyObject * obj2 = 0 ;
18846 PyObject * obj3 = 0 ;
18847 PyObject * obj4 = 0 ;
18848 PyObject * obj5 = 0 ;
18849 char *kwnames[] = {
18850 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18851 };
18852
bfddbb17 18853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
18854 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18855 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 18856 if (obj1) {
36ed4f51 18857 {
32fe5131 18858 arg2 = static_cast<int const >(SWIG_As_int(obj1));
36ed4f51
RD
18859 if (SWIG_arg_fail(2)) SWIG_fail;
18860 }
bfddbb17 18861 }
d55e5bfc
RD
18862 if (obj2) {
18863 {
18864 arg3 = &temp3;
18865 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18866 }
18867 }
18868 if (obj3) {
18869 {
18870 arg4 = &temp4;
18871 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18872 }
18873 }
18874 if (obj4) {
36ed4f51 18875 {
32fe5131 18876 arg5 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
18877 if (SWIG_arg_fail(5)) SWIG_fail;
18878 }
d55e5bfc
RD
18879 }
18880 if (obj5) {
18881 {
18882 arg6 = wxString_in_helper(obj5);
18883 if (arg6 == NULL) SWIG_fail;
b411df4a 18884 temp6 = true;
d55e5bfc
RD
18885 }
18886 }
18887 {
0439c23b 18888 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
18889 PyThreadState* __tstate = wxPyBeginAllowThreads();
18890 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18891
18892 wxPyEndAllowThreads(__tstate);
110da5b0 18893 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
18894 }
18895 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
18896 {
18897 if (temp6)
18898 delete arg6;
18899 }
18900 return resultobj;
18901 fail:
18902 {
18903 if (temp6)
18904 delete arg6;
18905 }
18906 return NULL;
18907}
18908
18909
c370783e 18910static PyObject *_wrap_new_PrePyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18911 PyObject *resultobj = NULL;
d55e5bfc
RD
18912 wxPyPanel *result;
18913 char *kwnames[] = {
18914 NULL
18915 };
18916
18917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
18918 {
0439c23b 18919 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
18920 PyThreadState* __tstate = wxPyBeginAllowThreads();
18921 result = (wxPyPanel *)new wxPyPanel();
18922
18923 wxPyEndAllowThreads(__tstate);
110da5b0 18924 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
18925 }
18926 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
18927 return resultobj;
18928 fail:
18929 return NULL;
18930}
18931
18932
c370783e 18933static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18934 PyObject *resultobj = NULL;
d55e5bfc
RD
18935 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18936 PyObject *arg2 = (PyObject *) 0 ;
18937 PyObject *arg3 = (PyObject *) 0 ;
18938 PyObject * obj0 = 0 ;
18939 PyObject * obj1 = 0 ;
18940 PyObject * obj2 = 0 ;
18941 char *kwnames[] = {
18942 (char *) "self",(char *) "self",(char *) "_class", NULL
18943 };
18944
18945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
18946 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18947 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18948 arg2 = obj1;
18949 arg3 = obj2;
18950 {
18951 PyThreadState* __tstate = wxPyBeginAllowThreads();
18952 (arg1)->_setCallbackInfo(arg2,arg3);
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 *_wrap_PyPanel_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18965 PyObject *resultobj = NULL;
a5ee0656
RD
18966 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18967 wxSize *arg2 = 0 ;
18968 wxSize temp2 ;
18969 PyObject * obj0 = 0 ;
18970 PyObject * obj1 = 0 ;
18971 char *kwnames[] = {
18972 (char *) "self",(char *) "size", NULL
18973 };
18974
18975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
18976 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18977 if (SWIG_arg_fail(1)) SWIG_fail;
a5ee0656
RD
18978 {
18979 arg2 = &temp2;
18980 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18981 }
18982 {
18983 PyThreadState* __tstate = wxPyBeginAllowThreads();
18984 (arg1)->SetBestSize((wxSize const &)*arg2);
18985
18986 wxPyEndAllowThreads(__tstate);
18987 if (PyErr_Occurred()) SWIG_fail;
18988 }
18989 Py_INCREF(Py_None); resultobj = Py_None;
18990 return resultobj;
18991 fail:
18992 return NULL;
18993}
18994
18995
976dbff5 18996static PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18997 PyObject *resultobj = NULL;
976dbff5
RD
18998 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18999 wxDC *arg2 = (wxDC *) 0 ;
19000 bool result;
19001 PyObject * obj0 = 0 ;
19002 PyObject * obj1 = 0 ;
19003 char *kwnames[] = {
19004 (char *) "self",(char *) "dc", NULL
19005 };
19006
19007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail;
19008 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19009 if (SWIG_arg_fail(1)) SWIG_fail;
19010 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
19011 if (SWIG_arg_fail(2)) SWIG_fail;
19012 {
19013 PyThreadState* __tstate = wxPyBeginAllowThreads();
19014 result = (bool)(arg1)->DoEraseBackground(arg2);
19015
19016 wxPyEndAllowThreads(__tstate);
19017 if (PyErr_Occurred()) SWIG_fail;
19018 }
19019 {
19020 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19021 }
19022 return resultobj;
19023 fail:
19024 return NULL;
19025}
19026
19027
c370783e 19028static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19029 PyObject *resultobj = NULL;
d55e5bfc
RD
19030 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19031 int arg2 ;
19032 int arg3 ;
19033 int arg4 ;
19034 int arg5 ;
19035 PyObject * obj0 = 0 ;
19036 PyObject * obj1 = 0 ;
19037 PyObject * obj2 = 0 ;
19038 PyObject * obj3 = 0 ;
19039 PyObject * obj4 = 0 ;
19040 char *kwnames[] = {
19041 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19042 };
19043
19044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
19045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19046 if (SWIG_arg_fail(1)) SWIG_fail;
19047 {
32fe5131 19048 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
19049 if (SWIG_arg_fail(2)) SWIG_fail;
19050 }
19051 {
32fe5131 19052 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
19053 if (SWIG_arg_fail(3)) SWIG_fail;
19054 }
19055 {
32fe5131 19056 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
19057 if (SWIG_arg_fail(4)) SWIG_fail;
19058 }
19059 {
32fe5131 19060 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
19061 if (SWIG_arg_fail(5)) SWIG_fail;
19062 }
d55e5bfc
RD
19063 {
19064 PyThreadState* __tstate = wxPyBeginAllowThreads();
19065 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
19066
19067 wxPyEndAllowThreads(__tstate);
19068 if (PyErr_Occurred()) SWIG_fail;
19069 }
19070 Py_INCREF(Py_None); resultobj = Py_None;
19071 return resultobj;
19072 fail:
19073 return NULL;
19074}
19075
19076
c370783e 19077static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19078 PyObject *resultobj = NULL;
d55e5bfc
RD
19079 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19080 int arg2 ;
19081 int arg3 ;
19082 int arg4 ;
19083 int arg5 ;
19084 int arg6 = (int) wxSIZE_AUTO ;
19085 PyObject * obj0 = 0 ;
19086 PyObject * obj1 = 0 ;
19087 PyObject * obj2 = 0 ;
19088 PyObject * obj3 = 0 ;
19089 PyObject * obj4 = 0 ;
19090 PyObject * obj5 = 0 ;
19091 char *kwnames[] = {
19092 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19093 };
19094
19095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
19096 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19097 if (SWIG_arg_fail(1)) SWIG_fail;
19098 {
32fe5131 19099 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
19100 if (SWIG_arg_fail(2)) SWIG_fail;
19101 }
19102 {
32fe5131 19103 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
19104 if (SWIG_arg_fail(3)) SWIG_fail;
19105 }
19106 {
32fe5131 19107 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
19108 if (SWIG_arg_fail(4)) SWIG_fail;
19109 }
19110 {
32fe5131 19111 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
19112 if (SWIG_arg_fail(5)) SWIG_fail;
19113 }
d55e5bfc 19114 if (obj5) {
36ed4f51 19115 {
32fe5131 19116 arg6 = static_cast<int >(SWIG_As_int(obj5));
36ed4f51
RD
19117 if (SWIG_arg_fail(6)) SWIG_fail;
19118 }
d55e5bfc
RD
19119 }
19120 {
19121 PyThreadState* __tstate = wxPyBeginAllowThreads();
19122 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
19123
19124 wxPyEndAllowThreads(__tstate);
19125 if (PyErr_Occurred()) SWIG_fail;
19126 }
19127 Py_INCREF(Py_None); resultobj = Py_None;
19128 return resultobj;
19129 fail:
19130 return NULL;
19131}
19132
19133
c370783e 19134static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19135 PyObject *resultobj = NULL;
d55e5bfc
RD
19136 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19137 int arg2 ;
19138 int arg3 ;
19139 PyObject * obj0 = 0 ;
19140 PyObject * obj1 = 0 ;
19141 PyObject * obj2 = 0 ;
19142 char *kwnames[] = {
19143 (char *) "self",(char *) "width",(char *) "height", NULL
19144 };
19145
19146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
19147 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19148 if (SWIG_arg_fail(1)) SWIG_fail;
19149 {
32fe5131 19150 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
19151 if (SWIG_arg_fail(2)) SWIG_fail;
19152 }
19153 {
32fe5131 19154 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
19155 if (SWIG_arg_fail(3)) SWIG_fail;
19156 }
d55e5bfc
RD
19157 {
19158 PyThreadState* __tstate = wxPyBeginAllowThreads();
19159 (arg1)->base_DoSetClientSize(arg2,arg3);
19160
19161 wxPyEndAllowThreads(__tstate);
19162 if (PyErr_Occurred()) SWIG_fail;
19163 }
19164 Py_INCREF(Py_None); resultobj = Py_None;
19165 return resultobj;
19166 fail:
19167 return NULL;
19168}
19169
19170
c370783e 19171static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19172 PyObject *resultobj = NULL;
d55e5bfc
RD
19173 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19174 int arg2 ;
19175 int arg3 ;
19176 PyObject * obj0 = 0 ;
19177 PyObject * obj1 = 0 ;
19178 PyObject * obj2 = 0 ;
19179 char *kwnames[] = {
19180 (char *) "self",(char *) "x",(char *) "y", NULL
19181 };
19182
19183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
19184 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19185 if (SWIG_arg_fail(1)) SWIG_fail;
19186 {
32fe5131 19187 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
19188 if (SWIG_arg_fail(2)) SWIG_fail;
19189 }
19190 {
32fe5131 19191 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
19192 if (SWIG_arg_fail(3)) SWIG_fail;
19193 }
d55e5bfc
RD
19194 {
19195 PyThreadState* __tstate = wxPyBeginAllowThreads();
19196 (arg1)->base_DoSetVirtualSize(arg2,arg3);
19197
19198 wxPyEndAllowThreads(__tstate);
19199 if (PyErr_Occurred()) SWIG_fail;
19200 }
19201 Py_INCREF(Py_None); resultobj = Py_None;
19202 return resultobj;
19203 fail:
19204 return NULL;
19205}
19206
19207
c370783e 19208static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19209 PyObject *resultobj = NULL;
d55e5bfc
RD
19210 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19211 int *arg2 = (int *) 0 ;
19212 int *arg3 = (int *) 0 ;
19213 int temp2 ;
c370783e 19214 int res2 = 0 ;
d55e5bfc 19215 int temp3 ;
c370783e 19216 int res3 = 0 ;
d55e5bfc
RD
19217 PyObject * obj0 = 0 ;
19218 char *kwnames[] = {
19219 (char *) "self", NULL
19220 };
19221
c370783e
RD
19222 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19223 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 19224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
19225 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19226 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19227 {
19228 PyThreadState* __tstate = wxPyBeginAllowThreads();
19229 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
19230
19231 wxPyEndAllowThreads(__tstate);
19232 if (PyErr_Occurred()) SWIG_fail;
19233 }
19234 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
19235 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19236 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19237 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19238 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
19239 return resultobj;
19240 fail:
19241 return NULL;
19242}
19243
19244
c370783e 19245static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19246 PyObject *resultobj = NULL;
d55e5bfc
RD
19247 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19248 int *arg2 = (int *) 0 ;
19249 int *arg3 = (int *) 0 ;
19250 int temp2 ;
c370783e 19251 int res2 = 0 ;
d55e5bfc 19252 int temp3 ;
c370783e 19253 int res3 = 0 ;
d55e5bfc
RD
19254 PyObject * obj0 = 0 ;
19255 char *kwnames[] = {
19256 (char *) "self", NULL
19257 };
19258
c370783e
RD
19259 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19260 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 19261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
19262 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19263 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19264 {
19265 PyThreadState* __tstate = wxPyBeginAllowThreads();
19266 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
19267
19268 wxPyEndAllowThreads(__tstate);
19269 if (PyErr_Occurred()) SWIG_fail;
19270 }
19271 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
19272 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19273 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19274 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19275 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
19276 return resultobj;
19277 fail:
19278 return NULL;
19279}
19280
19281
c370783e 19282static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19283 PyObject *resultobj = NULL;
d55e5bfc
RD
19284 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19285 int *arg2 = (int *) 0 ;
19286 int *arg3 = (int *) 0 ;
19287 int temp2 ;
c370783e 19288 int res2 = 0 ;
d55e5bfc 19289 int temp3 ;
c370783e 19290 int res3 = 0 ;
d55e5bfc
RD
19291 PyObject * obj0 = 0 ;
19292 char *kwnames[] = {
19293 (char *) "self", NULL
19294 };
19295
c370783e
RD
19296 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19297 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 19298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
36ed4f51
RD
19299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19300 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19301 {
19302 PyThreadState* __tstate = wxPyBeginAllowThreads();
19303 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
19304
19305 wxPyEndAllowThreads(__tstate);
19306 if (PyErr_Occurred()) SWIG_fail;
19307 }
19308 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
19309 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19310 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19311 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19312 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
19313 return resultobj;
19314 fail:
19315 return NULL;
19316}
19317
19318
c370783e 19319static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19320 PyObject *resultobj = NULL;
d55e5bfc
RD
19321 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19322 wxSize result;
19323 PyObject * obj0 = 0 ;
19324 char *kwnames[] = {
19325 (char *) "self", NULL
19326 };
19327
19328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
19329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19330 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19331 {
19332 PyThreadState* __tstate = wxPyBeginAllowThreads();
19333 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
19334
19335 wxPyEndAllowThreads(__tstate);
19336 if (PyErr_Occurred()) SWIG_fail;
19337 }
19338 {
19339 wxSize * resultptr;
32fe5131 19340 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
19341 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19342 }
19343 return resultobj;
19344 fail:
19345 return NULL;
19346}
19347
19348
c370783e 19349static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19350 PyObject *resultobj = NULL;
d55e5bfc
RD
19351 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19352 wxSize result;
19353 PyObject * obj0 = 0 ;
19354 char *kwnames[] = {
19355 (char *) "self", NULL
19356 };
19357
19358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
19359 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19360 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19361 {
19362 PyThreadState* __tstate = wxPyBeginAllowThreads();
19363 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
19364
19365 wxPyEndAllowThreads(__tstate);
19366 if (PyErr_Occurred()) SWIG_fail;
19367 }
19368 {
19369 wxSize * resultptr;
32fe5131 19370 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
19371 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19372 }
19373 return resultobj;
19374 fail:
19375 return NULL;
19376}
19377
19378
c370783e 19379static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19380 PyObject *resultobj = NULL;
d55e5bfc
RD
19381 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19382 PyObject * obj0 = 0 ;
19383 char *kwnames[] = {
19384 (char *) "self", NULL
19385 };
19386
19387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
36ed4f51
RD
19388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19389 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19390 {
19391 PyThreadState* __tstate = wxPyBeginAllowThreads();
19392 (arg1)->base_InitDialog();
19393
19394 wxPyEndAllowThreads(__tstate);
19395 if (PyErr_Occurred()) SWIG_fail;
19396 }
19397 Py_INCREF(Py_None); resultobj = Py_None;
19398 return resultobj;
19399 fail:
19400 return NULL;
19401}
19402
19403
c370783e 19404static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19405 PyObject *resultobj = NULL;
d55e5bfc
RD
19406 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19407 bool result;
19408 PyObject * obj0 = 0 ;
19409 char *kwnames[] = {
19410 (char *) "self", NULL
19411 };
19412
19413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
19414 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19415 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19416 {
19417 PyThreadState* __tstate = wxPyBeginAllowThreads();
19418 result = (bool)(arg1)->base_TransferDataToWindow();
19419
19420 wxPyEndAllowThreads(__tstate);
19421 if (PyErr_Occurred()) SWIG_fail;
19422 }
19423 {
19424 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19425 }
19426 return resultobj;
19427 fail:
19428 return NULL;
19429}
19430
19431
c370783e 19432static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19433 PyObject *resultobj = NULL;
d55e5bfc
RD
19434 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19435 bool result;
19436 PyObject * obj0 = 0 ;
19437 char *kwnames[] = {
19438 (char *) "self", NULL
19439 };
19440
19441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",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();
19446 result = (bool)(arg1)->base_TransferDataFromWindow();
19447
19448 wxPyEndAllowThreads(__tstate);
19449 if (PyErr_Occurred()) SWIG_fail;
19450 }
19451 {
19452 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19453 }
19454 return resultobj;
19455 fail:
19456 return NULL;
19457}
19458
19459
c370783e 19460static PyObject *_wrap_PyPanel_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19461 PyObject *resultobj = NULL;
d55e5bfc
RD
19462 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19463 bool result;
19464 PyObject * obj0 = 0 ;
19465 char *kwnames[] = {
19466 (char *) "self", NULL
19467 };
19468
19469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
36ed4f51
RD
19470 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19471 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19472 {
19473 PyThreadState* __tstate = wxPyBeginAllowThreads();
19474 result = (bool)(arg1)->base_Validate();
19475
19476 wxPyEndAllowThreads(__tstate);
19477 if (PyErr_Occurred()) SWIG_fail;
19478 }
19479 {
19480 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19481 }
19482 return resultobj;
19483 fail:
19484 return NULL;
19485}
19486
19487
c370783e 19488static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19489 PyObject *resultobj = NULL;
d55e5bfc
RD
19490 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19491 bool result;
19492 PyObject * obj0 = 0 ;
19493 char *kwnames[] = {
19494 (char *) "self", NULL
19495 };
19496
19497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
36ed4f51
RD
19498 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19499 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19500 {
19501 PyThreadState* __tstate = wxPyBeginAllowThreads();
19502 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
19503
19504 wxPyEndAllowThreads(__tstate);
19505 if (PyErr_Occurred()) SWIG_fail;
19506 }
19507 {
19508 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19509 }
19510 return resultobj;
19511 fail:
19512 return NULL;
19513}
19514
19515
c370783e 19516static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19517 PyObject *resultobj = NULL;
d55e5bfc
RD
19518 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19519 bool result;
19520 PyObject * obj0 = 0 ;
19521 char *kwnames[] = {
19522 (char *) "self", NULL
19523 };
19524
19525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
36ed4f51
RD
19526 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19527 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19528 {
19529 PyThreadState* __tstate = wxPyBeginAllowThreads();
19530 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
19531
19532 wxPyEndAllowThreads(__tstate);
19533 if (PyErr_Occurred()) SWIG_fail;
19534 }
19535 {
19536 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19537 }
19538 return resultobj;
19539 fail:
19540 return NULL;
19541}
19542
19543
c370783e 19544static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19545 PyObject *resultobj = NULL;
d55e5bfc
RD
19546 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19547 wxSize result;
19548 PyObject * obj0 = 0 ;
19549 char *kwnames[] = {
19550 (char *) "self", NULL
19551 };
19552
19553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
19554 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19555 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19556 {
19557 PyThreadState* __tstate = wxPyBeginAllowThreads();
19558 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
19559
19560 wxPyEndAllowThreads(__tstate);
19561 if (PyErr_Occurred()) SWIG_fail;
19562 }
19563 {
19564 wxSize * resultptr;
32fe5131 19565 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
19566 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19567 }
19568 return resultobj;
19569 fail:
19570 return NULL;
19571}
19572
19573
c370783e 19574static PyObject *_wrap_PyPanel_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19575 PyObject *resultobj = NULL;
d55e5bfc
RD
19576 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19577 wxWindow *arg2 = (wxWindow *) 0 ;
19578 PyObject * obj0 = 0 ;
19579 PyObject * obj1 = 0 ;
19580 char *kwnames[] = {
19581 (char *) "self",(char *) "child", NULL
19582 };
19583
19584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) 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;
19587 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19588 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
19589 {
19590 PyThreadState* __tstate = wxPyBeginAllowThreads();
19591 (arg1)->base_AddChild(arg2);
19592
19593 wxPyEndAllowThreads(__tstate);
19594 if (PyErr_Occurred()) SWIG_fail;
19595 }
19596 Py_INCREF(Py_None); resultobj = Py_None;
19597 return resultobj;
19598 fail:
19599 return NULL;
19600}
19601
19602
c370783e 19603static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19604 PyObject *resultobj = NULL;
d55e5bfc
RD
19605 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19606 wxWindow *arg2 = (wxWindow *) 0 ;
19607 PyObject * obj0 = 0 ;
19608 PyObject * obj1 = 0 ;
19609 char *kwnames[] = {
19610 (char *) "self",(char *) "child", NULL
19611 };
19612
19613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19614 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19615 if (SWIG_arg_fail(1)) SWIG_fail;
19616 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19617 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
19618 {
19619 PyThreadState* __tstate = wxPyBeginAllowThreads();
19620 (arg1)->base_RemoveChild(arg2);
19621
19622 wxPyEndAllowThreads(__tstate);
19623 if (PyErr_Occurred()) SWIG_fail;
19624 }
19625 Py_INCREF(Py_None); resultobj = Py_None;
19626 return resultobj;
19627 fail:
19628 return NULL;
19629}
19630
19631
c370783e 19632static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19633 PyObject *resultobj = NULL;
d55e5bfc
RD
19634 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19635 bool result;
19636 PyObject * obj0 = 0 ;
19637 char *kwnames[] = {
19638 (char *) "self", NULL
19639 };
19640
19641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
36ed4f51
RD
19642 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19643 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19644 {
19645 PyThreadState* __tstate = wxPyBeginAllowThreads();
a5ee0656 19646 result = (bool)((wxPyPanel const *)arg1)->base_ShouldInheritColours();
d55e5bfc
RD
19647
19648 wxPyEndAllowThreads(__tstate);
19649 if (PyErr_Occurred()) SWIG_fail;
19650 }
19651 {
19652 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19653 }
19654 return resultobj;
19655 fail:
19656 return NULL;
19657}
19658
19659
c370783e 19660static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19661 PyObject *resultobj = NULL;
a5ee0656
RD
19662 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19663 wxVisualAttributes result;
19664 PyObject * obj0 = 0 ;
19665 char *kwnames[] = {
19666 (char *) "self", NULL
19667 };
19668
19669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
36ed4f51
RD
19670 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19671 if (SWIG_arg_fail(1)) SWIG_fail;
a5ee0656
RD
19672 {
19673 PyThreadState* __tstate = wxPyBeginAllowThreads();
19674 result = (arg1)->base_GetDefaultAttributes();
19675
19676 wxPyEndAllowThreads(__tstate);
19677 if (PyErr_Occurred()) SWIG_fail;
19678 }
19679 {
19680 wxVisualAttributes * resultptr;
32fe5131 19681 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
a5ee0656
RD
19682 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
19683 }
19684 return resultobj;
19685 fail:
19686 return NULL;
19687}
19688
19689
8d38bd1d 19690static PyObject *_wrap_PyPanel_base_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19691 PyObject *resultobj = NULL;
8d38bd1d
RD
19692 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19693 PyObject * obj0 = 0 ;
19694 char *kwnames[] = {
19695 (char *) "self", NULL
19696 };
19697
19698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_OnInternalIdle",kwnames,&obj0)) goto fail;
19699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19700 if (SWIG_arg_fail(1)) SWIG_fail;
19701 {
19702 PyThreadState* __tstate = wxPyBeginAllowThreads();
19703 (arg1)->base_OnInternalIdle();
19704
19705 wxPyEndAllowThreads(__tstate);
19706 if (PyErr_Occurred()) SWIG_fail;
19707 }
19708 Py_INCREF(Py_None); resultobj = Py_None;
19709 return resultobj;
19710 fail:
19711 return NULL;
19712}
19713
19714
c370783e 19715static PyObject * PyPanel_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
19716 PyObject *obj;
19717 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19718 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
19719 Py_INCREF(obj);
19720 return Py_BuildValue((char *)"");
19721}
c370783e 19722static PyObject *_wrap_new_PyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19723 PyObject *resultobj = NULL;
d55e5bfc 19724 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 19725 int arg2 = (int) (int)-1 ;
d55e5bfc
RD
19726 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19727 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19728 wxSize const &arg4_defvalue = wxDefaultSize ;
19729 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19730 long arg5 = (long) 0 ;
19731 wxString const &arg6_defvalue = wxPyPanelNameStr ;
19732 wxString *arg6 = (wxString *) &arg6_defvalue ;
19733 wxPyScrolledWindow *result;
19734 wxPoint temp3 ;
19735 wxSize temp4 ;
b411df4a 19736 bool temp6 = false ;
d55e5bfc
RD
19737 PyObject * obj0 = 0 ;
19738 PyObject * obj1 = 0 ;
19739 PyObject * obj2 = 0 ;
19740 PyObject * obj3 = 0 ;
19741 PyObject * obj4 = 0 ;
19742 PyObject * obj5 = 0 ;
19743 char *kwnames[] = {
19744 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19745 };
19746
bfddbb17 19747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
19748 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19749 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 19750 if (obj1) {
36ed4f51 19751 {
32fe5131 19752 arg2 = static_cast<int const >(SWIG_As_int(obj1));
36ed4f51
RD
19753 if (SWIG_arg_fail(2)) SWIG_fail;
19754 }
bfddbb17 19755 }
d55e5bfc
RD
19756 if (obj2) {
19757 {
19758 arg3 = &temp3;
19759 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19760 }
19761 }
19762 if (obj3) {
19763 {
19764 arg4 = &temp4;
19765 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19766 }
19767 }
19768 if (obj4) {
36ed4f51 19769 {
32fe5131 19770 arg5 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
19771 if (SWIG_arg_fail(5)) SWIG_fail;
19772 }
d55e5bfc
RD
19773 }
19774 if (obj5) {
19775 {
19776 arg6 = wxString_in_helper(obj5);
19777 if (arg6 == NULL) SWIG_fail;
b411df4a 19778 temp6 = true;
d55e5bfc
RD
19779 }
19780 }
19781 {
0439c23b 19782 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
19783 PyThreadState* __tstate = wxPyBeginAllowThreads();
19784 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
19785
19786 wxPyEndAllowThreads(__tstate);
110da5b0 19787 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
19788 }
19789 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
19790 {
19791 if (temp6)
19792 delete arg6;
19793 }
19794 return resultobj;
19795 fail:
19796 {
19797 if (temp6)
19798 delete arg6;
19799 }
19800 return NULL;
19801}
19802
19803
c370783e 19804static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19805 PyObject *resultobj = NULL;
d55e5bfc
RD
19806 wxPyScrolledWindow *result;
19807 char *kwnames[] = {
19808 NULL
19809 };
19810
19811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
19812 {
0439c23b 19813 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
19814 PyThreadState* __tstate = wxPyBeginAllowThreads();
19815 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
19816
19817 wxPyEndAllowThreads(__tstate);
110da5b0 19818 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
19819 }
19820 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
19821 return resultobj;
19822 fail:
19823 return NULL;
19824}
19825
19826
c370783e 19827static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19828 PyObject *resultobj = NULL;
d55e5bfc
RD
19829 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19830 PyObject *arg2 = (PyObject *) 0 ;
19831 PyObject *arg3 = (PyObject *) 0 ;
19832 PyObject * obj0 = 0 ;
19833 PyObject * obj1 = 0 ;
19834 PyObject * obj2 = 0 ;
19835 char *kwnames[] = {
19836 (char *) "self",(char *) "self",(char *) "_class", NULL
19837 };
19838
19839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
19840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19841 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19842 arg2 = obj1;
19843 arg3 = obj2;
19844 {
19845 PyThreadState* __tstate = wxPyBeginAllowThreads();
19846 (arg1)->_setCallbackInfo(arg2,arg3);
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 *_wrap_PyScrolledWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19859 PyObject *resultobj = NULL;
a5ee0656
RD
19860 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19861 wxSize *arg2 = 0 ;
19862 wxSize temp2 ;
19863 PyObject * obj0 = 0 ;
19864 PyObject * obj1 = 0 ;
19865 char *kwnames[] = {
19866 (char *) "self",(char *) "size", NULL
19867 };
19868
19869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19870 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19871 if (SWIG_arg_fail(1)) SWIG_fail;
a5ee0656
RD
19872 {
19873 arg2 = &temp2;
19874 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19875 }
19876 {
19877 PyThreadState* __tstate = wxPyBeginAllowThreads();
19878 (arg1)->SetBestSize((wxSize const &)*arg2);
19879
19880 wxPyEndAllowThreads(__tstate);
19881 if (PyErr_Occurred()) SWIG_fail;
19882 }
19883 Py_INCREF(Py_None); resultobj = Py_None;
19884 return resultobj;
19885 fail:
19886 return NULL;
19887}
19888
19889
976dbff5 19890static PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19891 PyObject *resultobj = NULL;
976dbff5
RD
19892 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19893 wxDC *arg2 = (wxDC *) 0 ;
19894 bool result;
19895 PyObject * obj0 = 0 ;
19896 PyObject * obj1 = 0 ;
19897 char *kwnames[] = {
19898 (char *) "self",(char *) "dc", NULL
19899 };
19900
19901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail;
19902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19903 if (SWIG_arg_fail(1)) SWIG_fail;
19904 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
19905 if (SWIG_arg_fail(2)) SWIG_fail;
19906 {
19907 PyThreadState* __tstate = wxPyBeginAllowThreads();
19908 result = (bool)(arg1)->DoEraseBackground(arg2);
19909
19910 wxPyEndAllowThreads(__tstate);
19911 if (PyErr_Occurred()) SWIG_fail;
19912 }
19913 {
19914 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19915 }
19916 return resultobj;
19917 fail:
19918 return NULL;
19919}
19920
19921
c370783e 19922static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19923 PyObject *resultobj = NULL;
d55e5bfc
RD
19924 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19925 int arg2 ;
19926 int arg3 ;
19927 int arg4 ;
19928 int arg5 ;
19929 PyObject * obj0 = 0 ;
19930 PyObject * obj1 = 0 ;
19931 PyObject * obj2 = 0 ;
19932 PyObject * obj3 = 0 ;
19933 PyObject * obj4 = 0 ;
19934 char *kwnames[] = {
19935 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19936 };
19937
19938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
19939 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19940 if (SWIG_arg_fail(1)) SWIG_fail;
19941 {
32fe5131 19942 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
19943 if (SWIG_arg_fail(2)) SWIG_fail;
19944 }
19945 {
32fe5131 19946 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
19947 if (SWIG_arg_fail(3)) SWIG_fail;
19948 }
19949 {
32fe5131 19950 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
19951 if (SWIG_arg_fail(4)) SWIG_fail;
19952 }
19953 {
32fe5131 19954 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
19955 if (SWIG_arg_fail(5)) SWIG_fail;
19956 }
d55e5bfc
RD
19957 {
19958 PyThreadState* __tstate = wxPyBeginAllowThreads();
19959 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
19960
19961 wxPyEndAllowThreads(__tstate);
19962 if (PyErr_Occurred()) SWIG_fail;
19963 }
19964 Py_INCREF(Py_None); resultobj = Py_None;
19965 return resultobj;
19966 fail:
19967 return NULL;
19968}
19969
19970
c370783e 19971static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19972 PyObject *resultobj = NULL;
d55e5bfc
RD
19973 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19974 int arg2 ;
19975 int arg3 ;
19976 int arg4 ;
19977 int arg5 ;
19978 int arg6 = (int) wxSIZE_AUTO ;
19979 PyObject * obj0 = 0 ;
19980 PyObject * obj1 = 0 ;
19981 PyObject * obj2 = 0 ;
19982 PyObject * obj3 = 0 ;
19983 PyObject * obj4 = 0 ;
19984 PyObject * obj5 = 0 ;
19985 char *kwnames[] = {
19986 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19987 };
19988
19989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
19990 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19991 if (SWIG_arg_fail(1)) SWIG_fail;
19992 {
32fe5131 19993 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
19994 if (SWIG_arg_fail(2)) SWIG_fail;
19995 }
19996 {
32fe5131 19997 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
19998 if (SWIG_arg_fail(3)) SWIG_fail;
19999 }
20000 {
32fe5131 20001 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
20002 if (SWIG_arg_fail(4)) SWIG_fail;
20003 }
20004 {
32fe5131 20005 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
20006 if (SWIG_arg_fail(5)) SWIG_fail;
20007 }
d55e5bfc 20008 if (obj5) {
36ed4f51 20009 {
32fe5131 20010 arg6 = static_cast<int >(SWIG_As_int(obj5));
36ed4f51
RD
20011 if (SWIG_arg_fail(6)) SWIG_fail;
20012 }
d55e5bfc
RD
20013 }
20014 {
20015 PyThreadState* __tstate = wxPyBeginAllowThreads();
20016 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
20017
20018 wxPyEndAllowThreads(__tstate);
20019 if (PyErr_Occurred()) SWIG_fail;
20020 }
20021 Py_INCREF(Py_None); resultobj = Py_None;
20022 return resultobj;
20023 fail:
20024 return NULL;
20025}
20026
20027
c370783e 20028static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20029 PyObject *resultobj = NULL;
d55e5bfc
RD
20030 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20031 int arg2 ;
20032 int arg3 ;
20033 PyObject * obj0 = 0 ;
20034 PyObject * obj1 = 0 ;
20035 PyObject * obj2 = 0 ;
20036 char *kwnames[] = {
20037 (char *) "self",(char *) "width",(char *) "height", NULL
20038 };
20039
20040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
20041 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20042 if (SWIG_arg_fail(1)) SWIG_fail;
20043 {
32fe5131 20044 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
20045 if (SWIG_arg_fail(2)) SWIG_fail;
20046 }
20047 {
32fe5131 20048 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
20049 if (SWIG_arg_fail(3)) SWIG_fail;
20050 }
d55e5bfc
RD
20051 {
20052 PyThreadState* __tstate = wxPyBeginAllowThreads();
20053 (arg1)->base_DoSetClientSize(arg2,arg3);
20054
20055 wxPyEndAllowThreads(__tstate);
20056 if (PyErr_Occurred()) SWIG_fail;
20057 }
20058 Py_INCREF(Py_None); resultobj = Py_None;
20059 return resultobj;
20060 fail:
20061 return NULL;
20062}
20063
20064
c370783e 20065static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20066 PyObject *resultobj = NULL;
d55e5bfc
RD
20067 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20068 int arg2 ;
20069 int arg3 ;
20070 PyObject * obj0 = 0 ;
20071 PyObject * obj1 = 0 ;
20072 PyObject * obj2 = 0 ;
20073 char *kwnames[] = {
20074 (char *) "self",(char *) "x",(char *) "y", NULL
20075 };
20076
20077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
20078 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20079 if (SWIG_arg_fail(1)) SWIG_fail;
20080 {
32fe5131 20081 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
20082 if (SWIG_arg_fail(2)) SWIG_fail;
20083 }
20084 {
32fe5131 20085 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
20086 if (SWIG_arg_fail(3)) SWIG_fail;
20087 }
d55e5bfc
RD
20088 {
20089 PyThreadState* __tstate = wxPyBeginAllowThreads();
20090 (arg1)->base_DoSetVirtualSize(arg2,arg3);
20091
20092 wxPyEndAllowThreads(__tstate);
20093 if (PyErr_Occurred()) SWIG_fail;
20094 }
20095 Py_INCREF(Py_None); resultobj = Py_None;
20096 return resultobj;
20097 fail:
20098 return NULL;
20099}
20100
20101
c370783e 20102static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20103 PyObject *resultobj = NULL;
d55e5bfc
RD
20104 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20105 int *arg2 = (int *) 0 ;
20106 int *arg3 = (int *) 0 ;
20107 int temp2 ;
c370783e 20108 int res2 = 0 ;
d55e5bfc 20109 int temp3 ;
c370783e 20110 int res3 = 0 ;
d55e5bfc
RD
20111 PyObject * obj0 = 0 ;
20112 char *kwnames[] = {
20113 (char *) "self", NULL
20114 };
20115
c370783e
RD
20116 arg2 = &temp2; res2 = SWIG_NEWOBJ;
20117 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 20118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
20119 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20120 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20121 {
20122 PyThreadState* __tstate = wxPyBeginAllowThreads();
20123 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
20124
20125 wxPyEndAllowThreads(__tstate);
20126 if (PyErr_Occurred()) SWIG_fail;
20127 }
20128 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
20129 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
20130 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
20131 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
20132 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
20133 return resultobj;
20134 fail:
20135 return NULL;
20136}
20137
20138
c370783e 20139static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20140 PyObject *resultobj = NULL;
d55e5bfc
RD
20141 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20142 int *arg2 = (int *) 0 ;
20143 int *arg3 = (int *) 0 ;
20144 int temp2 ;
c370783e 20145 int res2 = 0 ;
d55e5bfc 20146 int temp3 ;
c370783e 20147 int res3 = 0 ;
d55e5bfc
RD
20148 PyObject * obj0 = 0 ;
20149 char *kwnames[] = {
20150 (char *) "self", NULL
20151 };
20152
c370783e
RD
20153 arg2 = &temp2; res2 = SWIG_NEWOBJ;
20154 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 20155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
20156 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20157 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20158 {
20159 PyThreadState* __tstate = wxPyBeginAllowThreads();
20160 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
20161
20162 wxPyEndAllowThreads(__tstate);
20163 if (PyErr_Occurred()) SWIG_fail;
20164 }
20165 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
20166 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
20167 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
20168 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
20169 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
20170 return resultobj;
20171 fail:
20172 return NULL;
20173}
20174
20175
c370783e 20176static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20177 PyObject *resultobj = NULL;
d55e5bfc
RD
20178 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20179 int *arg2 = (int *) 0 ;
20180 int *arg3 = (int *) 0 ;
20181 int temp2 ;
c370783e 20182 int res2 = 0 ;
d55e5bfc 20183 int temp3 ;
c370783e 20184 int res3 = 0 ;
d55e5bfc
RD
20185 PyObject * obj0 = 0 ;
20186 char *kwnames[] = {
20187 (char *) "self", NULL
20188 };
20189
c370783e
RD
20190 arg2 = &temp2; res2 = SWIG_NEWOBJ;
20191 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 20192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
36ed4f51
RD
20193 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20194 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20195 {
20196 PyThreadState* __tstate = wxPyBeginAllowThreads();
20197 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
20198
20199 wxPyEndAllowThreads(__tstate);
20200 if (PyErr_Occurred()) SWIG_fail;
20201 }
20202 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
20203 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
20204 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
20205 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
20206 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
20207 return resultobj;
20208 fail:
20209 return NULL;
20210}
20211
20212
c370783e 20213static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20214 PyObject *resultobj = NULL;
d55e5bfc
RD
20215 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20216 wxSize result;
20217 PyObject * obj0 = 0 ;
20218 char *kwnames[] = {
20219 (char *) "self", NULL
20220 };
20221
20222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
20223 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20224 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20225 {
20226 PyThreadState* __tstate = wxPyBeginAllowThreads();
20227 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
20228
20229 wxPyEndAllowThreads(__tstate);
20230 if (PyErr_Occurred()) SWIG_fail;
20231 }
20232 {
20233 wxSize * resultptr;
32fe5131 20234 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
20235 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20236 }
20237 return resultobj;
20238 fail:
20239 return NULL;
20240}
20241
20242
c370783e 20243static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20244 PyObject *resultobj = NULL;
d55e5bfc
RD
20245 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20246 wxSize result;
20247 PyObject * obj0 = 0 ;
20248 char *kwnames[] = {
20249 (char *) "self", NULL
20250 };
20251
20252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
20253 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20254 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20255 {
20256 PyThreadState* __tstate = wxPyBeginAllowThreads();
20257 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
20258
20259 wxPyEndAllowThreads(__tstate);
20260 if (PyErr_Occurred()) SWIG_fail;
20261 }
20262 {
20263 wxSize * resultptr;
32fe5131 20264 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
20265 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20266 }
20267 return resultobj;
20268 fail:
20269 return NULL;
20270}
20271
20272
c370783e 20273static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20274 PyObject *resultobj = NULL;
d55e5bfc
RD
20275 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20276 PyObject * obj0 = 0 ;
20277 char *kwnames[] = {
20278 (char *) "self", NULL
20279 };
20280
20281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
36ed4f51
RD
20282 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20283 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20284 {
20285 PyThreadState* __tstate = wxPyBeginAllowThreads();
20286 (arg1)->base_InitDialog();
20287
20288 wxPyEndAllowThreads(__tstate);
20289 if (PyErr_Occurred()) SWIG_fail;
20290 }
20291 Py_INCREF(Py_None); resultobj = Py_None;
20292 return resultobj;
20293 fail:
20294 return NULL;
20295}
20296
20297
c370783e 20298static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20299 PyObject *resultobj = NULL;
d55e5bfc
RD
20300 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20301 bool result;
20302 PyObject * obj0 = 0 ;
20303 char *kwnames[] = {
20304 (char *) "self", NULL
20305 };
20306
20307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
20308 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20309 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20310 {
20311 PyThreadState* __tstate = wxPyBeginAllowThreads();
20312 result = (bool)(arg1)->base_TransferDataToWindow();
20313
20314 wxPyEndAllowThreads(__tstate);
20315 if (PyErr_Occurred()) SWIG_fail;
20316 }
20317 {
20318 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20319 }
20320 return resultobj;
20321 fail:
20322 return NULL;
20323}
20324
20325
c370783e 20326static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20327 PyObject *resultobj = NULL;
d55e5bfc
RD
20328 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20329 bool result;
20330 PyObject * obj0 = 0 ;
20331 char *kwnames[] = {
20332 (char *) "self", NULL
20333 };
20334
20335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",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();
20340 result = (bool)(arg1)->base_TransferDataFromWindow();
20341
20342 wxPyEndAllowThreads(__tstate);
20343 if (PyErr_Occurred()) SWIG_fail;
20344 }
20345 {
20346 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20347 }
20348 return resultobj;
20349 fail:
20350 return NULL;
20351}
20352
20353
c370783e 20354static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20355 PyObject *resultobj = NULL;
d55e5bfc
RD
20356 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20357 bool result;
20358 PyObject * obj0 = 0 ;
20359 char *kwnames[] = {
20360 (char *) "self", NULL
20361 };
20362
20363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
36ed4f51
RD
20364 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20365 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20366 {
20367 PyThreadState* __tstate = wxPyBeginAllowThreads();
20368 result = (bool)(arg1)->base_Validate();
20369
20370 wxPyEndAllowThreads(__tstate);
20371 if (PyErr_Occurred()) SWIG_fail;
20372 }
20373 {
20374 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20375 }
20376 return resultobj;
20377 fail:
20378 return NULL;
20379}
20380
20381
c370783e 20382static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20383 PyObject *resultobj = NULL;
d55e5bfc
RD
20384 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20385 bool result;
20386 PyObject * obj0 = 0 ;
20387 char *kwnames[] = {
20388 (char *) "self", NULL
20389 };
20390
20391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
36ed4f51
RD
20392 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20393 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20394 {
20395 PyThreadState* __tstate = wxPyBeginAllowThreads();
20396 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
20397
20398 wxPyEndAllowThreads(__tstate);
20399 if (PyErr_Occurred()) SWIG_fail;
20400 }
20401 {
20402 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20403 }
20404 return resultobj;
20405 fail:
20406 return NULL;
20407}
20408
20409
c370783e 20410static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20411 PyObject *resultobj = NULL;
d55e5bfc
RD
20412 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20413 bool result;
20414 PyObject * obj0 = 0 ;
20415 char *kwnames[] = {
20416 (char *) "self", NULL
20417 };
20418
20419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
36ed4f51
RD
20420 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20421 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20422 {
20423 PyThreadState* __tstate = wxPyBeginAllowThreads();
20424 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
20425
20426 wxPyEndAllowThreads(__tstate);
20427 if (PyErr_Occurred()) SWIG_fail;
20428 }
20429 {
20430 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20431 }
20432 return resultobj;
20433 fail:
20434 return NULL;
20435}
20436
20437
c370783e 20438static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20439 PyObject *resultobj = NULL;
d55e5bfc
RD
20440 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20441 wxSize result;
20442 PyObject * obj0 = 0 ;
20443 char *kwnames[] = {
20444 (char *) "self", NULL
20445 };
20446
20447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
20448 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20449 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20450 {
20451 PyThreadState* __tstate = wxPyBeginAllowThreads();
20452 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
20453
20454 wxPyEndAllowThreads(__tstate);
20455 if (PyErr_Occurred()) SWIG_fail;
20456 }
20457 {
20458 wxSize * resultptr;
32fe5131 20459 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
20460 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20461 }
20462 return resultobj;
20463 fail:
20464 return NULL;
20465}
20466
20467
c370783e 20468static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20469 PyObject *resultobj = NULL;
d55e5bfc
RD
20470 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20471 wxWindow *arg2 = (wxWindow *) 0 ;
20472 PyObject * obj0 = 0 ;
20473 PyObject * obj1 = 0 ;
20474 char *kwnames[] = {
20475 (char *) "self",(char *) "child", NULL
20476 };
20477
20478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) 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;
20481 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
20482 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
20483 {
20484 PyThreadState* __tstate = wxPyBeginAllowThreads();
20485 (arg1)->base_AddChild(arg2);
20486
20487 wxPyEndAllowThreads(__tstate);
20488 if (PyErr_Occurred()) SWIG_fail;
20489 }
20490 Py_INCREF(Py_None); resultobj = Py_None;
20491 return resultobj;
20492 fail:
20493 return NULL;
20494}
20495
20496
c370783e 20497static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20498 PyObject *resultobj = NULL;
d55e5bfc
RD
20499 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20500 wxWindow *arg2 = (wxWindow *) 0 ;
20501 PyObject * obj0 = 0 ;
20502 PyObject * obj1 = 0 ;
20503 char *kwnames[] = {
20504 (char *) "self",(char *) "child", NULL
20505 };
20506
20507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20509 if (SWIG_arg_fail(1)) SWIG_fail;
20510 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
20511 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
20512 {
20513 PyThreadState* __tstate = wxPyBeginAllowThreads();
20514 (arg1)->base_RemoveChild(arg2);
20515
20516 wxPyEndAllowThreads(__tstate);
20517 if (PyErr_Occurred()) SWIG_fail;
20518 }
20519 Py_INCREF(Py_None); resultobj = Py_None;
20520 return resultobj;
20521 fail:
20522 return NULL;
20523}
20524
20525
c370783e 20526static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20527 PyObject *resultobj = NULL;
d55e5bfc
RD
20528 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20529 bool result;
20530 PyObject * obj0 = 0 ;
20531 char *kwnames[] = {
20532 (char *) "self", NULL
20533 };
20534
20535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
36ed4f51
RD
20536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20537 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20538 {
20539 PyThreadState* __tstate = wxPyBeginAllowThreads();
a5ee0656 20540 result = (bool)((wxPyScrolledWindow const *)arg1)->base_ShouldInheritColours();
d55e5bfc
RD
20541
20542 wxPyEndAllowThreads(__tstate);
20543 if (PyErr_Occurred()) SWIG_fail;
20544 }
20545 {
20546 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20547 }
20548 return resultobj;
20549 fail:
20550 return NULL;
20551}
20552
20553
c370783e 20554static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20555 PyObject *resultobj = NULL;
a5ee0656
RD
20556 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20557 wxVisualAttributes result;
20558 PyObject * obj0 = 0 ;
20559 char *kwnames[] = {
20560 (char *) "self", NULL
20561 };
20562
20563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
36ed4f51
RD
20564 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20565 if (SWIG_arg_fail(1)) SWIG_fail;
a5ee0656
RD
20566 {
20567 PyThreadState* __tstate = wxPyBeginAllowThreads();
20568 result = (arg1)->base_GetDefaultAttributes();
20569
20570 wxPyEndAllowThreads(__tstate);
20571 if (PyErr_Occurred()) SWIG_fail;
20572 }
20573 {
20574 wxVisualAttributes * resultptr;
32fe5131 20575 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
a5ee0656
RD
20576 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
20577 }
20578 return resultobj;
20579 fail:
20580 return NULL;
20581}
20582
20583
8d38bd1d 20584static PyObject *_wrap_PyScrolledWindow_base_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20585 PyObject *resultobj = NULL;
8d38bd1d
RD
20586 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20587 PyObject * obj0 = 0 ;
20588 char *kwnames[] = {
20589 (char *) "self", NULL
20590 };
20591
20592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_OnInternalIdle",kwnames,&obj0)) goto fail;
20593 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20594 if (SWIG_arg_fail(1)) SWIG_fail;
20595 {
20596 PyThreadState* __tstate = wxPyBeginAllowThreads();
20597 (arg1)->base_OnInternalIdle();
20598
20599 wxPyEndAllowThreads(__tstate);
20600 if (PyErr_Occurred()) SWIG_fail;
20601 }
20602 Py_INCREF(Py_None); resultobj = Py_None;
20603 return resultobj;
20604 fail:
20605 return NULL;
20606}
20607
20608
c370783e 20609static PyObject * PyScrolledWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
20610 PyObject *obj;
20611 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20612 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
20613 Py_INCREF(obj);
20614 return Py_BuildValue((char *)"");
20615}
c370783e 20616static int _wrap_PrintoutTitleStr_set(PyObject *) {
d55e5bfc
RD
20617 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
20618 return 1;
20619}
20620
20621
36ed4f51 20622static PyObject *_wrap_PrintoutTitleStr_get(void) {
32fe5131 20623 PyObject *pyobj = NULL;
d55e5bfc
RD
20624
20625 {
20626#if wxUSE_UNICODE
20627 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
20628#else
20629 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
20630#endif
20631 }
20632 return pyobj;
20633}
20634
20635
c370783e 20636static int _wrap_PreviewCanvasNameStr_set(PyObject *) {
d55e5bfc
RD
20637 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
20638 return 1;
20639}
20640
20641
36ed4f51 20642static PyObject *_wrap_PreviewCanvasNameStr_get(void) {
32fe5131 20643 PyObject *pyobj = NULL;
d55e5bfc
RD
20644
20645 {
20646#if wxUSE_UNICODE
20647 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
20648#else
20649 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
20650#endif
20651 }
20652 return pyobj;
20653}
20654
20655
c370783e 20656static PyObject *_wrap_new_PrintData__SWIG_0(PyObject *, PyObject *args) {
32fe5131 20657 PyObject *resultobj = NULL;
d55e5bfc 20658 wxPrintData *result;
d55e5bfc 20659
09c21d3b 20660 if(!PyArg_ParseTuple(args,(char *)":new_PrintData")) goto fail;
d55e5bfc
RD
20661 {
20662 PyThreadState* __tstate = wxPyBeginAllowThreads();
20663 result = (wxPrintData *)new wxPrintData();
20664
20665 wxPyEndAllowThreads(__tstate);
20666 if (PyErr_Occurred()) SWIG_fail;
20667 }
20668 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
20669 return resultobj;
20670 fail:
20671 return NULL;
20672}
20673
20674
c370783e 20675static PyObject *_wrap_new_PrintData__SWIG_1(PyObject *, PyObject *args) {
32fe5131 20676 PyObject *resultobj = NULL;
09c21d3b
RD
20677 wxPrintData *arg1 = 0 ;
20678 wxPrintData *result;
20679 PyObject * obj0 = 0 ;
20680
20681 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintData",&obj0)) goto fail;
36ed4f51
RD
20682 {
20683 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20684 if (SWIG_arg_fail(1)) SWIG_fail;
20685 if (arg1 == NULL) {
20686 SWIG_null_ref("wxPrintData");
20687 }
20688 if (SWIG_arg_fail(1)) SWIG_fail;
09c21d3b
RD
20689 }
20690 {
20691 PyThreadState* __tstate = wxPyBeginAllowThreads();
20692 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
20693
20694 wxPyEndAllowThreads(__tstate);
20695 if (PyErr_Occurred()) SWIG_fail;
20696 }
20697 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
20698 return resultobj;
20699 fail:
20700 return NULL;
20701}
20702
20703
20704static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
20705 int argc;
20706 PyObject *argv[2];
20707 int ii;
20708
20709 argc = PyObject_Length(args);
20710 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
20711 argv[ii] = PyTuple_GetItem(args,ii);
20712 }
20713 if (argc == 0) {
20714 return _wrap_new_PrintData__SWIG_0(self,args);
20715 }
20716 if (argc == 1) {
20717 int _v;
20718 {
36ed4f51 20719 void *ptr = 0;
09c21d3b
RD
20720 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
20721 _v = 0;
20722 PyErr_Clear();
20723 } else {
36ed4f51 20724 _v = (ptr != 0);
09c21d3b
RD
20725 }
20726 }
20727 if (_v) {
20728 return _wrap_new_PrintData__SWIG_1(self,args);
20729 }
20730 }
20731
36ed4f51 20732 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
09c21d3b
RD
20733 return NULL;
20734}
20735
20736
c370783e 20737static PyObject *_wrap_delete_PrintData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20738 PyObject *resultobj = NULL;
d55e5bfc
RD
20739 wxPrintData *arg1 = (wxPrintData *) 0 ;
20740 PyObject * obj0 = 0 ;
20741 char *kwnames[] = {
20742 (char *) "self", NULL
20743 };
20744
20745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
36ed4f51
RD
20746 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20747 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20748 {
20749 PyThreadState* __tstate = wxPyBeginAllowThreads();
20750 delete arg1;
20751
20752 wxPyEndAllowThreads(__tstate);
20753 if (PyErr_Occurred()) SWIG_fail;
20754 }
20755 Py_INCREF(Py_None); resultobj = Py_None;
20756 return resultobj;
20757 fail:
20758 return NULL;
20759}
20760
20761
c370783e 20762static PyObject *_wrap_PrintData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20763 PyObject *resultobj = NULL;
d55e5bfc
RD
20764 wxPrintData *arg1 = (wxPrintData *) 0 ;
20765 int result;
20766 PyObject * obj0 = 0 ;
20767 char *kwnames[] = {
20768 (char *) "self", NULL
20769 };
20770
20771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
36ed4f51
RD
20772 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20773 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20774 {
20775 PyThreadState* __tstate = wxPyBeginAllowThreads();
20776 result = (int)(arg1)->GetNoCopies();
20777
20778 wxPyEndAllowThreads(__tstate);
20779 if (PyErr_Occurred()) SWIG_fail;
20780 }
36ed4f51 20781 {
32fe5131 20782 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 20783 }
d55e5bfc
RD
20784 return resultobj;
20785 fail:
20786 return NULL;
20787}
20788
20789
c370783e 20790static PyObject *_wrap_PrintData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20791 PyObject *resultobj = NULL;
d55e5bfc
RD
20792 wxPrintData *arg1 = (wxPrintData *) 0 ;
20793 bool result;
20794 PyObject * obj0 = 0 ;
20795 char *kwnames[] = {
20796 (char *) "self", NULL
20797 };
20798
20799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
36ed4f51
RD
20800 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20801 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20802 {
20803 PyThreadState* __tstate = wxPyBeginAllowThreads();
20804 result = (bool)(arg1)->GetCollate();
20805
20806 wxPyEndAllowThreads(__tstate);
20807 if (PyErr_Occurred()) SWIG_fail;
20808 }
20809 {
20810 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20811 }
20812 return resultobj;
20813 fail:
20814 return NULL;
20815}
20816
20817
c370783e 20818static PyObject *_wrap_PrintData_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20819 PyObject *resultobj = NULL;
d55e5bfc
RD
20820 wxPrintData *arg1 = (wxPrintData *) 0 ;
20821 int result;
20822 PyObject * obj0 = 0 ;
20823 char *kwnames[] = {
20824 (char *) "self", NULL
20825 };
20826
20827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
36ed4f51
RD
20828 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20829 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20830 {
20831 PyThreadState* __tstate = wxPyBeginAllowThreads();
20832 result = (int)(arg1)->GetOrientation();
20833
20834 wxPyEndAllowThreads(__tstate);
20835 if (PyErr_Occurred()) SWIG_fail;
20836 }
36ed4f51 20837 {
32fe5131 20838 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 20839 }
d55e5bfc
RD
20840 return resultobj;
20841 fail:
20842 return NULL;
20843}
20844
20845
c370783e 20846static PyObject *_wrap_PrintData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20847 PyObject *resultobj = NULL;
d55e5bfc
RD
20848 wxPrintData *arg1 = (wxPrintData *) 0 ;
20849 bool result;
20850 PyObject * obj0 = 0 ;
20851 char *kwnames[] = {
20852 (char *) "self", NULL
20853 };
20854
20855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
36ed4f51
RD
20856 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20857 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20858 {
20859 PyThreadState* __tstate = wxPyBeginAllowThreads();
20860 result = (bool)(arg1)->Ok();
20861
20862 wxPyEndAllowThreads(__tstate);
20863 if (PyErr_Occurred()) SWIG_fail;
20864 }
20865 {
20866 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20867 }
20868 return resultobj;
20869 fail:
20870 return NULL;
20871}
20872
20873
c370783e 20874static PyObject *_wrap_PrintData_GetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20875 PyObject *resultobj = NULL;
d55e5bfc
RD
20876 wxPrintData *arg1 = (wxPrintData *) 0 ;
20877 wxString *result;
20878 PyObject * obj0 = 0 ;
20879 char *kwnames[] = {
20880 (char *) "self", NULL
20881 };
20882
20883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
36ed4f51
RD
20884 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20885 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20886 {
20887 PyThreadState* __tstate = wxPyBeginAllowThreads();
20888 {
20889 wxString const &_result_ref = (arg1)->GetPrinterName();
20890 result = (wxString *) &_result_ref;
20891 }
20892
20893 wxPyEndAllowThreads(__tstate);
20894 if (PyErr_Occurred()) SWIG_fail;
20895 }
20896 {
20897#if wxUSE_UNICODE
20898 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20899#else
20900 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20901#endif
20902 }
20903 return resultobj;
20904 fail:
20905 return NULL;
20906}
20907
20908
c370783e 20909static PyObject *_wrap_PrintData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20910 PyObject *resultobj = NULL;
d55e5bfc
RD
20911 wxPrintData *arg1 = (wxPrintData *) 0 ;
20912 bool result;
20913 PyObject * obj0 = 0 ;
20914 char *kwnames[] = {
20915 (char *) "self", NULL
20916 };
20917
20918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
20919 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20920 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20921 {
20922 PyThreadState* __tstate = wxPyBeginAllowThreads();
20923 result = (bool)(arg1)->GetColour();
20924
20925 wxPyEndAllowThreads(__tstate);
20926 if (PyErr_Occurred()) SWIG_fail;
20927 }
20928 {
20929 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20930 }
20931 return resultobj;
20932 fail:
20933 return NULL;
20934}
20935
20936
c370783e 20937static PyObject *_wrap_PrintData_GetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20938 PyObject *resultobj = NULL;
d55e5bfc 20939 wxPrintData *arg1 = (wxPrintData *) 0 ;
36ed4f51 20940 wxDuplexMode result;
d55e5bfc
RD
20941 PyObject * obj0 = 0 ;
20942 char *kwnames[] = {
20943 (char *) "self", NULL
20944 };
20945
20946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
36ed4f51
RD
20947 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20948 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20949 {
20950 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 20951 result = (wxDuplexMode)(arg1)->GetDuplex();
d55e5bfc
RD
20952
20953 wxPyEndAllowThreads(__tstate);
20954 if (PyErr_Occurred()) SWIG_fail;
20955 }
36ed4f51 20956 resultobj = SWIG_From_int((result));
d55e5bfc
RD
20957 return resultobj;
20958 fail:
20959 return NULL;
20960}
20961
20962
c370783e 20963static PyObject *_wrap_PrintData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20964 PyObject *resultobj = NULL;
d55e5bfc 20965 wxPrintData *arg1 = (wxPrintData *) 0 ;
36ed4f51 20966 wxPaperSize result;
d55e5bfc
RD
20967 PyObject * obj0 = 0 ;
20968 char *kwnames[] = {
20969 (char *) "self", NULL
20970 };
20971
20972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
36ed4f51
RD
20973 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20974 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20975 {
20976 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 20977 result = (wxPaperSize)(arg1)->GetPaperId();
d55e5bfc
RD
20978
20979 wxPyEndAllowThreads(__tstate);
20980 if (PyErr_Occurred()) SWIG_fail;
20981 }
36ed4f51 20982 resultobj = SWIG_From_int((result));
d55e5bfc
RD
20983 return resultobj;
20984 fail:
20985 return NULL;
20986}
20987
20988
c370783e 20989static PyObject *_wrap_PrintData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20990 PyObject *resultobj = NULL;
d55e5bfc
RD
20991 wxPrintData *arg1 = (wxPrintData *) 0 ;
20992 wxSize *result;
20993 PyObject * obj0 = 0 ;
20994 char *kwnames[] = {
20995 (char *) "self", NULL
20996 };
20997
20998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",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 {
21004 wxSize const &_result_ref = (arg1)->GetPaperSize();
21005 result = (wxSize *) &_result_ref;
21006 }
21007
21008 wxPyEndAllowThreads(__tstate);
21009 if (PyErr_Occurred()) SWIG_fail;
21010 }
21011 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
21012 return resultobj;
21013 fail:
21014 return NULL;
21015}
21016
21017
c370783e 21018static PyObject *_wrap_PrintData_GetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21019 PyObject *resultobj = NULL;
d55e5bfc
RD
21020 wxPrintData *arg1 = (wxPrintData *) 0 ;
21021 int result;
21022 PyObject * obj0 = 0 ;
21023 char *kwnames[] = {
21024 (char *) "self", NULL
21025 };
21026
21027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
36ed4f51
RD
21028 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21029 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21030 {
21031 PyThreadState* __tstate = wxPyBeginAllowThreads();
21032 result = (int)(arg1)->GetQuality();
21033
21034 wxPyEndAllowThreads(__tstate);
21035 if (PyErr_Occurred()) SWIG_fail;
21036 }
36ed4f51 21037 {
32fe5131 21038 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 21039 }
d55e5bfc
RD
21040 return resultobj;
21041 fail:
21042 return NULL;
21043}
21044
21045
b411df4a 21046static PyObject *_wrap_PrintData_GetBin(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21047 PyObject *resultobj = NULL;
b411df4a 21048 wxPrintData *arg1 = (wxPrintData *) 0 ;
36ed4f51 21049 wxPrintBin result;
b411df4a
RD
21050 PyObject * obj0 = 0 ;
21051 char *kwnames[] = {
21052 (char *) "self", NULL
21053 };
21054
21055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetBin",kwnames,&obj0)) goto fail;
36ed4f51
RD
21056 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21057 if (SWIG_arg_fail(1)) SWIG_fail;
b411df4a
RD
21058 {
21059 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 21060 result = (wxPrintBin)(arg1)->GetBin();
b411df4a
RD
21061
21062 wxPyEndAllowThreads(__tstate);
21063 if (PyErr_Occurred()) SWIG_fail;
21064 }
36ed4f51 21065 resultobj = SWIG_From_int((result));
b411df4a
RD
21066 return resultobj;
21067 fail:
21068 return NULL;
21069}
21070
21071
070c48b4 21072static PyObject *_wrap_PrintData_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21073 PyObject *resultobj = NULL;
070c48b4 21074 wxPrintData *arg1 = (wxPrintData *) 0 ;
36ed4f51 21075 wxPrintMode result;
070c48b4
RD
21076 PyObject * obj0 = 0 ;
21077 char *kwnames[] = {
21078 (char *) "self", NULL
21079 };
21080
21081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
36ed4f51
RD
21082 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21083 if (SWIG_arg_fail(1)) SWIG_fail;
070c48b4
RD
21084 {
21085 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 21086 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
070c48b4
RD
21087
21088 wxPyEndAllowThreads(__tstate);
21089 if (PyErr_Occurred()) SWIG_fail;
21090 }
36ed4f51 21091 resultobj = SWIG_From_int((result));
070c48b4
RD
21092 return resultobj;
21093 fail:
21094 return NULL;
21095}
21096
21097
c370783e 21098static PyObject *_wrap_PrintData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21099 PyObject *resultobj = NULL;
d55e5bfc
RD
21100 wxPrintData *arg1 = (wxPrintData *) 0 ;
21101 int arg2 ;
21102 PyObject * obj0 = 0 ;
21103 PyObject * obj1 = 0 ;
21104 char *kwnames[] = {
21105 (char *) "self",(char *) "v", NULL
21106 };
21107
21108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21109 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21110 if (SWIG_arg_fail(1)) SWIG_fail;
21111 {
32fe5131 21112 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
21113 if (SWIG_arg_fail(2)) SWIG_fail;
21114 }
d55e5bfc
RD
21115 {
21116 PyThreadState* __tstate = wxPyBeginAllowThreads();
21117 (arg1)->SetNoCopies(arg2);
21118
21119 wxPyEndAllowThreads(__tstate);
21120 if (PyErr_Occurred()) SWIG_fail;
21121 }
21122 Py_INCREF(Py_None); resultobj = Py_None;
21123 return resultobj;
21124 fail:
21125 return NULL;
21126}
21127
21128
c370783e 21129static PyObject *_wrap_PrintData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21130 PyObject *resultobj = NULL;
d55e5bfc
RD
21131 wxPrintData *arg1 = (wxPrintData *) 0 ;
21132 bool arg2 ;
21133 PyObject * obj0 = 0 ;
21134 PyObject * obj1 = 0 ;
21135 char *kwnames[] = {
21136 (char *) "self",(char *) "flag", NULL
21137 };
21138
21139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21140 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21141 if (SWIG_arg_fail(1)) SWIG_fail;
21142 {
32fe5131 21143 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
21144 if (SWIG_arg_fail(2)) SWIG_fail;
21145 }
d55e5bfc
RD
21146 {
21147 PyThreadState* __tstate = wxPyBeginAllowThreads();
21148 (arg1)->SetCollate(arg2);
21149
21150 wxPyEndAllowThreads(__tstate);
21151 if (PyErr_Occurred()) SWIG_fail;
21152 }
21153 Py_INCREF(Py_None); resultobj = Py_None;
21154 return resultobj;
21155 fail:
21156 return NULL;
21157}
21158
21159
c370783e 21160static PyObject *_wrap_PrintData_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21161 PyObject *resultobj = NULL;
d55e5bfc
RD
21162 wxPrintData *arg1 = (wxPrintData *) 0 ;
21163 int arg2 ;
21164 PyObject * obj0 = 0 ;
21165 PyObject * obj1 = 0 ;
21166 char *kwnames[] = {
21167 (char *) "self",(char *) "orient", NULL
21168 };
21169
21170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) 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;
21173 {
32fe5131 21174 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
21175 if (SWIG_arg_fail(2)) SWIG_fail;
21176 }
d55e5bfc
RD
21177 {
21178 PyThreadState* __tstate = wxPyBeginAllowThreads();
21179 (arg1)->SetOrientation(arg2);
21180
21181 wxPyEndAllowThreads(__tstate);
21182 if (PyErr_Occurred()) SWIG_fail;
21183 }
21184 Py_INCREF(Py_None); resultobj = Py_None;
21185 return resultobj;
21186 fail:
21187 return NULL;
21188}
21189
21190
c370783e 21191static PyObject *_wrap_PrintData_SetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21192 PyObject *resultobj = NULL;
d55e5bfc
RD
21193 wxPrintData *arg1 = (wxPrintData *) 0 ;
21194 wxString *arg2 = 0 ;
b411df4a 21195 bool temp2 = false ;
d55e5bfc
RD
21196 PyObject * obj0 = 0 ;
21197 PyObject * obj1 = 0 ;
21198 char *kwnames[] = {
21199 (char *) "self",(char *) "name", NULL
21200 };
21201
21202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21203 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21204 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21205 {
21206 arg2 = wxString_in_helper(obj1);
21207 if (arg2 == NULL) SWIG_fail;
b411df4a 21208 temp2 = true;
d55e5bfc
RD
21209 }
21210 {
21211 PyThreadState* __tstate = wxPyBeginAllowThreads();
21212 (arg1)->SetPrinterName((wxString const &)*arg2);
21213
21214 wxPyEndAllowThreads(__tstate);
21215 if (PyErr_Occurred()) SWIG_fail;
21216 }
21217 Py_INCREF(Py_None); resultobj = Py_None;
21218 {
21219 if (temp2)
21220 delete arg2;
21221 }
21222 return resultobj;
21223 fail:
21224 {
21225 if (temp2)
21226 delete arg2;
21227 }
21228 return NULL;
21229}
21230
21231
c370783e 21232static PyObject *_wrap_PrintData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21233 PyObject *resultobj = NULL;
d55e5bfc
RD
21234 wxPrintData *arg1 = (wxPrintData *) 0 ;
21235 bool arg2 ;
21236 PyObject * obj0 = 0 ;
21237 PyObject * obj1 = 0 ;
21238 char *kwnames[] = {
21239 (char *) "self",(char *) "colour", NULL
21240 };
21241
21242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21244 if (SWIG_arg_fail(1)) SWIG_fail;
21245 {
32fe5131 21246 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
21247 if (SWIG_arg_fail(2)) SWIG_fail;
21248 }
d55e5bfc
RD
21249 {
21250 PyThreadState* __tstate = wxPyBeginAllowThreads();
21251 (arg1)->SetColour(arg2);
21252
21253 wxPyEndAllowThreads(__tstate);
21254 if (PyErr_Occurred()) SWIG_fail;
21255 }
21256 Py_INCREF(Py_None); resultobj = Py_None;
21257 return resultobj;
21258 fail:
21259 return NULL;
21260}
21261
21262
c370783e 21263static PyObject *_wrap_PrintData_SetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21264 PyObject *resultobj = NULL;
d55e5bfc 21265 wxPrintData *arg1 = (wxPrintData *) 0 ;
36ed4f51 21266 wxDuplexMode arg2 ;
d55e5bfc
RD
21267 PyObject * obj0 = 0 ;
21268 PyObject * obj1 = 0 ;
21269 char *kwnames[] = {
21270 (char *) "self",(char *) "duplex", NULL
21271 };
21272
21273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21274 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21275 if (SWIG_arg_fail(1)) SWIG_fail;
21276 {
32fe5131 21277 arg2 = static_cast<wxDuplexMode >(SWIG_As_int(obj1));
36ed4f51
RD
21278 if (SWIG_arg_fail(2)) SWIG_fail;
21279 }
d55e5bfc
RD
21280 {
21281 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 21282 (arg1)->SetDuplex(arg2);
d55e5bfc
RD
21283
21284 wxPyEndAllowThreads(__tstate);
21285 if (PyErr_Occurred()) SWIG_fail;
21286 }
21287 Py_INCREF(Py_None); resultobj = Py_None;
21288 return resultobj;
21289 fail:
21290 return NULL;
21291}
21292
21293
c370783e 21294static PyObject *_wrap_PrintData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21295 PyObject *resultobj = NULL;
d55e5bfc 21296 wxPrintData *arg1 = (wxPrintData *) 0 ;
36ed4f51 21297 wxPaperSize arg2 ;
d55e5bfc
RD
21298 PyObject * obj0 = 0 ;
21299 PyObject * obj1 = 0 ;
21300 char *kwnames[] = {
21301 (char *) "self",(char *) "sizeId", NULL
21302 };
21303
21304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21305 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21306 if (SWIG_arg_fail(1)) SWIG_fail;
21307 {
32fe5131 21308 arg2 = static_cast<wxPaperSize >(SWIG_As_int(obj1));
36ed4f51
RD
21309 if (SWIG_arg_fail(2)) SWIG_fail;
21310 }
d55e5bfc
RD
21311 {
21312 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 21313 (arg1)->SetPaperId(arg2);
d55e5bfc
RD
21314
21315 wxPyEndAllowThreads(__tstate);
21316 if (PyErr_Occurred()) SWIG_fail;
21317 }
21318 Py_INCREF(Py_None); resultobj = Py_None;
21319 return resultobj;
21320 fail:
21321 return NULL;
21322}
21323
21324
c370783e 21325static PyObject *_wrap_PrintData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21326 PyObject *resultobj = NULL;
d55e5bfc
RD
21327 wxPrintData *arg1 = (wxPrintData *) 0 ;
21328 wxSize *arg2 = 0 ;
21329 wxSize temp2 ;
21330 PyObject * obj0 = 0 ;
21331 PyObject * obj1 = 0 ;
21332 char *kwnames[] = {
21333 (char *) "self",(char *) "sz", NULL
21334 };
21335
21336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21337 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21338 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21339 {
21340 arg2 = &temp2;
21341 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21342 }
21343 {
21344 PyThreadState* __tstate = wxPyBeginAllowThreads();
21345 (arg1)->SetPaperSize((wxSize const &)*arg2);
21346
21347 wxPyEndAllowThreads(__tstate);
21348 if (PyErr_Occurred()) SWIG_fail;
21349 }
21350 Py_INCREF(Py_None); resultobj = Py_None;
21351 return resultobj;
21352 fail:
21353 return NULL;
21354}
21355
21356
c370783e 21357static PyObject *_wrap_PrintData_SetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21358 PyObject *resultobj = NULL;
d55e5bfc
RD
21359 wxPrintData *arg1 = (wxPrintData *) 0 ;
21360 int arg2 ;
21361 PyObject * obj0 = 0 ;
21362 PyObject * obj1 = 0 ;
21363 char *kwnames[] = {
21364 (char *) "self",(char *) "quality", NULL
21365 };
21366
21367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21369 if (SWIG_arg_fail(1)) SWIG_fail;
21370 {
32fe5131 21371 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
21372 if (SWIG_arg_fail(2)) SWIG_fail;
21373 }
d55e5bfc
RD
21374 {
21375 PyThreadState* __tstate = wxPyBeginAllowThreads();
21376 (arg1)->SetQuality(arg2);
21377
21378 wxPyEndAllowThreads(__tstate);
21379 if (PyErr_Occurred()) SWIG_fail;
21380 }
21381 Py_INCREF(Py_None); resultobj = Py_None;
21382 return resultobj;
21383 fail:
21384 return NULL;
21385}
21386
21387
b411df4a 21388static PyObject *_wrap_PrintData_SetBin(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21389 PyObject *resultobj = NULL;
b411df4a 21390 wxPrintData *arg1 = (wxPrintData *) 0 ;
36ed4f51 21391 wxPrintBin arg2 ;
b411df4a
RD
21392 PyObject * obj0 = 0 ;
21393 PyObject * obj1 = 0 ;
21394 char *kwnames[] = {
21395 (char *) "self",(char *) "bin", NULL
21396 };
21397
21398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21400 if (SWIG_arg_fail(1)) SWIG_fail;
21401 {
32fe5131 21402 arg2 = static_cast<wxPrintBin >(SWIG_As_int(obj1));
36ed4f51
RD
21403 if (SWIG_arg_fail(2)) SWIG_fail;
21404 }
b411df4a
RD
21405 {
21406 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 21407 (arg1)->SetBin(arg2);
b411df4a
RD
21408
21409 wxPyEndAllowThreads(__tstate);
21410 if (PyErr_Occurred()) SWIG_fail;
21411 }
21412 Py_INCREF(Py_None); resultobj = Py_None;
21413 return resultobj;
21414 fail:
21415 return NULL;
21416}
21417
21418
070c48b4 21419static PyObject *_wrap_PrintData_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21420 PyObject *resultobj = NULL;
d55e5bfc 21421 wxPrintData *arg1 = (wxPrintData *) 0 ;
36ed4f51 21422 wxPrintMode arg2 ;
070c48b4
RD
21423 PyObject * obj0 = 0 ;
21424 PyObject * obj1 = 0 ;
21425 char *kwnames[] = {
21426 (char *) "self",(char *) "printMode", NULL
21427 };
21428
21429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21430 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21431 if (SWIG_arg_fail(1)) SWIG_fail;
21432 {
32fe5131 21433 arg2 = static_cast<wxPrintMode >(SWIG_As_int(obj1));
36ed4f51
RD
21434 if (SWIG_arg_fail(2)) SWIG_fail;
21435 }
070c48b4
RD
21436 {
21437 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 21438 (arg1)->SetPrintMode(arg2);
070c48b4
RD
21439
21440 wxPyEndAllowThreads(__tstate);
21441 if (PyErr_Occurred()) SWIG_fail;
21442 }
21443 Py_INCREF(Py_None); resultobj = Py_None;
21444 return resultobj;
21445 fail:
21446 return NULL;
21447}
21448
21449
21450static PyObject *_wrap_PrintData_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21451 PyObject *resultobj = NULL;
070c48b4
RD
21452 wxPrintData *arg1 = (wxPrintData *) 0 ;
21453 wxString result;
d55e5bfc
RD
21454 PyObject * obj0 = 0 ;
21455 char *kwnames[] = {
21456 (char *) "self", NULL
21457 };
21458
070c48b4 21459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
36ed4f51
RD
21460 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21461 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21462 {
21463 PyThreadState* __tstate = wxPyBeginAllowThreads();
070c48b4 21464 result = ((wxPrintData const *)arg1)->GetFilename();
d55e5bfc
RD
21465
21466 wxPyEndAllowThreads(__tstate);
21467 if (PyErr_Occurred()) SWIG_fail;
21468 }
21469 {
21470#if wxUSE_UNICODE
070c48b4 21471 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d55e5bfc 21472#else
070c48b4 21473 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d55e5bfc
RD
21474#endif
21475 }
21476 return resultobj;
21477 fail:
21478 return NULL;
21479}
21480
21481
070c48b4 21482static PyObject *_wrap_PrintData_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21483 PyObject *resultobj = NULL;
070c48b4
RD
21484 wxPrintData *arg1 = (wxPrintData *) 0 ;
21485 wxString *arg2 = 0 ;
21486 bool temp2 = false ;
21487 PyObject * obj0 = 0 ;
21488 PyObject * obj1 = 0 ;
21489 char *kwnames[] = {
21490 (char *) "self",(char *) "filename", NULL
21491 };
21492
21493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21494 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21495 if (SWIG_arg_fail(1)) SWIG_fail;
070c48b4
RD
21496 {
21497 arg2 = wxString_in_helper(obj1);
21498 if (arg2 == NULL) SWIG_fail;
21499 temp2 = true;
21500 }
21501 {
21502 PyThreadState* __tstate = wxPyBeginAllowThreads();
21503 (arg1)->SetFilename((wxString const &)*arg2);
21504
21505 wxPyEndAllowThreads(__tstate);
21506 if (PyErr_Occurred()) SWIG_fail;
21507 }
21508 Py_INCREF(Py_None); resultobj = Py_None;
21509 {
21510 if (temp2)
21511 delete arg2;
21512 }
21513 return resultobj;
21514 fail:
21515 {
21516 if (temp2)
21517 delete arg2;
21518 }
21519 return NULL;
21520}
21521
21522
7fbf8399 21523static PyObject *_wrap_PrintData_GetPrivData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21524 PyObject *resultobj = NULL;
7fbf8399
RD
21525 wxPrintData *arg1 = (wxPrintData *) 0 ;
21526 PyObject *result;
21527 PyObject * obj0 = 0 ;
21528 char *kwnames[] = {
21529 (char *) "self", NULL
21530 };
21531
21532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrivData",kwnames,&obj0)) goto fail;
21533 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21534 if (SWIG_arg_fail(1)) SWIG_fail;
21535 {
21536 PyThreadState* __tstate = wxPyBeginAllowThreads();
21537 result = (PyObject *)wxPrintData_GetPrivData(arg1);
21538
21539 wxPyEndAllowThreads(__tstate);
21540 if (PyErr_Occurred()) SWIG_fail;
21541 }
21542 resultobj = result;
21543 return resultobj;
21544 fail:
21545 return NULL;
21546}
21547
21548
21549static PyObject *_wrap_PrintData_SetPrivData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21550 PyObject *resultobj = NULL;
7fbf8399
RD
21551 wxPrintData *arg1 = (wxPrintData *) 0 ;
21552 PyObject *arg2 = (PyObject *) 0 ;
21553 PyObject * obj0 = 0 ;
21554 PyObject * obj1 = 0 ;
21555 char *kwnames[] = {
21556 (char *) "self",(char *) "data", NULL
21557 };
21558
21559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) goto fail;
21560 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21561 if (SWIG_arg_fail(1)) SWIG_fail;
21562 arg2 = obj1;
21563 {
21564 PyThreadState* __tstate = wxPyBeginAllowThreads();
21565 wxPrintData_SetPrivData(arg1,arg2);
21566
21567 wxPyEndAllowThreads(__tstate);
21568 if (PyErr_Occurred()) SWIG_fail;
21569 }
21570 Py_INCREF(Py_None); resultobj = Py_None;
21571 return resultobj;
21572 fail:
21573 return NULL;
21574}
21575
21576
c370783e 21577static PyObject * PrintData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
21578 PyObject *obj;
21579 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21580 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
21581 Py_INCREF(obj);
21582 return Py_BuildValue((char *)"");
21583}
c370783e 21584static PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *, PyObject *args) {
32fe5131 21585 PyObject *resultobj = NULL;
d55e5bfc 21586 wxPageSetupDialogData *result;
d55e5bfc 21587
09c21d3b 21588 if(!PyArg_ParseTuple(args,(char *)":new_PageSetupDialogData")) goto fail;
d55e5bfc
RD
21589 {
21590 PyThreadState* __tstate = wxPyBeginAllowThreads();
21591 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
21592
21593 wxPyEndAllowThreads(__tstate);
21594 if (PyErr_Occurred()) SWIG_fail;
21595 }
21596 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
21597 return resultobj;
21598 fail:
21599 return NULL;
21600}
21601
21602
c370783e 21603static PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *, PyObject *args) {
32fe5131 21604 PyObject *resultobj = NULL;
09c21d3b
RD
21605 wxPageSetupDialogData *arg1 = 0 ;
21606 wxPageSetupDialogData *result;
21607 PyObject * obj0 = 0 ;
21608
21609 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
36ed4f51
RD
21610 {
21611 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21612 if (SWIG_arg_fail(1)) SWIG_fail;
21613 if (arg1 == NULL) {
21614 SWIG_null_ref("wxPageSetupDialogData");
21615 }
21616 if (SWIG_arg_fail(1)) SWIG_fail;
09c21d3b
RD
21617 }
21618 {
21619 PyThreadState* __tstate = wxPyBeginAllowThreads();
21620 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
21621
21622 wxPyEndAllowThreads(__tstate);
21623 if (PyErr_Occurred()) SWIG_fail;
21624 }
21625 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
21626 return resultobj;
21627 fail:
21628 return NULL;
21629}
21630
21631
fef4c27a 21632static PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *, PyObject *args) {
32fe5131 21633 PyObject *resultobj = NULL;
fef4c27a
RD
21634 wxPrintData *arg1 = 0 ;
21635 wxPageSetupDialogData *result;
21636 PyObject * obj0 = 0 ;
21637
21638 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
21639 {
21640 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21641 if (SWIG_arg_fail(1)) SWIG_fail;
21642 if (arg1 == NULL) {
21643 SWIG_null_ref("wxPrintData");
21644 }
21645 if (SWIG_arg_fail(1)) SWIG_fail;
21646 }
21647 {
21648 PyThreadState* __tstate = wxPyBeginAllowThreads();
21649 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
21650
21651 wxPyEndAllowThreads(__tstate);
21652 if (PyErr_Occurred()) SWIG_fail;
21653 }
21654 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
21655 return resultobj;
21656 fail:
21657 return NULL;
21658}
21659
21660
09c21d3b
RD
21661static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
21662 int argc;
21663 PyObject *argv[2];
21664 int ii;
21665
21666 argc = PyObject_Length(args);
21667 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
21668 argv[ii] = PyTuple_GetItem(args,ii);
21669 }
21670 if (argc == 0) {
21671 return _wrap_new_PageSetupDialogData__SWIG_0(self,args);
21672 }
21673 if (argc == 1) {
21674 int _v;
21675 {
36ed4f51 21676 void *ptr = 0;
09c21d3b
RD
21677 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPageSetupDialogData, 0) == -1) {
21678 _v = 0;
21679 PyErr_Clear();
21680 } else {
36ed4f51 21681 _v = (ptr != 0);
09c21d3b
RD
21682 }
21683 }
21684 if (_v) {
21685 return _wrap_new_PageSetupDialogData__SWIG_1(self,args);
21686 }
21687 }
fef4c27a
RD
21688 if (argc == 1) {
21689 int _v;
21690 {
21691 void *ptr = 0;
21692 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
21693 _v = 0;
21694 PyErr_Clear();
21695 } else {
21696 _v = (ptr != 0);
21697 }
21698 }
21699 if (_v) {
21700 return _wrap_new_PageSetupDialogData__SWIG_2(self,args);
21701 }
21702 }
09c21d3b 21703
36ed4f51 21704 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
09c21d3b
RD
21705 return NULL;
21706}
21707
21708
c370783e 21709static PyObject *_wrap_delete_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21710 PyObject *resultobj = NULL;
d55e5bfc
RD
21711 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21712 PyObject * obj0 = 0 ;
21713 char *kwnames[] = {
21714 (char *) "self", NULL
21715 };
21716
21717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
36ed4f51
RD
21718 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21719 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21720 {
21721 PyThreadState* __tstate = wxPyBeginAllowThreads();
21722 delete arg1;
21723
21724 wxPyEndAllowThreads(__tstate);
21725 if (PyErr_Occurred()) SWIG_fail;
21726 }
21727 Py_INCREF(Py_None); resultobj = Py_None;
21728 return resultobj;
21729 fail:
21730 return NULL;
21731}
21732
21733
c370783e 21734static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21735 PyObject *resultobj = NULL;
d55e5bfc
RD
21736 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21737 bool arg2 ;
21738 PyObject * obj0 = 0 ;
21739 PyObject * obj1 = 0 ;
21740 char *kwnames[] = {
21741 (char *) "self",(char *) "flag", NULL
21742 };
21743
21744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21745 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21746 if (SWIG_arg_fail(1)) SWIG_fail;
21747 {
32fe5131 21748 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
21749 if (SWIG_arg_fail(2)) SWIG_fail;
21750 }
d55e5bfc
RD
21751 {
21752 PyThreadState* __tstate = wxPyBeginAllowThreads();
21753 (arg1)->EnableHelp(arg2);
21754
21755 wxPyEndAllowThreads(__tstate);
21756 if (PyErr_Occurred()) SWIG_fail;
21757 }
21758 Py_INCREF(Py_None); resultobj = Py_None;
21759 return resultobj;
21760 fail:
21761 return NULL;
21762}
21763
21764
c370783e 21765static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21766 PyObject *resultobj = NULL;
d55e5bfc
RD
21767 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21768 bool arg2 ;
21769 PyObject * obj0 = 0 ;
21770 PyObject * obj1 = 0 ;
21771 char *kwnames[] = {
21772 (char *) "self",(char *) "flag", NULL
21773 };
21774
21775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21776 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21777 if (SWIG_arg_fail(1)) SWIG_fail;
21778 {
32fe5131 21779 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
21780 if (SWIG_arg_fail(2)) SWIG_fail;
21781 }
d55e5bfc
RD
21782 {
21783 PyThreadState* __tstate = wxPyBeginAllowThreads();
21784 (arg1)->EnableMargins(arg2);
21785
21786 wxPyEndAllowThreads(__tstate);
21787 if (PyErr_Occurred()) SWIG_fail;
21788 }
21789 Py_INCREF(Py_None); resultobj = Py_None;
21790 return resultobj;
21791 fail:
21792 return NULL;
21793}
21794
21795
c370783e 21796static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21797 PyObject *resultobj = NULL;
d55e5bfc
RD
21798 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21799 bool arg2 ;
21800 PyObject * obj0 = 0 ;
21801 PyObject * obj1 = 0 ;
21802 char *kwnames[] = {
21803 (char *) "self",(char *) "flag", NULL
21804 };
21805
21806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21807 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21808 if (SWIG_arg_fail(1)) SWIG_fail;
21809 {
32fe5131 21810 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
21811 if (SWIG_arg_fail(2)) SWIG_fail;
21812 }
d55e5bfc
RD
21813 {
21814 PyThreadState* __tstate = wxPyBeginAllowThreads();
21815 (arg1)->EnableOrientation(arg2);
21816
21817 wxPyEndAllowThreads(__tstate);
21818 if (PyErr_Occurred()) SWIG_fail;
21819 }
21820 Py_INCREF(Py_None); resultobj = Py_None;
21821 return resultobj;
21822 fail:
21823 return NULL;
21824}
21825
21826
c370783e 21827static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21828 PyObject *resultobj = NULL;
d55e5bfc
RD
21829 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21830 bool arg2 ;
21831 PyObject * obj0 = 0 ;
21832 PyObject * obj1 = 0 ;
21833 char *kwnames[] = {
21834 (char *) "self",(char *) "flag", NULL
21835 };
21836
21837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21838 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21839 if (SWIG_arg_fail(1)) SWIG_fail;
21840 {
32fe5131 21841 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
21842 if (SWIG_arg_fail(2)) SWIG_fail;
21843 }
d55e5bfc
RD
21844 {
21845 PyThreadState* __tstate = wxPyBeginAllowThreads();
21846 (arg1)->EnablePaper(arg2);
21847
21848 wxPyEndAllowThreads(__tstate);
21849 if (PyErr_Occurred()) SWIG_fail;
21850 }
21851 Py_INCREF(Py_None); resultobj = Py_None;
21852 return resultobj;
21853 fail:
21854 return NULL;
21855}
21856
21857
c370783e 21858static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21859 PyObject *resultobj = NULL;
d55e5bfc
RD
21860 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21861 bool arg2 ;
21862 PyObject * obj0 = 0 ;
21863 PyObject * obj1 = 0 ;
21864 char *kwnames[] = {
21865 (char *) "self",(char *) "flag", NULL
21866 };
21867
21868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21869 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21870 if (SWIG_arg_fail(1)) SWIG_fail;
21871 {
32fe5131 21872 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
21873 if (SWIG_arg_fail(2)) SWIG_fail;
21874 }
d55e5bfc
RD
21875 {
21876 PyThreadState* __tstate = wxPyBeginAllowThreads();
21877 (arg1)->EnablePrinter(arg2);
21878
21879 wxPyEndAllowThreads(__tstate);
21880 if (PyErr_Occurred()) SWIG_fail;
21881 }
21882 Py_INCREF(Py_None); resultobj = Py_None;
21883 return resultobj;
21884 fail:
21885 return NULL;
21886}
21887
21888
c370783e 21889static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21890 PyObject *resultobj = NULL;
d55e5bfc
RD
21891 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21892 bool result;
21893 PyObject * obj0 = 0 ;
21894 char *kwnames[] = {
21895 (char *) "self", NULL
21896 };
21897
21898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
36ed4f51
RD
21899 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21900 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21901 {
21902 PyThreadState* __tstate = wxPyBeginAllowThreads();
21903 result = (bool)(arg1)->GetDefaultMinMargins();
21904
21905 wxPyEndAllowThreads(__tstate);
21906 if (PyErr_Occurred()) SWIG_fail;
21907 }
21908 {
21909 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21910 }
21911 return resultobj;
21912 fail:
21913 return NULL;
21914}
21915
21916
c370783e 21917static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21918 PyObject *resultobj = NULL;
d55e5bfc
RD
21919 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21920 bool result;
21921 PyObject * obj0 = 0 ;
21922 char *kwnames[] = {
21923 (char *) "self", NULL
21924 };
21925
21926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
36ed4f51
RD
21927 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21928 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21929 {
21930 PyThreadState* __tstate = wxPyBeginAllowThreads();
21931 result = (bool)(arg1)->GetEnableMargins();
21932
21933 wxPyEndAllowThreads(__tstate);
21934 if (PyErr_Occurred()) SWIG_fail;
21935 }
21936 {
21937 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21938 }
21939 return resultobj;
21940 fail:
21941 return NULL;
21942}
21943
21944
c370783e 21945static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21946 PyObject *resultobj = NULL;
d55e5bfc
RD
21947 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21948 bool result;
21949 PyObject * obj0 = 0 ;
21950 char *kwnames[] = {
21951 (char *) "self", NULL
21952 };
21953
21954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
36ed4f51
RD
21955 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21956 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21957 {
21958 PyThreadState* __tstate = wxPyBeginAllowThreads();
21959 result = (bool)(arg1)->GetEnableOrientation();
21960
21961 wxPyEndAllowThreads(__tstate);
21962 if (PyErr_Occurred()) SWIG_fail;
21963 }
21964 {
21965 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21966 }
21967 return resultobj;
21968 fail:
21969 return NULL;
21970}
21971
21972
c370783e 21973static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21974 PyObject *resultobj = NULL;
d55e5bfc
RD
21975 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21976 bool result;
21977 PyObject * obj0 = 0 ;
21978 char *kwnames[] = {
21979 (char *) "self", NULL
21980 };
21981
21982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
36ed4f51
RD
21983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21984 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21985 {
21986 PyThreadState* __tstate = wxPyBeginAllowThreads();
21987 result = (bool)(arg1)->GetEnablePaper();
21988
21989 wxPyEndAllowThreads(__tstate);
21990 if (PyErr_Occurred()) SWIG_fail;
21991 }
21992 {
21993 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21994 }
21995 return resultobj;
21996 fail:
21997 return NULL;
21998}
21999
22000
c370783e 22001static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22002 PyObject *resultobj = NULL;
d55e5bfc
RD
22003 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22004 bool result;
22005 PyObject * obj0 = 0 ;
22006 char *kwnames[] = {
22007 (char *) "self", NULL
22008 };
22009
22010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
36ed4f51
RD
22011 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22012 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22013 {
22014 PyThreadState* __tstate = wxPyBeginAllowThreads();
22015 result = (bool)(arg1)->GetEnablePrinter();
22016
22017 wxPyEndAllowThreads(__tstate);
22018 if (PyErr_Occurred()) SWIG_fail;
22019 }
22020 {
22021 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22022 }
22023 return resultobj;
22024 fail:
22025 return NULL;
22026}
22027
22028
c370783e 22029static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22030 PyObject *resultobj = NULL;
d55e5bfc
RD
22031 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22032 bool result;
22033 PyObject * obj0 = 0 ;
22034 char *kwnames[] = {
22035 (char *) "self", NULL
22036 };
22037
22038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
36ed4f51
RD
22039 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22040 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22041 {
22042 PyThreadState* __tstate = wxPyBeginAllowThreads();
22043 result = (bool)(arg1)->GetEnableHelp();
22044
22045 wxPyEndAllowThreads(__tstate);
22046 if (PyErr_Occurred()) SWIG_fail;
22047 }
22048 {
22049 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22050 }
22051 return resultobj;
22052 fail:
22053 return NULL;
22054}
22055
22056
c370783e 22057static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22058 PyObject *resultobj = NULL;
d55e5bfc
RD
22059 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22060 bool result;
22061 PyObject * obj0 = 0 ;
22062 char *kwnames[] = {
22063 (char *) "self", NULL
22064 };
22065
22066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
36ed4f51
RD
22067 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22068 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22069 {
22070 PyThreadState* __tstate = wxPyBeginAllowThreads();
22071 result = (bool)(arg1)->GetDefaultInfo();
22072
22073 wxPyEndAllowThreads(__tstate);
22074 if (PyErr_Occurred()) SWIG_fail;
22075 }
22076 {
22077 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22078 }
22079 return resultobj;
22080 fail:
22081 return NULL;
22082}
22083
22084
c370783e 22085static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22086 PyObject *resultobj = NULL;
d55e5bfc
RD
22087 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22088 wxPoint result;
22089 PyObject * obj0 = 0 ;
22090 char *kwnames[] = {
22091 (char *) "self", NULL
22092 };
22093
22094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
36ed4f51
RD
22095 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22096 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22097 {
22098 PyThreadState* __tstate = wxPyBeginAllowThreads();
22099 result = (arg1)->GetMarginTopLeft();
22100
22101 wxPyEndAllowThreads(__tstate);
22102 if (PyErr_Occurred()) SWIG_fail;
22103 }
22104 {
22105 wxPoint * resultptr;
32fe5131 22106 resultptr = new wxPoint(static_cast<wxPoint & >(result));
d55e5bfc
RD
22107 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22108 }
22109 return resultobj;
22110 fail:
22111 return NULL;
22112}
22113
22114
c370783e 22115static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22116 PyObject *resultobj = NULL;
d55e5bfc
RD
22117 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22118 wxPoint result;
22119 PyObject * obj0 = 0 ;
22120 char *kwnames[] = {
22121 (char *) "self", NULL
22122 };
22123
22124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
36ed4f51
RD
22125 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22126 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22127 {
22128 PyThreadState* __tstate = wxPyBeginAllowThreads();
22129 result = (arg1)->GetMarginBottomRight();
22130
22131 wxPyEndAllowThreads(__tstate);
22132 if (PyErr_Occurred()) SWIG_fail;
22133 }
22134 {
22135 wxPoint * resultptr;
32fe5131 22136 resultptr = new wxPoint(static_cast<wxPoint & >(result));
d55e5bfc
RD
22137 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22138 }
22139 return resultobj;
22140 fail:
22141 return NULL;
22142}
22143
22144
c370783e 22145static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22146 PyObject *resultobj = NULL;
d55e5bfc
RD
22147 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22148 wxPoint result;
22149 PyObject * obj0 = 0 ;
22150 char *kwnames[] = {
22151 (char *) "self", NULL
22152 };
22153
22154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
36ed4f51
RD
22155 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22156 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22157 {
22158 PyThreadState* __tstate = wxPyBeginAllowThreads();
22159 result = (arg1)->GetMinMarginTopLeft();
22160
22161 wxPyEndAllowThreads(__tstate);
22162 if (PyErr_Occurred()) SWIG_fail;
22163 }
22164 {
22165 wxPoint * resultptr;
32fe5131 22166 resultptr = new wxPoint(static_cast<wxPoint & >(result));
d55e5bfc
RD
22167 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22168 }
22169 return resultobj;
22170 fail:
22171 return NULL;
22172}
22173
22174
c370783e 22175static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22176 PyObject *resultobj = NULL;
d55e5bfc
RD
22177 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22178 wxPoint result;
22179 PyObject * obj0 = 0 ;
22180 char *kwnames[] = {
22181 (char *) "self", NULL
22182 };
22183
22184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
36ed4f51
RD
22185 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22186 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22187 {
22188 PyThreadState* __tstate = wxPyBeginAllowThreads();
22189 result = (arg1)->GetMinMarginBottomRight();
22190
22191 wxPyEndAllowThreads(__tstate);
22192 if (PyErr_Occurred()) SWIG_fail;
22193 }
22194 {
22195 wxPoint * resultptr;
32fe5131 22196 resultptr = new wxPoint(static_cast<wxPoint & >(result));
d55e5bfc
RD
22197 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22198 }
22199 return resultobj;
22200 fail:
22201 return NULL;
22202}
22203
22204
c370783e 22205static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22206 PyObject *resultobj = NULL;
d55e5bfc 22207 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
36ed4f51 22208 wxPaperSize result;
d55e5bfc
RD
22209 PyObject * obj0 = 0 ;
22210 char *kwnames[] = {
22211 (char *) "self", NULL
22212 };
22213
22214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
36ed4f51
RD
22215 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22216 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22217 {
22218 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 22219 result = (wxPaperSize)(arg1)->GetPaperId();
d55e5bfc
RD
22220
22221 wxPyEndAllowThreads(__tstate);
22222 if (PyErr_Occurred()) SWIG_fail;
22223 }
36ed4f51 22224 resultobj = SWIG_From_int((result));
d55e5bfc
RD
22225 return resultobj;
22226 fail:
22227 return NULL;
22228}
22229
22230
c370783e 22231static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22232 PyObject *resultobj = NULL;
d55e5bfc
RD
22233 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22234 wxSize result;
22235 PyObject * obj0 = 0 ;
22236 char *kwnames[] = {
22237 (char *) "self", NULL
22238 };
22239
22240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
22241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22242 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22243 {
22244 PyThreadState* __tstate = wxPyBeginAllowThreads();
22245 result = (arg1)->GetPaperSize();
22246
22247 wxPyEndAllowThreads(__tstate);
22248 if (PyErr_Occurred()) SWIG_fail;
22249 }
22250 {
22251 wxSize * resultptr;
32fe5131 22252 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
22253 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
22254 }
22255 return resultobj;
22256 fail:
22257 return NULL;
22258}
22259
22260
c370783e 22261static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22262 PyObject *resultobj = NULL;
d55e5bfc
RD
22263 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22264 wxPrintData *result;
22265 PyObject * obj0 = 0 ;
22266 char *kwnames[] = {
22267 (char *) "self", NULL
22268 };
22269
22270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
36ed4f51
RD
22271 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22272 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22273 {
22274 PyThreadState* __tstate = wxPyBeginAllowThreads();
22275 {
22276 wxPrintData &_result_ref = (arg1)->GetPrintData();
22277 result = (wxPrintData *) &_result_ref;
22278 }
22279
22280 wxPyEndAllowThreads(__tstate);
22281 if (PyErr_Occurred()) SWIG_fail;
22282 }
22283 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
22284 return resultobj;
22285 fail:
22286 return NULL;
22287}
22288
22289
c370783e 22290static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22291 PyObject *resultobj = NULL;
d55e5bfc
RD
22292 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22293 bool result;
22294 PyObject * obj0 = 0 ;
22295 char *kwnames[] = {
22296 (char *) "self", NULL
22297 };
22298
22299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
36ed4f51
RD
22300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22301 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22302 {
22303 PyThreadState* __tstate = wxPyBeginAllowThreads();
22304 result = (bool)(arg1)->Ok();
22305
22306 wxPyEndAllowThreads(__tstate);
22307 if (PyErr_Occurred()) SWIG_fail;
22308 }
22309 {
22310 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22311 }
22312 return resultobj;
22313 fail:
22314 return NULL;
22315}
22316
22317
c370783e 22318static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22319 PyObject *resultobj = NULL;
d55e5bfc
RD
22320 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22321 bool arg2 ;
22322 PyObject * obj0 = 0 ;
22323 PyObject * obj1 = 0 ;
22324 char *kwnames[] = {
22325 (char *) "self",(char *) "flag", NULL
22326 };
22327
22328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22330 if (SWIG_arg_fail(1)) SWIG_fail;
22331 {
32fe5131 22332 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
22333 if (SWIG_arg_fail(2)) SWIG_fail;
22334 }
d55e5bfc
RD
22335 {
22336 PyThreadState* __tstate = wxPyBeginAllowThreads();
22337 (arg1)->SetDefaultInfo(arg2);
22338
22339 wxPyEndAllowThreads(__tstate);
22340 if (PyErr_Occurred()) SWIG_fail;
22341 }
22342 Py_INCREF(Py_None); resultobj = Py_None;
22343 return resultobj;
22344 fail:
22345 return NULL;
22346}
22347
22348
c370783e 22349static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22350 PyObject *resultobj = NULL;
d55e5bfc
RD
22351 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22352 bool arg2 ;
22353 PyObject * obj0 = 0 ;
22354 PyObject * obj1 = 0 ;
22355 char *kwnames[] = {
22356 (char *) "self",(char *) "flag", NULL
22357 };
22358
22359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22360 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22361 if (SWIG_arg_fail(1)) SWIG_fail;
22362 {
32fe5131 22363 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
22364 if (SWIG_arg_fail(2)) SWIG_fail;
22365 }
d55e5bfc
RD
22366 {
22367 PyThreadState* __tstate = wxPyBeginAllowThreads();
22368 (arg1)->SetDefaultMinMargins(arg2);
22369
22370 wxPyEndAllowThreads(__tstate);
22371 if (PyErr_Occurred()) SWIG_fail;
22372 }
22373 Py_INCREF(Py_None); resultobj = Py_None;
22374 return resultobj;
22375 fail:
22376 return NULL;
22377}
22378
22379
c370783e 22380static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22381 PyObject *resultobj = NULL;
d55e5bfc
RD
22382 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22383 wxPoint *arg2 = 0 ;
22384 wxPoint temp2 ;
22385 PyObject * obj0 = 0 ;
22386 PyObject * obj1 = 0 ;
22387 char *kwnames[] = {
22388 (char *) "self",(char *) "pt", NULL
22389 };
22390
22391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22392 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22393 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22394 {
22395 arg2 = &temp2;
22396 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22397 }
22398 {
22399 PyThreadState* __tstate = wxPyBeginAllowThreads();
22400 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
22401
22402 wxPyEndAllowThreads(__tstate);
22403 if (PyErr_Occurred()) SWIG_fail;
22404 }
22405 Py_INCREF(Py_None); resultobj = Py_None;
22406 return resultobj;
22407 fail:
22408 return NULL;
22409}
22410
22411
c370783e 22412static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22413 PyObject *resultobj = NULL;
d55e5bfc
RD
22414 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22415 wxPoint *arg2 = 0 ;
22416 wxPoint temp2 ;
22417 PyObject * obj0 = 0 ;
22418 PyObject * obj1 = 0 ;
22419 char *kwnames[] = {
22420 (char *) "self",(char *) "pt", NULL
22421 };
22422
22423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22424 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22425 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22426 {
22427 arg2 = &temp2;
22428 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22429 }
22430 {
22431 PyThreadState* __tstate = wxPyBeginAllowThreads();
22432 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
22433
22434 wxPyEndAllowThreads(__tstate);
22435 if (PyErr_Occurred()) SWIG_fail;
22436 }
22437 Py_INCREF(Py_None); resultobj = Py_None;
22438 return resultobj;
22439 fail:
22440 return NULL;
22441}
22442
22443
c370783e 22444static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22445 PyObject *resultobj = NULL;
d55e5bfc
RD
22446 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22447 wxPoint *arg2 = 0 ;
22448 wxPoint temp2 ;
22449 PyObject * obj0 = 0 ;
22450 PyObject * obj1 = 0 ;
22451 char *kwnames[] = {
22452 (char *) "self",(char *) "pt", NULL
22453 };
22454
22455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22456 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22457 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22458 {
22459 arg2 = &temp2;
22460 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22461 }
22462 {
22463 PyThreadState* __tstate = wxPyBeginAllowThreads();
22464 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
22465
22466 wxPyEndAllowThreads(__tstate);
22467 if (PyErr_Occurred()) SWIG_fail;
22468 }
22469 Py_INCREF(Py_None); resultobj = Py_None;
22470 return resultobj;
22471 fail:
22472 return NULL;
22473}
22474
22475
c370783e 22476static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22477 PyObject *resultobj = NULL;
d55e5bfc
RD
22478 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22479 wxPoint *arg2 = 0 ;
22480 wxPoint temp2 ;
22481 PyObject * obj0 = 0 ;
22482 PyObject * obj1 = 0 ;
22483 char *kwnames[] = {
22484 (char *) "self",(char *) "pt", NULL
22485 };
22486
22487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22488 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22489 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22490 {
22491 arg2 = &temp2;
22492 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22493 }
22494 {
22495 PyThreadState* __tstate = wxPyBeginAllowThreads();
22496 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
22497
22498 wxPyEndAllowThreads(__tstate);
22499 if (PyErr_Occurred()) SWIG_fail;
22500 }
22501 Py_INCREF(Py_None); resultobj = Py_None;
22502 return resultobj;
22503 fail:
22504 return NULL;
22505}
22506
22507
c370783e 22508static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22509 PyObject *resultobj = NULL;
d55e5bfc 22510 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
36ed4f51 22511 wxPaperSize arg2 ;
d55e5bfc
RD
22512 PyObject * obj0 = 0 ;
22513 PyObject * obj1 = 0 ;
22514 char *kwnames[] = {
22515 (char *) "self",(char *) "id", NULL
22516 };
22517
22518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22520 if (SWIG_arg_fail(1)) SWIG_fail;
22521 {
32fe5131 22522 arg2 = static_cast<wxPaperSize >(SWIG_As_int(obj1));
36ed4f51
RD
22523 if (SWIG_arg_fail(2)) SWIG_fail;
22524 }
d55e5bfc
RD
22525 {
22526 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 22527 (arg1)->SetPaperId(arg2);
d55e5bfc
RD
22528
22529 wxPyEndAllowThreads(__tstate);
22530 if (PyErr_Occurred()) SWIG_fail;
22531 }
22532 Py_INCREF(Py_None); resultobj = Py_None;
22533 return resultobj;
22534 fail:
22535 return NULL;
22536}
22537
22538
c370783e 22539static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22540 PyObject *resultobj = NULL;
d55e5bfc
RD
22541 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22542 wxSize *arg2 = 0 ;
22543 wxSize temp2 ;
22544 PyObject * obj0 = 0 ;
22545 PyObject * obj1 = 0 ;
22546 char *kwnames[] = {
22547 (char *) "self",(char *) "size", NULL
22548 };
22549
22550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22551 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22552 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22553 {
22554 arg2 = &temp2;
22555 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22556 }
22557 {
22558 PyThreadState* __tstate = wxPyBeginAllowThreads();
22559 (arg1)->SetPaperSize((wxSize const &)*arg2);
22560
22561 wxPyEndAllowThreads(__tstate);
22562 if (PyErr_Occurred()) SWIG_fail;
22563 }
22564 Py_INCREF(Py_None); resultobj = Py_None;
22565 return resultobj;
22566 fail:
22567 return NULL;
22568}
22569
22570
c370783e 22571static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22572 PyObject *resultobj = NULL;
d55e5bfc
RD
22573 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22574 wxPrintData *arg2 = 0 ;
22575 PyObject * obj0 = 0 ;
22576 PyObject * obj1 = 0 ;
22577 char *kwnames[] = {
22578 (char *) "self",(char *) "printData", NULL
22579 };
22580
22581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22582 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22583 if (SWIG_arg_fail(1)) SWIG_fail;
22584 {
22585 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
22586 if (SWIG_arg_fail(2)) SWIG_fail;
22587 if (arg2 == NULL) {
22588 SWIG_null_ref("wxPrintData");
22589 }
22590 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22591 }
22592 {
22593 PyThreadState* __tstate = wxPyBeginAllowThreads();
22594 (arg1)->SetPrintData((wxPrintData const &)*arg2);
22595
22596 wxPyEndAllowThreads(__tstate);
22597 if (PyErr_Occurred()) SWIG_fail;
22598 }
22599 Py_INCREF(Py_None); resultobj = Py_None;
22600 return resultobj;
22601 fail:
22602 return NULL;
22603}
22604
22605
fef4c27a 22606static PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22607 PyObject *resultobj = NULL;
fef4c27a
RD
22608 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22609 PyObject * obj0 = 0 ;
22610 char *kwnames[] = {
22611 (char *) "self", NULL
22612 };
22613
22614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_CalculateIdFromPaperSize",kwnames,&obj0)) goto fail;
22615 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22616 if (SWIG_arg_fail(1)) SWIG_fail;
22617 {
22618 PyThreadState* __tstate = wxPyBeginAllowThreads();
22619 (arg1)->CalculateIdFromPaperSize();
22620
22621 wxPyEndAllowThreads(__tstate);
22622 if (PyErr_Occurred()) SWIG_fail;
22623 }
22624 Py_INCREF(Py_None); resultobj = Py_None;
22625 return resultobj;
22626 fail:
22627 return NULL;
22628}
22629
22630
22631static PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22632 PyObject *resultobj = NULL;
fef4c27a
RD
22633 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22634 PyObject * obj0 = 0 ;
22635 char *kwnames[] = {
22636 (char *) "self", NULL
22637 };
22638
22639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_CalculatePaperSizeFromId",kwnames,&obj0)) goto fail;
22640 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22641 if (SWIG_arg_fail(1)) SWIG_fail;
22642 {
22643 PyThreadState* __tstate = wxPyBeginAllowThreads();
22644 (arg1)->CalculatePaperSizeFromId();
22645
22646 wxPyEndAllowThreads(__tstate);
22647 if (PyErr_Occurred()) SWIG_fail;
22648 }
22649 Py_INCREF(Py_None); resultobj = Py_None;
22650 return resultobj;
22651 fail:
22652 return NULL;
22653}
22654
22655
c370783e 22656static PyObject * PageSetupDialogData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
22657 PyObject *obj;
22658 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22659 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
22660 Py_INCREF(obj);
22661 return Py_BuildValue((char *)"");
22662}
c370783e 22663static PyObject *_wrap_new_PageSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22664 PyObject *resultobj = NULL;
d55e5bfc
RD
22665 wxWindow *arg1 = (wxWindow *) 0 ;
22666 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
22667 wxPageSetupDialog *result;
22668 PyObject * obj0 = 0 ;
22669 PyObject * obj1 = 0 ;
22670 char *kwnames[] = {
22671 (char *) "parent",(char *) "data", NULL
22672 };
22673
22674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
22676 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 22677 if (obj1) {
36ed4f51
RD
22678 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22679 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22680 }
22681 {
0439c23b 22682 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
22683 PyThreadState* __tstate = wxPyBeginAllowThreads();
22684 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
22685
22686 wxPyEndAllowThreads(__tstate);
110da5b0 22687 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
22688 }
22689 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
22690 return resultobj;
22691 fail:
22692 return NULL;
22693}
22694
22695
c370783e 22696static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22697 PyObject *resultobj = NULL;
d55e5bfc
RD
22698 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
22699 wxPageSetupDialogData *result;
22700 PyObject * obj0 = 0 ;
22701 char *kwnames[] = {
22702 (char *) "self", NULL
22703 };
22704
22705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
36ed4f51
RD
22706 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
22707 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22708 {
22709 PyThreadState* __tstate = wxPyBeginAllowThreads();
22710 {
22711 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
22712 result = (wxPageSetupDialogData *) &_result_ref;
22713 }
22714
22715 wxPyEndAllowThreads(__tstate);
22716 if (PyErr_Occurred()) SWIG_fail;
22717 }
22718 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
22719 return resultobj;
22720 fail:
22721 return NULL;
22722}
22723
22724
6e0de3df 22725static PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22726 PyObject *resultobj = NULL;
6e0de3df
RD
22727 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
22728 wxPageSetupDialogData *result;
22729 PyObject * obj0 = 0 ;
22730 char *kwnames[] = {
22731 (char *) "self", NULL
22732 };
22733
22734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames,&obj0)) goto fail;
36ed4f51
RD
22735 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
22736 if (SWIG_arg_fail(1)) SWIG_fail;
6e0de3df
RD
22737 {
22738 PyThreadState* __tstate = wxPyBeginAllowThreads();
22739 {
22740 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
22741 result = (wxPageSetupDialogData *) &_result_ref;
22742 }
22743
22744 wxPyEndAllowThreads(__tstate);
22745 if (PyErr_Occurred()) SWIG_fail;
22746 }
22747 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
22748 return resultobj;
22749 fail:
22750 return NULL;
22751}
22752
22753
c370783e 22754static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22755 PyObject *resultobj = NULL;
d55e5bfc
RD
22756 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
22757 int result;
22758 PyObject * obj0 = 0 ;
22759 char *kwnames[] = {
22760 (char *) "self", NULL
22761 };
22762
22763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
36ed4f51
RD
22764 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
22765 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22766 {
22767 PyThreadState* __tstate = wxPyBeginAllowThreads();
22768 result = (int)(arg1)->ShowModal();
22769
22770 wxPyEndAllowThreads(__tstate);
22771 if (PyErr_Occurred()) SWIG_fail;
22772 }
36ed4f51 22773 {
32fe5131 22774 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 22775 }
d55e5bfc
RD
22776 return resultobj;
22777 fail:
22778 return NULL;
22779}
22780
22781
c370783e 22782static PyObject * PageSetupDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
22783 PyObject *obj;
22784 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22785 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
22786 Py_INCREF(obj);
22787 return Py_BuildValue((char *)"");
22788}
c370783e 22789static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *, PyObject *args) {
32fe5131 22790 PyObject *resultobj = NULL;
d55e5bfc
RD
22791 wxPrintDialogData *result;
22792
22793 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
22794 {
22795 PyThreadState* __tstate = wxPyBeginAllowThreads();
22796 result = (wxPrintDialogData *)new wxPrintDialogData();
22797
22798 wxPyEndAllowThreads(__tstate);
22799 if (PyErr_Occurred()) SWIG_fail;
22800 }
22801 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
22802 return resultobj;
22803 fail:
22804 return NULL;
22805}
22806
22807
c370783e 22808static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *, PyObject *args) {
32fe5131 22809 PyObject *resultobj = NULL;
d55e5bfc
RD
22810 wxPrintData *arg1 = 0 ;
22811 wxPrintDialogData *result;
22812 PyObject * obj0 = 0 ;
22813
22814 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
36ed4f51
RD
22815 {
22816 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
22817 if (SWIG_arg_fail(1)) SWIG_fail;
22818 if (arg1 == NULL) {
22819 SWIG_null_ref("wxPrintData");
22820 }
22821 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22822 }
22823 {
22824 PyThreadState* __tstate = wxPyBeginAllowThreads();
22825 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
22826
22827 wxPyEndAllowThreads(__tstate);
22828 if (PyErr_Occurred()) SWIG_fail;
22829 }
22830 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
22831 return resultobj;
22832 fail:
22833 return NULL;
22834}
22835
22836
fef4c27a 22837static PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *, PyObject *args) {
32fe5131 22838 PyObject *resultobj = NULL;
fef4c27a
RD
22839 wxPrintDialogData *arg1 = 0 ;
22840 wxPrintDialogData *result;
22841 PyObject * obj0 = 0 ;
22842
22843 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
22844 {
22845 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
22846 if (SWIG_arg_fail(1)) SWIG_fail;
22847 if (arg1 == NULL) {
22848 SWIG_null_ref("wxPrintDialogData");
22849 }
22850 if (SWIG_arg_fail(1)) SWIG_fail;
22851 }
22852 {
22853 PyThreadState* __tstate = wxPyBeginAllowThreads();
22854 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
22855
22856 wxPyEndAllowThreads(__tstate);
22857 if (PyErr_Occurred()) SWIG_fail;
22858 }
22859 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
22860 return resultobj;
22861 fail:
22862 return NULL;
22863}
22864
22865
d55e5bfc
RD
22866static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
22867 int argc;
22868 PyObject *argv[2];
22869 int ii;
22870
22871 argc = PyObject_Length(args);
22872 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
22873 argv[ii] = PyTuple_GetItem(args,ii);
22874 }
22875 if (argc == 0) {
22876 return _wrap_new_PrintDialogData__SWIG_0(self,args);
22877 }
22878 if (argc == 1) {
22879 int _v;
22880 {
36ed4f51 22881 void *ptr = 0;
d55e5bfc
RD
22882 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
22883 _v = 0;
22884 PyErr_Clear();
22885 } else {
36ed4f51 22886 _v = (ptr != 0);
d55e5bfc
RD
22887 }
22888 }
22889 if (_v) {
22890 return _wrap_new_PrintDialogData__SWIG_1(self,args);
22891 }
22892 }
fef4c27a
RD
22893 if (argc == 1) {
22894 int _v;
22895 {
22896 void *ptr = 0;
22897 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
22898 _v = 0;
22899 PyErr_Clear();
22900 } else {
22901 _v = (ptr != 0);
22902 }
22903 }
22904 if (_v) {
22905 return _wrap_new_PrintDialogData__SWIG_2(self,args);
22906 }
22907 }
d55e5bfc 22908
36ed4f51 22909 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
d55e5bfc
RD
22910 return NULL;
22911}
22912
22913
c370783e 22914static PyObject *_wrap_delete_PrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22915 PyObject *resultobj = NULL;
d55e5bfc
RD
22916 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
22917 PyObject * obj0 = 0 ;
22918 char *kwnames[] = {
22919 (char *) "self", NULL
22920 };
22921
22922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
36ed4f51
RD
22923 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
22924 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22925 {
22926 PyThreadState* __tstate = wxPyBeginAllowThreads();
22927 delete arg1;
22928
22929 wxPyEndAllowThreads(__tstate);
22930 if (PyErr_Occurred()) SWIG_fail;
22931 }
22932 Py_INCREF(Py_None); resultobj = Py_None;
22933 return resultobj;
22934 fail:
22935 return NULL;
22936}
22937
22938
c370783e 22939static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22940 PyObject *resultobj = NULL;
d55e5bfc
RD
22941 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
22942 int result;
22943 PyObject * obj0 = 0 ;
22944 char *kwnames[] = {
22945 (char *) "self", NULL
22946 };
22947
22948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
36ed4f51
RD
22949 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
22950 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22951 {
22952 PyThreadState* __tstate = wxPyBeginAllowThreads();
22953 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
22954
22955 wxPyEndAllowThreads(__tstate);
22956 if (PyErr_Occurred()) SWIG_fail;
22957 }
36ed4f51 22958 {
32fe5131 22959 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 22960 }
d55e5bfc
RD
22961 return resultobj;
22962 fail:
22963 return NULL;
22964}
22965
22966
c370783e 22967static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22968 PyObject *resultobj = NULL;
d55e5bfc
RD
22969 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
22970 int result;
22971 PyObject * obj0 = 0 ;
22972 char *kwnames[] = {
22973 (char *) "self", NULL
22974 };
22975
22976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
36ed4f51
RD
22977 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
22978 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22979 {
22980 PyThreadState* __tstate = wxPyBeginAllowThreads();
22981 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
22982
22983 wxPyEndAllowThreads(__tstate);
22984 if (PyErr_Occurred()) SWIG_fail;
22985 }
36ed4f51 22986 {
32fe5131 22987 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 22988 }
d55e5bfc
RD
22989 return resultobj;
22990 fail:
22991 return NULL;
22992}
22993
22994
c370783e 22995static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22996 PyObject *resultobj = NULL;
d55e5bfc
RD
22997 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
22998 int result;
22999 PyObject * obj0 = 0 ;
23000 char *kwnames[] = {
23001 (char *) "self", NULL
23002 };
23003
23004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
36ed4f51
RD
23005 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23006 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23007 {
23008 PyThreadState* __tstate = wxPyBeginAllowThreads();
23009 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
23010
23011 wxPyEndAllowThreads(__tstate);
23012 if (PyErr_Occurred()) SWIG_fail;
23013 }
36ed4f51 23014 {
32fe5131 23015 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 23016 }
d55e5bfc
RD
23017 return resultobj;
23018 fail:
23019 return NULL;
23020}
23021
23022
c370783e 23023static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23024 PyObject *resultobj = NULL;
d55e5bfc
RD
23025 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23026 int result;
23027 PyObject * obj0 = 0 ;
23028 char *kwnames[] = {
23029 (char *) "self", NULL
23030 };
23031
23032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
36ed4f51
RD
23033 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23034 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23035 {
23036 PyThreadState* __tstate = wxPyBeginAllowThreads();
23037 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
23038
23039 wxPyEndAllowThreads(__tstate);
23040 if (PyErr_Occurred()) SWIG_fail;
23041 }
36ed4f51 23042 {
32fe5131 23043 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 23044 }
d55e5bfc
RD
23045 return resultobj;
23046 fail:
23047 return NULL;
23048}
23049
23050
c370783e 23051static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23052 PyObject *resultobj = NULL;
d55e5bfc
RD
23053 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23054 int result;
23055 PyObject * obj0 = 0 ;
23056 char *kwnames[] = {
23057 (char *) "self", NULL
23058 };
23059
23060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
36ed4f51
RD
23061 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23062 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23063 {
23064 PyThreadState* __tstate = wxPyBeginAllowThreads();
23065 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
23066
23067 wxPyEndAllowThreads(__tstate);
23068 if (PyErr_Occurred()) SWIG_fail;
23069 }
36ed4f51 23070 {
32fe5131 23071 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 23072 }
d55e5bfc
RD
23073 return resultobj;
23074 fail:
23075 return NULL;
23076}
23077
23078
c370783e 23079static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23080 PyObject *resultobj = NULL;
d55e5bfc
RD
23081 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23082 bool result;
23083 PyObject * obj0 = 0 ;
23084 char *kwnames[] = {
23085 (char *) "self", NULL
23086 };
23087
23088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
36ed4f51
RD
23089 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23090 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23091 {
23092 PyThreadState* __tstate = wxPyBeginAllowThreads();
23093 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
23094
23095 wxPyEndAllowThreads(__tstate);
23096 if (PyErr_Occurred()) SWIG_fail;
23097 }
23098 {
23099 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23100 }
23101 return resultobj;
23102 fail:
23103 return NULL;
23104}
23105
23106
c370783e 23107static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23108 PyObject *resultobj = NULL;
d55e5bfc
RD
23109 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23110 bool result;
23111 PyObject * obj0 = 0 ;
23112 char *kwnames[] = {
23113 (char *) "self", NULL
23114 };
23115
23116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
23117 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23118 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23119 {
23120 PyThreadState* __tstate = wxPyBeginAllowThreads();
23121 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
23122
23123 wxPyEndAllowThreads(__tstate);
23124 if (PyErr_Occurred()) SWIG_fail;
23125 }
23126 {
23127 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23128 }
23129 return resultobj;
23130 fail:
23131 return NULL;
23132}
23133
23134
c370783e 23135static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23136 PyObject *resultobj = NULL;
d55e5bfc
RD
23137 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23138 bool result;
23139 PyObject * obj0 = 0 ;
23140 char *kwnames[] = {
23141 (char *) "self", NULL
23142 };
23143
23144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
36ed4f51
RD
23145 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23146 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23147 {
23148 PyThreadState* __tstate = wxPyBeginAllowThreads();
23149 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
23150
23151 wxPyEndAllowThreads(__tstate);
23152 if (PyErr_Occurred()) SWIG_fail;
23153 }
23154 {
23155 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23156 }
23157 return resultobj;
23158 fail:
23159 return NULL;
23160}
23161
23162
c370783e 23163static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23164 PyObject *resultobj = NULL;
d55e5bfc
RD
23165 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23166 bool result;
23167 PyObject * obj0 = 0 ;
23168 char *kwnames[] = {
23169 (char *) "self", NULL
23170 };
23171
23172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
36ed4f51
RD
23173 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23174 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23175 {
23176 PyThreadState* __tstate = wxPyBeginAllowThreads();
23177 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
23178
23179 wxPyEndAllowThreads(__tstate);
23180 if (PyErr_Occurred()) SWIG_fail;
23181 }
23182 {
23183 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23184 }
23185 return resultobj;
23186 fail:
23187 return NULL;
23188}
23189
23190
c370783e 23191static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23192 PyObject *resultobj = NULL;
d55e5bfc
RD
23193 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23194 int arg2 ;
23195 PyObject * obj0 = 0 ;
23196 PyObject * obj1 = 0 ;
23197 char *kwnames[] = {
23198 (char *) "self",(char *) "v", NULL
23199 };
23200
23201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23203 if (SWIG_arg_fail(1)) SWIG_fail;
23204 {
32fe5131 23205 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
23206 if (SWIG_arg_fail(2)) SWIG_fail;
23207 }
d55e5bfc
RD
23208 {
23209 PyThreadState* __tstate = wxPyBeginAllowThreads();
23210 (arg1)->SetFromPage(arg2);
23211
23212 wxPyEndAllowThreads(__tstate);
23213 if (PyErr_Occurred()) SWIG_fail;
23214 }
23215 Py_INCREF(Py_None); resultobj = Py_None;
23216 return resultobj;
23217 fail:
23218 return NULL;
23219}
23220
23221
c370783e 23222static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23223 PyObject *resultobj = NULL;
d55e5bfc
RD
23224 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23225 int arg2 ;
23226 PyObject * obj0 = 0 ;
23227 PyObject * obj1 = 0 ;
23228 char *kwnames[] = {
23229 (char *) "self",(char *) "v", NULL
23230 };
23231
23232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23234 if (SWIG_arg_fail(1)) SWIG_fail;
23235 {
32fe5131 23236 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
23237 if (SWIG_arg_fail(2)) SWIG_fail;
23238 }
d55e5bfc
RD
23239 {
23240 PyThreadState* __tstate = wxPyBeginAllowThreads();
23241 (arg1)->SetToPage(arg2);
23242
23243 wxPyEndAllowThreads(__tstate);
23244 if (PyErr_Occurred()) SWIG_fail;
23245 }
23246 Py_INCREF(Py_None); resultobj = Py_None;
23247 return resultobj;
23248 fail:
23249 return NULL;
23250}
23251
23252
c370783e 23253static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23254 PyObject *resultobj = NULL;
d55e5bfc
RD
23255 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23256 int arg2 ;
23257 PyObject * obj0 = 0 ;
23258 PyObject * obj1 = 0 ;
23259 char *kwnames[] = {
23260 (char *) "self",(char *) "v", NULL
23261 };
23262
23263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23264 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23265 if (SWIG_arg_fail(1)) SWIG_fail;
23266 {
32fe5131 23267 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
23268 if (SWIG_arg_fail(2)) SWIG_fail;
23269 }
d55e5bfc
RD
23270 {
23271 PyThreadState* __tstate = wxPyBeginAllowThreads();
23272 (arg1)->SetMinPage(arg2);
23273
23274 wxPyEndAllowThreads(__tstate);
23275 if (PyErr_Occurred()) SWIG_fail;
23276 }
23277 Py_INCREF(Py_None); resultobj = Py_None;
23278 return resultobj;
23279 fail:
23280 return NULL;
23281}
23282
23283
c370783e 23284static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23285 PyObject *resultobj = NULL;
d55e5bfc
RD
23286 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23287 int arg2 ;
23288 PyObject * obj0 = 0 ;
23289 PyObject * obj1 = 0 ;
23290 char *kwnames[] = {
23291 (char *) "self",(char *) "v", NULL
23292 };
23293
23294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23295 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23296 if (SWIG_arg_fail(1)) SWIG_fail;
23297 {
32fe5131 23298 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
23299 if (SWIG_arg_fail(2)) SWIG_fail;
23300 }
d55e5bfc
RD
23301 {
23302 PyThreadState* __tstate = wxPyBeginAllowThreads();
23303 (arg1)->SetMaxPage(arg2);
23304
23305 wxPyEndAllowThreads(__tstate);
23306 if (PyErr_Occurred()) SWIG_fail;
23307 }
23308 Py_INCREF(Py_None); resultobj = Py_None;
23309 return resultobj;
23310 fail:
23311 return NULL;
23312}
23313
23314
c370783e 23315static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23316 PyObject *resultobj = NULL;
d55e5bfc
RD
23317 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23318 int arg2 ;
23319 PyObject * obj0 = 0 ;
23320 PyObject * obj1 = 0 ;
23321 char *kwnames[] = {
23322 (char *) "self",(char *) "v", NULL
23323 };
23324
23325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23326 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23327 if (SWIG_arg_fail(1)) SWIG_fail;
23328 {
32fe5131 23329 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
23330 if (SWIG_arg_fail(2)) SWIG_fail;
23331 }
d55e5bfc
RD
23332 {
23333 PyThreadState* __tstate = wxPyBeginAllowThreads();
23334 (arg1)->SetNoCopies(arg2);
23335
23336 wxPyEndAllowThreads(__tstate);
23337 if (PyErr_Occurred()) SWIG_fail;
23338 }
23339 Py_INCREF(Py_None); resultobj = Py_None;
23340 return resultobj;
23341 fail:
23342 return NULL;
23343}
23344
23345
c370783e 23346static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23347 PyObject *resultobj = NULL;
d55e5bfc
RD
23348 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23349 bool arg2 ;
23350 PyObject * obj0 = 0 ;
23351 PyObject * obj1 = 0 ;
23352 char *kwnames[] = {
23353 (char *) "self",(char *) "flag", NULL
23354 };
23355
23356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23358 if (SWIG_arg_fail(1)) SWIG_fail;
23359 {
32fe5131 23360 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
23361 if (SWIG_arg_fail(2)) SWIG_fail;
23362 }
d55e5bfc
RD
23363 {
23364 PyThreadState* __tstate = wxPyBeginAllowThreads();
23365 (arg1)->SetAllPages(arg2);
23366
23367 wxPyEndAllowThreads(__tstate);
23368 if (PyErr_Occurred()) SWIG_fail;
23369 }
23370 Py_INCREF(Py_None); resultobj = Py_None;
23371 return resultobj;
23372 fail:
23373 return NULL;
23374}
23375
23376
c370783e 23377static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23378 PyObject *resultobj = NULL;
d55e5bfc
RD
23379 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23380 bool arg2 ;
23381 PyObject * obj0 = 0 ;
23382 PyObject * obj1 = 0 ;
23383 char *kwnames[] = {
23384 (char *) "self",(char *) "flag", NULL
23385 };
23386
23387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23389 if (SWIG_arg_fail(1)) SWIG_fail;
23390 {
32fe5131 23391 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
23392 if (SWIG_arg_fail(2)) SWIG_fail;
23393 }
d55e5bfc
RD
23394 {
23395 PyThreadState* __tstate = wxPyBeginAllowThreads();
23396 (arg1)->SetSelection(arg2);
23397
23398 wxPyEndAllowThreads(__tstate);
23399 if (PyErr_Occurred()) SWIG_fail;
23400 }
23401 Py_INCREF(Py_None); resultobj = Py_None;
23402 return resultobj;
23403 fail:
23404 return NULL;
23405}
23406
23407
c370783e 23408static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23409 PyObject *resultobj = NULL;
d55e5bfc
RD
23410 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23411 bool arg2 ;
23412 PyObject * obj0 = 0 ;
23413 PyObject * obj1 = 0 ;
23414 char *kwnames[] = {
23415 (char *) "self",(char *) "flag", NULL
23416 };
23417
23418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23419 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23420 if (SWIG_arg_fail(1)) SWIG_fail;
23421 {
32fe5131 23422 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
23423 if (SWIG_arg_fail(2)) SWIG_fail;
23424 }
d55e5bfc
RD
23425 {
23426 PyThreadState* __tstate = wxPyBeginAllowThreads();
23427 (arg1)->SetCollate(arg2);
23428
23429 wxPyEndAllowThreads(__tstate);
23430 if (PyErr_Occurred()) SWIG_fail;
23431 }
23432 Py_INCREF(Py_None); resultobj = Py_None;
23433 return resultobj;
23434 fail:
23435 return NULL;
23436}
23437
23438
c370783e 23439static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23440 PyObject *resultobj = NULL;
d55e5bfc
RD
23441 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23442 bool arg2 ;
23443 PyObject * obj0 = 0 ;
23444 PyObject * obj1 = 0 ;
23445 char *kwnames[] = {
23446 (char *) "self",(char *) "flag", NULL
23447 };
23448
23449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23451 if (SWIG_arg_fail(1)) SWIG_fail;
23452 {
32fe5131 23453 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
23454 if (SWIG_arg_fail(2)) SWIG_fail;
23455 }
d55e5bfc
RD
23456 {
23457 PyThreadState* __tstate = wxPyBeginAllowThreads();
23458 (arg1)->SetPrintToFile(arg2);
23459
23460 wxPyEndAllowThreads(__tstate);
23461 if (PyErr_Occurred()) SWIG_fail;
23462 }
23463 Py_INCREF(Py_None); resultobj = Py_None;
23464 return resultobj;
23465 fail:
23466 return NULL;
23467}
23468
23469
c370783e 23470static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23471 PyObject *resultobj = NULL;
d55e5bfc
RD
23472 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23473 bool arg2 ;
23474 PyObject * obj0 = 0 ;
23475 PyObject * obj1 = 0 ;
23476 char *kwnames[] = {
23477 (char *) "self",(char *) "flag", NULL
23478 };
23479
23480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23481 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23482 if (SWIG_arg_fail(1)) SWIG_fail;
23483 {
32fe5131 23484 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
23485 if (SWIG_arg_fail(2)) SWIG_fail;
23486 }
d55e5bfc
RD
23487 {
23488 PyThreadState* __tstate = wxPyBeginAllowThreads();
23489 (arg1)->EnablePrintToFile(arg2);
23490
23491 wxPyEndAllowThreads(__tstate);
23492 if (PyErr_Occurred()) SWIG_fail;
23493 }
23494 Py_INCREF(Py_None); resultobj = Py_None;
23495 return resultobj;
23496 fail:
23497 return NULL;
23498}
23499
23500
c370783e 23501static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23502 PyObject *resultobj = NULL;
d55e5bfc
RD
23503 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23504 bool arg2 ;
23505 PyObject * obj0 = 0 ;
23506 PyObject * obj1 = 0 ;
23507 char *kwnames[] = {
23508 (char *) "self",(char *) "flag", NULL
23509 };
23510
23511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23513 if (SWIG_arg_fail(1)) SWIG_fail;
23514 {
32fe5131 23515 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
23516 if (SWIG_arg_fail(2)) SWIG_fail;
23517 }
d55e5bfc
RD
23518 {
23519 PyThreadState* __tstate = wxPyBeginAllowThreads();
23520 (arg1)->EnableSelection(arg2);
23521
23522 wxPyEndAllowThreads(__tstate);
23523 if (PyErr_Occurred()) SWIG_fail;
23524 }
23525 Py_INCREF(Py_None); resultobj = Py_None;
23526 return resultobj;
23527 fail:
23528 return NULL;
23529}
23530
23531
c370783e 23532static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23533 PyObject *resultobj = NULL;
d55e5bfc
RD
23534 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23535 bool arg2 ;
23536 PyObject * obj0 = 0 ;
23537 PyObject * obj1 = 0 ;
23538 char *kwnames[] = {
23539 (char *) "self",(char *) "flag", NULL
23540 };
23541
23542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23543 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23544 if (SWIG_arg_fail(1)) SWIG_fail;
23545 {
32fe5131 23546 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
23547 if (SWIG_arg_fail(2)) SWIG_fail;
23548 }
d55e5bfc
RD
23549 {
23550 PyThreadState* __tstate = wxPyBeginAllowThreads();
23551 (arg1)->EnablePageNumbers(arg2);
23552
23553 wxPyEndAllowThreads(__tstate);
23554 if (PyErr_Occurred()) SWIG_fail;
23555 }
23556 Py_INCREF(Py_None); resultobj = Py_None;
23557 return resultobj;
23558 fail:
23559 return NULL;
23560}
23561
23562
c370783e 23563static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23564 PyObject *resultobj = NULL;
d55e5bfc
RD
23565 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23566 bool arg2 ;
23567 PyObject * obj0 = 0 ;
23568 PyObject * obj1 = 0 ;
23569 char *kwnames[] = {
23570 (char *) "self",(char *) "flag", NULL
23571 };
23572
23573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23574 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23575 if (SWIG_arg_fail(1)) SWIG_fail;
23576 {
32fe5131 23577 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
23578 if (SWIG_arg_fail(2)) SWIG_fail;
23579 }
d55e5bfc
RD
23580 {
23581 PyThreadState* __tstate = wxPyBeginAllowThreads();
23582 (arg1)->EnableHelp(arg2);
23583
23584 wxPyEndAllowThreads(__tstate);
23585 if (PyErr_Occurred()) SWIG_fail;
23586 }
23587 Py_INCREF(Py_None); resultobj = Py_None;
23588 return resultobj;
23589 fail:
23590 return NULL;
23591}
23592
23593
c370783e 23594static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23595 PyObject *resultobj = NULL;
d55e5bfc
RD
23596 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23597 bool result;
23598 PyObject * obj0 = 0 ;
23599 char *kwnames[] = {
23600 (char *) "self", NULL
23601 };
23602
23603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
36ed4f51
RD
23604 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23605 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23606 {
23607 PyThreadState* __tstate = wxPyBeginAllowThreads();
23608 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
23609
23610 wxPyEndAllowThreads(__tstate);
23611 if (PyErr_Occurred()) SWIG_fail;
23612 }
23613 {
23614 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23615 }
23616 return resultobj;
23617 fail:
23618 return NULL;
23619}
23620
23621
c370783e 23622static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23623 PyObject *resultobj = NULL;
d55e5bfc
RD
23624 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23625 bool result;
23626 PyObject * obj0 = 0 ;
23627 char *kwnames[] = {
23628 (char *) "self", NULL
23629 };
23630
23631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
23632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23633 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23634 {
23635 PyThreadState* __tstate = wxPyBeginAllowThreads();
23636 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
23637
23638 wxPyEndAllowThreads(__tstate);
23639 if (PyErr_Occurred()) SWIG_fail;
23640 }
23641 {
23642 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23643 }
23644 return resultobj;
23645 fail:
23646 return NULL;
23647}
23648
23649
c370783e 23650static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23651 PyObject *resultobj = NULL;
d55e5bfc
RD
23652 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23653 bool result;
23654 PyObject * obj0 = 0 ;
23655 char *kwnames[] = {
23656 (char *) "self", NULL
23657 };
23658
23659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
36ed4f51
RD
23660 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23661 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23662 {
23663 PyThreadState* __tstate = wxPyBeginAllowThreads();
23664 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
23665
23666 wxPyEndAllowThreads(__tstate);
23667 if (PyErr_Occurred()) SWIG_fail;
23668 }
23669 {
23670 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23671 }
23672 return resultobj;
23673 fail:
23674 return NULL;
23675}
23676
23677
c370783e 23678static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23679 PyObject *resultobj = NULL;
d55e5bfc
RD
23680 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23681 bool result;
23682 PyObject * obj0 = 0 ;
23683 char *kwnames[] = {
23684 (char *) "self", NULL
23685 };
23686
23687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
36ed4f51
RD
23688 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23689 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23690 {
23691 PyThreadState* __tstate = wxPyBeginAllowThreads();
23692 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
23693
23694 wxPyEndAllowThreads(__tstate);
23695 if (PyErr_Occurred()) SWIG_fail;
23696 }
23697 {
23698 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23699 }
23700 return resultobj;
23701 fail:
23702 return NULL;
23703}
23704
23705
c370783e 23706static PyObject *_wrap_PrintDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23707 PyObject *resultobj = NULL;
d55e5bfc
RD
23708 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23709 bool result;
23710 PyObject * obj0 = 0 ;
23711 char *kwnames[] = {
23712 (char *) "self", NULL
23713 };
23714
23715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
36ed4f51
RD
23716 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23717 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23718 {
23719 PyThreadState* __tstate = wxPyBeginAllowThreads();
23720 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
23721
23722 wxPyEndAllowThreads(__tstate);
23723 if (PyErr_Occurred()) SWIG_fail;
23724 }
23725 {
23726 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23727 }
23728 return resultobj;
23729 fail:
23730 return NULL;
23731}
23732
23733
c370783e 23734static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23735 PyObject *resultobj = NULL;
d55e5bfc
RD
23736 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23737 wxPrintData *result;
23738 PyObject * obj0 = 0 ;
23739 char *kwnames[] = {
23740 (char *) "self", NULL
23741 };
23742
23743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
36ed4f51
RD
23744 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23745 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23746 {
23747 PyThreadState* __tstate = wxPyBeginAllowThreads();
23748 {
23749 wxPrintData &_result_ref = (arg1)->GetPrintData();
23750 result = (wxPrintData *) &_result_ref;
23751 }
23752
23753 wxPyEndAllowThreads(__tstate);
23754 if (PyErr_Occurred()) SWIG_fail;
23755 }
23756 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
23757 return resultobj;
23758 fail:
23759 return NULL;
23760}
23761
23762
c370783e 23763static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23764 PyObject *resultobj = NULL;
d55e5bfc
RD
23765 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23766 wxPrintData *arg2 = 0 ;
23767 PyObject * obj0 = 0 ;
23768 PyObject * obj1 = 0 ;
23769 char *kwnames[] = {
23770 (char *) "self",(char *) "printData", NULL
23771 };
23772
23773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23774 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23775 if (SWIG_arg_fail(1)) SWIG_fail;
23776 {
23777 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
23778 if (SWIG_arg_fail(2)) SWIG_fail;
23779 if (arg2 == NULL) {
23780 SWIG_null_ref("wxPrintData");
23781 }
23782 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23783 }
23784 {
23785 PyThreadState* __tstate = wxPyBeginAllowThreads();
23786 (arg1)->SetPrintData((wxPrintData const &)*arg2);
23787
23788 wxPyEndAllowThreads(__tstate);
23789 if (PyErr_Occurred()) SWIG_fail;
23790 }
23791 Py_INCREF(Py_None); resultobj = Py_None;
23792 return resultobj;
23793 fail:
23794 return NULL;
23795}
23796
23797
c370783e 23798static PyObject * PrintDialogData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
23799 PyObject *obj;
23800 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23801 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
23802 Py_INCREF(obj);
23803 return Py_BuildValue((char *)"");
23804}
c370783e 23805static PyObject *_wrap_new_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23806 PyObject *resultobj = NULL;
d55e5bfc
RD
23807 wxWindow *arg1 = (wxWindow *) 0 ;
23808 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
23809 wxPrintDialog *result;
23810 PyObject * obj0 = 0 ;
23811 PyObject * obj1 = 0 ;
23812 char *kwnames[] = {
23813 (char *) "parent",(char *) "data", NULL
23814 };
23815
23816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23817 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23818 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 23819 if (obj1) {
36ed4f51
RD
23820 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23821 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23822 }
23823 {
0439c23b 23824 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
23825 PyThreadState* __tstate = wxPyBeginAllowThreads();
23826 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
23827
23828 wxPyEndAllowThreads(__tstate);
110da5b0 23829 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
23830 }
23831 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
23832 return resultobj;
23833 fail:
23834 return NULL;
23835}
23836
23837
070c48b4 23838static PyObject *_wrap_PrintDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23839 PyObject *resultobj = NULL;
070c48b4
RD
23840 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
23841 int result;
23842 PyObject * obj0 = 0 ;
23843 char *kwnames[] = {
23844 (char *) "self", NULL
23845 };
23846
23847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
36ed4f51
RD
23848 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
23849 if (SWIG_arg_fail(1)) SWIG_fail;
070c48b4
RD
23850 {
23851 PyThreadState* __tstate = wxPyBeginAllowThreads();
23852 result = (int)(arg1)->ShowModal();
23853
23854 wxPyEndAllowThreads(__tstate);
23855 if (PyErr_Occurred()) SWIG_fail;
23856 }
36ed4f51 23857 {
32fe5131 23858 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 23859 }
070c48b4
RD
23860 return resultobj;
23861 fail:
23862 return NULL;
23863}
23864
23865
c370783e 23866static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23867 PyObject *resultobj = NULL;
d55e5bfc
RD
23868 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
23869 wxPrintDialogData *result;
23870 PyObject * obj0 = 0 ;
23871 char *kwnames[] = {
23872 (char *) "self", NULL
23873 };
23874
23875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
36ed4f51
RD
23876 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
23877 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23878 {
23879 PyThreadState* __tstate = wxPyBeginAllowThreads();
23880 {
23881 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
23882 result = (wxPrintDialogData *) &_result_ref;
23883 }
23884
23885 wxPyEndAllowThreads(__tstate);
23886 if (PyErr_Occurred()) SWIG_fail;
23887 }
23888 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
23889 return resultobj;
23890 fail:
23891 return NULL;
23892}
23893
23894
070c48b4 23895static PyObject *_wrap_PrintDialog_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23896 PyObject *resultobj = NULL;
d55e5bfc 23897 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
070c48b4 23898 wxPrintData *result;
d55e5bfc
RD
23899 PyObject * obj0 = 0 ;
23900 char *kwnames[] = {
23901 (char *) "self", NULL
23902 };
23903
070c48b4 23904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintData",kwnames,&obj0)) goto fail;
36ed4f51
RD
23905 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
23906 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23907 {
23908 PyThreadState* __tstate = wxPyBeginAllowThreads();
070c48b4
RD
23909 {
23910 wxPrintData &_result_ref = (arg1)->GetPrintData();
23911 result = (wxPrintData *) &_result_ref;
23912 }
d55e5bfc
RD
23913
23914 wxPyEndAllowThreads(__tstate);
23915 if (PyErr_Occurred()) SWIG_fail;
23916 }
070c48b4 23917 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
d55e5bfc
RD
23918 return resultobj;
23919 fail:
23920 return NULL;
23921}
23922
23923
070c48b4 23924static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23925 PyObject *resultobj = NULL;
d55e5bfc 23926 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
070c48b4 23927 wxDC *result;
d55e5bfc
RD
23928 PyObject * obj0 = 0 ;
23929 char *kwnames[] = {
23930 (char *) "self", NULL
23931 };
23932
070c48b4 23933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
36ed4f51
RD
23934 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
23935 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23936 {
23937 PyThreadState* __tstate = wxPyBeginAllowThreads();
070c48b4 23938 result = (wxDC *)(arg1)->GetPrintDC();
d55e5bfc
RD
23939
23940 wxPyEndAllowThreads(__tstate);
23941 if (PyErr_Occurred()) SWIG_fail;
23942 }
070c48b4 23943 {
7e08d4ef 23944 resultobj = wxPyMake_wxObject(result, (bool)1);
070c48b4 23945 }
d55e5bfc
RD
23946 return resultobj;
23947 fail:
23948 return NULL;
23949}
23950
23951
c370783e 23952static PyObject * PrintDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
23953 PyObject *obj;
23954 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23955 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
23956 Py_INCREF(obj);
23957 return Py_BuildValue((char *)"");
23958}
c370783e 23959static PyObject *_wrap_new_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23960 PyObject *resultobj = NULL;
d55e5bfc
RD
23961 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
23962 wxPrinter *result;
23963 PyObject * obj0 = 0 ;
23964 char *kwnames[] = {
23965 (char *) "data", NULL
23966 };
23967
23968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
23969 if (obj0) {
36ed4f51
RD
23970 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23971 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23972 }
23973 {
0439c23b 23974 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
23975 PyThreadState* __tstate = wxPyBeginAllowThreads();
23976 result = (wxPrinter *)new wxPrinter(arg1);
23977
23978 wxPyEndAllowThreads(__tstate);
110da5b0 23979 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
23980 }
23981 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
23982 return resultobj;
23983 fail:
23984 return NULL;
23985}
23986
23987
c370783e 23988static PyObject *_wrap_delete_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23989 PyObject *resultobj = NULL;
d55e5bfc
RD
23990 wxPrinter *arg1 = (wxPrinter *) 0 ;
23991 PyObject * obj0 = 0 ;
23992 char *kwnames[] = {
23993 (char *) "self", NULL
23994 };
23995
23996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
36ed4f51
RD
23997 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
23998 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23999 {
24000 PyThreadState* __tstate = wxPyBeginAllowThreads();
24001 delete arg1;
24002
24003 wxPyEndAllowThreads(__tstate);
24004 if (PyErr_Occurred()) SWIG_fail;
24005 }
24006 Py_INCREF(Py_None); resultobj = Py_None;
24007 return resultobj;
24008 fail:
24009 return NULL;
24010}
24011
24012
c370783e 24013static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24014 PyObject *resultobj = NULL;
d55e5bfc
RD
24015 wxPrinter *arg1 = (wxPrinter *) 0 ;
24016 wxWindow *arg2 = (wxWindow *) 0 ;
24017 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
070c48b4 24018 wxWindow *result;
d55e5bfc
RD
24019 PyObject * obj0 = 0 ;
24020 PyObject * obj1 = 0 ;
24021 PyObject * obj2 = 0 ;
24022 char *kwnames[] = {
24023 (char *) "self",(char *) "parent",(char *) "printout", NULL
24024 };
24025
24026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24028 if (SWIG_arg_fail(1)) SWIG_fail;
24029 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24030 if (SWIG_arg_fail(2)) SWIG_fail;
24031 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24032 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
24033 {
24034 PyThreadState* __tstate = wxPyBeginAllowThreads();
070c48b4 24035 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
d55e5bfc
RD
24036
24037 wxPyEndAllowThreads(__tstate);
24038 if (PyErr_Occurred()) SWIG_fail;
24039 }
d55e5bfc 24040 {
070c48b4 24041 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc 24042 }
d55e5bfc
RD
24043 return resultobj;
24044 fail:
24045 return NULL;
24046}
24047
24048
070c48b4 24049static PyObject *_wrap_Printer_ReportError(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24050 PyObject *resultobj = NULL;
d55e5bfc
RD
24051 wxPrinter *arg1 = (wxPrinter *) 0 ;
24052 wxWindow *arg2 = (wxWindow *) 0 ;
24053 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
070c48b4
RD
24054 wxString *arg4 = 0 ;
24055 bool temp4 = false ;
d55e5bfc
RD
24056 PyObject * obj0 = 0 ;
24057 PyObject * obj1 = 0 ;
24058 PyObject * obj2 = 0 ;
24059 PyObject * obj3 = 0 ;
24060 char *kwnames[] = {
070c48b4 24061 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
d55e5bfc
RD
24062 };
24063
070c48b4 24064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
24065 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24066 if (SWIG_arg_fail(1)) SWIG_fail;
24067 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24068 if (SWIG_arg_fail(2)) SWIG_fail;
24069 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24070 if (SWIG_arg_fail(3)) SWIG_fail;
070c48b4
RD
24071 {
24072 arg4 = wxString_in_helper(obj3);
24073 if (arg4 == NULL) SWIG_fail;
24074 temp4 = true;
d55e5bfc
RD
24075 }
24076 {
24077 PyThreadState* __tstate = wxPyBeginAllowThreads();
070c48b4 24078 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
d55e5bfc
RD
24079
24080 wxPyEndAllowThreads(__tstate);
24081 if (PyErr_Occurred()) SWIG_fail;
24082 }
070c48b4 24083 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc 24084 {
070c48b4
RD
24085 if (temp4)
24086 delete arg4;
d55e5bfc
RD
24087 }
24088 return resultobj;
24089 fail:
070c48b4
RD
24090 {
24091 if (temp4)
24092 delete arg4;
24093 }
d55e5bfc
RD
24094 return NULL;
24095}
24096
24097
070c48b4 24098static PyObject *_wrap_Printer_Setup(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24099 PyObject *resultobj = NULL;
d55e5bfc
RD
24100 wxPrinter *arg1 = (wxPrinter *) 0 ;
24101 wxWindow *arg2 = (wxWindow *) 0 ;
070c48b4 24102 bool result;
d55e5bfc
RD
24103 PyObject * obj0 = 0 ;
24104 PyObject * obj1 = 0 ;
24105 char *kwnames[] = {
24106 (char *) "self",(char *) "parent", NULL
24107 };
24108
070c48b4 24109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24110 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24111 if (SWIG_arg_fail(1)) SWIG_fail;
24112 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24113 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24114 {
24115 PyThreadState* __tstate = wxPyBeginAllowThreads();
070c48b4 24116 result = (bool)(arg1)->Setup(arg2);
d55e5bfc
RD
24117
24118 wxPyEndAllowThreads(__tstate);
24119 if (PyErr_Occurred()) SWIG_fail;
24120 }
24121 {
070c48b4 24122 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d55e5bfc
RD
24123 }
24124 return resultobj;
24125 fail:
24126 return NULL;
24127}
24128
24129
070c48b4 24130static PyObject *_wrap_Printer_Print(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24131 PyObject *resultobj = NULL;
d55e5bfc
RD
24132 wxPrinter *arg1 = (wxPrinter *) 0 ;
24133 wxWindow *arg2 = (wxWindow *) 0 ;
24134 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
070c48b4
RD
24135 bool arg4 = (bool) true ;
24136 bool result;
d55e5bfc
RD
24137 PyObject * obj0 = 0 ;
24138 PyObject * obj1 = 0 ;
24139 PyObject * obj2 = 0 ;
24140 PyObject * obj3 = 0 ;
24141 char *kwnames[] = {
070c48b4 24142 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
d55e5bfc
RD
24143 };
24144
070c48b4 24145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
24146 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24147 if (SWIG_arg_fail(1)) SWIG_fail;
24148 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24149 if (SWIG_arg_fail(2)) SWIG_fail;
24150 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24151 if (SWIG_arg_fail(3)) SWIG_fail;
070c48b4 24152 if (obj3) {
36ed4f51 24153 {
32fe5131 24154 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
36ed4f51
RD
24155 if (SWIG_arg_fail(4)) SWIG_fail;
24156 }
d55e5bfc
RD
24157 }
24158 {
24159 PyThreadState* __tstate = wxPyBeginAllowThreads();
070c48b4 24160 result = (bool)(arg1)->Print(arg2,arg3,arg4);
d55e5bfc
RD
24161
24162 wxPyEndAllowThreads(__tstate);
24163 if (PyErr_Occurred()) SWIG_fail;
24164 }
d55e5bfc 24165 {
070c48b4 24166 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d55e5bfc
RD
24167 }
24168 return resultobj;
24169 fail:
d55e5bfc
RD
24170 return NULL;
24171}
24172
24173
070c48b4 24174static PyObject *_wrap_Printer_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24175 PyObject *resultobj = NULL;
d55e5bfc
RD
24176 wxPrinter *arg1 = (wxPrinter *) 0 ;
24177 wxWindow *arg2 = (wxWindow *) 0 ;
070c48b4 24178 wxDC *result;
d55e5bfc
RD
24179 PyObject * obj0 = 0 ;
24180 PyObject * obj1 = 0 ;
24181 char *kwnames[] = {
24182 (char *) "self",(char *) "parent", NULL
24183 };
24184
070c48b4 24185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24187 if (SWIG_arg_fail(1)) SWIG_fail;
24188 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24189 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24190 {
24191 PyThreadState* __tstate = wxPyBeginAllowThreads();
070c48b4 24192 result = (wxDC *)(arg1)->PrintDialog(arg2);
d55e5bfc
RD
24193
24194 wxPyEndAllowThreads(__tstate);
24195 if (PyErr_Occurred()) SWIG_fail;
24196 }
24197 {
7e08d4ef 24198 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
24199 }
24200 return resultobj;
24201 fail:
24202 return NULL;
24203}
24204
24205
070c48b4 24206static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24207 PyObject *resultobj = NULL;
070c48b4
RD
24208 wxPrinter *arg1 = (wxPrinter *) 0 ;
24209 wxPrintDialogData *result;
24210 PyObject * obj0 = 0 ;
24211 char *kwnames[] = {
24212 (char *) "self", NULL
24213 };
24214
24215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
36ed4f51
RD
24216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24217 if (SWIG_arg_fail(1)) SWIG_fail;
070c48b4
RD
24218 {
24219 PyThreadState* __tstate = wxPyBeginAllowThreads();
24220 {
24221 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
24222 result = (wxPrintDialogData *) &_result_ref;
24223 }
24224
24225 wxPyEndAllowThreads(__tstate);
24226 if (PyErr_Occurred()) SWIG_fail;
24227 }
24228 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
24229 return resultobj;
24230 fail:
24231 return NULL;
24232}
24233
24234
c370783e 24235static PyObject *_wrap_Printer_GetAbort(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24236 PyObject *resultobj = NULL;
d55e5bfc
RD
24237 wxPrinter *arg1 = (wxPrinter *) 0 ;
24238 bool result;
24239 PyObject * obj0 = 0 ;
24240 char *kwnames[] = {
24241 (char *) "self", NULL
24242 };
24243
24244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
36ed4f51
RD
24245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24246 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24247 {
24248 PyThreadState* __tstate = wxPyBeginAllowThreads();
24249 result = (bool)(arg1)->GetAbort();
24250
24251 wxPyEndAllowThreads(__tstate);
24252 if (PyErr_Occurred()) SWIG_fail;
24253 }
24254 {
24255 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24256 }
24257 return resultobj;
24258 fail:
24259 return NULL;
24260}
24261
24262
c370783e 24263static PyObject *_wrap_Printer_GetLastError(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24264 PyObject *resultobj = NULL;
36ed4f51 24265 wxPrinterError result;
d55e5bfc
RD
24266 char *kwnames[] = {
24267 NULL
24268 };
24269
24270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
24271 {
24272 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 24273 result = (wxPrinterError)wxPrinter::GetLastError();
d55e5bfc
RD
24274
24275 wxPyEndAllowThreads(__tstate);
24276 if (PyErr_Occurred()) SWIG_fail;
24277 }
36ed4f51 24278 resultobj = SWIG_From_int((result));
d55e5bfc
RD
24279 return resultobj;
24280 fail:
24281 return NULL;
24282}
24283
24284
c370783e 24285static PyObject * Printer_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
24286 PyObject *obj;
24287 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24288 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
24289 Py_INCREF(obj);
24290 return Py_BuildValue((char *)"");
24291}
c370783e 24292static PyObject *_wrap_new_Printout(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24293 PyObject *resultobj = NULL;
d55e5bfc
RD
24294 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
24295 wxString *arg1 = (wxString *) &arg1_defvalue ;
24296 wxPyPrintout *result;
b411df4a 24297 bool temp1 = false ;
d55e5bfc
RD
24298 PyObject * obj0 = 0 ;
24299 char *kwnames[] = {
24300 (char *) "title", NULL
24301 };
24302
24303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
24304 if (obj0) {
24305 {
24306 arg1 = wxString_in_helper(obj0);
24307 if (arg1 == NULL) SWIG_fail;
b411df4a 24308 temp1 = true;
d55e5bfc
RD
24309 }
24310 }
24311 {
0439c23b 24312 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
24313 PyThreadState* __tstate = wxPyBeginAllowThreads();
24314 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
24315
24316 wxPyEndAllowThreads(__tstate);
110da5b0 24317 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
24318 }
24319 {
7e08d4ef 24320 resultobj = wxPyMake_wxObject(result, (bool)1);
d55e5bfc
RD
24321 }
24322 {
24323 if (temp1)
24324 delete arg1;
24325 }
24326 return resultobj;
24327 fail:
24328 {
24329 if (temp1)
24330 delete arg1;
24331 }
24332 return NULL;
24333}
24334
24335
c370783e 24336static PyObject *_wrap_Printout__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24337 PyObject *resultobj = NULL;
d55e5bfc
RD
24338 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24339 PyObject *arg2 = (PyObject *) 0 ;
24340 PyObject *arg3 = (PyObject *) 0 ;
24341 PyObject * obj0 = 0 ;
24342 PyObject * obj1 = 0 ;
24343 PyObject * obj2 = 0 ;
24344 char *kwnames[] = {
24345 (char *) "self",(char *) "self",(char *) "_class", NULL
24346 };
24347
24348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24349 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24350 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24351 arg2 = obj1;
24352 arg3 = obj2;
24353 {
24354 PyThreadState* __tstate = wxPyBeginAllowThreads();
24355 (arg1)->_setCallbackInfo(arg2,arg3);
24356
24357 wxPyEndAllowThreads(__tstate);
24358 if (PyErr_Occurred()) SWIG_fail;
24359 }
24360 Py_INCREF(Py_None); resultobj = Py_None;
24361 return resultobj;
24362 fail:
24363 return NULL;
24364}
24365
24366
c370783e 24367static PyObject *_wrap_Printout_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24368 PyObject *resultobj = NULL;
d55e5bfc
RD
24369 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24370 wxString result;
24371 PyObject * obj0 = 0 ;
24372 char *kwnames[] = {
24373 (char *) "self", NULL
24374 };
24375
24376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
36ed4f51
RD
24377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24378 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24379 {
24380 PyThreadState* __tstate = wxPyBeginAllowThreads();
24381 result = ((wxPyPrintout const *)arg1)->GetTitle();
24382
24383 wxPyEndAllowThreads(__tstate);
24384 if (PyErr_Occurred()) SWIG_fail;
24385 }
24386 {
24387#if wxUSE_UNICODE
24388 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24389#else
24390 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24391#endif
24392 }
24393 return resultobj;
24394 fail:
24395 return NULL;
24396}
24397
24398
c370783e 24399static PyObject *_wrap_Printout_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24400 PyObject *resultobj = NULL;
d55e5bfc
RD
24401 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24402 wxDC *result;
24403 PyObject * obj0 = 0 ;
24404 char *kwnames[] = {
24405 (char *) "self", NULL
24406 };
24407
24408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
36ed4f51
RD
24409 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24410 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24411 {
24412 PyThreadState* __tstate = wxPyBeginAllowThreads();
24413 result = (wxDC *)(arg1)->GetDC();
24414
24415 wxPyEndAllowThreads(__tstate);
24416 if (PyErr_Occurred()) SWIG_fail;
24417 }
24418 {
7e08d4ef 24419 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
24420 }
24421 return resultobj;
24422 fail:
24423 return NULL;
24424}
24425
24426
c370783e 24427static PyObject *_wrap_Printout_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24428 PyObject *resultobj = NULL;
d55e5bfc
RD
24429 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24430 wxDC *arg2 = (wxDC *) 0 ;
24431 PyObject * obj0 = 0 ;
24432 PyObject * obj1 = 0 ;
24433 char *kwnames[] = {
24434 (char *) "self",(char *) "dc", NULL
24435 };
24436
24437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24438 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24439 if (SWIG_arg_fail(1)) SWIG_fail;
24440 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
24441 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24442 {
24443 PyThreadState* __tstate = wxPyBeginAllowThreads();
24444 (arg1)->SetDC(arg2);
24445
24446 wxPyEndAllowThreads(__tstate);
24447 if (PyErr_Occurred()) SWIG_fail;
24448 }
24449 Py_INCREF(Py_None); resultobj = Py_None;
24450 return resultobj;
24451 fail:
24452 return NULL;
24453}
24454
24455
c370783e 24456static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24457 PyObject *resultobj = NULL;
d55e5bfc
RD
24458 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24459 int arg2 ;
24460 int arg3 ;
24461 PyObject * obj0 = 0 ;
24462 PyObject * obj1 = 0 ;
24463 PyObject * obj2 = 0 ;
24464 char *kwnames[] = {
24465 (char *) "self",(char *) "w",(char *) "h", NULL
24466 };
24467
24468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24469 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24470 if (SWIG_arg_fail(1)) SWIG_fail;
24471 {
32fe5131 24472 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
24473 if (SWIG_arg_fail(2)) SWIG_fail;
24474 }
24475 {
32fe5131 24476 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
24477 if (SWIG_arg_fail(3)) SWIG_fail;
24478 }
d55e5bfc
RD
24479 {
24480 PyThreadState* __tstate = wxPyBeginAllowThreads();
24481 (arg1)->SetPageSizePixels(arg2,arg3);
24482
24483 wxPyEndAllowThreads(__tstate);
24484 if (PyErr_Occurred()) SWIG_fail;
24485 }
24486 Py_INCREF(Py_None); resultobj = Py_None;
24487 return resultobj;
24488 fail:
24489 return NULL;
24490}
24491
24492
c370783e 24493static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24494 PyObject *resultobj = NULL;
d55e5bfc
RD
24495 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24496 int *arg2 = (int *) 0 ;
24497 int *arg3 = (int *) 0 ;
24498 int temp2 ;
c370783e 24499 int res2 = 0 ;
d55e5bfc 24500 int temp3 ;
c370783e 24501 int res3 = 0 ;
d55e5bfc
RD
24502 PyObject * obj0 = 0 ;
24503 char *kwnames[] = {
24504 (char *) "self", NULL
24505 };
24506
c370783e
RD
24507 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24508 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 24509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
36ed4f51
RD
24510 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24511 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24512 {
24513 PyThreadState* __tstate = wxPyBeginAllowThreads();
24514 (arg1)->GetPageSizePixels(arg2,arg3);
24515
24516 wxPyEndAllowThreads(__tstate);
24517 if (PyErr_Occurred()) SWIG_fail;
24518 }
24519 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
24520 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24521 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24522 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24523 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
24524 return resultobj;
24525 fail:
24526 return NULL;
24527}
24528
24529
c370783e 24530static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24531 PyObject *resultobj = NULL;
d55e5bfc
RD
24532 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24533 int arg2 ;
24534 int arg3 ;
24535 PyObject * obj0 = 0 ;
24536 PyObject * obj1 = 0 ;
24537 PyObject * obj2 = 0 ;
24538 char *kwnames[] = {
24539 (char *) "self",(char *) "w",(char *) "h", NULL
24540 };
24541
24542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24543 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24544 if (SWIG_arg_fail(1)) SWIG_fail;
24545 {
32fe5131 24546 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
24547 if (SWIG_arg_fail(2)) SWIG_fail;
24548 }
24549 {
32fe5131 24550 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
24551 if (SWIG_arg_fail(3)) SWIG_fail;
24552 }
d55e5bfc
RD
24553 {
24554 PyThreadState* __tstate = wxPyBeginAllowThreads();
24555 (arg1)->SetPageSizeMM(arg2,arg3);
24556
24557 wxPyEndAllowThreads(__tstate);
24558 if (PyErr_Occurred()) SWIG_fail;
24559 }
24560 Py_INCREF(Py_None); resultobj = Py_None;
24561 return resultobj;
24562 fail:
24563 return NULL;
24564}
24565
24566
c370783e 24567static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24568 PyObject *resultobj = NULL;
d55e5bfc
RD
24569 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24570 int *arg2 = (int *) 0 ;
24571 int *arg3 = (int *) 0 ;
24572 int temp2 ;
c370783e 24573 int res2 = 0 ;
d55e5bfc 24574 int temp3 ;
c370783e 24575 int res3 = 0 ;
d55e5bfc
RD
24576 PyObject * obj0 = 0 ;
24577 char *kwnames[] = {
24578 (char *) "self", NULL
24579 };
24580
c370783e
RD
24581 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24582 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 24583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
36ed4f51
RD
24584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24585 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24586 {
24587 PyThreadState* __tstate = wxPyBeginAllowThreads();
24588 (arg1)->GetPageSizeMM(arg2,arg3);
24589
24590 wxPyEndAllowThreads(__tstate);
24591 if (PyErr_Occurred()) SWIG_fail;
24592 }
24593 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
24594 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24595 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24596 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24597 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
24598 return resultobj;
24599 fail:
24600 return NULL;
24601}
24602
24603
c370783e 24604static PyObject *_wrap_Printout_SetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24605 PyObject *resultobj = NULL;
d55e5bfc
RD
24606 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24607 int arg2 ;
24608 int arg3 ;
24609 PyObject * obj0 = 0 ;
24610 PyObject * obj1 = 0 ;
24611 PyObject * obj2 = 0 ;
24612 char *kwnames[] = {
24613 (char *) "self",(char *) "x",(char *) "y", NULL
24614 };
24615
24616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24617 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24618 if (SWIG_arg_fail(1)) SWIG_fail;
24619 {
32fe5131 24620 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
24621 if (SWIG_arg_fail(2)) SWIG_fail;
24622 }
24623 {
32fe5131 24624 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
24625 if (SWIG_arg_fail(3)) SWIG_fail;
24626 }
d55e5bfc
RD
24627 {
24628 PyThreadState* __tstate = wxPyBeginAllowThreads();
24629 (arg1)->SetPPIScreen(arg2,arg3);
24630
24631 wxPyEndAllowThreads(__tstate);
24632 if (PyErr_Occurred()) SWIG_fail;
24633 }
24634 Py_INCREF(Py_None); resultobj = Py_None;
24635 return resultobj;
24636 fail:
24637 return NULL;
24638}
24639
24640
c370783e 24641static PyObject *_wrap_Printout_GetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24642 PyObject *resultobj = NULL;
d55e5bfc
RD
24643 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24644 int *arg2 = (int *) 0 ;
24645 int *arg3 = (int *) 0 ;
24646 int temp2 ;
c370783e 24647 int res2 = 0 ;
d55e5bfc 24648 int temp3 ;
c370783e 24649 int res3 = 0 ;
d55e5bfc
RD
24650 PyObject * obj0 = 0 ;
24651 char *kwnames[] = {
24652 (char *) "self", NULL
24653 };
24654
c370783e
RD
24655 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24656 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 24657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
36ed4f51
RD
24658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24659 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24660 {
24661 PyThreadState* __tstate = wxPyBeginAllowThreads();
24662 (arg1)->GetPPIScreen(arg2,arg3);
24663
24664 wxPyEndAllowThreads(__tstate);
24665 if (PyErr_Occurred()) SWIG_fail;
24666 }
24667 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
24668 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24669 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24670 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24671 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
24672 return resultobj;
24673 fail:
24674 return NULL;
24675}
24676
24677
c370783e 24678static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24679 PyObject *resultobj = NULL;
d55e5bfc
RD
24680 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24681 int arg2 ;
24682 int arg3 ;
24683 PyObject * obj0 = 0 ;
24684 PyObject * obj1 = 0 ;
24685 PyObject * obj2 = 0 ;
24686 char *kwnames[] = {
24687 (char *) "self",(char *) "x",(char *) "y", NULL
24688 };
24689
24690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24691 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24692 if (SWIG_arg_fail(1)) SWIG_fail;
24693 {
32fe5131 24694 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
24695 if (SWIG_arg_fail(2)) SWIG_fail;
24696 }
24697 {
32fe5131 24698 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
24699 if (SWIG_arg_fail(3)) SWIG_fail;
24700 }
d55e5bfc
RD
24701 {
24702 PyThreadState* __tstate = wxPyBeginAllowThreads();
24703 (arg1)->SetPPIPrinter(arg2,arg3);
24704
24705 wxPyEndAllowThreads(__tstate);
24706 if (PyErr_Occurred()) SWIG_fail;
24707 }
24708 Py_INCREF(Py_None); resultobj = Py_None;
24709 return resultobj;
24710 fail:
24711 return NULL;
24712}
24713
24714
c370783e 24715static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24716 PyObject *resultobj = NULL;
d55e5bfc
RD
24717 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24718 int *arg2 = (int *) 0 ;
24719 int *arg3 = (int *) 0 ;
24720 int temp2 ;
c370783e 24721 int res2 = 0 ;
d55e5bfc 24722 int temp3 ;
c370783e 24723 int res3 = 0 ;
d55e5bfc
RD
24724 PyObject * obj0 = 0 ;
24725 char *kwnames[] = {
24726 (char *) "self", NULL
24727 };
24728
c370783e
RD
24729 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24730 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 24731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
36ed4f51
RD
24732 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24733 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24734 {
24735 PyThreadState* __tstate = wxPyBeginAllowThreads();
24736 (arg1)->GetPPIPrinter(arg2,arg3);
24737
24738 wxPyEndAllowThreads(__tstate);
24739 if (PyErr_Occurred()) SWIG_fail;
24740 }
24741 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
24742 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24743 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24744 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24745 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
24746 return resultobj;
24747 fail:
24748 return NULL;
24749}
24750
24751
c370783e 24752static PyObject *_wrap_Printout_IsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24753 PyObject *resultobj = NULL;
d55e5bfc
RD
24754 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24755 bool result;
24756 PyObject * obj0 = 0 ;
24757 char *kwnames[] = {
24758 (char *) "self", NULL
24759 };
24760
24761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
36ed4f51
RD
24762 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24763 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24764 {
24765 PyThreadState* __tstate = wxPyBeginAllowThreads();
24766 result = (bool)(arg1)->IsPreview();
24767
24768 wxPyEndAllowThreads(__tstate);
24769 if (PyErr_Occurred()) SWIG_fail;
24770 }
24771 {
24772 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24773 }
24774 return resultobj;
24775 fail:
24776 return NULL;
24777}
24778
24779
c370783e 24780static PyObject *_wrap_Printout_SetIsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24781 PyObject *resultobj = NULL;
d55e5bfc
RD
24782 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24783 bool arg2 ;
24784 PyObject * obj0 = 0 ;
24785 PyObject * obj1 = 0 ;
24786 char *kwnames[] = {
24787 (char *) "self",(char *) "p", NULL
24788 };
24789
24790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24791 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24792 if (SWIG_arg_fail(1)) SWIG_fail;
24793 {
32fe5131 24794 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
24795 if (SWIG_arg_fail(2)) SWIG_fail;
24796 }
d55e5bfc
RD
24797 {
24798 PyThreadState* __tstate = wxPyBeginAllowThreads();
24799 (arg1)->SetIsPreview(arg2);
24800
24801 wxPyEndAllowThreads(__tstate);
24802 if (PyErr_Occurred()) SWIG_fail;
24803 }
24804 Py_INCREF(Py_None); resultobj = Py_None;
24805 return resultobj;
24806 fail:
24807 return NULL;
24808}
24809
24810
c370783e 24811static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24812 PyObject *resultobj = NULL;
d55e5bfc
RD
24813 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24814 int arg2 ;
24815 int arg3 ;
24816 bool result;
24817 PyObject * obj0 = 0 ;
24818 PyObject * obj1 = 0 ;
24819 PyObject * obj2 = 0 ;
24820 char *kwnames[] = {
24821 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
24822 };
24823
24824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24825 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24826 if (SWIG_arg_fail(1)) SWIG_fail;
24827 {
32fe5131 24828 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
24829 if (SWIG_arg_fail(2)) SWIG_fail;
24830 }
24831 {
32fe5131 24832 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
24833 if (SWIG_arg_fail(3)) SWIG_fail;
24834 }
d55e5bfc
RD
24835 {
24836 PyThreadState* __tstate = wxPyBeginAllowThreads();
24837 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
24838
24839 wxPyEndAllowThreads(__tstate);
24840 if (PyErr_Occurred()) SWIG_fail;
24841 }
24842 {
24843 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24844 }
24845 return resultobj;
24846 fail:
24847 return NULL;
24848}
24849
24850
c370783e 24851static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24852 PyObject *resultobj = NULL;
d55e5bfc
RD
24853 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24854 PyObject * obj0 = 0 ;
24855 char *kwnames[] = {
24856 (char *) "self", NULL
24857 };
24858
24859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
36ed4f51
RD
24860 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24861 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24862 {
24863 PyThreadState* __tstate = wxPyBeginAllowThreads();
24864 (arg1)->base_OnEndDocument();
24865
24866 wxPyEndAllowThreads(__tstate);
24867 if (PyErr_Occurred()) SWIG_fail;
24868 }
24869 Py_INCREF(Py_None); resultobj = Py_None;
24870 return resultobj;
24871 fail:
24872 return NULL;
24873}
24874
24875
c370783e 24876static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24877 PyObject *resultobj = NULL;
d55e5bfc
RD
24878 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24879 PyObject * obj0 = 0 ;
24880 char *kwnames[] = {
24881 (char *) "self", NULL
24882 };
24883
24884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
36ed4f51
RD
24885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24886 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24887 {
24888 PyThreadState* __tstate = wxPyBeginAllowThreads();
24889 (arg1)->base_OnBeginPrinting();
24890
24891 wxPyEndAllowThreads(__tstate);
24892 if (PyErr_Occurred()) SWIG_fail;
24893 }
24894 Py_INCREF(Py_None); resultobj = Py_None;
24895 return resultobj;
24896 fail:
24897 return NULL;
24898}
24899
24900
c370783e 24901static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24902 PyObject *resultobj = NULL;
d55e5bfc
RD
24903 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24904 PyObject * obj0 = 0 ;
24905 char *kwnames[] = {
24906 (char *) "self", NULL
24907 };
24908
24909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
36ed4f51
RD
24910 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24911 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24912 {
24913 PyThreadState* __tstate = wxPyBeginAllowThreads();
24914 (arg1)->base_OnEndPrinting();
24915
24916 wxPyEndAllowThreads(__tstate);
24917 if (PyErr_Occurred()) SWIG_fail;
24918 }
24919 Py_INCREF(Py_None); resultobj = Py_None;
24920 return resultobj;
24921 fail:
24922 return NULL;
24923}
24924
24925
c370783e 24926static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24927 PyObject *resultobj = NULL;
d55e5bfc
RD
24928 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24929 PyObject * obj0 = 0 ;
24930 char *kwnames[] = {
24931 (char *) "self", NULL
24932 };
24933
24934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
36ed4f51
RD
24935 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24936 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24937 {
24938 PyThreadState* __tstate = wxPyBeginAllowThreads();
24939 (arg1)->base_OnPreparePrinting();
24940
24941 wxPyEndAllowThreads(__tstate);
24942 if (PyErr_Occurred()) SWIG_fail;
24943 }
24944 Py_INCREF(Py_None); resultobj = Py_None;
24945 return resultobj;
24946 fail:
24947 return NULL;
24948}
24949
24950
c370783e 24951static PyObject *_wrap_Printout_base_HasPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24952 PyObject *resultobj = NULL;
d55e5bfc
RD
24953 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24954 int arg2 ;
24955 bool result;
24956 PyObject * obj0 = 0 ;
24957 PyObject * obj1 = 0 ;
24958 char *kwnames[] = {
24959 (char *) "self",(char *) "page", NULL
24960 };
24961
24962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24963 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24964 if (SWIG_arg_fail(1)) SWIG_fail;
24965 {
32fe5131 24966 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
24967 if (SWIG_arg_fail(2)) SWIG_fail;
24968 }
d55e5bfc
RD
24969 {
24970 PyThreadState* __tstate = wxPyBeginAllowThreads();
24971 result = (bool)(arg1)->base_HasPage(arg2);
24972
24973 wxPyEndAllowThreads(__tstate);
24974 if (PyErr_Occurred()) SWIG_fail;
24975 }
24976 {
24977 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24978 }
24979 return resultobj;
24980 fail:
24981 return NULL;
24982}
24983
24984
c370783e 24985static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24986 PyObject *resultobj = NULL;
d55e5bfc
RD
24987 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24988 int *arg2 = (int *) 0 ;
24989 int *arg3 = (int *) 0 ;
24990 int *arg4 = (int *) 0 ;
24991 int *arg5 = (int *) 0 ;
24992 int temp2 ;
c370783e 24993 int res2 = 0 ;
d55e5bfc 24994 int temp3 ;
c370783e 24995 int res3 = 0 ;
d55e5bfc 24996 int temp4 ;
c370783e 24997 int res4 = 0 ;
d55e5bfc 24998 int temp5 ;
c370783e 24999 int res5 = 0 ;
d55e5bfc
RD
25000 PyObject * obj0 = 0 ;
25001 char *kwnames[] = {
25002 (char *) "self", NULL
25003 };
25004
c370783e
RD
25005 arg2 = &temp2; res2 = SWIG_NEWOBJ;
25006 arg3 = &temp3; res3 = SWIG_NEWOBJ;
25007 arg4 = &temp4; res4 = SWIG_NEWOBJ;
25008 arg5 = &temp5; res5 = SWIG_NEWOBJ;
d55e5bfc 25009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
36ed4f51
RD
25010 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25011 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25012 {
25013 PyThreadState* __tstate = wxPyBeginAllowThreads();
25014 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
25015
25016 wxPyEndAllowThreads(__tstate);
25017 if (PyErr_Occurred()) SWIG_fail;
25018 }
25019 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
25020 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
25021 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
25022 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25023 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
25024 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
25025 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
25026 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
25027 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
25028 return resultobj;
25029 fail:
25030 return NULL;
25031}
25032
25033
c370783e 25034static PyObject * Printout_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
25035 PyObject *obj;
25036 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25037 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
25038 Py_INCREF(obj);
25039 return Py_BuildValue((char *)"");
25040}
c370783e 25041static PyObject *_wrap_new_PreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25042 PyObject *resultobj = NULL;
d55e5bfc
RD
25043 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25044 wxWindow *arg2 = (wxWindow *) 0 ;
25045 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25046 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25047 wxSize const &arg4_defvalue = wxDefaultSize ;
25048 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25049 long arg5 = (long) 0 ;
25050 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
25051 wxString *arg6 = (wxString *) &arg6_defvalue ;
25052 wxPreviewCanvas *result;
25053 wxPoint temp3 ;
25054 wxSize temp4 ;
b411df4a 25055 bool temp6 = false ;
d55e5bfc
RD
25056 PyObject * obj0 = 0 ;
25057 PyObject * obj1 = 0 ;
25058 PyObject * obj2 = 0 ;
25059 PyObject * obj3 = 0 ;
25060 PyObject * obj4 = 0 ;
25061 PyObject * obj5 = 0 ;
25062 char *kwnames[] = {
25063 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25064 };
25065
25066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
25067 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25068 if (SWIG_arg_fail(1)) SWIG_fail;
25069 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25070 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25071 if (obj2) {
25072 {
25073 arg3 = &temp3;
25074 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25075 }
25076 }
25077 if (obj3) {
25078 {
25079 arg4 = &temp4;
25080 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25081 }
25082 }
25083 if (obj4) {
36ed4f51 25084 {
32fe5131 25085 arg5 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
25086 if (SWIG_arg_fail(5)) SWIG_fail;
25087 }
d55e5bfc
RD
25088 }
25089 if (obj5) {
25090 {
25091 arg6 = wxString_in_helper(obj5);
25092 if (arg6 == NULL) SWIG_fail;
b411df4a 25093 temp6 = true;
d55e5bfc
RD
25094 }
25095 }
25096 {
0439c23b 25097 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
25098 PyThreadState* __tstate = wxPyBeginAllowThreads();
25099 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
25100
25101 wxPyEndAllowThreads(__tstate);
110da5b0 25102 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
25103 }
25104 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
25105 {
25106 if (temp6)
25107 delete arg6;
25108 }
25109 return resultobj;
25110 fail:
25111 {
25112 if (temp6)
25113 delete arg6;
25114 }
25115 return NULL;
25116}
25117
25118
c370783e 25119static PyObject * PreviewCanvas_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
25120 PyObject *obj;
25121 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25122 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
25123 Py_INCREF(obj);
25124 return Py_BuildValue((char *)"");
25125}
c370783e 25126static PyObject *_wrap_new_PreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25127 PyObject *resultobj = NULL;
d55e5bfc
RD
25128 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25129 wxFrame *arg2 = (wxFrame *) 0 ;
25130 wxString *arg3 = 0 ;
25131 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25132 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25133 wxSize const &arg5_defvalue = wxDefaultSize ;
25134 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25135 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
25136 wxString const &arg7_defvalue = wxPyFrameNameStr ;
25137 wxString *arg7 = (wxString *) &arg7_defvalue ;
25138 wxPreviewFrame *result;
b411df4a 25139 bool temp3 = false ;
d55e5bfc
RD
25140 wxPoint temp4 ;
25141 wxSize temp5 ;
b411df4a 25142 bool temp7 = false ;
d55e5bfc
RD
25143 PyObject * obj0 = 0 ;
25144 PyObject * obj1 = 0 ;
25145 PyObject * obj2 = 0 ;
25146 PyObject * obj3 = 0 ;
25147 PyObject * obj4 = 0 ;
25148 PyObject * obj5 = 0 ;
25149 PyObject * obj6 = 0 ;
25150 char *kwnames[] = {
25151 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25152 };
25153
25154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
25155 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25156 if (SWIG_arg_fail(1)) SWIG_fail;
25157 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
25158 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25159 {
25160 arg3 = wxString_in_helper(obj2);
25161 if (arg3 == NULL) SWIG_fail;
b411df4a 25162 temp3 = true;
d55e5bfc
RD
25163 }
25164 if (obj3) {
25165 {
25166 arg4 = &temp4;
25167 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25168 }
25169 }
25170 if (obj4) {
25171 {
25172 arg5 = &temp5;
25173 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25174 }
25175 }
25176 if (obj5) {
36ed4f51 25177 {
32fe5131 25178 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
25179 if (SWIG_arg_fail(6)) SWIG_fail;
25180 }
d55e5bfc
RD
25181 }
25182 if (obj6) {
25183 {
25184 arg7 = wxString_in_helper(obj6);
25185 if (arg7 == NULL) SWIG_fail;
b411df4a 25186 temp7 = true;
d55e5bfc
RD
25187 }
25188 }
25189 {
0439c23b 25190 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
25191 PyThreadState* __tstate = wxPyBeginAllowThreads();
25192 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25193
25194 wxPyEndAllowThreads(__tstate);
110da5b0 25195 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
25196 }
25197 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
25198 {
25199 if (temp3)
25200 delete arg3;
25201 }
25202 {
25203 if (temp7)
25204 delete arg7;
25205 }
25206 return resultobj;
25207 fail:
25208 {
25209 if (temp3)
25210 delete arg3;
25211 }
25212 {
25213 if (temp7)
25214 delete arg7;
25215 }
25216 return NULL;
25217}
25218
25219
c370783e 25220static PyObject *_wrap_PreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25221 PyObject *resultobj = NULL;
d55e5bfc
RD
25222 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25223 PyObject * obj0 = 0 ;
25224 char *kwnames[] = {
25225 (char *) "self", NULL
25226 };
25227
25228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
36ed4f51
RD
25229 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25230 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25231 {
25232 PyThreadState* __tstate = wxPyBeginAllowThreads();
25233 (arg1)->Initialize();
25234
25235 wxPyEndAllowThreads(__tstate);
25236 if (PyErr_Occurred()) SWIG_fail;
25237 }
25238 Py_INCREF(Py_None); resultobj = Py_None;
25239 return resultobj;
25240 fail:
25241 return NULL;
25242}
25243
25244
c370783e 25245static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25246 PyObject *resultobj = NULL;
d55e5bfc
RD
25247 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25248 PyObject * obj0 = 0 ;
25249 char *kwnames[] = {
25250 (char *) "self", NULL
25251 };
25252
25253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
36ed4f51
RD
25254 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25255 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25256 {
25257 PyThreadState* __tstate = wxPyBeginAllowThreads();
25258 (arg1)->CreateControlBar();
25259
25260 wxPyEndAllowThreads(__tstate);
25261 if (PyErr_Occurred()) SWIG_fail;
25262 }
25263 Py_INCREF(Py_None); resultobj = Py_None;
25264 return resultobj;
25265 fail:
25266 return NULL;
25267}
25268
25269
c370783e 25270static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25271 PyObject *resultobj = NULL;
d55e5bfc
RD
25272 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25273 PyObject * obj0 = 0 ;
25274 char *kwnames[] = {
25275 (char *) "self", NULL
25276 };
25277
25278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
36ed4f51
RD
25279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25280 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25281 {
25282 PyThreadState* __tstate = wxPyBeginAllowThreads();
25283 (arg1)->CreateCanvas();
25284
25285 wxPyEndAllowThreads(__tstate);
25286 if (PyErr_Occurred()) SWIG_fail;
25287 }
25288 Py_INCREF(Py_None); resultobj = Py_None;
25289 return resultobj;
25290 fail:
25291 return NULL;
25292}
25293
25294
c370783e 25295static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25296 PyObject *resultobj = NULL;
d55e5bfc
RD
25297 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25298 wxPreviewControlBar *result;
25299 PyObject * obj0 = 0 ;
25300 char *kwnames[] = {
25301 (char *) "self", NULL
25302 };
25303
25304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
36ed4f51
RD
25305 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25306 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25307 {
25308 PyThreadState* __tstate = wxPyBeginAllowThreads();
25309 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
25310
25311 wxPyEndAllowThreads(__tstate);
25312 if (PyErr_Occurred()) SWIG_fail;
25313 }
25314 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
25315 return resultobj;
25316 fail:
25317 return NULL;
25318}
25319
25320
c370783e 25321static PyObject * PreviewFrame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
25322 PyObject *obj;
25323 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25324 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
25325 Py_INCREF(obj);
25326 return Py_BuildValue((char *)"");
25327}
c370783e 25328static PyObject *_wrap_new_PreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25329 PyObject *resultobj = NULL;
d55e5bfc
RD
25330 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25331 long arg2 ;
25332 wxWindow *arg3 = (wxWindow *) 0 ;
25333 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25334 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25335 wxSize const &arg5_defvalue = wxDefaultSize ;
25336 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25337 long arg6 = (long) wxTAB_TRAVERSAL ;
25338 wxString const &arg7_defvalue = wxPyPanelNameStr ;
25339 wxString *arg7 = (wxString *) &arg7_defvalue ;
25340 wxPreviewControlBar *result;
25341 wxPoint temp4 ;
25342 wxSize temp5 ;
b411df4a 25343 bool temp7 = false ;
d55e5bfc
RD
25344 PyObject * obj0 = 0 ;
25345 PyObject * obj1 = 0 ;
25346 PyObject * obj2 = 0 ;
25347 PyObject * obj3 = 0 ;
25348 PyObject * obj4 = 0 ;
25349 PyObject * obj5 = 0 ;
25350 PyObject * obj6 = 0 ;
25351 char *kwnames[] = {
25352 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25353 };
25354
25355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
25356 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25357 if (SWIG_arg_fail(1)) SWIG_fail;
25358 {
32fe5131 25359 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
25360 if (SWIG_arg_fail(2)) SWIG_fail;
25361 }
25362 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25363 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
25364 if (obj3) {
25365 {
25366 arg4 = &temp4;
25367 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25368 }
25369 }
25370 if (obj4) {
25371 {
25372 arg5 = &temp5;
25373 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25374 }
25375 }
25376 if (obj5) {
36ed4f51 25377 {
32fe5131 25378 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
25379 if (SWIG_arg_fail(6)) SWIG_fail;
25380 }
d55e5bfc
RD
25381 }
25382 if (obj6) {
25383 {
25384 arg7 = wxString_in_helper(obj6);
25385 if (arg7 == NULL) SWIG_fail;
b411df4a 25386 temp7 = true;
d55e5bfc
RD
25387 }
25388 }
25389 {
0439c23b 25390 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
25391 PyThreadState* __tstate = wxPyBeginAllowThreads();
25392 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25393
25394 wxPyEndAllowThreads(__tstate);
110da5b0 25395 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
25396 }
25397 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
25398 {
25399 if (temp7)
25400 delete arg7;
25401 }
25402 return resultobj;
25403 fail:
25404 {
25405 if (temp7)
25406 delete arg7;
25407 }
25408 return NULL;
25409}
25410
25411
c370783e 25412static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25413 PyObject *resultobj = NULL;
d55e5bfc
RD
25414 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25415 int result;
25416 PyObject * obj0 = 0 ;
25417 char *kwnames[] = {
25418 (char *) "self", NULL
25419 };
25420
25421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
36ed4f51
RD
25422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25423 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25424 {
25425 PyThreadState* __tstate = wxPyBeginAllowThreads();
25426 result = (int)(arg1)->GetZoomControl();
25427
25428 wxPyEndAllowThreads(__tstate);
25429 if (PyErr_Occurred()) SWIG_fail;
25430 }
36ed4f51 25431 {
32fe5131 25432 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 25433 }
d55e5bfc
RD
25434 return resultobj;
25435 fail:
25436 return NULL;
25437}
25438
25439
c370783e 25440static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25441 PyObject *resultobj = NULL;
d55e5bfc
RD
25442 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25443 int arg2 ;
25444 PyObject * obj0 = 0 ;
25445 PyObject * obj1 = 0 ;
25446 char *kwnames[] = {
25447 (char *) "self",(char *) "zoom", NULL
25448 };
25449
25450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25451 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25452 if (SWIG_arg_fail(1)) SWIG_fail;
25453 {
32fe5131 25454 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
25455 if (SWIG_arg_fail(2)) SWIG_fail;
25456 }
d55e5bfc
RD
25457 {
25458 PyThreadState* __tstate = wxPyBeginAllowThreads();
25459 (arg1)->SetZoomControl(arg2);
25460
25461 wxPyEndAllowThreads(__tstate);
25462 if (PyErr_Occurred()) SWIG_fail;
25463 }
25464 Py_INCREF(Py_None); resultobj = Py_None;
25465 return resultobj;
25466 fail:
25467 return NULL;
25468}
25469
25470
c370783e 25471static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25472 PyObject *resultobj = NULL;
d55e5bfc
RD
25473 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25474 wxPrintPreview *result;
25475 PyObject * obj0 = 0 ;
25476 char *kwnames[] = {
25477 (char *) "self", NULL
25478 };
25479
25480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
36ed4f51
RD
25481 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25482 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25483 {
25484 PyThreadState* __tstate = wxPyBeginAllowThreads();
25485 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
25486
25487 wxPyEndAllowThreads(__tstate);
25488 if (PyErr_Occurred()) SWIG_fail;
25489 }
25490 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
25491 return resultobj;
25492 fail:
25493 return NULL;
25494}
25495
25496
c370783e 25497static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25498 PyObject *resultobj = NULL;
d55e5bfc
RD
25499 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25500 PyObject * obj0 = 0 ;
25501 char *kwnames[] = {
25502 (char *) "self", NULL
25503 };
25504
25505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
36ed4f51
RD
25506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25507 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25508 {
25509 PyThreadState* __tstate = wxPyBeginAllowThreads();
25510 (arg1)->OnNext();
25511
25512 wxPyEndAllowThreads(__tstate);
25513 if (PyErr_Occurred()) SWIG_fail;
25514 }
25515 Py_INCREF(Py_None); resultobj = Py_None;
25516 return resultobj;
25517 fail:
25518 return NULL;
25519}
25520
25521
c370783e 25522static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25523 PyObject *resultobj = NULL;
d55e5bfc
RD
25524 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25525 PyObject * obj0 = 0 ;
25526 char *kwnames[] = {
25527 (char *) "self", NULL
25528 };
25529
25530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
36ed4f51
RD
25531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25532 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25533 {
25534 PyThreadState* __tstate = wxPyBeginAllowThreads();
25535 (arg1)->OnPrevious();
25536
25537 wxPyEndAllowThreads(__tstate);
25538 if (PyErr_Occurred()) SWIG_fail;
25539 }
25540 Py_INCREF(Py_None); resultobj = Py_None;
25541 return resultobj;
25542 fail:
25543 return NULL;
25544}
25545
25546
c370783e 25547static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25548 PyObject *resultobj = NULL;
d55e5bfc
RD
25549 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25550 PyObject * obj0 = 0 ;
25551 char *kwnames[] = {
25552 (char *) "self", NULL
25553 };
25554
25555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
36ed4f51
RD
25556 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25557 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25558 {
25559 PyThreadState* __tstate = wxPyBeginAllowThreads();
25560 (arg1)->OnFirst();
25561
25562 wxPyEndAllowThreads(__tstate);
25563 if (PyErr_Occurred()) SWIG_fail;
25564 }
25565 Py_INCREF(Py_None); resultobj = Py_None;
25566 return resultobj;
25567 fail:
25568 return NULL;
25569}
25570
25571
c370783e 25572static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25573 PyObject *resultobj = NULL;
d55e5bfc
RD
25574 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25575 PyObject * obj0 = 0 ;
25576 char *kwnames[] = {
25577 (char *) "self", NULL
25578 };
25579
25580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
36ed4f51
RD
25581 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25582 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25583 {
25584 PyThreadState* __tstate = wxPyBeginAllowThreads();
25585 (arg1)->OnLast();
25586
25587 wxPyEndAllowThreads(__tstate);
25588 if (PyErr_Occurred()) SWIG_fail;
25589 }
25590 Py_INCREF(Py_None); resultobj = Py_None;
25591 return resultobj;
25592 fail:
25593 return NULL;
25594}
25595
25596
c370783e 25597static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25598 PyObject *resultobj = NULL;
d55e5bfc
RD
25599 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25600 PyObject * obj0 = 0 ;
25601 char *kwnames[] = {
25602 (char *) "self", NULL
25603 };
25604
25605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
36ed4f51
RD
25606 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25607 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25608 {
25609 PyThreadState* __tstate = wxPyBeginAllowThreads();
25610 (arg1)->OnGoto();
25611
25612 wxPyEndAllowThreads(__tstate);
25613 if (PyErr_Occurred()) SWIG_fail;
25614 }
25615 Py_INCREF(Py_None); resultobj = Py_None;
25616 return resultobj;
25617 fail:
25618 return NULL;
25619}
25620
25621
c370783e 25622static PyObject * PreviewControlBar_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
25623 PyObject *obj;
25624 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25625 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
25626 Py_INCREF(obj);
25627 return Py_BuildValue((char *)"");
25628}
c370783e 25629static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *, PyObject *args) {
32fe5131 25630 PyObject *resultobj = NULL;
d55e5bfc
RD
25631 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25632 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
7e08d4ef 25633 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
d55e5bfc
RD
25634 wxPrintPreview *result;
25635 PyObject * obj0 = 0 ;
25636 PyObject * obj1 = 0 ;
25637 PyObject * obj2 = 0 ;
25638
7e08d4ef 25639 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
25640 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25641 if (SWIG_arg_fail(1)) SWIG_fail;
25642 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25643 if (SWIG_arg_fail(2)) SWIG_fail;
7e08d4ef
RD
25644 if (obj2) {
25645 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
25646 if (SWIG_arg_fail(3)) SWIG_fail;
25647 }
d55e5bfc 25648 {
0439c23b 25649 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
25650 PyThreadState* __tstate = wxPyBeginAllowThreads();
25651 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
25652
25653 wxPyEndAllowThreads(__tstate);
110da5b0 25654 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
25655 }
25656 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
25657 return resultobj;
25658 fail:
25659 return NULL;
25660}
25661
25662
c370783e 25663static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *, PyObject *args) {
32fe5131 25664 PyObject *resultobj = NULL;
d55e5bfc
RD
25665 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25666 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
25667 wxPrintData *arg3 = (wxPrintData *) 0 ;
25668 wxPrintPreview *result;
25669 PyObject * obj0 = 0 ;
25670 PyObject * obj1 = 0 ;
25671 PyObject * obj2 = 0 ;
25672
25673 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
25674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25675 if (SWIG_arg_fail(1)) SWIG_fail;
25676 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25677 if (SWIG_arg_fail(2)) SWIG_fail;
25678 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
25679 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc 25680 {
0439c23b 25681 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
25682 PyThreadState* __tstate = wxPyBeginAllowThreads();
25683 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
25684
25685 wxPyEndAllowThreads(__tstate);
110da5b0 25686 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
25687 }
25688 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
25689 return resultobj;
25690 fail:
25691 return NULL;
25692}
25693
25694
25695static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
25696 int argc;
25697 PyObject *argv[4];
25698 int ii;
25699
25700 argc = PyObject_Length(args);
25701 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
25702 argv[ii] = PyTuple_GetItem(args,ii);
25703 }
7e08d4ef 25704 if ((argc >= 2) && (argc <= 3)) {
d55e5bfc
RD
25705 int _v;
25706 {
25707 void *ptr;
25708 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25709 _v = 0;
25710 PyErr_Clear();
25711 } else {
25712 _v = 1;
25713 }
25714 }
25715 if (_v) {
25716 {
25717 void *ptr;
25718 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25719 _v = 0;
25720 PyErr_Clear();
25721 } else {
25722 _v = 1;
25723 }
25724 }
25725 if (_v) {
7e08d4ef
RD
25726 if (argc <= 2) {
25727 return _wrap_new_PrintPreview__SWIG_0(self,args);
d55e5bfc
RD
25728 }
25729 {
25730 void *ptr;
25731 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
25732 _v = 0;
25733 PyErr_Clear();
25734 } else {
25735 _v = 1;
25736 }
25737 }
25738 if (_v) {
25739 return _wrap_new_PrintPreview__SWIG_0(self,args);
25740 }
25741 }
25742 }
25743 }
25744 if (argc == 3) {
25745 int _v;
25746 {
25747 void *ptr;
25748 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25749 _v = 0;
25750 PyErr_Clear();
25751 } else {
25752 _v = 1;
25753 }
25754 }
25755 if (_v) {
25756 {
25757 void *ptr;
25758 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25759 _v = 0;
25760 PyErr_Clear();
25761 } else {
25762 _v = 1;
25763 }
25764 }
25765 if (_v) {
25766 {
25767 void *ptr;
25768 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
25769 _v = 0;
25770 PyErr_Clear();
25771 } else {
25772 _v = 1;
25773 }
25774 }
25775 if (_v) {
7e08d4ef 25776 return _wrap_new_PrintPreview__SWIG_1(self,args);
d55e5bfc
RD
25777 }
25778 }
25779 }
25780 }
25781
36ed4f51 25782 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
d55e5bfc
RD
25783 return NULL;
25784}
25785
25786
c370783e 25787static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25788 PyObject *resultobj = NULL;
d55e5bfc
RD
25789 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25790 int arg2 ;
25791 bool result;
25792 PyObject * obj0 = 0 ;
25793 PyObject * obj1 = 0 ;
25794 char *kwnames[] = {
25795 (char *) "self",(char *) "pageNum", NULL
25796 };
25797
25798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25799 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25800 if (SWIG_arg_fail(1)) SWIG_fail;
25801 {
32fe5131 25802 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
25803 if (SWIG_arg_fail(2)) SWIG_fail;
25804 }
d55e5bfc
RD
25805 {
25806 PyThreadState* __tstate = wxPyBeginAllowThreads();
25807 result = (bool)(arg1)->SetCurrentPage(arg2);
25808
25809 wxPyEndAllowThreads(__tstate);
25810 if (PyErr_Occurred()) SWIG_fail;
25811 }
25812 {
25813 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25814 }
25815 return resultobj;
25816 fail:
25817 return NULL;
25818}
25819
25820
c370783e 25821static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25822 PyObject *resultobj = NULL;
d55e5bfc
RD
25823 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25824 int result;
25825 PyObject * obj0 = 0 ;
25826 char *kwnames[] = {
25827 (char *) "self", NULL
25828 };
25829
25830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
36ed4f51
RD
25831 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25832 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25833 {
25834 PyThreadState* __tstate = wxPyBeginAllowThreads();
25835 result = (int)(arg1)->GetCurrentPage();
25836
25837 wxPyEndAllowThreads(__tstate);
25838 if (PyErr_Occurred()) SWIG_fail;
25839 }
36ed4f51 25840 {
32fe5131 25841 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 25842 }
d55e5bfc
RD
25843 return resultobj;
25844 fail:
25845 return NULL;
25846}
25847
25848
c370783e 25849static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25850 PyObject *resultobj = NULL;
d55e5bfc
RD
25851 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25852 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
25853 PyObject * obj0 = 0 ;
25854 PyObject * obj1 = 0 ;
25855 char *kwnames[] = {
25856 (char *) "self",(char *) "printout", NULL
25857 };
25858
25859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25860 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25861 if (SWIG_arg_fail(1)) SWIG_fail;
25862 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25863 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25864 {
25865 PyThreadState* __tstate = wxPyBeginAllowThreads();
25866 (arg1)->SetPrintout(arg2);
25867
25868 wxPyEndAllowThreads(__tstate);
25869 if (PyErr_Occurred()) SWIG_fail;
25870 }
25871 Py_INCREF(Py_None); resultobj = Py_None;
25872 return resultobj;
25873 fail:
25874 return NULL;
25875}
25876
25877
c370783e 25878static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25879 PyObject *resultobj = NULL;
d55e5bfc
RD
25880 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25881 wxPyPrintout *result;
25882 PyObject * obj0 = 0 ;
25883 char *kwnames[] = {
25884 (char *) "self", NULL
25885 };
25886
25887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
36ed4f51
RD
25888 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25889 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25890 {
25891 PyThreadState* __tstate = wxPyBeginAllowThreads();
25892 result = (wxPyPrintout *)(arg1)->GetPrintout();
25893
25894 wxPyEndAllowThreads(__tstate);
25895 if (PyErr_Occurred()) SWIG_fail;
25896 }
25897 {
7e08d4ef 25898 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
25899 }
25900 return resultobj;
25901 fail:
25902 return NULL;
25903}
25904
25905
c370783e 25906static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25907 PyObject *resultobj = NULL;
d55e5bfc
RD
25908 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25909 wxPyPrintout *result;
25910 PyObject * obj0 = 0 ;
25911 char *kwnames[] = {
25912 (char *) "self", NULL
25913 };
25914
25915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
36ed4f51
RD
25916 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25917 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25918 {
25919 PyThreadState* __tstate = wxPyBeginAllowThreads();
25920 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
25921
25922 wxPyEndAllowThreads(__tstate);
25923 if (PyErr_Occurred()) SWIG_fail;
25924 }
25925 {
7e08d4ef 25926 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
25927 }
25928 return resultobj;
25929 fail:
25930 return NULL;
25931}
25932
25933
c370783e 25934static PyObject *_wrap_PrintPreview_SetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25935 PyObject *resultobj = NULL;
d55e5bfc
RD
25936 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25937 wxFrame *arg2 = (wxFrame *) 0 ;
25938 PyObject * obj0 = 0 ;
25939 PyObject * obj1 = 0 ;
25940 char *kwnames[] = {
25941 (char *) "self",(char *) "frame", NULL
25942 };
25943
25944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25945 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25946 if (SWIG_arg_fail(1)) SWIG_fail;
25947 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
25948 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25949 {
25950 PyThreadState* __tstate = wxPyBeginAllowThreads();
25951 (arg1)->SetFrame(arg2);
25952
25953 wxPyEndAllowThreads(__tstate);
25954 if (PyErr_Occurred()) SWIG_fail;
25955 }
25956 Py_INCREF(Py_None); resultobj = Py_None;
25957 return resultobj;
25958 fail:
25959 return NULL;
25960}
25961
25962
c370783e 25963static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25964 PyObject *resultobj = NULL;
d55e5bfc
RD
25965 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25966 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
25967 PyObject * obj0 = 0 ;
25968 PyObject * obj1 = 0 ;
25969 char *kwnames[] = {
25970 (char *) "self",(char *) "canvas", NULL
25971 };
25972
25973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) 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;
25976 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
25977 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25978 {
25979 PyThreadState* __tstate = wxPyBeginAllowThreads();
25980 (arg1)->SetCanvas(arg2);
25981
25982 wxPyEndAllowThreads(__tstate);
25983 if (PyErr_Occurred()) SWIG_fail;
25984 }
25985 Py_INCREF(Py_None); resultobj = Py_None;
25986 return resultobj;
25987 fail:
25988 return NULL;
25989}
25990
25991
c370783e 25992static PyObject *_wrap_PrintPreview_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25993 PyObject *resultobj = NULL;
d55e5bfc
RD
25994 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25995 wxFrame *result;
25996 PyObject * obj0 = 0 ;
25997 char *kwnames[] = {
25998 (char *) "self", NULL
25999 };
26000
26001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
36ed4f51
RD
26002 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26003 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26004 {
26005 PyThreadState* __tstate = wxPyBeginAllowThreads();
26006 result = (wxFrame *)(arg1)->GetFrame();
26007
26008 wxPyEndAllowThreads(__tstate);
26009 if (PyErr_Occurred()) SWIG_fail;
26010 }
26011 {
412d302d 26012 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
26013 }
26014 return resultobj;
26015 fail:
26016 return NULL;
26017}
26018
26019
c370783e 26020static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26021 PyObject *resultobj = NULL;
d55e5bfc
RD
26022 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26023 wxPreviewCanvas *result;
26024 PyObject * obj0 = 0 ;
26025 char *kwnames[] = {
26026 (char *) "self", NULL
26027 };
26028
26029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
36ed4f51
RD
26030 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26031 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26032 {
26033 PyThreadState* __tstate = wxPyBeginAllowThreads();
26034 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
26035
26036 wxPyEndAllowThreads(__tstate);
26037 if (PyErr_Occurred()) SWIG_fail;
26038 }
26039 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
26040 return resultobj;
26041 fail:
26042 return NULL;
26043}
26044
26045
c370783e 26046static PyObject *_wrap_PrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26047 PyObject *resultobj = NULL;
d55e5bfc
RD
26048 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26049 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26050 wxDC *arg3 = 0 ;
26051 bool result;
26052 PyObject * obj0 = 0 ;
26053 PyObject * obj1 = 0 ;
26054 PyObject * obj2 = 0 ;
26055 char *kwnames[] = {
26056 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26057 };
26058
26059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
26060 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26061 if (SWIG_arg_fail(1)) SWIG_fail;
26062 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26063 if (SWIG_arg_fail(2)) SWIG_fail;
26064 {
26065 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26066 if (SWIG_arg_fail(3)) SWIG_fail;
26067 if (arg3 == NULL) {
26068 SWIG_null_ref("wxDC");
26069 }
26070 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
26071 }
26072 {
26073 PyThreadState* __tstate = wxPyBeginAllowThreads();
26074 result = (bool)(arg1)->PaintPage(arg2,*arg3);
26075
26076 wxPyEndAllowThreads(__tstate);
26077 if (PyErr_Occurred()) SWIG_fail;
26078 }
26079 {
26080 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26081 }
26082 return resultobj;
26083 fail:
26084 return NULL;
26085}
26086
26087
c370783e 26088static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26089 PyObject *resultobj = NULL;
d55e5bfc
RD
26090 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26091 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26092 wxDC *arg3 = 0 ;
26093 bool result;
26094 PyObject * obj0 = 0 ;
26095 PyObject * obj1 = 0 ;
26096 PyObject * obj2 = 0 ;
26097 char *kwnames[] = {
26098 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26099 };
26100
26101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
26102 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26103 if (SWIG_arg_fail(1)) SWIG_fail;
26104 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26105 if (SWIG_arg_fail(2)) SWIG_fail;
26106 {
26107 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26108 if (SWIG_arg_fail(3)) SWIG_fail;
26109 if (arg3 == NULL) {
26110 SWIG_null_ref("wxDC");
26111 }
26112 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
26113 }
26114 {
26115 PyThreadState* __tstate = wxPyBeginAllowThreads();
26116 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
26117
26118 wxPyEndAllowThreads(__tstate);
26119 if (PyErr_Occurred()) SWIG_fail;
26120 }
26121 {
26122 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26123 }
26124 return resultobj;
26125 fail:
26126 return NULL;
26127}
26128
26129
c370783e 26130static PyObject *_wrap_PrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26131 PyObject *resultobj = NULL;
d55e5bfc
RD
26132 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26133 int arg2 ;
26134 bool result;
26135 PyObject * obj0 = 0 ;
26136 PyObject * obj1 = 0 ;
26137 char *kwnames[] = {
26138 (char *) "self",(char *) "pageNum", NULL
26139 };
26140
26141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26142 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26143 if (SWIG_arg_fail(1)) SWIG_fail;
26144 {
32fe5131 26145 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
26146 if (SWIG_arg_fail(2)) SWIG_fail;
26147 }
d55e5bfc
RD
26148 {
26149 PyThreadState* __tstate = wxPyBeginAllowThreads();
26150 result = (bool)(arg1)->RenderPage(arg2);
26151
26152 wxPyEndAllowThreads(__tstate);
26153 if (PyErr_Occurred()) SWIG_fail;
26154 }
26155 {
26156 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26157 }
26158 return resultobj;
26159 fail:
26160 return NULL;
26161}
26162
26163
c370783e 26164static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26165 PyObject *resultobj = NULL;
d55e5bfc
RD
26166 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26167 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26168 PyObject * obj0 = 0 ;
26169 PyObject * obj1 = 0 ;
26170 char *kwnames[] = {
26171 (char *) "self",(char *) "canvas", NULL
26172 };
26173
26174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26176 if (SWIG_arg_fail(1)) SWIG_fail;
26177 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26178 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26179 {
26180 PyThreadState* __tstate = wxPyBeginAllowThreads();
26181 (arg1)->AdjustScrollbars(arg2);
26182
26183 wxPyEndAllowThreads(__tstate);
26184 if (PyErr_Occurred()) SWIG_fail;
26185 }
26186 Py_INCREF(Py_None); resultobj = Py_None;
26187 return resultobj;
26188 fail:
26189 return NULL;
26190}
26191
26192
c370783e 26193static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26194 PyObject *resultobj = NULL;
d55e5bfc
RD
26195 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26196 wxPrintDialogData *result;
26197 PyObject * obj0 = 0 ;
26198 char *kwnames[] = {
26199 (char *) "self", NULL
26200 };
26201
26202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) 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;
d55e5bfc
RD
26205 {
26206 PyThreadState* __tstate = wxPyBeginAllowThreads();
26207 {
26208 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
26209 result = (wxPrintDialogData *) &_result_ref;
26210 }
26211
26212 wxPyEndAllowThreads(__tstate);
26213 if (PyErr_Occurred()) SWIG_fail;
26214 }
26215 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
26216 return resultobj;
26217 fail:
26218 return NULL;
26219}
26220
26221
c370783e 26222static PyObject *_wrap_PrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26223 PyObject *resultobj = NULL;
d55e5bfc
RD
26224 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26225 int arg2 ;
26226 PyObject * obj0 = 0 ;
26227 PyObject * obj1 = 0 ;
26228 char *kwnames[] = {
26229 (char *) "self",(char *) "percent", NULL
26230 };
26231
26232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26234 if (SWIG_arg_fail(1)) SWIG_fail;
26235 {
32fe5131 26236 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
26237 if (SWIG_arg_fail(2)) SWIG_fail;
26238 }
d55e5bfc
RD
26239 {
26240 PyThreadState* __tstate = wxPyBeginAllowThreads();
26241 (arg1)->SetZoom(arg2);
26242
26243 wxPyEndAllowThreads(__tstate);
26244 if (PyErr_Occurred()) SWIG_fail;
26245 }
26246 Py_INCREF(Py_None); resultobj = Py_None;
26247 return resultobj;
26248 fail:
26249 return NULL;
26250}
26251
26252
c370783e 26253static PyObject *_wrap_PrintPreview_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26254 PyObject *resultobj = NULL;
d55e5bfc
RD
26255 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26256 int result;
26257 PyObject * obj0 = 0 ;
26258 char *kwnames[] = {
26259 (char *) "self", NULL
26260 };
26261
26262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
36ed4f51
RD
26263 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26264 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26265 {
26266 PyThreadState* __tstate = wxPyBeginAllowThreads();
26267 result = (int)(arg1)->GetZoom();
26268
26269 wxPyEndAllowThreads(__tstate);
26270 if (PyErr_Occurred()) SWIG_fail;
26271 }
36ed4f51 26272 {
32fe5131 26273 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 26274 }
d55e5bfc
RD
26275 return resultobj;
26276 fail:
26277 return NULL;
26278}
26279
26280
c370783e 26281static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26282 PyObject *resultobj = NULL;
d55e5bfc
RD
26283 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26284 int result;
26285 PyObject * obj0 = 0 ;
26286 char *kwnames[] = {
26287 (char *) "self", NULL
26288 };
26289
26290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
36ed4f51
RD
26291 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26292 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26293 {
26294 PyThreadState* __tstate = wxPyBeginAllowThreads();
26295 result = (int)(arg1)->GetMaxPage();
26296
26297 wxPyEndAllowThreads(__tstate);
26298 if (PyErr_Occurred()) SWIG_fail;
26299 }
36ed4f51 26300 {
32fe5131 26301 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 26302 }
d55e5bfc
RD
26303 return resultobj;
26304 fail:
26305 return NULL;
26306}
26307
26308
c370783e 26309static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26310 PyObject *resultobj = NULL;
d55e5bfc
RD
26311 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26312 int result;
26313 PyObject * obj0 = 0 ;
26314 char *kwnames[] = {
26315 (char *) "self", NULL
26316 };
26317
26318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
36ed4f51
RD
26319 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26320 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26321 {
26322 PyThreadState* __tstate = wxPyBeginAllowThreads();
26323 result = (int)(arg1)->GetMinPage();
26324
26325 wxPyEndAllowThreads(__tstate);
26326 if (PyErr_Occurred()) SWIG_fail;
26327 }
36ed4f51 26328 {
32fe5131 26329 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 26330 }
d55e5bfc
RD
26331 return resultobj;
26332 fail:
26333 return NULL;
26334}
26335
26336
c370783e 26337static PyObject *_wrap_PrintPreview_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26338 PyObject *resultobj = NULL;
d55e5bfc
RD
26339 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26340 bool result;
26341 PyObject * obj0 = 0 ;
26342 char *kwnames[] = {
26343 (char *) "self", NULL
26344 };
26345
26346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
36ed4f51
RD
26347 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26348 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26349 {
26350 PyThreadState* __tstate = wxPyBeginAllowThreads();
26351 result = (bool)(arg1)->Ok();
26352
26353 wxPyEndAllowThreads(__tstate);
26354 if (PyErr_Occurred()) SWIG_fail;
26355 }
26356 {
26357 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26358 }
26359 return resultobj;
26360 fail:
26361 return NULL;
26362}
26363
26364
c370783e 26365static PyObject *_wrap_PrintPreview_SetOk(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26366 PyObject *resultobj = NULL;
d55e5bfc
RD
26367 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26368 bool arg2 ;
26369 PyObject * obj0 = 0 ;
26370 PyObject * obj1 = 0 ;
26371 char *kwnames[] = {
26372 (char *) "self",(char *) "ok", NULL
26373 };
26374
26375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",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<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
26380 if (SWIG_arg_fail(2)) SWIG_fail;
26381 }
d55e5bfc
RD
26382 {
26383 PyThreadState* __tstate = wxPyBeginAllowThreads();
26384 (arg1)->SetOk(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_Print(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26397 PyObject *resultobj = NULL;
d55e5bfc
RD
26398 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26399 bool arg2 ;
26400 bool result;
26401 PyObject * obj0 = 0 ;
26402 PyObject * obj1 = 0 ;
26403 char *kwnames[] = {
26404 (char *) "self",(char *) "interactive", NULL
26405 };
26406
26407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26408 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26409 if (SWIG_arg_fail(1)) SWIG_fail;
26410 {
32fe5131 26411 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
26412 if (SWIG_arg_fail(2)) SWIG_fail;
26413 }
d55e5bfc
RD
26414 {
26415 PyThreadState* __tstate = wxPyBeginAllowThreads();
26416 result = (bool)(arg1)->Print(arg2);
26417
26418 wxPyEndAllowThreads(__tstate);
26419 if (PyErr_Occurred()) SWIG_fail;
26420 }
26421 {
26422 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26423 }
26424 return resultobj;
26425 fail:
26426 return NULL;
26427}
26428
26429
c370783e 26430static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26431 PyObject *resultobj = NULL;
d55e5bfc
RD
26432 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26433 PyObject * obj0 = 0 ;
26434 char *kwnames[] = {
26435 (char *) "self", NULL
26436 };
26437
26438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
36ed4f51
RD
26439 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26440 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26441 {
26442 PyThreadState* __tstate = wxPyBeginAllowThreads();
26443 (arg1)->DetermineScaling();
26444
26445 wxPyEndAllowThreads(__tstate);
26446 if (PyErr_Occurred()) SWIG_fail;
26447 }
26448 Py_INCREF(Py_None); resultobj = Py_None;
26449 return resultobj;
26450 fail:
26451 return NULL;
26452}
26453
26454
c370783e 26455static PyObject * PrintPreview_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
26456 PyObject *obj;
26457 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26458 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
26459 Py_INCREF(obj);
26460 return Py_BuildValue((char *)"");
26461}
c370783e 26462static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *, PyObject *args) {
32fe5131 26463 PyObject *resultobj = NULL;
d55e5bfc
RD
26464 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26465 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
7e08d4ef 26466 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
d55e5bfc
RD
26467 wxPyPrintPreview *result;
26468 PyObject * obj0 = 0 ;
26469 PyObject * obj1 = 0 ;
26470 PyObject * obj2 = 0 ;
26471
7e08d4ef 26472 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
26473 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26474 if (SWIG_arg_fail(1)) SWIG_fail;
26475 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26476 if (SWIG_arg_fail(2)) SWIG_fail;
7e08d4ef
RD
26477 if (obj2) {
26478 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
26479 if (SWIG_arg_fail(3)) SWIG_fail;
26480 }
d55e5bfc 26481 {
0439c23b 26482 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
26483 PyThreadState* __tstate = wxPyBeginAllowThreads();
26484 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
26485
26486 wxPyEndAllowThreads(__tstate);
110da5b0 26487 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
26488 }
26489 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
26490 return resultobj;
26491 fail:
26492 return NULL;
26493}
26494
26495
c370783e 26496static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *, PyObject *args) {
32fe5131 26497 PyObject *resultobj = NULL;
d55e5bfc
RD
26498 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26499 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26500 wxPrintData *arg3 = (wxPrintData *) 0 ;
26501 wxPyPrintPreview *result;
26502 PyObject * obj0 = 0 ;
26503 PyObject * obj1 = 0 ;
26504 PyObject * obj2 = 0 ;
26505
26506 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
26507 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26508 if (SWIG_arg_fail(1)) SWIG_fail;
26509 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26510 if (SWIG_arg_fail(2)) SWIG_fail;
26511 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
26512 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc 26513 {
0439c23b 26514 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
26515 PyThreadState* __tstate = wxPyBeginAllowThreads();
26516 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
26517
26518 wxPyEndAllowThreads(__tstate);
110da5b0 26519 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
26520 }
26521 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
26522 return resultobj;
26523 fail:
26524 return NULL;
26525}
26526
26527
26528static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
26529 int argc;
26530 PyObject *argv[4];
26531 int ii;
26532
26533 argc = PyObject_Length(args);
26534 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
26535 argv[ii] = PyTuple_GetItem(args,ii);
26536 }
7e08d4ef 26537 if ((argc >= 2) && (argc <= 3)) {
d55e5bfc
RD
26538 int _v;
26539 {
26540 void *ptr;
26541 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26542 _v = 0;
26543 PyErr_Clear();
26544 } else {
26545 _v = 1;
26546 }
26547 }
26548 if (_v) {
26549 {
26550 void *ptr;
26551 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26552 _v = 0;
26553 PyErr_Clear();
26554 } else {
26555 _v = 1;
26556 }
26557 }
26558 if (_v) {
7e08d4ef
RD
26559 if (argc <= 2) {
26560 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
d55e5bfc
RD
26561 }
26562 {
26563 void *ptr;
26564 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
26565 _v = 0;
26566 PyErr_Clear();
26567 } else {
26568 _v = 1;
26569 }
26570 }
26571 if (_v) {
26572 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
26573 }
26574 }
26575 }
26576 }
26577 if (argc == 3) {
26578 int _v;
26579 {
26580 void *ptr;
26581 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26582 _v = 0;
26583 PyErr_Clear();
26584 } else {
26585 _v = 1;
26586 }
26587 }
26588 if (_v) {
26589 {
26590 void *ptr;
26591 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26592 _v = 0;
26593 PyErr_Clear();
26594 } else {
26595 _v = 1;
26596 }
26597 }
26598 if (_v) {
26599 {
26600 void *ptr;
26601 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
26602 _v = 0;
26603 PyErr_Clear();
26604 } else {
26605 _v = 1;
26606 }
26607 }
26608 if (_v) {
7e08d4ef 26609 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
d55e5bfc
RD
26610 }
26611 }
26612 }
26613 }
26614
36ed4f51 26615 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
d55e5bfc
RD
26616 return NULL;
26617}
26618
26619
c370783e 26620static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26621 PyObject *resultobj = NULL;
d55e5bfc
RD
26622 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26623 PyObject *arg2 = (PyObject *) 0 ;
26624 PyObject *arg3 = (PyObject *) 0 ;
26625 PyObject * obj0 = 0 ;
26626 PyObject * obj1 = 0 ;
26627 PyObject * obj2 = 0 ;
26628 char *kwnames[] = {
26629 (char *) "self",(char *) "self",(char *) "_class", NULL
26630 };
26631
26632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
26633 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26634 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26635 arg2 = obj1;
26636 arg3 = obj2;
26637 {
26638 PyThreadState* __tstate = wxPyBeginAllowThreads();
26639 (arg1)->_setCallbackInfo(arg2,arg3);
26640
26641 wxPyEndAllowThreads(__tstate);
26642 if (PyErr_Occurred()) SWIG_fail;
26643 }
26644 Py_INCREF(Py_None); resultobj = Py_None;
26645 return resultobj;
26646 fail:
26647 return NULL;
26648}
26649
26650
c370783e 26651static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26652 PyObject *resultobj = NULL;
d55e5bfc
RD
26653 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26654 int arg2 ;
26655 bool result;
26656 PyObject * obj0 = 0 ;
26657 PyObject * obj1 = 0 ;
26658 char *kwnames[] = {
26659 (char *) "self",(char *) "pageNum", NULL
26660 };
26661
26662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26664 if (SWIG_arg_fail(1)) SWIG_fail;
26665 {
32fe5131 26666 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
26667 if (SWIG_arg_fail(2)) SWIG_fail;
26668 }
d55e5bfc
RD
26669 {
26670 PyThreadState* __tstate = wxPyBeginAllowThreads();
26671 result = (bool)(arg1)->base_SetCurrentPage(arg2);
26672
26673 wxPyEndAllowThreads(__tstate);
26674 if (PyErr_Occurred()) SWIG_fail;
26675 }
26676 {
26677 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26678 }
26679 return resultobj;
26680 fail:
26681 return NULL;
26682}
26683
26684
c370783e 26685static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26686 PyObject *resultobj = NULL;
d55e5bfc
RD
26687 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26688 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26689 wxDC *arg3 = 0 ;
26690 bool result;
26691 PyObject * obj0 = 0 ;
26692 PyObject * obj1 = 0 ;
26693 PyObject * obj2 = 0 ;
26694 char *kwnames[] = {
26695 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26696 };
26697
26698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
26699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26700 if (SWIG_arg_fail(1)) SWIG_fail;
26701 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26702 if (SWIG_arg_fail(2)) SWIG_fail;
26703 {
26704 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26705 if (SWIG_arg_fail(3)) SWIG_fail;
26706 if (arg3 == NULL) {
26707 SWIG_null_ref("wxDC");
26708 }
26709 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
26710 }
26711 {
26712 PyThreadState* __tstate = wxPyBeginAllowThreads();
26713 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
26714
26715 wxPyEndAllowThreads(__tstate);
26716 if (PyErr_Occurred()) SWIG_fail;
26717 }
26718 {
26719 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26720 }
26721 return resultobj;
26722 fail:
26723 return NULL;
26724}
26725
26726
c370783e 26727static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26728 PyObject *resultobj = NULL;
d55e5bfc
RD
26729 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26730 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26731 wxDC *arg3 = 0 ;
26732 bool result;
26733 PyObject * obj0 = 0 ;
26734 PyObject * obj1 = 0 ;
26735 PyObject * obj2 = 0 ;
26736 char *kwnames[] = {
26737 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26738 };
26739
26740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
26741 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26742 if (SWIG_arg_fail(1)) SWIG_fail;
26743 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26744 if (SWIG_arg_fail(2)) SWIG_fail;
26745 {
26746 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26747 if (SWIG_arg_fail(3)) SWIG_fail;
26748 if (arg3 == NULL) {
26749 SWIG_null_ref("wxDC");
26750 }
26751 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
26752 }
26753 {
26754 PyThreadState* __tstate = wxPyBeginAllowThreads();
26755 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
26756
26757 wxPyEndAllowThreads(__tstate);
26758 if (PyErr_Occurred()) SWIG_fail;
26759 }
26760 {
26761 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26762 }
26763 return resultobj;
26764 fail:
26765 return NULL;
26766}
26767
26768
c370783e 26769static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26770 PyObject *resultobj = NULL;
d55e5bfc
RD
26771 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26772 int arg2 ;
26773 bool result;
26774 PyObject * obj0 = 0 ;
26775 PyObject * obj1 = 0 ;
26776 char *kwnames[] = {
26777 (char *) "self",(char *) "pageNum", NULL
26778 };
26779
26780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26781 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26782 if (SWIG_arg_fail(1)) SWIG_fail;
26783 {
32fe5131 26784 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
26785 if (SWIG_arg_fail(2)) SWIG_fail;
26786 }
d55e5bfc
RD
26787 {
26788 PyThreadState* __tstate = wxPyBeginAllowThreads();
26789 result = (bool)(arg1)->base_RenderPage(arg2);
26790
26791 wxPyEndAllowThreads(__tstate);
26792 if (PyErr_Occurred()) SWIG_fail;
26793 }
26794 {
26795 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26796 }
26797 return resultobj;
26798 fail:
26799 return NULL;
26800}
26801
26802
c370783e 26803static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26804 PyObject *resultobj = NULL;
d55e5bfc
RD
26805 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26806 int arg2 ;
26807 PyObject * obj0 = 0 ;
26808 PyObject * obj1 = 0 ;
26809 char *kwnames[] = {
26810 (char *) "self",(char *) "percent", NULL
26811 };
26812
26813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26814 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26815 if (SWIG_arg_fail(1)) SWIG_fail;
26816 {
32fe5131 26817 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
26818 if (SWIG_arg_fail(2)) SWIG_fail;
26819 }
d55e5bfc
RD
26820 {
26821 PyThreadState* __tstate = wxPyBeginAllowThreads();
26822 (arg1)->base_SetZoom(arg2);
26823
26824 wxPyEndAllowThreads(__tstate);
26825 if (PyErr_Occurred()) SWIG_fail;
26826 }
26827 Py_INCREF(Py_None); resultobj = Py_None;
26828 return resultobj;
26829 fail:
26830 return NULL;
26831}
26832
26833
c370783e 26834static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26835 PyObject *resultobj = NULL;
d55e5bfc
RD
26836 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26837 bool arg2 ;
26838 bool result;
26839 PyObject * obj0 = 0 ;
26840 PyObject * obj1 = 0 ;
26841 char *kwnames[] = {
26842 (char *) "self",(char *) "interactive", NULL
26843 };
26844
26845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26846 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26847 if (SWIG_arg_fail(1)) SWIG_fail;
26848 {
32fe5131 26849 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
26850 if (SWIG_arg_fail(2)) SWIG_fail;
26851 }
d55e5bfc
RD
26852 {
26853 PyThreadState* __tstate = wxPyBeginAllowThreads();
26854 result = (bool)(arg1)->base_Print(arg2);
26855
26856 wxPyEndAllowThreads(__tstate);
26857 if (PyErr_Occurred()) SWIG_fail;
26858 }
26859 {
26860 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26861 }
26862 return resultobj;
26863 fail:
26864 return NULL;
26865}
26866
26867
c370783e 26868static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26869 PyObject *resultobj = NULL;
d55e5bfc
RD
26870 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26871 PyObject * obj0 = 0 ;
26872 char *kwnames[] = {
26873 (char *) "self", NULL
26874 };
26875
26876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
36ed4f51
RD
26877 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26878 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26879 {
26880 PyThreadState* __tstate = wxPyBeginAllowThreads();
26881 (arg1)->base_DetermineScaling();
26882
26883 wxPyEndAllowThreads(__tstate);
26884 if (PyErr_Occurred()) SWIG_fail;
26885 }
26886 Py_INCREF(Py_None); resultobj = Py_None;
26887 return resultobj;
26888 fail:
26889 return NULL;
26890}
26891
26892
c370783e 26893static PyObject * PyPrintPreview_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
26894 PyObject *obj;
26895 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26896 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
26897 Py_INCREF(obj);
26898 return Py_BuildValue((char *)"");
26899}
c370783e 26900static PyObject *_wrap_new_PyPreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26901 PyObject *resultobj = NULL;
d55e5bfc
RD
26902 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26903 wxFrame *arg2 = (wxFrame *) 0 ;
26904 wxString *arg3 = 0 ;
26905 wxPoint const &arg4_defvalue = wxDefaultPosition ;
26906 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
26907 wxSize const &arg5_defvalue = wxDefaultSize ;
26908 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
26909 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
26910 wxString const &arg7_defvalue = wxPyFrameNameStr ;
26911 wxString *arg7 = (wxString *) &arg7_defvalue ;
26912 wxPyPreviewFrame *result;
b411df4a 26913 bool temp3 = false ;
d55e5bfc
RD
26914 wxPoint temp4 ;
26915 wxSize temp5 ;
b411df4a 26916 bool temp7 = false ;
d55e5bfc
RD
26917 PyObject * obj0 = 0 ;
26918 PyObject * obj1 = 0 ;
26919 PyObject * obj2 = 0 ;
26920 PyObject * obj3 = 0 ;
26921 PyObject * obj4 = 0 ;
26922 PyObject * obj5 = 0 ;
26923 PyObject * obj6 = 0 ;
26924 char *kwnames[] = {
26925 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
26926 };
26927
26928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
26929 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26930 if (SWIG_arg_fail(1)) SWIG_fail;
26931 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
26932 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26933 {
26934 arg3 = wxString_in_helper(obj2);
26935 if (arg3 == NULL) SWIG_fail;
b411df4a 26936 temp3 = true;
d55e5bfc
RD
26937 }
26938 if (obj3) {
26939 {
26940 arg4 = &temp4;
26941 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
26942 }
26943 }
26944 if (obj4) {
26945 {
26946 arg5 = &temp5;
26947 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
26948 }
26949 }
26950 if (obj5) {
36ed4f51 26951 {
32fe5131 26952 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
26953 if (SWIG_arg_fail(6)) SWIG_fail;
26954 }
d55e5bfc
RD
26955 }
26956 if (obj6) {
26957 {
26958 arg7 = wxString_in_helper(obj6);
26959 if (arg7 == NULL) SWIG_fail;
b411df4a 26960 temp7 = true;
d55e5bfc
RD
26961 }
26962 }
26963 {
0439c23b 26964 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
26965 PyThreadState* __tstate = wxPyBeginAllowThreads();
26966 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
26967
26968 wxPyEndAllowThreads(__tstate);
110da5b0 26969 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
26970 }
26971 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
26972 {
26973 if (temp3)
26974 delete arg3;
26975 }
26976 {
26977 if (temp7)
26978 delete arg7;
26979 }
26980 return resultobj;
26981 fail:
26982 {
26983 if (temp3)
26984 delete arg3;
26985 }
26986 {
26987 if (temp7)
26988 delete arg7;
26989 }
26990 return NULL;
26991}
26992
26993
c370783e 26994static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26995 PyObject *resultobj = NULL;
d55e5bfc
RD
26996 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
26997 PyObject *arg2 = (PyObject *) 0 ;
26998 PyObject *arg3 = (PyObject *) 0 ;
26999 PyObject * obj0 = 0 ;
27000 PyObject * obj1 = 0 ;
27001 PyObject * obj2 = 0 ;
27002 char *kwnames[] = {
27003 (char *) "self",(char *) "self",(char *) "_class", NULL
27004 };
27005
27006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
27007 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27008 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27009 arg2 = obj1;
27010 arg3 = obj2;
27011 {
27012 PyThreadState* __tstate = wxPyBeginAllowThreads();
27013 (arg1)->_setCallbackInfo(arg2,arg3);
27014
27015 wxPyEndAllowThreads(__tstate);
27016 if (PyErr_Occurred()) SWIG_fail;
27017 }
27018 Py_INCREF(Py_None); resultobj = Py_None;
27019 return resultobj;
27020 fail:
27021 return NULL;
27022}
27023
27024
c370783e 27025static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27026 PyObject *resultobj = NULL;
d55e5bfc
RD
27027 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27028 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
27029 PyObject * obj0 = 0 ;
27030 PyObject * obj1 = 0 ;
27031 char *kwnames[] = {
27032 (char *) "self",(char *) "canvas", NULL
27033 };
27034
27035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27036 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27037 if (SWIG_arg_fail(1)) SWIG_fail;
27038 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
27039 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27040 {
27041 PyThreadState* __tstate = wxPyBeginAllowThreads();
27042 (arg1)->SetPreviewCanvas(arg2);
27043
27044 wxPyEndAllowThreads(__tstate);
27045 if (PyErr_Occurred()) SWIG_fail;
27046 }
27047 Py_INCREF(Py_None); resultobj = Py_None;
27048 return resultobj;
27049 fail:
27050 return NULL;
27051}
27052
27053
c370783e 27054static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27055 PyObject *resultobj = NULL;
d55e5bfc
RD
27056 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27057 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
27058 PyObject * obj0 = 0 ;
27059 PyObject * obj1 = 0 ;
27060 char *kwnames[] = {
27061 (char *) "self",(char *) "bar", NULL
27062 };
27063
27064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27065 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27066 if (SWIG_arg_fail(1)) SWIG_fail;
27067 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27068 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27069 {
27070 PyThreadState* __tstate = wxPyBeginAllowThreads();
27071 (arg1)->SetControlBar(arg2);
27072
27073 wxPyEndAllowThreads(__tstate);
27074 if (PyErr_Occurred()) SWIG_fail;
27075 }
27076 Py_INCREF(Py_None); resultobj = Py_None;
27077 return resultobj;
27078 fail:
27079 return NULL;
27080}
27081
27082
c370783e 27083static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27084 PyObject *resultobj = NULL;
d55e5bfc
RD
27085 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27086 PyObject * obj0 = 0 ;
27087 char *kwnames[] = {
27088 (char *) "self", NULL
27089 };
27090
27091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
36ed4f51
RD
27092 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27093 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27094 {
27095 PyThreadState* __tstate = wxPyBeginAllowThreads();
27096 (arg1)->base_Initialize();
27097
27098 wxPyEndAllowThreads(__tstate);
27099 if (PyErr_Occurred()) SWIG_fail;
27100 }
27101 Py_INCREF(Py_None); resultobj = Py_None;
27102 return resultobj;
27103 fail:
27104 return NULL;
27105}
27106
27107
c370783e 27108static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27109 PyObject *resultobj = NULL;
d55e5bfc
RD
27110 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27111 PyObject * obj0 = 0 ;
27112 char *kwnames[] = {
27113 (char *) "self", NULL
27114 };
27115
27116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
36ed4f51
RD
27117 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27118 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27119 {
27120 PyThreadState* __tstate = wxPyBeginAllowThreads();
27121 (arg1)->base_CreateCanvas();
27122
27123 wxPyEndAllowThreads(__tstate);
27124 if (PyErr_Occurred()) SWIG_fail;
27125 }
27126 Py_INCREF(Py_None); resultobj = Py_None;
27127 return resultobj;
27128 fail:
27129 return NULL;
27130}
27131
27132
c370783e 27133static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27134 PyObject *resultobj = NULL;
d55e5bfc
RD
27135 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27136 PyObject * obj0 = 0 ;
27137 char *kwnames[] = {
27138 (char *) "self", NULL
27139 };
27140
27141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
36ed4f51
RD
27142 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27143 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27144 {
27145 PyThreadState* __tstate = wxPyBeginAllowThreads();
27146 (arg1)->base_CreateControlBar();
27147
27148 wxPyEndAllowThreads(__tstate);
27149 if (PyErr_Occurred()) SWIG_fail;
27150 }
27151 Py_INCREF(Py_None); resultobj = Py_None;
27152 return resultobj;
27153 fail:
27154 return NULL;
27155}
27156
27157
c370783e 27158static PyObject * PyPreviewFrame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27159 PyObject *obj;
27160 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27161 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
27162 Py_INCREF(obj);
27163 return Py_BuildValue((char *)"");
27164}
c370783e 27165static PyObject *_wrap_new_PyPreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27166 PyObject *resultobj = NULL;
d55e5bfc
RD
27167 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
27168 long arg2 ;
27169 wxWindow *arg3 = (wxWindow *) 0 ;
27170 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27171 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27172 wxSize const &arg5_defvalue = wxDefaultSize ;
27173 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27174 long arg6 = (long) 0 ;
27175 wxString const &arg7_defvalue = wxPyPanelNameStr ;
27176 wxString *arg7 = (wxString *) &arg7_defvalue ;
27177 wxPyPreviewControlBar *result;
27178 wxPoint temp4 ;
27179 wxSize temp5 ;
b411df4a 27180 bool temp7 = false ;
d55e5bfc
RD
27181 PyObject * obj0 = 0 ;
27182 PyObject * obj1 = 0 ;
27183 PyObject * obj2 = 0 ;
27184 PyObject * obj3 = 0 ;
27185 PyObject * obj4 = 0 ;
27186 PyObject * obj5 = 0 ;
27187 PyObject * obj6 = 0 ;
27188 char *kwnames[] = {
27189 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27190 };
27191
27192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
27193 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27194 if (SWIG_arg_fail(1)) SWIG_fail;
27195 {
32fe5131 27196 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
27197 if (SWIG_arg_fail(2)) SWIG_fail;
27198 }
27199 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27200 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
27201 if (obj3) {
27202 {
27203 arg4 = &temp4;
27204 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27205 }
27206 }
27207 if (obj4) {
27208 {
27209 arg5 = &temp5;
27210 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27211 }
27212 }
27213 if (obj5) {
36ed4f51 27214 {
32fe5131 27215 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
27216 if (SWIG_arg_fail(6)) SWIG_fail;
27217 }
d55e5bfc
RD
27218 }
27219 if (obj6) {
27220 {
27221 arg7 = wxString_in_helper(obj6);
27222 if (arg7 == NULL) SWIG_fail;
b411df4a 27223 temp7 = true;
d55e5bfc
RD
27224 }
27225 }
27226 {
0439c23b 27227 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
27228 PyThreadState* __tstate = wxPyBeginAllowThreads();
27229 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
27230
27231 wxPyEndAllowThreads(__tstate);
110da5b0 27232 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
27233 }
27234 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
27235 {
27236 if (temp7)
27237 delete arg7;
27238 }
27239 return resultobj;
27240 fail:
27241 {
27242 if (temp7)
27243 delete arg7;
27244 }
27245 return NULL;
27246}
27247
27248
c370783e 27249static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27250 PyObject *resultobj = NULL;
d55e5bfc
RD
27251 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27252 PyObject *arg2 = (PyObject *) 0 ;
27253 PyObject *arg3 = (PyObject *) 0 ;
27254 PyObject * obj0 = 0 ;
27255 PyObject * obj1 = 0 ;
27256 PyObject * obj2 = 0 ;
27257 char *kwnames[] = {
27258 (char *) "self",(char *) "self",(char *) "_class", NULL
27259 };
27260
27261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
27262 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27263 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27264 arg2 = obj1;
27265 arg3 = obj2;
27266 {
27267 PyThreadState* __tstate = wxPyBeginAllowThreads();
27268 (arg1)->_setCallbackInfo(arg2,arg3);
27269
27270 wxPyEndAllowThreads(__tstate);
27271 if (PyErr_Occurred()) SWIG_fail;
27272 }
27273 Py_INCREF(Py_None); resultobj = Py_None;
27274 return resultobj;
27275 fail:
27276 return NULL;
27277}
27278
27279
c370783e 27280static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27281 PyObject *resultobj = NULL;
d55e5bfc
RD
27282 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27283 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
27284 PyObject * obj0 = 0 ;
27285 PyObject * obj1 = 0 ;
27286 char *kwnames[] = {
27287 (char *) "self",(char *) "preview", NULL
27288 };
27289
27290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27291 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27292 if (SWIG_arg_fail(1)) SWIG_fail;
27293 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27294 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27295 {
27296 PyThreadState* __tstate = wxPyBeginAllowThreads();
27297 (arg1)->SetPrintPreview(arg2);
27298
27299 wxPyEndAllowThreads(__tstate);
27300 if (PyErr_Occurred()) SWIG_fail;
27301 }
27302 Py_INCREF(Py_None); resultobj = Py_None;
27303 return resultobj;
27304 fail:
27305 return NULL;
27306}
27307
27308
c370783e 27309static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27310 PyObject *resultobj = NULL;
d55e5bfc
RD
27311 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27312 PyObject * obj0 = 0 ;
27313 char *kwnames[] = {
27314 (char *) "self", NULL
27315 };
27316
27317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
36ed4f51
RD
27318 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27319 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27320 {
27321 PyThreadState* __tstate = wxPyBeginAllowThreads();
27322 (arg1)->base_CreateButtons();
27323
27324 wxPyEndAllowThreads(__tstate);
27325 if (PyErr_Occurred()) SWIG_fail;
27326 }
27327 Py_INCREF(Py_None); resultobj = Py_None;
27328 return resultobj;
27329 fail:
27330 return NULL;
27331}
27332
27333
c370783e 27334static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27335 PyObject *resultobj = NULL;
d55e5bfc
RD
27336 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27337 int arg2 ;
27338 PyObject * obj0 = 0 ;
27339 PyObject * obj1 = 0 ;
27340 char *kwnames[] = {
27341 (char *) "self",(char *) "zoom", NULL
27342 };
27343
27344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27345 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27346 if (SWIG_arg_fail(1)) SWIG_fail;
27347 {
32fe5131 27348 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
27349 if (SWIG_arg_fail(2)) SWIG_fail;
27350 }
d55e5bfc
RD
27351 {
27352 PyThreadState* __tstate = wxPyBeginAllowThreads();
27353 (arg1)->base_SetZoomControl(arg2);
27354
27355 wxPyEndAllowThreads(__tstate);
27356 if (PyErr_Occurred()) SWIG_fail;
27357 }
27358 Py_INCREF(Py_None); resultobj = Py_None;
27359 return resultobj;
27360 fail:
27361 return NULL;
27362}
27363
27364
c370783e 27365static PyObject * PyPreviewControlBar_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27366 PyObject *obj;
27367 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27368 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
27369 Py_INCREF(obj);
27370 return Py_BuildValue((char *)"");
27371}
27372static PyMethodDef SwigMethods[] = {
36ed4f51
RD
27373 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
27374 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS, NULL},
27375 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27376 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27377 { (char *)"Panel_SetFocus", (PyCFunction) _wrap_Panel_SetFocus, METH_VARARGS | METH_KEYWORDS, NULL},
27378 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction) _wrap_Panel_SetFocusIgnoringChildren, METH_VARARGS | METH_KEYWORDS, NULL},
27379 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27380 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
27381 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27382 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27383 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27384 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
27385 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
27386 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
27387 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
27388 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
27389 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS, NULL},
27390 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
27391 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS, NULL},
27392 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
27393 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS, NULL},
27394 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS, NULL},
27395 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
27396 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
27397 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
27398 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
27399 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27400 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27401 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27402 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27403 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
27404 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27405 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
27406 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
27407 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS, NULL},
27408 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
27409 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS, NULL},
27410 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS, NULL},
27411 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27412 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27413 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
27414 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27415 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27416 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
27417 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
27418 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
27419 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
27420 { (char *)"TopLevelWindow_IsActive", (PyCFunction) _wrap_TopLevelWindow_IsActive, METH_VARARGS | METH_KEYWORDS, NULL},
27421 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
27422 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacGetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
27423 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
27424 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
27425 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27426 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27427 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
27428 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27429 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
27430 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
27431 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
27432 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27433 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27434 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27435 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27436 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
27437 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27438 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27439 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
27440 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
27441 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27442 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27443 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27444 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27445 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
27446 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27447 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
27448 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
27449 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27450 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27451 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
27452 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
27453 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
27454 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
62d32a5f 27455 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
27456 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS, NULL},
27457 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
27458 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
27459 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27460 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
27461 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27462 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27463 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27464 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
27465 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27466 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
27467 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
27468 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
27469 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27470 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27471 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27472 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS, NULL},
27473 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
27474 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27475 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27476 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27477 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
27478 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
27479 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27480 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27481 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27482 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27483 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
27484 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
27485 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
27486 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
27487 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS, NULL},
27488 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS, NULL},
27489 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27490 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
27491 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27492 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27493 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27494 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS, NULL},
27495 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS, NULL},
27496 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
27497 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
27498 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
27499 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
27500 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
27501 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
27502 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27503 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS, NULL},
27504 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS, NULL},
27505 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
27506 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27507 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
27508 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27509 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27510 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27511 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
27512 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction) _wrap_SplitterWindow_GetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
27513 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
27514 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
27515 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27516 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL},
27517 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
27518 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
27519 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27520 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
27521 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27522 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27523 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27524 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS, NULL},
27525 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL},
27526 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL},
27527 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
27528 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27529 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27530 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27531 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
27532 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
27533 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
27534 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
27535 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
27536 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27537 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27538 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27539 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27540 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27541 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27542 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27543 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27544 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27545 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27546 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27547 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27548 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27549 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL},
27550 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
27551 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27552 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
27553 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
27554 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
27555 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
27556 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
27557 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
27558 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
27559 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27560 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
27561 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
27562 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27563 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27564 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27565 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27566 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27567 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27568 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27569 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27570 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
27571 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27572 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27573 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27574 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27575 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27576 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
27577 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27578 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27579 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27580 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27581 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27582 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27583 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
27584 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27585 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
27586 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL},
27587 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL},
27588 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27589 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27590 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27591 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
27592 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27593 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27594 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
27595 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27596 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27597 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
27598 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27599 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
27600 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS, NULL},
27601 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
27602 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27603 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27604 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27605 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27606 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
27607 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
27608 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL},
27609 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL},
27610 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
27611 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
27612 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
27613 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27614 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL},
27615 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
7993762b
RD
27616 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction) _wrap_VScrolledWindow_GetVisibleBegin, METH_VARARGS | METH_KEYWORDS, NULL},
27617 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction) _wrap_VScrolledWindow_GetVisibleEnd, METH_VARARGS | METH_KEYWORDS, NULL},
27618 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
27619 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
27620 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
27621 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
27622 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27623 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27624 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27625 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27626 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
27627 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27628 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27629 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
27630 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
27631 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS, NULL},
27632 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL},
27633 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
27634 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
27635 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
27636 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
27637 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
27638 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27639 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
27640 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
27641 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
27642 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
27643 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
27644 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
27645 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
27646 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
27647 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
27648 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27649 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27650 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27651 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27652 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL},
27653 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
27654 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS, NULL},
27655 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
27656 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL},
7e08d4ef 27657 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
27658 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27659 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
27660 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
27661 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS, NULL},
27662 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27663 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27664 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
27665 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
27666 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27667 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
27668 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS, NULL},
27669 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS, NULL},
27670 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
27671 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27672 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
27673 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
27674 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27675 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
27676 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
27677 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27678 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS, NULL},
27679 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
32fe5131 27680 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
27681 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27682 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27683 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27684 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27685 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27686 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27687 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
27688 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27689 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27690 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27691 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
27692 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
27693 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
27694 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27695 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
27696 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27697 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27698 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
27699 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
27700 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
27701 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27702 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
27703 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL},
27704 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS, NULL},
27705 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
27706 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27707 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
27708 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
27709 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
27710 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27711 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27712 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27713 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27714 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
27715 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27716 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
27717 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
27718 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
27719 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27720 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
27721 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS, NULL},
27722 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS, NULL},
27723 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
27724 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
27725 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27726 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
27727 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
27728 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
27729 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27730 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
27731 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
27732 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27733 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
27734 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
27735 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27736 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
27737 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27738 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS, NULL},
27739 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
32fe5131 27740 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
27741 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27742 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
27743 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27744 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
27745 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS, NULL},
27746 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
27747 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27748 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27749 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27750 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
27751 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27752 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27753 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27754 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
27755 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
27756 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
27757 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
27758 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27759 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
27760 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27761 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27762 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27763 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
27764 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
27765 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27766 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27767 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27768 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
27769 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
27770 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
27771 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27772 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27773 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27774 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS, NULL},
27775 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS, NULL},
27776 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS, NULL},
27777 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS, NULL},
27778 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS, NULL},
27779 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27780 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27781 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
27782 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
27783 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27784 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27785 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27786 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS, NULL},
27787 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
27788 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS, NULL},
27789 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
27790 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27791 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27792 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27793 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
27794 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27795 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27796 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27797 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
976dbff5 27798 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
27799 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27800 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27801 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27802 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27803 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27804 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27805 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27806 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27807 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
27808 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27809 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27810 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27811 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
27812 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
27813 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
27814 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
27815 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
27816 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
27817 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 27818 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
8d38bd1d 27819 { (char *)"PyWindow_base_OnInternalIdle", (PyCFunction) _wrap_PyWindow_base_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
27820 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
27821 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
27822 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
27823 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27824 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
976dbff5 27825 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
27826 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27827 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27828 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27829 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27830 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27831 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27832 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27833 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27834 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
27835 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27836 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27837 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27838 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
27839 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
27840 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
27841 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
27842 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
27843 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
27844 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 27845 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
8d38bd1d 27846 { (char *)"PyPanel_base_OnInternalIdle", (PyCFunction) _wrap_PyPanel_base_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
27847 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
27848 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27849 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27850 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27851 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
976dbff5 27852 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
27853 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27854 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27855 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27856 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27857 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27858 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27859 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27860 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27861 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
27862 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27863 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27864 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27865 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
27866 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
27867 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
27868 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
27869 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
27870 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
27871 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 27872 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
8d38bd1d 27873 { (char *)"PyScrolledWindow_base_OnInternalIdle", (PyCFunction) _wrap_PyScrolledWindow_base_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
27874 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
27875 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
27876 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS, NULL},
27877 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
27878 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
27879 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27880 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
27881 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
27882 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27883 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
27884 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
27885 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
27886 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
27887 { (char *)"PrintData_GetBin", (PyCFunction) _wrap_PrintData_GetBin, METH_VARARGS | METH_KEYWORDS, NULL},
27888 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
27889 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
27890 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
27891 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27892 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
27893 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27894 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
27895 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
27896 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
27897 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
27898 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
27899 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
27900 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
27901 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
7fbf8399
RD
27902 { (char *)"PrintData_GetPrivData", (PyCFunction) _wrap_PrintData_GetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
27903 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
27904 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
27905 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
27906 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
27907 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27908 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
27909 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27910 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
27911 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
27912 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
27913 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
27914 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27915 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
27916 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
27917 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27918 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27919 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
27920 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
27921 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
27922 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
27923 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
27924 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
27925 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
27926 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
27927 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27928 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
27929 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
27930 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
27931 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
27932 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
27933 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
27934 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
27935 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
fef4c27a
RD
27936 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction) _wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
27937 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction) _wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
27938 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
27939 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27940 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL},
27941 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
27942 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
27943 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
27944 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
27945 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
27946 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
27947 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
27948 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
27949 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
27950 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
27951 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
27952 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27953 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
27954 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
27955 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
27956 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
27957 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
27958 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
27959 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
27960 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
27961 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27962 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
27963 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
27964 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
27965 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27966 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
27967 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27968 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
27969 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27970 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
27971 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27972 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
27973 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
27974 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
27975 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
27976 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27977 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
27978 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
27979 { (char *)"PrintDialog_GetPrintData", (PyCFunction) _wrap_PrintDialog_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
27980 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS, NULL},
27981 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
27982 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
27983 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
27984 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27985 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
27986 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
27987 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
27988 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27989 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
27990 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS, NULL},
27991 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS, NULL},
27992 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
27993 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
27994 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27995 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
27996 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS, NULL},
27997 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
27998 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
27999 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
28000 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
28001 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
28002 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
28003 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
28004 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28005 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28006 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28007 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28008 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
28009 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS, NULL},
28010 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28011 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28012 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28013 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
28014 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28015 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
28016 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28017 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
28018 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28019 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
28020 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28021 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28022 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28023 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
28024 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28025 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28026 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28027 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28028 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS, NULL},
28029 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS, NULL},
28030 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS, NULL},
28031 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS, NULL},
28032 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS, NULL},
28033 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
28034 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
28035 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28036 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28037 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
28038 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
28039 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28040 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28041 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28042 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28043 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28044 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
28045 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
28046 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
28047 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
28048 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28049 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28050 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28051 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28052 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28053 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28054 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
28055 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28056 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL},
28057 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
28058 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
28059 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28060 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28061 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
28062 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
28063 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
28064 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28065 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28066 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL},
28067 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
28068 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28069 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28070 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28071 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28072 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
28073 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28074 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28075 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
28076 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28077 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28078 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28079 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS, NULL},
28080 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28081 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
c370783e 28082 { NULL, NULL, 0, NULL }
d55e5bfc
RD
28083};
28084
28085
28086/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28087
28088static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
28089 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28090}
28091static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
28092 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
28093}
28094static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
28095 return (void *)((wxEvent *) ((wxMenuEvent *) x));
28096}
28097static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
28098 return (void *)((wxEvent *) ((wxCloseEvent *) x));
28099}
28100static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
28101 return (void *)((wxEvent *) ((wxMouseEvent *) x));
28102}
28103static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
28104 return (void *)((wxEvent *) ((wxEraseEvent *) x));
28105}
28106static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
28107 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
28108}
28109static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
28110 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
28111}
28112static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
28113 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
28114}
28115static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
28116 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
28117}
28118static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
28119 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
28120}
28121static void *_p_wxPyEventTo_p_wxEvent(void *x) {
28122 return (void *)((wxEvent *) ((wxPyEvent *) x));
28123}
28124static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
28125 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
28126}
28127static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
28128 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
28129}
28130static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
28131 return (void *)((wxEvent *) ((wxIdleEvent *) x));
28132}
28133static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
28134 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
28135}
28136static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
28137 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
28138}
28139static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
28140 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
28141}
28142static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
28143 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
28144}
28145static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
28146 return (void *)((wxEvent *) ((wxActivateEvent *) x));
28147}
28148static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
28149 return (void *)((wxEvent *) ((wxSizeEvent *) x));
28150}
28151static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
28152 return (void *)((wxEvent *) ((wxMoveEvent *) x));
28153}
53aa7709
RD
28154static void *_p_wxDateEventTo_p_wxEvent(void *x) {
28155 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
28156}
d55e5bfc
RD
28157static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
28158 return (void *)((wxEvent *) ((wxPaintEvent *) x));
28159}
28160static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
28161 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
28162}
28163static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
28164 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
28165}
28166static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
28167 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
28168}
28169static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
28170 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
28171}
28172static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
28173 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
28174}
28175static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
28176 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
28177}
28178static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
28179 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
28180}
28181static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
28182 return (void *)((wxEvent *) ((wxFocusEvent *) x));
28183}
28184static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
28185 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
28186}
28187static void *_p_wxSashEventTo_p_wxEvent(void *x) {
28188 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
28189}
28190static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
28191 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
28192}
28193static void *_p_wxShowEventTo_p_wxEvent(void *x) {
28194 return (void *)((wxEvent *) ((wxShowEvent *) x));
28195}
28196static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
28197 return (void *)((wxEvent *) ((wxCommandEvent *) x));
28198}
28199static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
28200 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
28201}
28202static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
28203 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28204}
28205static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
28206 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
28207}
28208static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
28209 return (void *)((wxEvent *) ((wxKeyEvent *) x));
28210}
28211static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
28212 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
28213}
28214static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
28215 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
28216}
28217static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
28218 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
28219}
070c48b4
RD
28220static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
28221 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28222}
d55e5bfc
RD
28223static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
28224 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
28225}
28226static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
28227 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
28228}
28229static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
28230 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
28231}
28232static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
28233 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
28234}
28235static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
28236 return (void *)((wxEvtHandler *) ((wxValidator *) x));
28237}
28238static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
28239 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
28240}
28241static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
28242 return (void *)((wxEvtHandler *) ((wxMenu *) x));
28243}
070c48b4
RD
28244static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
28245 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28246}
d55e5bfc
RD
28247static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
28248 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
28249}
28250static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
28251 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
28252}
28253static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
28254 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
28255}
28256static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
28257 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
28258}
28259static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
28260 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
28261}
28262static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
28263 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
28264}
28265static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
28266 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
28267}
28268static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
28269 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
28270}
28271static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
28272 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
28273}
28274static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
28275 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
28276}
28277static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
28278 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
28279}
28280static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
28281 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28282}
28283static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
28284 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
28285}
28286static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
28287 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
28288}
28289static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
28290 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
28291}
28292static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
28293 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
28294}
28295static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
28296 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
28297}
28298static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
28299 return (void *)((wxEvtHandler *) ((wxWindow *) x));
28300}
28301static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
28302 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
28303}
28304static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
28305 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
28306}
28307static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
28308 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
28309}
28310static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
28311 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
28312}
28313static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
28314 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
28315}
28316static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
28317 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
28318}
28319static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
28320 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28321}
28322static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
28323 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
28324}
28325static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
28326 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
28327}
28328static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
28329 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
28330}
28331static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
28332 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
28333}
28334static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
28335 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
28336}
28337static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
28338 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
28339}
28340static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
28341 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28342}
28343static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
28344 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
28345}
28346static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
28347 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
28348}
5e483524
RD
28349static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
28350 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d55e5bfc
RD
28351}
28352static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
28353 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
28354}
d55e5bfc
RD
28355static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
28356 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
28357}
28358static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
28359 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
28360}
28361static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
28362 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
28363}
070c48b4
RD
28364static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
28365 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
28366}
d55e5bfc
RD
28367static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
28368 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
28369}
28370static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
28371 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
28372}
28373static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
28374 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
28375}
28376static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
28377 return (void *)((wxFrame *) ((wxProgressDialog *) x));
28378}
28379static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
28380 return (void *)((wxFrame *) ((wxTipWindow *) x));
28381}
28382static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
28383 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
28384}
28385static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
28386 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28387}
28388static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
28389 return (void *)((wxFrame *) ((wxMiniFrame *) x));
28390}
28391static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
28392 return (void *)((wxFrame *) ((wxSplashScreen *) x));
28393}
28394static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
28395 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
28396}
28397static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
28398 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
28399}
28400static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
28401 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
28402}
28403static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
28404 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
28405}
28406static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
28407 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28408}
28409static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
28410 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
28411}
28412static void *_p_wxSizerItemTo_p_wxObject(void *x) {
28413 return (void *)((wxObject *) ((wxSizerItem *) x));
28414}
28415static void *_p_wxScrollEventTo_p_wxObject(void *x) {
28416 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
28417}
28418static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
28419 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
28420}
28421static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
28422 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
28423}
28424static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
28425 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
28426}
28427static void *_p_wxSizerTo_p_wxObject(void *x) {
28428 return (void *)((wxObject *) ((wxSizer *) x));
28429}
28430static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
28431 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
28432}
28433static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
28434 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
28435}
28436static void *_p_wxPyPanelTo_p_wxObject(void *x) {
28437 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
28438}
28439static void *_p_wxEventTo_p_wxObject(void *x) {
28440 return (void *)((wxObject *) ((wxEvent *) x));
28441}
28442static void *_p_wxFontDataTo_p_wxObject(void *x) {
28443 return (void *)((wxObject *) ((wxFontData *) x));
28444}
28445static void *_p_wxPrintDataTo_p_wxObject(void *x) {
28446 return (void *)((wxObject *) ((wxPrintData *) x));
28447}
28448static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
28449 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
28450}
28451static void *_p_wxGridSizerTo_p_wxObject(void *x) {
28452 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
28453}
28454static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
28455 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
28456}
28457static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
28458 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
28459}
5e483524
RD
28460static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
28461 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d55e5bfc
RD
28462}
28463static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
28464 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
28465}
28466static void *_p_wxPaintEventTo_p_wxObject(void *x) {
28467 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
28468}
28469static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
28470 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
28471}
28472static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
28473 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
28474}
28475static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
28476 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
28477}
28478static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
28479 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
28480}
28481static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
28482 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
28483}
28484static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
28485 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
28486}
28487static void *_p_wxControlTo_p_wxObject(void *x) {
28488 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
28489}
28490static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
28491 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
28492}
28493static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
28494 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
28495}
28496static void *_p_wxFSFileTo_p_wxObject(void *x) {
28497 return (void *)((wxObject *) ((wxFSFile *) x));
28498}
28499static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
28500 return (void *)((wxObject *) ((wxFindReplaceData *) x));
28501}
28502static void *_p_wxPySizerTo_p_wxObject(void *x) {
28503 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
28504}
28505static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
28506 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
28507}
28508static void *_p_wxColourDataTo_p_wxObject(void *x) {
28509 return (void *)((wxObject *) ((wxColourData *) x));
28510}
28511static void *_p_wxPyEventTo_p_wxObject(void *x) {
28512 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
28513}
28514static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
28515 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
28516}
28517static void *_p_wxPyWindowTo_p_wxObject(void *x) {
28518 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
28519}
28520static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
28521 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
28522}
28523static void *_p_wxFileDialogTo_p_wxObject(void *x) {
28524 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
28525}
28526static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
28527 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
28528}
28529static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
28530 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
28531}
28532static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
28533 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
28534}
070c48b4
RD
28535static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
28536 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28537}
d55e5bfc
RD
28538static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
28539 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
28540}
28541static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
28542 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
28543}
28544static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
28545 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
28546}
28547static void *_p_wxShowEventTo_p_wxObject(void *x) {
28548 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
28549}
28550static void *_p_wxPrinterTo_p_wxObject(void *x) {
28551 return (void *)((wxObject *) ((wxPrinter *) x));
28552}
28553static void *_p_wxMenuItemTo_p_wxObject(void *x) {
28554 return (void *)((wxObject *) ((wxMenuItem *) x));
28555}
53aa7709
RD
28556static void *_p_wxDateEventTo_p_wxObject(void *x) {
28557 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
28558}
d55e5bfc
RD
28559static void *_p_wxIdleEventTo_p_wxObject(void *x) {
28560 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
28561}
28562static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
28563 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
28564}
28565static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
28566 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
28567}
28568static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
28569 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
28570}
28571static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
28572 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
28573}
28574static void *_p_wxSizeEventTo_p_wxObject(void *x) {
28575 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
28576}
28577static void *_p_wxMoveEventTo_p_wxObject(void *x) {
28578 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
28579}
28580static void *_p_wxActivateEventTo_p_wxObject(void *x) {
28581 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
28582}
d55e5bfc
RD
28583static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
28584 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
28585}
28586static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
28587 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
28588}
28589static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
28590 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
28591}
28592static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
28593 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
28594}
28595static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
28596 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
28597}
28598static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
28599 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
28600}
28601static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
28602 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
28603}
28604static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
28605 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
28606}
28607static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
28608 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
28609}
943e8dfd
RD
28610static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
28611 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
28612}
d55e5bfc
RD
28613static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
28614 return (void *)((wxObject *) ((wxImageHandler *) x));
28615}
943e8dfd
RD
28616static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
28617 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
28618}
d55e5bfc
RD
28619static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
28620 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
28621}
28622static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
28623 return (void *)((wxObject *) ((wxEvtHandler *) x));
28624}
28625static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
28626 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
28627}
28628static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
28629 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28630}
28631static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
28632 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
28633}
62d32a5f
RD
28634static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
28635 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
28636}
d55e5bfc
RD
28637static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
28638 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
28639}
28640static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
28641 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
28642}
28643static void *_p_wxImageTo_p_wxObject(void *x) {
28644 return (void *)((wxObject *) ((wxImage *) x));
28645}
28646static void *_p_wxFrameTo_p_wxObject(void *x) {
28647 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
28648}
28649static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
28650 return (void *)((wxObject *) ((wxPyPrintout *) x));
28651}
28652static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
28653 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
28654}
28655static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
28656 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
28657}
28658static void *_p_wxStatusBarTo_p_wxObject(void *x) {
28659 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
28660}
28661static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
28662 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
28663}
28664static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
28665 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28666}
28667static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
28668 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
28669}
28670static void *_p_wxKeyEventTo_p_wxObject(void *x) {
28671 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
28672}
28673static void *_p_wxWindowTo_p_wxObject(void *x) {
28674 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
28675}
28676static void *_p_wxMenuTo_p_wxObject(void *x) {
28677 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
28678}
28679static void *_p_wxMenuBarTo_p_wxObject(void *x) {
28680 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
28681}
28682static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
28683 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
28684}
28685static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
28686 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
28687}
28688static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
28689 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
28690}
28691static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
28692 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
28693}
28694static void *_p_wxSashWindowTo_p_wxObject(void *x) {
28695 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
28696}
28697static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
28698 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
28699}
28700static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
28701 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
28702}
28703static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
28704 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28705}
28706static void *_p_wxTipWindowTo_p_wxObject(void *x) {
28707 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
28708}
28709static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
28710 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
28711}
28712static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
28713 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
28714}
28715static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
28716 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
28717}
28718static void *_p_wxSashEventTo_p_wxObject(void *x) {
28719 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
28720}
28721static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
28722 return (void *)((wxObject *) ((wxPrintPreview *) x));
28723}
28724static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
28725 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
28726}
28727static void *_p_wxPanelTo_p_wxObject(void *x) {
28728 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
28729}
28730static void *_p_wxDialogTo_p_wxObject(void *x) {
28731 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
28732}
28733static void *_p_wxColourDialogTo_p_wxObject(void *x) {
28734 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
28735}
28736static void *_p_wxDirDialogTo_p_wxObject(void *x) {
28737 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
28738}
28739static void *_p_wxFontDialogTo_p_wxObject(void *x) {
28740 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
28741}
28742static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
6e0de3df 28743 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
d55e5bfc
RD
28744}
28745static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
070c48b4 28746 return (void *)((wxObject *) ((wxPrintDialog *) x));
d55e5bfc
RD
28747}
28748static void *_p_wxFileSystemTo_p_wxObject(void *x) {
28749 return (void *)((wxObject *) ((wxFileSystem *) x));
28750}
28751static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
28752 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
28753}
28754static void *_p_wxMenuEventTo_p_wxObject(void *x) {
28755 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
28756}
28757static void *_p_wxPyAppTo_p_wxObject(void *x) {
28758 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
28759}
28760static void *_p_wxCloseEventTo_p_wxObject(void *x) {
28761 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
28762}
28763static void *_p_wxMouseEventTo_p_wxObject(void *x) {
28764 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
28765}
28766static void *_p_wxEraseEventTo_p_wxObject(void *x) {
28767 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
28768}
28769static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
28770 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
28771}
28772static void *_p_wxCommandEventTo_p_wxObject(void *x) {
28773 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
28774}
28775static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
28776 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
28777}
28778static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
28779 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
28780}
28781static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
28782 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
28783}
28784static void *_p_wxFocusEventTo_p_wxObject(void *x) {
28785 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
28786}
28787static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
28788 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
28789}
28790static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
28791 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
28792}
28793static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
28794 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
28795}
28796static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
28797 return (void *)((wxObject *) ((wxPrintDialogData *) x));
28798}
28799static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
28800 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
28801}
28802static void *_p_wxValidatorTo_p_wxObject(void *x) {
28803 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
28804}
28805static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
28806 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28807}
28808static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
28809 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
28810}
28811static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
28812 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28813}
28814static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
28815 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
28816}
28817static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
28818 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
28819}
28820static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
28821 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
28822}
28823static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
28824 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
28825}
28826static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
28827 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
28828}
28829static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
28830 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
28831}
28832static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
28833 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
28834}
d55e5bfc
RD
28835static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
28836 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
28837}
28838static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
28839 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
28840}
28841static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
28842 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
28843}
28844static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
28845 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
28846}
d55e5bfc
RD
28847static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
28848 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
28849}
070c48b4
RD
28850static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
28851 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28852}
d55e5bfc
RD
28853static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
28854 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
28855}
28856static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
28857 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
28858}
28859static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
28860 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
28861}
28862static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
28863 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
28864}
070c48b4
RD
28865static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
28866 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
28867}
d55e5bfc
RD
28868static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
28869 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
28870}
28871static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
28872 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
28873}
28874static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
28875 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28876}
28877static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
28878 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
28879}
28880static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
28881 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
28882}
28883static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
28884 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
28885}
28886static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
28887 return (void *)((wxWindow *) ((wxMenuBar *) x));
28888}
28889static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
28890 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
28891}
28892static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
28893 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
28894}
28895static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
28896 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
28897}
070c48b4
RD
28898static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
28899 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28900}
d55e5bfc
RD
28901static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
28902 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
28903}
28904static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
28905 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
28906}
28907static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
28908 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
28909}
28910static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
28911 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
28912}
28913static void *_p_wxPanelTo_p_wxWindow(void *x) {
28914 return (void *)((wxWindow *) ((wxPanel *) x));
28915}
28916static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
28917 return (void *)((wxWindow *) ((wxStatusBar *) x));
28918}
d55e5bfc
RD
28919static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
28920 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
28921}
28922static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
28923 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
28924}
28925static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
28926 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28927}
28928static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
28929 return (void *)((wxWindow *) ((wxPopupWindow *) x));
28930}
28931static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
28932 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
28933}
28934static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
28935 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
28936}
28937static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
28938 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
28939}
28940static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
28941 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
28942}
28943static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
28944 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
28945}
28946static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
28947 return (void *)((wxWindow *) ((wxSashWindow *) x));
28948}
070c48b4
RD
28949static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
28950 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
28951}
d55e5bfc
RD
28952static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
28953 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
28954}
28955static void *_p_wxControlTo_p_wxWindow(void *x) {
28956 return (void *)((wxWindow *) ((wxControl *) x));
28957}
28958static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
28959 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
28960}
28961static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
28962 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28963}
28964static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
28965 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
28966}
28967static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
28968 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
28969}
28970static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
28971 return (void *)((wxWindow *) ((wxPyWindow *) x));
28972}
28973static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
28974 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
28975}
28976static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
28977 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
28978}
28979static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
28980 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28981}
28982static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
28983 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
28984}
28985static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
28986 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
28987}
28988static void *_p_wxFrameTo_p_wxWindow(void *x) {
28989 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
28990}
28991static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
28992 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
28993}
28994static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
28995 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
28996}
28997static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
28998 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
28999}
29000static void *_p_wxDialogTo_p_wxWindow(void *x) {
29001 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
29002}
d55e5bfc
RD
29003static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
29004 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
29005}
29006static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
29007 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29008}
29009static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
29010 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
29011}
29012static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
29013 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
29014}
29015static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
29016 return (void *)((wxDialog *) ((wxColourDialog *) x));
29017}
29018static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
29019 return (void *)((wxDialog *) ((wxDirDialog *) x));
29020}
29021static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
29022 return (void *)((wxDialog *) ((wxFontDialog *) x));
29023}
d55e5bfc
RD
29024static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
29025 return (void *)((wxDialog *) ((wxFileDialog *) x));
29026}
29027static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
29028 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
29029}
29030static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
29031 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
29032}
29033static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
29034 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
29035}
070c48b4
RD
29036static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
29037 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
29038}
d55e5bfc
RD
29039static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
29040 return (void *)((wxDialog *) ((wxMessageDialog *) x));
29041}
29042static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
29043 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
29044}
29045static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
29046 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
29047}
29048static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
29049 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
29050}
29051static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
29052 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29053}
29054static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
29055 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29056}
29057static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
29058 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
29059}
29060static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
29061 return (void *)((wxPanel *) ((wxPyPanel *) x));
29062}
29063static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
29064 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
29065}
29066static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
29067 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
29068}
29069static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
29070 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29071}
29072static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
29073 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
29074}
29075static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
29076 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
29077}
29078static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
29079 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
29080}
53aa7709
RD
29081static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
29082 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
29083}
d55e5bfc
RD
29084static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
29085 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
29086}
29087static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
29088 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
29089}
29090static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
29091 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
29092}
29093static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
29094 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
29095}
29096static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
29097 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
29098}
29099static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
29100 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
29101}
29102static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
29103 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
29104}
29105static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
29106 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
29107}
29108static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
29109 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29110}
32fe5131
RD
29111static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, 0};
29112static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
29113static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, 0};
29114static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
29115static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
29116static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0};
29117static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, 0};
29118static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
29119static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, 0};
29120static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0};
29121static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, 0};
29122static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, 0};
29123static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0};
29124static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0};
29125static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0};
29126static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
29127static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0};
29128static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
29129static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
29130static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0};
29131static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0};
29132static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, 0};
29133static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, 0};
29134static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, 0};
29135static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
29136static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, 0};
29137static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0};
29138static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0};
29139static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0};
29140static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0};
29141static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0};
29142static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0};
29143static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0};
29144static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0};
29145static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
29146static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0};
29147static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0};
29148static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0};
29149static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0};
29150static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0};
29151static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0};
29152static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0};
29153static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
29154static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
29155static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
29156static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
29157static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0};
29158static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0};
29159static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0};
29160static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
29161static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0};
29162static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
29163static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0};
29164static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0};
29165static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0};
29166static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0};
29167static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0};
29168static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, 0};
29169static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, 0};
29170static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, 0};
29171static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, 0};
29172static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, 0};
29173static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, 0};
29174static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, 0};
29175static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, 0};
29176static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, 0};
29177static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, 0};
29178static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, 0};
29179static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, 0};
29180static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, 0};
29181static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, 0};
29182static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, 0};
29183static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, 0};
29184static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, 0};
29185static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, 0};
29186static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, 0};
29187static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, 0};
29188static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, 0};
29189static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, 0};
29190static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0};
29191static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0};
29192static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0};
29193static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
29194static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
29195static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0};
29196static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0};
29197static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0};
29198static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0};
29199static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0};
29200static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0};
29201static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0};
29202static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0};
29203static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0};
29204static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0};
29205static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0};
29206static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0};
29207static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0};
29208static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0};
29209static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0};
29210static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0};
29211static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0};
29212static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0};
29213static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0};
29214static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0};
29215static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0};
29216static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0};
29217static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0};
29218static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, 0};
29219static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, 0};
29220static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, 0};
29221static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
29222static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, 0};
29223static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, 0};
29224static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, 0};
29225static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, 0};
29226static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, 0};
29227static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, 0};
29228static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, 0};
29229static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, 0};
29230static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, 0};
29231static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, 0};
29232static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, 0};
29233static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, 0};
29234static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, 0};
29235static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, 0};
29236static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, 0};
29237static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, 0};
29238static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, 0};
29239static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, 0};
29240static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, 0};
29241static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, 0};
29242static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, 0};
29243static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, 0};
29244static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, 0};
29245static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, 0};
29246static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, 0};
29247static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, 0};
29248static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, 0};
29249static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, 0};
29250static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, 0};
29251static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, 0};
29252static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, 0};
29253static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, 0};
29254static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, 0};
29255static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, 0};
29256static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, 0};
29257static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, 0};
29258static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, 0};
29259static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, 0};
29260static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, 0};
29261static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, 0};
29262static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, 0};
29263static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, 0};
29264static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, 0};
29265static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, 0};
29266static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, 0};
29267static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, 0};
29268static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, 0};
29269static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, 0};
29270static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, 0};
29271static swig_type_info _swigt__ptrdiff_t = {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
29272static swig_type_info _swigt__std__ptrdiff_t = {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
29273static swig_type_info _swigt__unsigned_int = {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
29274
29275static swig_type_info *swig_type_initial[] = {
29276 &_swigt__p_char,
29277 &_swigt__p_form_ops_t,
29278 &_swigt__p_int,
29279 &_swigt__p_unsigned_char,
29280 &_swigt__p_unsigned_int,
29281 &_swigt__p_unsigned_long,
29282 &_swigt__p_wxANIHandler,
29283 &_swigt__p_wxAcceleratorTable,
29284 &_swigt__p_wxActivateEvent,
29285 &_swigt__p_wxArrayInt,
29286 &_swigt__p_wxBMPHandler,
29287 &_swigt__p_wxBitmap,
29288 &_swigt__p_wxBoxSizer,
29289 &_swigt__p_wxCURHandler,
29290 &_swigt__p_wxCalculateLayoutEvent,
29291 &_swigt__p_wxChildFocusEvent,
29292 &_swigt__p_wxCloseEvent,
29293 &_swigt__p_wxColour,
29294 &_swigt__p_wxColourData,
29295 &_swigt__p_wxColourDialog,
29296 &_swigt__p_wxCommandEvent,
29297 &_swigt__p_wxContextMenuEvent,
29298 &_swigt__p_wxControl,
29299 &_swigt__p_wxControlWithItems,
29300 &_swigt__p_wxDC,
29301 &_swigt__p_wxDateEvent,
29302 &_swigt__p_wxDialog,
29303 &_swigt__p_wxDirDialog,
29304 &_swigt__p_wxDisplayChangedEvent,
29305 &_swigt__p_wxDropFilesEvent,
29306 &_swigt__p_wxDuplexMode,
29307 &_swigt__p_wxEraseEvent,
29308 &_swigt__p_wxEvent,
29309 &_swigt__p_wxEvtHandler,
29310 &_swigt__p_wxFSFile,
29311 &_swigt__p_wxFileDialog,
29312 &_swigt__p_wxFileSystem,
29313 &_swigt__p_wxFindDialogEvent,
29314 &_swigt__p_wxFindReplaceData,
29315 &_swigt__p_wxFindReplaceDialog,
29316 &_swigt__p_wxFlexGridSizer,
29317 &_swigt__p_wxFocusEvent,
29318 &_swigt__p_wxFont,
29319 &_swigt__p_wxFontData,
29320 &_swigt__p_wxFontDialog,
29321 &_swigt__p_wxFrame,
29322 &_swigt__p_wxGBSizerItem,
29323 &_swigt__p_wxGIFHandler,
29324 &_swigt__p_wxGridBagSizer,
29325 &_swigt__p_wxGridSizer,
29326 &_swigt__p_wxICOHandler,
29327 &_swigt__p_wxIcon,
29328 &_swigt__p_wxIconBundle,
29329 &_swigt__p_wxIconizeEvent,
29330 &_swigt__p_wxIdleEvent,
29331 &_swigt__p_wxImage,
29332 &_swigt__p_wxImageHandler,
29333 &_swigt__p_wxIndividualLayoutConstraint,
29334 &_swigt__p_wxInitDialogEvent,
29335 &_swigt__p_wxJPEGHandler,
29336 &_swigt__p_wxKeyEvent,
29337 &_swigt__p_wxLayoutAlgorithm,
29338 &_swigt__p_wxLayoutConstraints,
29339 &_swigt__p_wxMDIChildFrame,
29340 &_swigt__p_wxMDIClientWindow,
29341 &_swigt__p_wxMDIParentFrame,
29342 &_swigt__p_wxMaximizeEvent,
29343 &_swigt__p_wxMenu,
29344 &_swigt__p_wxMenuBar,
29345 &_swigt__p_wxMenuEvent,
29346 &_swigt__p_wxMenuItem,
29347 &_swigt__p_wxMessageDialog,
29348 &_swigt__p_wxMiniFrame,
29349 &_swigt__p_wxMouseCaptureChangedEvent,
29350 &_swigt__p_wxMouseEvent,
29351 &_swigt__p_wxMoveEvent,
29352 &_swigt__p_wxMultiChoiceDialog,
29353 &_swigt__p_wxNavigationKeyEvent,
29354 &_swigt__p_wxNcPaintEvent,
29355 &_swigt__p_wxNotifyEvent,
29356 &_swigt__p_wxObject,
29357 &_swigt__p_wxPCXHandler,
29358 &_swigt__p_wxPNGHandler,
29359 &_swigt__p_wxPNMHandler,
29360 &_swigt__p_wxPageSetupDialog,
29361 &_swigt__p_wxPageSetupDialogData,
29362 &_swigt__p_wxPaintEvent,
29363 &_swigt__p_wxPaletteChangedEvent,
29364 &_swigt__p_wxPanel,
29365 &_swigt__p_wxPaperSize,
29366 &_swigt__p_wxPasswordEntryDialog,
29367 &_swigt__p_wxPoint,
29368 &_swigt__p_wxPopupWindow,
29369 &_swigt__p_wxPreviewCanvas,
29370 &_swigt__p_wxPreviewControlBar,
29371 &_swigt__p_wxPreviewFrame,
29372 &_swigt__p_wxPrintData,
29373 &_swigt__p_wxPrintDialog,
29374 &_swigt__p_wxPrintDialogData,
29375 &_swigt__p_wxPrintPreview,
29376 &_swigt__p_wxPrinter,
29377 &_swigt__p_wxProgressDialog,
29378 &_swigt__p_wxPyApp,
29379 &_swigt__p_wxPyCommandEvent,
29380 &_swigt__p_wxPyEvent,
29381 &_swigt__p_wxPyHtmlListBox,
29382 &_swigt__p_wxPyImageHandler,
29383 &_swigt__p_wxPyPanel,
29384 &_swigt__p_wxPyPopupTransientWindow,
29385 &_swigt__p_wxPyPreviewControlBar,
29386 &_swigt__p_wxPyPreviewFrame,
29387 &_swigt__p_wxPyPrintPreview,
29388 &_swigt__p_wxPyPrintout,
29389 &_swigt__p_wxPyScrolledWindow,
29390 &_swigt__p_wxPySizer,
29391 &_swigt__p_wxPyTaskBarIcon,
29392 &_swigt__p_wxPyVListBox,
29393 &_swigt__p_wxPyVScrolledWindow,
29394 &_swigt__p_wxPyValidator,
29395 &_swigt__p_wxPyWindow,
29396 &_swigt__p_wxQueryLayoutInfoEvent,
29397 &_swigt__p_wxQueryNewPaletteEvent,
29398 &_swigt__p_wxRect,
29399 &_swigt__p_wxRegion,
29400 &_swigt__p_wxSashEvent,
29401 &_swigt__p_wxSashLayoutWindow,
29402 &_swigt__p_wxSashWindow,
29403 &_swigt__p_wxScrollEvent,
29404 &_swigt__p_wxScrollWinEvent,
29405 &_swigt__p_wxScrolledWindow,
29406 &_swigt__p_wxSetCursorEvent,
29407 &_swigt__p_wxShowEvent,
29408 &_swigt__p_wxSingleChoiceDialog,
29409 &_swigt__p_wxSize,
29410 &_swigt__p_wxSizeEvent,
29411 &_swigt__p_wxSizer,
29412 &_swigt__p_wxSizerItem,
29413 &_swigt__p_wxSplashScreen,
29414 &_swigt__p_wxSplashScreenWindow,
29415 &_swigt__p_wxSplitterEvent,
29416 &_swigt__p_wxSplitterWindow,
29417 &_swigt__p_wxStaticBoxSizer,
29418 &_swigt__p_wxStatusBar,
29419 &_swigt__p_wxStdDialogButtonSizer,
29420 &_swigt__p_wxString,
29421 &_swigt__p_wxSysColourChangedEvent,
29422 &_swigt__p_wxTIFFHandler,
29423 &_swigt__p_wxTaskBarIcon,
29424 &_swigt__p_wxTaskBarIconEvent,
29425 &_swigt__p_wxTextEntryDialog,
29426 &_swigt__p_wxTipWindow,
29427 &_swigt__p_wxToolBar,
29428 &_swigt__p_wxTopLevelWindow,
29429 &_swigt__p_wxUpdateUIEvent,
29430 &_swigt__p_wxValidator,
29431 &_swigt__p_wxVisualAttributes,
29432 &_swigt__p_wxWindow,
29433 &_swigt__p_wxWindowCreateEvent,
29434 &_swigt__p_wxWindowDestroyEvent,
29435 &_swigt__p_wxXPMHandler,
29436 &_swigt__ptrdiff_t,
29437 &_swigt__std__ptrdiff_t,
29438 &_swigt__unsigned_int,
29439};
29440
29441static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
29442static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
29443static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
29444static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
29445static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
29446static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
29447static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
29448static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
29449static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
29450static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
29451static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
29452static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
29453static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
29454static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
29455static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
29456static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
29457static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
29458static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
29459static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
29460static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
29461static 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}};
29462static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
29463static 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}};
29464static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
29465static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
29466static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
29467static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
29468static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
29469static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
29470static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
29471static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
29472static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
29473static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
29474static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
29475static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
29476static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
29477static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
29478static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
29479static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
29480static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
29481static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
29482static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
29483static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
29484static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
29485static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
29486static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
29487static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
29488static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
29489static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
29490static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
29491static 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}};
29492static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
29493static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
29494static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
29495static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
29496static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
29497static 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}};
29498static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
29499static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
29500static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
29501static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
29502static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
29503static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
29504static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
29505static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
29506static 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}};
29507static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
29508static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
29509static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
29510static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
29511static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
29512static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
29513static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
29514static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
29515static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
29516static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
29517static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
29518static 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}};
29519static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
29520static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
29521static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
29522static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
29523static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
29524static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
29525static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
29526static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
29527static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
29528static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
29529static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
29530static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
29531static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
29532static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
29533static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
29534static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
29535static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
29536static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
29537static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
29538static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
29539static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
29540static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
29541static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
29542static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
29543static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
29544static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
29545static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
29546static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
29547static 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}};
29548static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
29549static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
29550static 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}};
29551static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
29552static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
29553static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
29554static 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}};
29555static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
29556static 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}};
29557static 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}};
29558static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
29559static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
29560static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
29561static 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}};
29562static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
29563static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
29564static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
29565static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
29566static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = { {&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
29567static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
29568static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
29569static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
29570static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
29571static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
29572static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
29573static 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}};
29574static 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}};
29575static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
29576static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
29577static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
29578static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
29579static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
29580static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
29581static 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}};
29582static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
29583static 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}};
29584static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
29585static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
29586static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
29587static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
29588static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
29589static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
29590static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
29591static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
29592static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
29593static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
29594static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
29595static 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}};
29596static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
29597static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
29598static 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}};
29599static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
29600static 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}};
29601static swig_cast_info _swigc__ptrdiff_t[] = { {&_swigt__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
29602static swig_cast_info _swigc__std__ptrdiff_t[] = { {&_swigt__std__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
29603static swig_cast_info _swigc__unsigned_int[] = { {&_swigt__unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
29604
29605static swig_cast_info *swig_cast_initial[] = {
29606 _swigc__p_char,
29607 _swigc__p_form_ops_t,
29608 _swigc__p_int,
29609 _swigc__p_unsigned_char,
29610 _swigc__p_unsigned_int,
29611 _swigc__p_unsigned_long,
29612 _swigc__p_wxANIHandler,
29613 _swigc__p_wxAcceleratorTable,
29614 _swigc__p_wxActivateEvent,
29615 _swigc__p_wxArrayInt,
29616 _swigc__p_wxBMPHandler,
29617 _swigc__p_wxBitmap,
29618 _swigc__p_wxBoxSizer,
29619 _swigc__p_wxCURHandler,
29620 _swigc__p_wxCalculateLayoutEvent,
29621 _swigc__p_wxChildFocusEvent,
29622 _swigc__p_wxCloseEvent,
29623 _swigc__p_wxColour,
29624 _swigc__p_wxColourData,
29625 _swigc__p_wxColourDialog,
29626 _swigc__p_wxCommandEvent,
29627 _swigc__p_wxContextMenuEvent,
29628 _swigc__p_wxControl,
29629 _swigc__p_wxControlWithItems,
29630 _swigc__p_wxDC,
29631 _swigc__p_wxDateEvent,
29632 _swigc__p_wxDialog,
29633 _swigc__p_wxDirDialog,
29634 _swigc__p_wxDisplayChangedEvent,
29635 _swigc__p_wxDropFilesEvent,
29636 _swigc__p_wxDuplexMode,
29637 _swigc__p_wxEraseEvent,
29638 _swigc__p_wxEvent,
29639 _swigc__p_wxEvtHandler,
29640 _swigc__p_wxFSFile,
29641 _swigc__p_wxFileDialog,
29642 _swigc__p_wxFileSystem,
29643 _swigc__p_wxFindDialogEvent,
29644 _swigc__p_wxFindReplaceData,
29645 _swigc__p_wxFindReplaceDialog,
29646 _swigc__p_wxFlexGridSizer,
29647 _swigc__p_wxFocusEvent,
29648 _swigc__p_wxFont,
29649 _swigc__p_wxFontData,
29650 _swigc__p_wxFontDialog,
29651 _swigc__p_wxFrame,
29652 _swigc__p_wxGBSizerItem,
29653 _swigc__p_wxGIFHandler,
29654 _swigc__p_wxGridBagSizer,
29655 _swigc__p_wxGridSizer,
29656 _swigc__p_wxICOHandler,
29657 _swigc__p_wxIcon,
29658 _swigc__p_wxIconBundle,
29659 _swigc__p_wxIconizeEvent,
29660 _swigc__p_wxIdleEvent,
29661 _swigc__p_wxImage,
29662 _swigc__p_wxImageHandler,
29663 _swigc__p_wxIndividualLayoutConstraint,
29664 _swigc__p_wxInitDialogEvent,
29665 _swigc__p_wxJPEGHandler,
29666 _swigc__p_wxKeyEvent,
29667 _swigc__p_wxLayoutAlgorithm,
29668 _swigc__p_wxLayoutConstraints,
29669 _swigc__p_wxMDIChildFrame,
29670 _swigc__p_wxMDIClientWindow,
29671 _swigc__p_wxMDIParentFrame,
29672 _swigc__p_wxMaximizeEvent,
29673 _swigc__p_wxMenu,
29674 _swigc__p_wxMenuBar,
29675 _swigc__p_wxMenuEvent,
29676 _swigc__p_wxMenuItem,
29677 _swigc__p_wxMessageDialog,
29678 _swigc__p_wxMiniFrame,
29679 _swigc__p_wxMouseCaptureChangedEvent,
29680 _swigc__p_wxMouseEvent,
29681 _swigc__p_wxMoveEvent,
29682 _swigc__p_wxMultiChoiceDialog,
29683 _swigc__p_wxNavigationKeyEvent,
29684 _swigc__p_wxNcPaintEvent,
29685 _swigc__p_wxNotifyEvent,
29686 _swigc__p_wxObject,
29687 _swigc__p_wxPCXHandler,
29688 _swigc__p_wxPNGHandler,
29689 _swigc__p_wxPNMHandler,
29690 _swigc__p_wxPageSetupDialog,
29691 _swigc__p_wxPageSetupDialogData,
29692 _swigc__p_wxPaintEvent,
29693 _swigc__p_wxPaletteChangedEvent,
29694 _swigc__p_wxPanel,
29695 _swigc__p_wxPaperSize,
29696 _swigc__p_wxPasswordEntryDialog,
29697 _swigc__p_wxPoint,
29698 _swigc__p_wxPopupWindow,
29699 _swigc__p_wxPreviewCanvas,
29700 _swigc__p_wxPreviewControlBar,
29701 _swigc__p_wxPreviewFrame,
29702 _swigc__p_wxPrintData,
29703 _swigc__p_wxPrintDialog,
29704 _swigc__p_wxPrintDialogData,
29705 _swigc__p_wxPrintPreview,
29706 _swigc__p_wxPrinter,
29707 _swigc__p_wxProgressDialog,
29708 _swigc__p_wxPyApp,
29709 _swigc__p_wxPyCommandEvent,
29710 _swigc__p_wxPyEvent,
29711 _swigc__p_wxPyHtmlListBox,
29712 _swigc__p_wxPyImageHandler,
29713 _swigc__p_wxPyPanel,
29714 _swigc__p_wxPyPopupTransientWindow,
29715 _swigc__p_wxPyPreviewControlBar,
29716 _swigc__p_wxPyPreviewFrame,
29717 _swigc__p_wxPyPrintPreview,
29718 _swigc__p_wxPyPrintout,
29719 _swigc__p_wxPyScrolledWindow,
29720 _swigc__p_wxPySizer,
29721 _swigc__p_wxPyTaskBarIcon,
29722 _swigc__p_wxPyVListBox,
29723 _swigc__p_wxPyVScrolledWindow,
29724 _swigc__p_wxPyValidator,
29725 _swigc__p_wxPyWindow,
29726 _swigc__p_wxQueryLayoutInfoEvent,
29727 _swigc__p_wxQueryNewPaletteEvent,
29728 _swigc__p_wxRect,
29729 _swigc__p_wxRegion,
29730 _swigc__p_wxSashEvent,
29731 _swigc__p_wxSashLayoutWindow,
29732 _swigc__p_wxSashWindow,
29733 _swigc__p_wxScrollEvent,
29734 _swigc__p_wxScrollWinEvent,
29735 _swigc__p_wxScrolledWindow,
29736 _swigc__p_wxSetCursorEvent,
29737 _swigc__p_wxShowEvent,
29738 _swigc__p_wxSingleChoiceDialog,
29739 _swigc__p_wxSize,
29740 _swigc__p_wxSizeEvent,
29741 _swigc__p_wxSizer,
29742 _swigc__p_wxSizerItem,
29743 _swigc__p_wxSplashScreen,
29744 _swigc__p_wxSplashScreenWindow,
29745 _swigc__p_wxSplitterEvent,
29746 _swigc__p_wxSplitterWindow,
29747 _swigc__p_wxStaticBoxSizer,
29748 _swigc__p_wxStatusBar,
29749 _swigc__p_wxStdDialogButtonSizer,
29750 _swigc__p_wxString,
29751 _swigc__p_wxSysColourChangedEvent,
29752 _swigc__p_wxTIFFHandler,
29753 _swigc__p_wxTaskBarIcon,
29754 _swigc__p_wxTaskBarIconEvent,
29755 _swigc__p_wxTextEntryDialog,
29756 _swigc__p_wxTipWindow,
29757 _swigc__p_wxToolBar,
29758 _swigc__p_wxTopLevelWindow,
29759 _swigc__p_wxUpdateUIEvent,
29760 _swigc__p_wxValidator,
29761 _swigc__p_wxVisualAttributes,
29762 _swigc__p_wxWindow,
29763 _swigc__p_wxWindowCreateEvent,
29764 _swigc__p_wxWindowDestroyEvent,
29765 _swigc__p_wxXPMHandler,
29766 _swigc__ptrdiff_t,
29767 _swigc__std__ptrdiff_t,
29768 _swigc__unsigned_int,
d55e5bfc
RD
29769};
29770
29771
29772/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29773
29774static swig_const_info swig_const_table[] = {
c370783e 29775{0, 0, 0, 0.0, 0, 0}};
d55e5bfc
RD
29776
29777#ifdef __cplusplus
29778}
29779#endif
32fe5131
RD
29780/*************************************************************************
29781 * Type initialization:
29782 * This problem is tough by the requirement that no dynamic
29783 * memory is used. Also, since swig_type_info structures store pointers to
29784 * swig_cast_info structures and swig_cast_info structures store pointers back
29785 * to swig_type_info structures, we need some lookup code at initialization.
29786 * The idea is that swig generates all the structures that are needed.
29787 * The runtime then collects these partially filled structures.
29788 * The SWIG_InitializeModule function takes these initial arrays out of
29789 * swig_module, and does all the lookup, filling in the swig_module.types
29790 * array with the correct data and linking the correct swig_cast_info
29791 * structures together.
29792
29793 * The generated swig_type_info structures are assigned staticly to an initial
29794 * array. We just loop though that array, and handle each type individually.
29795 * First we lookup if this type has been already loaded, and if so, use the
29796 * loaded structure instead of the generated one. Then we have to fill in the
29797 * cast linked list. The cast data is initially stored in something like a
29798 * two-dimensional array. Each row corresponds to a type (there are the same
29799 * number of rows as there are in the swig_type_initial array). Each entry in
29800 * a column is one of the swig_cast_info structures for that type.
29801 * The cast_initial array is actually an array of arrays, because each row has
29802 * a variable number of columns. So to actually build the cast linked list,
29803 * we find the array of casts associated with the type, and loop through it
29804 * adding the casts to the list. The one last trick we need to do is making
29805 * sure the type pointer in the swig_cast_info struct is correct.
29806
29807 * First off, we lookup the cast->type name to see if it is already loaded.
29808 * There are three cases to handle:
29809 * 1) If the cast->type has already been loaded AND the type we are adding
29810 * casting info to has not been loaded (it is in this module), THEN we
29811 * replace the cast->type pointer with the type pointer that has already
29812 * been loaded.
29813 * 2) If BOTH types (the one we are adding casting info to, and the
29814 * cast->type) are loaded, THEN the cast info has already been loaded by
29815 * the previous module so we just ignore it.
29816 * 3) Finally, if cast->type has not already been loaded, then we add that
29817 * swig_cast_info to the linked list (because the cast->type) pointer will
29818 * be correct.
29819**/
29820
29821#ifdef __cplusplus
29822extern "C" {
29823#if 0
29824} /* c-mode */
29825#endif
29826#endif
29827
29828#if 0
29829#define SWIGRUNTIME_DEBUG
29830#endif
29831
29832SWIGRUNTIME void
29833SWIG_InitializeModule(void *clientdata) {
29834 size_t i;
29835 swig_module_info *module_head;
29836 static int init_run = 0;
29837
29838 clientdata = clientdata;
29839
29840 if (init_run) return;
29841 init_run = 1;
29842
29843 /* Initialize the swig_module */
29844 swig_module.type_initial = swig_type_initial;
29845 swig_module.cast_initial = swig_cast_initial;
29846
29847 /* Try and load any already created modules */
29848 module_head = SWIG_GetModule(clientdata);
29849 if (module_head) {
29850 swig_module.next = module_head->next;
29851 module_head->next = &swig_module;
29852 } else {
29853 /* This is the first module loaded */
29854 swig_module.next = &swig_module;
29855 SWIG_SetModule(clientdata, &swig_module);
29856 }
29857
29858 /* Now work on filling in swig_module.types */
29859#ifdef SWIGRUNTIME_DEBUG
29860 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
29861#endif
29862 for (i = 0; i < swig_module.size; ++i) {
29863 swig_type_info *type = 0;
29864 swig_type_info *ret;
29865 swig_cast_info *cast;
29866
29867#ifdef SWIGRUNTIME_DEBUG
29868 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
29869#endif
29870
29871 /* if there is another module already loaded */
29872 if (swig_module.next != &swig_module) {
29873 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
29874 }
29875 if (type) {
29876 /* Overwrite clientdata field */
29877#ifdef SWIGRUNTIME_DEBUG
29878 printf("SWIG_InitializeModule: found type %s\n", type->name);
29879#endif
29880 if (swig_module.type_initial[i]->clientdata) {
29881 type->clientdata = swig_module.type_initial[i]->clientdata;
29882#ifdef SWIGRUNTIME_DEBUG
29883 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
29884#endif
29885 }
29886 } else {
29887 type = swig_module.type_initial[i];
29888 }
29889
29890 /* Insert casting types */
29891 cast = swig_module.cast_initial[i];
29892 while (cast->type) {
29893 /* Don't need to add information already in the list */
29894 ret = 0;
29895#ifdef SWIGRUNTIME_DEBUG
29896 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
29897#endif
29898 if (swig_module.next != &swig_module) {
29899 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
29900#ifdef SWIGRUNTIME_DEBUG
29901 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
29902#endif
29903 }
29904 if (ret) {
29905 if (type == swig_module.type_initial[i]) {
29906#ifdef SWIGRUNTIME_DEBUG
29907 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
29908#endif
29909 cast->type = ret;
29910 ret = 0;
29911 } else {
29912 /* Check for casting already in the list */
29913 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
29914#ifdef SWIGRUNTIME_DEBUG
29915 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
29916#endif
29917 if (!ocast) ret = 0;
29918 }
29919 }
29920
29921 if (!ret) {
29922#ifdef SWIGRUNTIME_DEBUG
29923 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
29924#endif
29925 if (type->cast) {
29926 type->cast->prev = cast;
29927 cast->next = type->cast;
29928 }
29929 type->cast = cast;
29930 }
29931 cast++;
29932 }
29933 /* Set entry in modules->types array equal to the type */
29934 swig_module.types[i] = type;
29935 }
29936 swig_module.types[i] = 0;
29937
29938#ifdef SWIGRUNTIME_DEBUG
29939 printf("**** SWIG_InitializeModule: Cast List ******\n");
29940 for (i = 0; i < swig_module.size; ++i) {
29941 int j = 0;
29942 swig_cast_info *cast = swig_module.cast_initial[i];
29943 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
29944 while (cast->type) {
29945 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
29946 cast++;
29947 ++j;
29948 }
29949 printf("---- Total casts: %d\n",j);
29950 }
29951 printf("**** SWIG_InitializeModule: Cast List ******\n");
29952#endif
29953}
29954
29955/* This function will propagate the clientdata field of type to
29956* any new swig_type_info structures that have been added into the list
29957* of equivalent types. It is like calling
29958* SWIG_TypeClientData(type, clientdata) a second time.
29959*/
29960SWIGRUNTIME void
29961SWIG_PropagateClientData(void) {
29962 size_t i;
29963 swig_cast_info *equiv;
29964 static int init_run = 0;
29965
29966 if (init_run) return;
29967 init_run = 1;
29968
29969 for (i = 0; i < swig_module.size; i++) {
29970 if (swig_module.types[i]->clientdata) {
29971 equiv = swig_module.types[i]->cast;
29972 while (equiv) {
29973 if (!equiv->converter) {
29974 if (equiv->type && !equiv->type->clientdata)
29975 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
29976 }
29977 equiv = equiv->next;
29978 }
29979 }
29980 }
29981}
29982
29983#ifdef __cplusplus
29984#if 0
29985{
29986 /* c-mode */
29987#endif
29988}
29989#endif
29990
d55e5bfc 29991
36ed4f51
RD
29992
29993#ifdef __cplusplus
29994extern "C" {
29995#endif
29996
29997 /* Python-specific SWIG API */
29998#define SWIG_newvarlink() SWIG_Python_newvarlink()
29999#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
30000#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
30001
30002 /* -----------------------------------------------------------------------------
30003 * global variable support code.
30004 * ----------------------------------------------------------------------------- */
30005
30006 typedef struct swig_globalvar {
30007 char *name; /* Name of global variable */
32fe5131 30008 PyObject *(*get_attr)(void); /* Return the current value */
36ed4f51
RD
30009 int (*set_attr)(PyObject *); /* Set the value */
30010 struct swig_globalvar *next;
30011 } swig_globalvar;
30012
30013 typedef struct swig_varlinkobject {
30014 PyObject_HEAD
30015 swig_globalvar *vars;
30016 } swig_varlinkobject;
30017
32fe5131 30018 SWIGINTERN PyObject *
36ed4f51
RD
30019 swig_varlink_repr(swig_varlinkobject *v) {
30020 v = v;
30021 return PyString_FromString("<Swig global variables>");
30022 }
30023
32fe5131 30024 SWIGINTERN int
36ed4f51
RD
30025 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
30026 swig_globalvar *var;
30027 flags = flags;
30028 fprintf(fp,"Swig global variables { ");
30029 for (var = v->vars; var; var=var->next) {
30030 fprintf(fp,"%s", var->name);
30031 if (var->next) fprintf(fp,", ");
30032 }
30033 fprintf(fp," }\n");
30034 return 0;
30035 }
30036
32fe5131 30037 SWIGINTERN PyObject *
36ed4f51
RD
30038 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
30039 swig_globalvar *var = v->vars;
30040 while (var) {
30041 if (strcmp(var->name,n) == 0) {
30042 return (*var->get_attr)();
30043 }
30044 var = var->next;
30045 }
30046 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
30047 return NULL;
30048 }
30049
32fe5131 30050 SWIGINTERN int
36ed4f51
RD
30051 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
30052 swig_globalvar *var = v->vars;
30053 while (var) {
30054 if (strcmp(var->name,n) == 0) {
30055 return (*var->set_attr)(p);
30056 }
30057 var = var->next;
30058 }
30059 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
30060 return 1;
30061 }
30062
32fe5131
RD
30063 SWIGINTERN PyTypeObject*
30064 swig_varlink_type(void) {
30065 static char varlink__doc__[] = "Swig var link object";
30066 static PyTypeObject varlink_type
30067#if !defined(__cplusplus)
30068 ;
30069 static int type_init = 0;
30070 if (!type_init) {
30071 PyTypeObject tmp
30072#endif
30073 = {
30074 PyObject_HEAD_INIT(&PyType_Type)
30075 0, /* Number of items in variable part (ob_size) */
30076 (char *)"swigvarlink", /* Type name (tp_name) */
30077 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
30078 0, /* Itemsize (tp_itemsize) */
30079 0, /* Deallocator (tp_dealloc) */
30080 (printfunc) swig_varlink_print, /* Print (tp_print) */
30081 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
30082 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
30083 0, /* tp_compare */
30084 (reprfunc) swig_varlink_repr, /* tp_repr */
30085 0, /* tp_as_number */
30086 0, /* tp_as_sequence */
30087 0, /* tp_as_mapping */
30088 0, /* tp_hash */
30089 0, /* tp_call */
30090 0, /* tp_str */
30091 0, /* tp_getattro */
30092 0, /* tp_setattro */
30093 0, /* tp_as_buffer */
30094 0, /* tp_flags */
30095 varlink__doc__, /* tp_doc */
36ed4f51 30096#if PY_VERSION_HEX >= 0x02000000
32fe5131
RD
30097 0, /* tp_traverse */
30098 0, /* tp_clear */
36ed4f51
RD
30099#endif
30100#if PY_VERSION_HEX >= 0x02010000
32fe5131
RD
30101 0, /* tp_richcompare */
30102 0, /* tp_weaklistoffset */
36ed4f51
RD
30103#endif
30104#if PY_VERSION_HEX >= 0x02020000
32fe5131 30105 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
30106#endif
30107#if PY_VERSION_HEX >= 0x02030000
32fe5131 30108 0, /* tp_del */
36ed4f51
RD
30109#endif
30110#ifdef COUNT_ALLOCS
32fe5131 30111 0,0,0,0 /* tp_alloc -> tp_next */
36ed4f51 30112#endif
32fe5131
RD
30113 };
30114#if !defined(__cplusplus)
30115 varlink_type = tmp;
30116 type_init = 1;
30117 }
30118#endif
30119 return &varlink_type;
30120 }
36ed4f51
RD
30121
30122 /* Create a variable linking object for use later */
32fe5131 30123 SWIGINTERN PyObject *
36ed4f51 30124 SWIG_Python_newvarlink(void) {
32fe5131
RD
30125 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
30126 if (result) {
30127 result->vars = 0;
30128 }
36ed4f51
RD
30129 return ((PyObject*) result);
30130 }
30131
32fe5131 30132 SWIGINTERN void
36ed4f51 30133 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
32fe5131
RD
30134 swig_varlinkobject *v = (swig_varlinkobject *) p;
30135 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
30136 if (gv) {
30137 size_t size = strlen(name)+1;
30138 gv->name = (char *)malloc(size);
30139 if (gv->name) {
30140 strncpy(gv->name,name,size);
30141 gv->get_attr = get_attr;
30142 gv->set_attr = set_attr;
30143 gv->next = v->vars;
30144 }
30145 }
36ed4f51
RD
30146 v->vars = gv;
30147 }
30148
30149 /* -----------------------------------------------------------------------------
30150 * constants/methods manipulation
30151 * ----------------------------------------------------------------------------- */
30152
30153 /* Install Constants */
32fe5131 30154 SWIGINTERN void
36ed4f51
RD
30155 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
30156 PyObject *obj = 0;
30157 size_t i;
32fe5131 30158 for (i = 0; constants[i].type; ++i) {
36ed4f51
RD
30159 switch(constants[i].type) {
30160 case SWIG_PY_INT:
30161 obj = PyInt_FromLong(constants[i].lvalue);
30162 break;
30163 case SWIG_PY_FLOAT:
30164 obj = PyFloat_FromDouble(constants[i].dvalue);
30165 break;
30166 case SWIG_PY_STRING:
30167 if (constants[i].pvalue) {
30168 obj = PyString_FromString((char *) constants[i].pvalue);
30169 } else {
30170 Py_INCREF(Py_None);
30171 obj = Py_None;
30172 }
30173 break;
30174 case SWIG_PY_POINTER:
30175 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
30176 break;
30177 case SWIG_PY_BINARY:
30178 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
30179 break;
30180 default:
30181 obj = 0;
30182 break;
30183 }
30184 if (obj) {
30185 PyDict_SetItemString(d,constants[i].name,obj);
30186 Py_DECREF(obj);
30187 }
30188 }
30189 }
30190
30191 /* -----------------------------------------------------------------------------*/
30192 /* Fix SwigMethods to carry the callback ptrs when needed */
30193 /* -----------------------------------------------------------------------------*/
30194
32fe5131 30195 SWIGINTERN void
36ed4f51
RD
30196 SWIG_Python_FixMethods(PyMethodDef *methods,
30197 swig_const_info *const_table,
30198 swig_type_info **types,
30199 swig_type_info **types_initial) {
30200 size_t i;
30201 for (i = 0; methods[i].ml_name; ++i) {
30202 char *c = methods[i].ml_doc;
30203 if (c && (c = strstr(c, "swig_ptr: "))) {
30204 int j;
30205 swig_const_info *ci = 0;
30206 char *name = c + 10;
32fe5131 30207 for (j = 0; const_table[j].type; ++j) {
36ed4f51
RD
30208 if (strncmp(const_table[j].name, name,
30209 strlen(const_table[j].name)) == 0) {
30210 ci = &(const_table[j]);
30211 break;
30212 }
30213 }
30214 if (ci) {
30215 size_t shift = (ci->ptype) - types;
30216 swig_type_info *ty = types_initial[shift];
30217 size_t ldoc = (c - methods[i].ml_doc);
30218 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
30219 char *ndoc = (char*)malloc(ldoc + lptr + 10);
32fe5131
RD
30220 if (ndoc) {
30221 char *buff = ndoc;
30222 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
30223 if (ptr) {
30224 strncpy(buff, methods[i].ml_doc, ldoc);
30225 buff += ldoc;
30226 strncpy(buff, "swig_ptr: ", 10);
30227 buff += 10;
30228 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
30229 methods[i].ml_doc = ndoc;
30230 }
30231 }
36ed4f51
RD
30232 }
30233 }
30234 }
30235 }
30236
30237 /* -----------------------------------------------------------------------------*
30238 * Initialize type list
30239 * -----------------------------------------------------------------------------*/
30240
36ed4f51
RD
30241#ifdef __cplusplus
30242}
30243#endif
30244
30245/* -----------------------------------------------------------------------------*
30246 * Partial Init method
30247 * -----------------------------------------------------------------------------*/
30248
d55e5bfc
RD
30249#ifdef __cplusplus
30250extern "C"
30251#endif
32fe5131 30252SWIGEXPORT void SWIG_init(void) {
d55e5bfc 30253 static PyObject *SWIG_globals = 0;
d55e5bfc 30254 PyObject *m, *d;
d55e5bfc 30255 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
36ed4f51
RD
30256
30257 /* Fix SwigMethods to carry the callback ptrs when needed */
32fe5131 30258 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
36ed4f51 30259
d55e5bfc
RD
30260 m = Py_InitModule((char *) SWIG_name, SwigMethods);
30261 d = PyModule_GetDict(m);
30262
32fe5131 30263 SWIG_InitializeModule(0);
36ed4f51
RD
30264 SWIG_InstallConstants(d,swig_const_table);
30265
30266 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
30267 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
30268 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
30269 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
30270 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
30271 {
32fe5131
RD
30272 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_From_int(static_cast<int >(wxSTAY_ON_TOP)));
30273 }
30274 {
30275 PyDict_SetItemString(d,"ICONIZE", SWIG_From_int(static_cast<int >(wxICONIZE)));
36ed4f51
RD
30276 }
30277 {
32fe5131 30278 PyDict_SetItemString(d,"MINIMIZE", SWIG_From_int(static_cast<int >(wxMINIMIZE)));
36ed4f51
RD
30279 }
30280 {
32fe5131 30281 PyDict_SetItemString(d,"MAXIMIZE", SWIG_From_int(static_cast<int >(wxMAXIMIZE)));
36ed4f51
RD
30282 }
30283 {
32fe5131 30284 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_From_int(static_cast<int >(wxCLOSE_BOX)));
36ed4f51
RD
30285 }
30286 {
32fe5131 30287 PyDict_SetItemString(d,"THICK_FRAME", SWIG_From_int(static_cast<int >(wxTHICK_FRAME)));
36ed4f51
RD
30288 }
30289 {
32fe5131 30290 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_From_int(static_cast<int >(wxSYSTEM_MENU)));
36ed4f51
RD
30291 }
30292 {
32fe5131 30293 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_From_int(static_cast<int >(wxMINIMIZE_BOX)));
36ed4f51
RD
30294 }
30295 {
32fe5131 30296 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_From_int(static_cast<int >(wxMAXIMIZE_BOX)));
36ed4f51
RD
30297 }
30298 {
32fe5131 30299 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_From_int(static_cast<int >(wxTINY_CAPTION_HORIZ)));
36ed4f51
RD
30300 }
30301 {
32fe5131 30302 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_From_int(static_cast<int >(wxTINY_CAPTION_VERT)));
36ed4f51
RD
30303 }
30304 {
32fe5131 30305 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_From_int(static_cast<int >(wxRESIZE_BOX)));
36ed4f51
RD
30306 }
30307 {
32fe5131 30308 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_From_int(static_cast<int >(wxRESIZE_BORDER)));
36ed4f51
RD
30309 }
30310 {
32fe5131 30311 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_From_int(static_cast<int >(wxDIALOG_NO_PARENT)));
36ed4f51
RD
30312 }
30313 {
32fe5131 30314 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_From_int(static_cast<int >(wxDEFAULT_FRAME_STYLE)));
36ed4f51
RD
30315 }
30316 {
32fe5131 30317 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_From_int(static_cast<int >(wxDEFAULT_DIALOG_STYLE)));
36ed4f51
RD
30318 }
30319 {
32fe5131 30320 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_From_int(static_cast<int >(wxFRAME_TOOL_WINDOW)));
36ed4f51
RD
30321 }
30322 {
32fe5131 30323 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_From_int(static_cast<int >(wxFRAME_FLOAT_ON_PARENT)));
36ed4f51
RD
30324 }
30325 {
32fe5131 30326 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_From_int(static_cast<int >(wxFRAME_NO_WINDOW_MENU)));
36ed4f51
RD
30327 }
30328 {
32fe5131 30329 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_From_int(static_cast<int >(wxFRAME_NO_TASKBAR)));
36ed4f51
RD
30330 }
30331 {
32fe5131 30332 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_From_int(static_cast<int >(wxFRAME_SHAPED)));
36ed4f51
RD
30333 }
30334 {
32fe5131 30335 PyDict_SetItemString(d,"FRAME_DRAWER", SWIG_From_int(static_cast<int >(wxFRAME_DRAWER)));
36ed4f51
RD
30336 }
30337 {
32fe5131 30338 PyDict_SetItemString(d,"FRAME_EX_METAL", SWIG_From_int(static_cast<int >(wxFRAME_EX_METAL)));
36ed4f51 30339 }
f491ed97 30340 {
32fe5131 30341 PyDict_SetItemString(d,"DIALOG_EX_METAL", SWIG_From_int(static_cast<int >(wxDIALOG_EX_METAL)));
f491ed97
RD
30342 }
30343 {
32fe5131 30344 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_From_int(static_cast<int >(wxDIALOG_MODAL)));
f491ed97 30345 }
36ed4f51 30346 {
32fe5131 30347 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_From_int(static_cast<int >(wxDIALOG_MODELESS)));
36ed4f51
RD
30348 }
30349 {
32fe5131 30350 PyDict_SetItemString(d,"USER_COLOURS", SWIG_From_int(static_cast<int >(wxUSER_COLOURS)));
36ed4f51
RD
30351 }
30352 {
32fe5131 30353 PyDict_SetItemString(d,"NO_3D", SWIG_From_int(static_cast<int >(wxNO_3D)));
36ed4f51
RD
30354 }
30355 {
32fe5131 30356 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOMENUBAR)));
36ed4f51
RD
30357 }
30358 {
32fe5131 30359 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOTOOLBAR)));
36ed4f51
RD
30360 }
30361 {
32fe5131 30362 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOSTATUSBAR)));
36ed4f51
RD
30363 }
30364 {
32fe5131 30365 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOBORDER)));
36ed4f51
RD
30366 }
30367 {
32fe5131 30368 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOCAPTION)));
36ed4f51
RD
30369 }
30370 {
32fe5131 30371 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_From_int(static_cast<int >(wxFULLSCREEN_ALL)));
36ed4f51
RD
30372 }
30373 {
32fe5131 30374 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_From_int(static_cast<int >(wxTOPLEVEL_EX_DIALOG)));
36ed4f51
RD
30375 }
30376 {
32fe5131 30377 PyDict_SetItemString(d,"USER_ATTENTION_INFO", SWIG_From_int(static_cast<int >(wxUSER_ATTENTION_INFO)));
36ed4f51
RD
30378 }
30379 {
32fe5131 30380 PyDict_SetItemString(d,"USER_ATTENTION_ERROR", SWIG_From_int(static_cast<int >(wxUSER_ATTENTION_ERROR)));
36ed4f51
RD
30381 }
30382 {
32fe5131 30383 PyDict_SetItemString(d,"Dialog_ButtonSizerFlags", SWIG_From_int(static_cast<int >(wxDialog::ButtonSizerFlags)));
36ed4f51
RD
30384 }
30385 {
32fe5131 30386 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int(static_cast<int >(wxSPLASH_CENTRE_ON_PARENT)));
36ed4f51
RD
30387 }
30388 {
32fe5131 30389 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int(static_cast<int >(wxSPLASH_CENTRE_ON_SCREEN)));
36ed4f51
RD
30390 }
30391 {
32fe5131 30392 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_From_int(static_cast<int >(wxSPLASH_NO_CENTRE)));
36ed4f51
RD
30393 }
30394 {
32fe5131 30395 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_From_int(static_cast<int >(wxSPLASH_TIMEOUT)));
36ed4f51
RD
30396 }
30397 {
32fe5131 30398 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_From_int(static_cast<int >(wxSPLASH_NO_TIMEOUT)));
36ed4f51
RD
30399 }
30400 {
32fe5131 30401 PyDict_SetItemString(d,"SB_NORMAL", SWIG_From_int(static_cast<int >(wxSB_NORMAL)));
36ed4f51
RD
30402 }
30403 {
32fe5131 30404 PyDict_SetItemString(d,"SB_FLAT", SWIG_From_int(static_cast<int >(wxSB_FLAT)));
36ed4f51
RD
30405 }
30406 {
32fe5131 30407 PyDict_SetItemString(d,"SB_RAISED", SWIG_From_int(static_cast<int >(wxSB_RAISED)));
36ed4f51 30408 }
d55e5bfc 30409 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
36ed4f51 30410 {
32fe5131 30411 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_From_int(static_cast<int >(wxSP_NOBORDER)));
36ed4f51
RD
30412 }
30413 {
32fe5131 30414 PyDict_SetItemString(d,"SP_NOSASH", SWIG_From_int(static_cast<int >(wxSP_NOSASH)));
36ed4f51
RD
30415 }
30416 {
32fe5131 30417 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_From_int(static_cast<int >(wxSP_PERMIT_UNSPLIT)));
36ed4f51
RD
30418 }
30419 {
32fe5131 30420 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_From_int(static_cast<int >(wxSP_LIVE_UPDATE)));
36ed4f51
RD
30421 }
30422 {
32fe5131 30423 PyDict_SetItemString(d,"SP_3DSASH", SWIG_From_int(static_cast<int >(wxSP_3DSASH)));
36ed4f51
RD
30424 }
30425 {
32fe5131 30426 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_From_int(static_cast<int >(wxSP_3DBORDER)));
36ed4f51
RD
30427 }
30428 {
32fe5131 30429 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_From_int(static_cast<int >(wxSP_NO_XP_THEME)));
36ed4f51
RD
30430 }
30431 {
32fe5131 30432 PyDict_SetItemString(d,"SP_BORDER", SWIG_From_int(static_cast<int >(wxSP_BORDER)));
36ed4f51
RD
30433 }
30434 {
32fe5131 30435 PyDict_SetItemString(d,"SP_3D", SWIG_From_int(static_cast<int >(wxSP_3D)));
36ed4f51
RD
30436 }
30437 {
32fe5131 30438 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_From_int(static_cast<int >(wxSPLIT_HORIZONTAL)));
36ed4f51
RD
30439 }
30440 {
32fe5131 30441 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_From_int(static_cast<int >(wxSPLIT_VERTICAL)));
36ed4f51
RD
30442 }
30443 {
32fe5131 30444 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_From_int(static_cast<int >(wxSPLIT_DRAG_NONE)));
36ed4f51
RD
30445 }
30446 {
32fe5131 30447 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_From_int(static_cast<int >(wxSPLIT_DRAG_DRAGGING)));
36ed4f51
RD
30448 }
30449 {
32fe5131 30450 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int(static_cast<int >(wxSPLIT_DRAG_LEFT_DOWN)));
36ed4f51 30451 }
d55e5bfc
RD
30452 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
30453 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
30454 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
30455 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
30456 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
30457 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
36ed4f51 30458 {
32fe5131 30459 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_From_int(static_cast<int >(wxSASH_DRAG_NONE)));
36ed4f51
RD
30460 }
30461 {
32fe5131 30462 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_From_int(static_cast<int >(wxSASH_DRAG_DRAGGING)));
36ed4f51
RD
30463 }
30464 {
32fe5131 30465 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_From_int(static_cast<int >(wxSASH_DRAG_LEFT_DOWN)));
36ed4f51
RD
30466 }
30467 {
32fe5131 30468 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_From_int(static_cast<int >(wxSW_NOBORDER)));
36ed4f51
RD
30469 }
30470 {
32fe5131 30471 PyDict_SetItemString(d,"SW_BORDER", SWIG_From_int(static_cast<int >(wxSW_BORDER)));
36ed4f51
RD
30472 }
30473 {
32fe5131 30474 PyDict_SetItemString(d,"SW_3DSASH", SWIG_From_int(static_cast<int >(wxSW_3DSASH)));
36ed4f51
RD
30475 }
30476 {
32fe5131 30477 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_From_int(static_cast<int >(wxSW_3DBORDER)));
36ed4f51
RD
30478 }
30479 {
32fe5131 30480 PyDict_SetItemString(d,"SW_3D", SWIG_From_int(static_cast<int >(wxSW_3D)));
36ed4f51
RD
30481 }
30482 {
32fe5131 30483 PyDict_SetItemString(d,"SASH_TOP", SWIG_From_int(static_cast<int >(wxSASH_TOP)));
36ed4f51
RD
30484 }
30485 {
32fe5131 30486 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_From_int(static_cast<int >(wxSASH_RIGHT)));
36ed4f51
RD
30487 }
30488 {
32fe5131 30489 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_From_int(static_cast<int >(wxSASH_BOTTOM)));
36ed4f51
RD
30490 }
30491 {
32fe5131 30492 PyDict_SetItemString(d,"SASH_LEFT", SWIG_From_int(static_cast<int >(wxSASH_LEFT)));
36ed4f51
RD
30493 }
30494 {
32fe5131 30495 PyDict_SetItemString(d,"SASH_NONE", SWIG_From_int(static_cast<int >(wxSASH_NONE)));
36ed4f51
RD
30496 }
30497 {
32fe5131 30498 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_From_int(static_cast<int >(wxSASH_STATUS_OK)));
36ed4f51
RD
30499 }
30500 {
32fe5131 30501 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int(static_cast<int >(wxSASH_STATUS_OUT_OF_RANGE)));
36ed4f51 30502 }
d55e5bfc 30503 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
36ed4f51 30504 {
32fe5131 30505 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_From_int(static_cast<int >(wxLAYOUT_HORIZONTAL)));
36ed4f51
RD
30506 }
30507 {
32fe5131 30508 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_From_int(static_cast<int >(wxLAYOUT_VERTICAL)));
36ed4f51
RD
30509 }
30510 {
32fe5131 30511 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_From_int(static_cast<int >(wxLAYOUT_NONE)));
36ed4f51
RD
30512 }
30513 {
32fe5131 30514 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_From_int(static_cast<int >(wxLAYOUT_TOP)));
36ed4f51
RD
30515 }
30516 {
32fe5131 30517 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_From_int(static_cast<int >(wxLAYOUT_LEFT)));
36ed4f51
RD
30518 }
30519 {
32fe5131 30520 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_From_int(static_cast<int >(wxLAYOUT_RIGHT)));
36ed4f51
RD
30521 }
30522 {
32fe5131 30523 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_From_int(static_cast<int >(wxLAYOUT_BOTTOM)));
36ed4f51
RD
30524 }
30525 {
32fe5131 30526 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_From_int(static_cast<int >(wxLAYOUT_LENGTH_Y)));
36ed4f51
RD
30527 }
30528 {
32fe5131 30529 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_From_int(static_cast<int >(wxLAYOUT_LENGTH_X)));
36ed4f51
RD
30530 }
30531 {
32fe5131 30532 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_From_int(static_cast<int >(wxLAYOUT_MRU_LENGTH)));
36ed4f51
RD
30533 }
30534 {
32fe5131 30535 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_From_int(static_cast<int >(wxLAYOUT_QUERY)));
36ed4f51 30536 }
d55e5bfc
RD
30537 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
30538 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
30539 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
30540
30541 // Map renamed classes back to their common name for OOR
30542 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
30543 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
30544 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
30545
30546 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
30547 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
30548 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
30549 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
30550 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
30551 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
30552 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
30553 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
30554 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
30555 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
30556 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
30557 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
30558 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
36ed4f51 30559 {
32fe5131 30560 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_From_int(static_cast<int >(wxCHOICEDLG_STYLE)));
36ed4f51
RD
30561 }
30562 {
32fe5131 30563 PyDict_SetItemString(d,"TextEntryDialogStyle", SWIG_From_int(static_cast<int >(wxTextEntryDialogStyle)));
36ed4f51 30564 }
070c48b4 30565 SWIG_addvarlink(SWIG_globals,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get, _wrap_GetPasswordFromUserPromptStr_set);
36ed4f51 30566 {
32fe5131 30567 PyDict_SetItemString(d,"FR_DOWN", SWIG_From_int(static_cast<int >(wxFR_DOWN)));
36ed4f51
RD
30568 }
30569 {
32fe5131 30570 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_From_int(static_cast<int >(wxFR_WHOLEWORD)));
36ed4f51
RD
30571 }
30572 {
32fe5131 30573 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_From_int(static_cast<int >(wxFR_MATCHCASE)));
36ed4f51
RD
30574 }
30575 {
32fe5131 30576 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_From_int(static_cast<int >(wxFR_REPLACEDIALOG)));
36ed4f51
RD
30577 }
30578 {
32fe5131 30579 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_From_int(static_cast<int >(wxFR_NOUPDOWN)));
36ed4f51
RD
30580 }
30581 {
32fe5131 30582 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_From_int(static_cast<int >(wxFR_NOMATCHCASE)));
36ed4f51
RD
30583 }
30584 {
32fe5131 30585 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_From_int(static_cast<int >(wxFR_NOWHOLEWORD)));
36ed4f51 30586 }
d55e5bfc
RD
30587 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
30588 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
30589 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
30590 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
30591 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
36ed4f51 30592 {
32fe5131 30593 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_From_int(static_cast<int >(4001)));
36ed4f51
RD
30594 }
30595 {
32fe5131 30596 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_From_int(static_cast<int >(4001)));
36ed4f51
RD
30597 }
30598 {
32fe5131 30599 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_From_int(static_cast<int >(4002)));
36ed4f51
RD
30600 }
30601 {
32fe5131 30602 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_From_int(static_cast<int >(4003)));
36ed4f51
RD
30603 }
30604 {
32fe5131 30605 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_From_int(static_cast<int >(4004)));
36ed4f51
RD
30606 }
30607 {
32fe5131 30608 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_From_int(static_cast<int >(4005)));
36ed4f51 30609 }
24d7cbea 30610 {
32fe5131 30611 PyDict_SetItemString(d,"IDM_WINDOWPREV", SWIG_From_int(static_cast<int >(4006)));
24d7cbea 30612 }
36ed4f51 30613 {
32fe5131 30614 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_From_int(static_cast<int >(4100)));
36ed4f51
RD
30615 }
30616 {
32fe5131 30617 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_From_int(static_cast<int >(4600)));
36ed4f51 30618 }
d55e5bfc
RD
30619 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
30620 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
36ed4f51 30621 {
32fe5131 30622 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_From_int(static_cast<int >(wxPRINT_MODE_NONE)));
36ed4f51
RD
30623 }
30624 {
32fe5131 30625 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_From_int(static_cast<int >(wxPRINT_MODE_PREVIEW)));
36ed4f51
RD
30626 }
30627 {
32fe5131 30628 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_From_int(static_cast<int >(wxPRINT_MODE_FILE)));
36ed4f51
RD
30629 }
30630 {
32fe5131 30631 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_From_int(static_cast<int >(wxPRINT_MODE_PRINTER)));
36ed4f51
RD
30632 }
30633 {
32fe5131 30634 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_From_int(static_cast<int >(wxPRINT_MODE_STREAM)));
36ed4f51
RD
30635 }
30636 {
32fe5131 30637 PyDict_SetItemString(d,"PRINTBIN_DEFAULT", SWIG_From_int(static_cast<int >(wxPRINTBIN_DEFAULT)));
36ed4f51
RD
30638 }
30639 {
32fe5131 30640 PyDict_SetItemString(d,"PRINTBIN_ONLYONE", SWIG_From_int(static_cast<int >(wxPRINTBIN_ONLYONE)));
36ed4f51
RD
30641 }
30642 {
32fe5131 30643 PyDict_SetItemString(d,"PRINTBIN_LOWER", SWIG_From_int(static_cast<int >(wxPRINTBIN_LOWER)));
36ed4f51
RD
30644 }
30645 {
32fe5131 30646 PyDict_SetItemString(d,"PRINTBIN_MIDDLE", SWIG_From_int(static_cast<int >(wxPRINTBIN_MIDDLE)));
36ed4f51
RD
30647 }
30648 {
32fe5131 30649 PyDict_SetItemString(d,"PRINTBIN_MANUAL", SWIG_From_int(static_cast<int >(wxPRINTBIN_MANUAL)));
36ed4f51
RD
30650 }
30651 {
32fe5131 30652 PyDict_SetItemString(d,"PRINTBIN_ENVELOPE", SWIG_From_int(static_cast<int >(wxPRINTBIN_ENVELOPE)));
36ed4f51
RD
30653 }
30654 {
32fe5131 30655 PyDict_SetItemString(d,"PRINTBIN_ENVMANUAL", SWIG_From_int(static_cast<int >(wxPRINTBIN_ENVMANUAL)));
36ed4f51
RD
30656 }
30657 {
32fe5131 30658 PyDict_SetItemString(d,"PRINTBIN_AUTO", SWIG_From_int(static_cast<int >(wxPRINTBIN_AUTO)));
36ed4f51
RD
30659 }
30660 {
32fe5131 30661 PyDict_SetItemString(d,"PRINTBIN_TRACTOR", SWIG_From_int(static_cast<int >(wxPRINTBIN_TRACTOR)));
36ed4f51
RD
30662 }
30663 {
32fe5131 30664 PyDict_SetItemString(d,"PRINTBIN_SMALLFMT", SWIG_From_int(static_cast<int >(wxPRINTBIN_SMALLFMT)));
36ed4f51
RD
30665 }
30666 {
32fe5131 30667 PyDict_SetItemString(d,"PRINTBIN_LARGEFMT", SWIG_From_int(static_cast<int >(wxPRINTBIN_LARGEFMT)));
36ed4f51
RD
30668 }
30669 {
32fe5131 30670 PyDict_SetItemString(d,"PRINTBIN_LARGECAPACITY", SWIG_From_int(static_cast<int >(wxPRINTBIN_LARGECAPACITY)));
36ed4f51
RD
30671 }
30672 {
32fe5131 30673 PyDict_SetItemString(d,"PRINTBIN_CASSETTE", SWIG_From_int(static_cast<int >(wxPRINTBIN_CASSETTE)));
36ed4f51
RD
30674 }
30675 {
32fe5131 30676 PyDict_SetItemString(d,"PRINTBIN_FORMSOURCE", SWIG_From_int(static_cast<int >(wxPRINTBIN_FORMSOURCE)));
36ed4f51
RD
30677 }
30678 {
32fe5131 30679 PyDict_SetItemString(d,"PRINTBIN_USER", SWIG_From_int(static_cast<int >(wxPRINTBIN_USER)));
36ed4f51
RD
30680 }
30681 {
32fe5131 30682 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_From_int(static_cast<int >(wxPRINTER_NO_ERROR)));
36ed4f51
RD
30683 }
30684 {
32fe5131 30685 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_From_int(static_cast<int >(wxPRINTER_CANCELLED)));
36ed4f51
RD
30686 }
30687 {
32fe5131 30688 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_From_int(static_cast<int >(wxPRINTER_ERROR)));
36ed4f51
RD
30689 }
30690 {
32fe5131 30691 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_From_int(static_cast<int >(wxPREVIEW_PRINT)));
36ed4f51
RD
30692 }
30693 {
32fe5131 30694 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_From_int(static_cast<int >(wxPREVIEW_PREVIOUS)));
36ed4f51
RD
30695 }
30696 {
32fe5131 30697 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_From_int(static_cast<int >(wxPREVIEW_NEXT)));
36ed4f51
RD
30698 }
30699 {
32fe5131 30700 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_From_int(static_cast<int >(wxPREVIEW_ZOOM)));
36ed4f51
RD
30701 }
30702 {
32fe5131 30703 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_From_int(static_cast<int >(wxPREVIEW_FIRST)));
36ed4f51
RD
30704 }
30705 {
32fe5131 30706 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_From_int(static_cast<int >(wxPREVIEW_LAST)));
36ed4f51
RD
30707 }
30708 {
32fe5131 30709 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_From_int(static_cast<int >(wxPREVIEW_GOTO)));
36ed4f51
RD
30710 }
30711 {
32fe5131 30712 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_From_int(static_cast<int >(wxPREVIEW_DEFAULT)));
36ed4f51
RD
30713 }
30714 {
32fe5131 30715 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_From_int(static_cast<int >(wxID_PREVIEW_CLOSE)));
36ed4f51
RD
30716 }
30717 {
32fe5131 30718 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_From_int(static_cast<int >(wxID_PREVIEW_NEXT)));
36ed4f51
RD
30719 }
30720 {
32fe5131 30721 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_From_int(static_cast<int >(wxID_PREVIEW_PREVIOUS)));
36ed4f51
RD
30722 }
30723 {
32fe5131 30724 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_From_int(static_cast<int >(wxID_PREVIEW_PRINT)));
36ed4f51
RD
30725 }
30726 {
32fe5131 30727 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_From_int(static_cast<int >(wxID_PREVIEW_ZOOM)));
36ed4f51
RD
30728 }
30729 {
32fe5131 30730 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_From_int(static_cast<int >(wxID_PREVIEW_FIRST)));
36ed4f51
RD
30731 }
30732 {
32fe5131 30733 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_From_int(static_cast<int >(wxID_PREVIEW_LAST)));
36ed4f51
RD
30734 }
30735 {
32fe5131 30736 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_From_int(static_cast<int >(wxID_PREVIEW_GOTO)));
36ed4f51 30737 }
d55e5bfc
RD
30738
30739 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
30740
30741}
30742