]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/_windows_wrap.cpp
Add wx.Dialog.Get/SetAffirmativeId and Get/SetEscapeId
[wxWidgets.git] / wxPython / src / mac / _windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.27
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
12 #define SWIG_VERSION 0x010327
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
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; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30 /***********************************************************************
31 *
32 * This section contains generic SWIG labels for method/variable
33 * declarations/attributes, and other compiler dependent labels.
34 *
35 ************************************************************************/
36
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
41 # else
42 # define SWIGTEMPLATEDISAMBIGUATOR
43 # endif
44 #endif
45
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
97
98 #include <Python.h>
99
100 /***********************************************************************
101 * swigrun.swg
102 *
103 * This file contains generic CAPI SWIG runtime support for pointer
104 * type checking.
105 *
106 ************************************************************************/
107
108 /* This should only be incremented when either the layout of swig_type_info changes,
109 or for whatever reason, the runtime changes incompatibly */
110 #define SWIG_RUNTIME_VERSION "2"
111
112 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
113 #ifdef SWIG_TYPE_TABLE
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)
117 #else
118 # define SWIG_TYPE_TABLE_NAME
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 */
129
130 #ifndef SWIGRUNTIME
131 # define SWIGRUNTIME SWIGINTERN
132 #endif
133
134 #ifndef SWIGRUNTIMEINLINE
135 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
136 #endif
137
138 #include <string.h>
139
140 #ifdef __cplusplus
141 extern "C" {
142 #endif
143
144 typedef void *(*swig_converter_func)(void *);
145 typedef struct swig_type_info *(*swig_dycast_func)(void **);
146
147 /* Structure to store inforomation on one type */
148 typedef struct swig_type_info {
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 */
154 } swig_type_info;
155
156 /* Structure to store a type and conversion function used for casting */
157 typedef 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.*/
167 typedef 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
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 */
184 SWIGRUNTIME int
185 SWIG_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;
190 if (*f1 != *f2) return (int)(*f1 - *f2);
191 }
192 return (l1 - f1) - (l2 - f2);
193 }
194
195 /*
196 Check type equivalence in a name list like <name1>|<name2>|...
197 Return 0 if not equal, 1 if equal
198 */
199 SWIGRUNTIME int
200 SWIG_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 }
208 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
209 if (*ne) ++ne;
210 }
211 return equiv;
212 }
213
214 /*
215 Check type equivalence in a name list like <name1>|<name2>|...
216 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
217 */
218 SWIGRUNTIME int
219 SWIG_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;
226 }
227 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
228 if (*ne) ++ne;
229 }
230 return equiv;
231 }
232
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
256 /*
257 Check the typename
258 */
259 SWIGRUNTIME swig_cast_info *
260 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
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 */
265 SWIGRUNTIME swig_cast_info *
266 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
267 SWIG_TypeCheck_Template(iter->type == from, into);
268 }
269
270 /*
271 Cast a pointer up an inheritance hierarchy
272 */
273 SWIGRUNTIMEINLINE void *
274 SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
275 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
276 }
277
278 /*
279 Dynamic pointer casting. Down an inheritance hierarchy
280 */
281 SWIGRUNTIME swig_type_info *
282 SWIG_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 */
295 SWIGRUNTIMEINLINE const char *
296 SWIG_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 */
304 SWIGRUNTIME const char *
305 SWIG_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
321 /*
322 Set the clientdata field for a type
323 */
324 SWIGRUNTIME void
325 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
326 swig_cast_info *cast = ti->cast;
327 /* if (ti->clientdata == clientdata) return; */
328 ti->clientdata = clientdata;
329
330 while (cast) {
331 if (!cast->converter) {
332 swig_type_info *tc = cast->type;
333 if (!tc->clientdata) {
334 SWIG_TypeClientData(tc, clientdata);
335 }
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 */
349 SWIGRUNTIME swig_type_info *
350 SWIG_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);
379 }
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 */
394 SWIGRUNTIME swig_type_info *
395 SWIG_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);
414 }
415
416 /* neither found a match */
417 return 0;
418 }
419
420
421 /*
422 Pack binary data into a string
423 */
424 SWIGRUNTIME char *
425 SWIG_PackData(char *c, void *ptr, size_t sz) {
426 static const char hex[17] = "0123456789abcdef";
427 register const unsigned char *u = (unsigned char *) ptr;
428 register const unsigned char *eu = u + sz;
429 for (; u != eu; ++u) {
430 register unsigned char uu = *u;
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 */
440 SWIGRUNTIME const char *
441 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
442 register unsigned char *u = (unsigned char *) ptr;
443 register const unsigned char *eu = u + sz;
444 for (; u != eu; ++u) {
445 register char d = *(c++);
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
465 /*
466 Pack 'void *' into a string buffer.
467 */
468 SWIGRUNTIME char *
469 SWIG_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
479 SWIGRUNTIME const char *
480 SWIG_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
492 SWIGRUNTIME char *
493 SWIG_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 }
506
507 SWIGRUNTIME const char *
508 SWIG_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 }
519
520 #ifdef __cplusplus
521 }
522 #endif
523
524 /* -----------------------------------------------------------------------------
525 * SWIG API. Portion that goes into the runtime
526 * ----------------------------------------------------------------------------- */
527
528 #ifdef __cplusplus
529 extern "C" {
530 #endif
531
532 /* -----------------------------------------------------------------------------
533 * for internal method declarations
534 * ----------------------------------------------------------------------------- */
535
536 #ifndef SWIGINTERN
537 # define SWIGINTERN static SWIGUNUSED
538 #endif
539
540 #ifndef SWIGINTERNINLINE
541 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
542 #endif
543
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 * ----------------------------------------------------------------------------- */
563
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 */
572 typedef 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;
580
581
582 /* -----------------------------------------------------------------------------
583 * Alloc. memory flags
584 * ----------------------------------------------------------------------------- */
585 #define SWIG_OLDOBJ 1
586 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
587 #define SWIG_PYSTR SWIG_NEWOBJ + 1
588
589 #ifdef __cplusplus
590 }
591 #endif
592
593
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 ************************************************************************/
603
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
609
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)
613
614 /* Runtime API */
615 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
616 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
617
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
629
630 /* Flags for pointer conversion */
631 #define SWIG_POINTER_EXCEPTION 0x1
632 #define SWIG_POINTER_DISOWN 0x2
633
634
635 /* Add PyOS_snprintf for old Pythons */
636 #if PY_VERSION_HEX < 0x02020000
637 #define PyOS_snprintf snprintf
638 #endif
639
640 #ifdef __cplusplus
641 extern "C" {
642 #endif
643
644 /* -----------------------------------------------------------------------------
645 * Create a new pointer string
646 * ----------------------------------------------------------------------------- */
647 #ifndef SWIG_BUFFER_SIZE
648 #define SWIG_BUFFER_SIZE 1024
649 #endif
650
651 /* A crude PyString_FromFormat implementation for old Pythons */
652 #if PY_VERSION_HEX < 0x02020000
653 static PyObject *
654 PyString_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
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 * ----------------------------------------------------------------------------- */
674
675 typedef struct {
676 PyObject_HEAD
677 void *ptr;
678 const char *desc;
679 } PySwigObject;
680
681 /* Declarations for objects of type PySwigObject */
682
683 SWIGRUNTIME int
684 PySwigObject_print(PySwigObject *v, FILE *fp, int flags)
685 {
686 char result[SWIG_BUFFER_SIZE];
687 flags = flags;
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;
691 } else {
692 return 1;
693 }
694 }
695
696 SWIGRUNTIME PyObject *
697 PySwigObject_repr(PySwigObject *v)
698 {
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;
702 }
703
704 SWIGRUNTIME PyObject *
705 PySwigObject_str(PySwigObject *v)
706 {
707 char result[SWIG_BUFFER_SIZE];
708 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
709 PyString_FromString(result) : 0;
710 }
711
712 SWIGRUNTIME PyObject *
713 PySwigObject_long(PySwigObject *v)
714 {
715 return PyLong_FromVoidPtr(v->ptr);
716 }
717
718 SWIGRUNTIME PyObject *
719 PySwigObject_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;
732 }
733
734 SWIGRUNTIME PyObject *
735 PySwigObject_oct(PySwigObject *v)
736 {
737 return PySwigObject_format("%o",v);
738 }
739
740 SWIGRUNTIME PyObject *
741 PySwigObject_hex(PySwigObject *v)
742 {
743 return PySwigObject_format("%x",v);
744 }
745
746 SWIGRUNTIME int
747 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
748 {
749 int c = strcmp(v->desc, w->desc);
750 if (c) {
751 return (c > 0) ? 1 : -1;
752 } else {
753 void *i = v->ptr;
754 void *j = w->ptr;
755 return (i < j) ? -1 : ((i > j) ? 1 : 0);
756 }
757 }
758
759 SWIGRUNTIME void
760 PySwigObject_dealloc(PySwigObject *self)
761 {
762 PyObject_Del(self);
763 }
764
765 SWIGRUNTIME PyTypeObject*
766 PySwigObject_type(void) {
767 static char pyswigobject_type__doc__[] =
768 "Swig object carries a C/C++ instance pointer";
769
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*/
794 #if PY_VERSION_HEX >= 0x02020000
795 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
796 #elif PY_VERSION_HEX >= 0x02000000
797 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
798 #endif
799 };
800
801 static PyTypeObject pyswigobject_type
802 #if !defined(__cplusplus)
803 ;
804 static int type_init = 0;
805 if (!type_init) {
806 PyTypeObject tmp
807 #endif
808 = {
809 PyObject_HEAD_INIT(&PyType_Type)
810 0, /*ob_size*/
811 (char *)"PySwigObject", /*tp_name*/
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 */
828 0,0,0,0,
829 pyswigobject_type__doc__, /* Documentation string */
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 };
848 #if !defined(__cplusplus)
849 pyswigobject_type = tmp;
850 type_init = 1;
851 }
852 #endif
853 return &pyswigobject_type;
854 }
855
856 SWIGRUNTIME PyObject *
857 PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc)
858 {
859 PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_type());
860 if (self) {
861 self->ptr = ptr;
862 self->desc = desc;
863 }
864 return (PyObject *)self;
865 }
866
867 SWIGRUNTIMEINLINE void *
868 PySwigObject_AsVoidPtr(PyObject *self)
869 {
870 return ((PySwigObject *)self)->ptr;
871 }
872
873 SWIGRUNTIMEINLINE const char *
874 PySwigObject_GetDesc(PyObject *self)
875 {
876 return ((PySwigObject *)self)->desc;
877 }
878
879 SWIGRUNTIMEINLINE int
880 PySwigObject_Check(PyObject *op) {
881 return ((op)->ob_type == PySwigObject_type())
882 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
883 }
884
885 /* -----------------------------------------------------------------------------
886 * Implements a simple Swig Packed type, and use it instead of string
887 * ----------------------------------------------------------------------------- */
888
889 typedef struct {
890 PyObject_HEAD
891 void *pack;
892 const char *desc;
893 size_t size;
894 } PySwigPacked;
895
896 SWIGRUNTIME int
897 PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags)
898 {
899 char result[SWIG_BUFFER_SIZE];
900 flags = flags;
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
911 SWIGRUNTIME PyObject *
912 PySwigPacked_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 }
920 }
921
922 SWIGRUNTIME PyObject *
923 PySwigPacked_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 {
929 return PyString_FromString(v->desc);
930 }
931 }
932
933 SWIGRUNTIME int
934 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
935 {
936 int c = strcmp(v->desc, w->desc);
937 if (c) {
938 return (c > 0) ? 1 : -1;
939 } else {
940 size_t i = v->size;
941 size_t j = w->size;
942 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
943 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
944 }
945 }
946
947 SWIGRUNTIME void
948 PySwigPacked_dealloc(PySwigPacked *self)
949 {
950 free(self->pack);
951 PyObject_Del(self);
952 }
953
954 SWIGRUNTIME PyTypeObject*
955 PySwigPacked_type(void) {
956 static char pyswigpacked_type__doc__[] =
957 "Swig object carries a C/C++ instance pointer";
958 static PyTypeObject pyswigpacked_type
959 #if !defined(__cplusplus)
960 ;
961 static int type_init = 0;
962 if (!type_init) {
963 PyTypeObject tmp
964 #endif
965 = {
966 PyObject_HEAD_INIT(&PyType_Type)
967 0, /*ob_size*/
968 (char *)"PySwigPacked", /*tp_name*/
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 */
985 0,0,0,0,
986 pyswigpacked_type__doc__, /* Documentation string */
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 };
1005 #if !defined(__cplusplus)
1006 pyswigpacked_type = tmp;
1007 type_init = 1;
1008 }
1009 #endif
1010 return &pyswigpacked_type;
1011 }
1012
1013 SWIGRUNTIME PyObject *
1014 PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc)
1015 {
1016 PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1017 if (self == NULL) {
1018 return NULL;
1019 } else {
1020 void *pack = malloc(size);
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;
1029 }
1030 }
1031
1032 SWIGRUNTIMEINLINE const char *
1033 PySwigPacked_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 }
1040
1041 SWIGRUNTIMEINLINE const char *
1042 PySwigPacked_GetDesc(PyObject *self)
1043 {
1044 return ((PySwigPacked *)self)->desc;
1045 }
1046
1047 SWIGRUNTIMEINLINE int
1048 PySwigPacked_Check(PyObject *op) {
1049 return ((op)->ob_type == PySwigPacked_type())
1050 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1051 }
1052
1053 #else
1054 /* -----------------------------------------------------------------------------
1055 * Use the old Python PyCObject instead of PySwigObject
1056 * ----------------------------------------------------------------------------- */
1057
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)
1062
1063 #endif
1064
1065 #endif
1066
1067 /* -----------------------------------------------------------------------------
1068 * errors manipulation
1069 * ----------------------------------------------------------------------------- */
1070
1071 SWIGRUNTIME void
1072 SWIG_Python_TypeError(const char *type, PyObject *obj)
1073 {
1074 if (type) {
1075 #if defined(SWIG_COBJECT_TYPES)
1076 if (obj && PySwigObject_Check(obj)) {
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 }
1097 Py_XDECREF(str);
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 }
1106
1107 SWIGRUNTIMEINLINE void
1108 SWIG_Python_NullRef(const char *type)
1109 {
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 }
1116
1117 SWIGRUNTIME int
1118 SWIG_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 }
1141
1142 SWIGRUNTIME int
1143 SWIG_Python_ArgFail(int argnum)
1144 {
1145 if (PyErr_Occurred()) {
1146 /* add information about failing argument */
1147 char mesg[256];
1148 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
1149 return SWIG_Python_AddErrMesg(mesg, 1);
1150 } else {
1151 return 0;
1152 }
1153 }
1154
1155
1156 /* -----------------------------------------------------------------------------
1157 * pointers/data manipulation
1158 * ----------------------------------------------------------------------------- */
1159
1160 /* Convert a pointer value */
1161 SWIGRUNTIME int
1162 SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
1163 swig_cast_info *tc;
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 }
1175
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 }
1206 c = PyString_AsString(obj);
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
1212
1213 type_check:
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 }
1221 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1222 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1223 }
1224 return 0;
1225
1226 type_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) {
1235 c = ty ? SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name) : 0;
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 }
1250
1251 /* Convert a pointer value, signal an exception on a type mismatch */
1252 SWIGRUNTIME void *
1253 SWIG_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 }
1264
1265 /* Convert a packed value value */
1266 SWIGRUNTIME int
1267 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
1268 swig_cast_info *tc;
1269 const char *c = 0;
1270
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;
1275 c = PyString_AsString(obj);
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;
1285
1286 type_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 */
1299 SWIGRUNTIME PyObject *
1300 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1301 PyObject *robj = 0;
1302 if (!type) {
1303 if (!PyErr_Occurred()) {
1304 PyErr_Format(PyExc_TypeError, "Swig: null type passed to NewPointerObj");
1305 }
1306 return robj;
1307 }
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
1338 SWIGRUNTIME PyObject *
1339 SWIG_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
1362 void *SWIG_ReturnGlobalTypeList(void *);
1363 #endif
1364
1365 SWIGRUNTIME swig_module_info *
1366 SWIG_Python_GetModule(void) {
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 }
1379 #endif
1380 }
1381 return (swig_module_info *) type_pointer;
1382 }
1383
1384 #if PY_MAJOR_VERSION < 2
1385 /* PyModule_AddObject function was introduced in Python 2.0. The following function
1386 is copied out of Python/modsupport.c in python version 2.3.4 */
1387 SWIGINTERN int
1388 PyModule_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;
1413 }
1414 #endif
1415
1416 SWIGRUNTIME void
1417 SWIG_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 }
1427
1428 #ifdef __cplusplus
1429 }
1430 #endif
1431
1432
1433 /* -------- TYPES TABLE (BEGIN) -------- */
1434
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]
1598 static swig_type_info *swig_types[164];
1599 static 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)
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
1625 SWIGINTERN 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
1648 SWIGINTERN int
1649 SWIG_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 {
1656 SWIG_Python_TypeError("number", obj);
1657 }
1658 return 0;
1659 }
1660
1661
1662 #if INT_MAX != LONG_MAX
1663 SWIGINTERN 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)) {
1670 if (val) *val = static_cast<int >(v);
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
1684 SWIGINTERNINLINE int
1685 SWIG_AsVal_int(PyObject *obj, int *val)
1686 {
1687 return SWIG_AsVal_long(obj,(long*)val);
1688 }
1689 #endif
1690
1691
1692 SWIGINTERNINLINE int
1693 SWIG_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
1706 SWIGINTERNINLINE long
1707 SWIG_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
1720 SWIGINTERNINLINE int
1721 SWIG_Check_int(PyObject* obj)
1722 {
1723 return SWIG_AsVal_int(obj, (int*)0);
1724 }
1725
1726
1727 SWIGINTERNINLINE int
1728 SWIG_Check_long(PyObject* obj)
1729 {
1730 return SWIG_AsVal_long(obj, (long*)0);
1731 }
1732
1733
1734 SWIGINTERN 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
1759 SWIGINTERNINLINE bool
1760 SWIG_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
1773 SWIGINTERNINLINE int
1774 SWIG_Check_bool(PyObject* obj)
1775 {
1776 return SWIG_AsVal_bool(obj, (bool*)0);
1777 }
1778
1779
1780 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1781 #define SWIG_From_int PyInt_FromLong
1782 /*@@*/
1783
1784
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 }
1809
1810
1811
1812 SWIGINTERN int
1813 SWIG_AsVal_double(PyObject *obj, double* val)
1814 {
1815 if (PyNumber_Check(obj)) {
1816 if (val) *val = PyFloat_AsDouble(obj);
1817 return 1;
1818 }
1819 else {
1820 SWIG_Python_TypeError("number", obj);
1821 }
1822 return 0;
1823 }
1824
1825
1826 SWIGINTERNINLINE double
1827 SWIG_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
1840 SWIGINTERNINLINE int
1841 SWIG_Check_double(PyObject* obj)
1842 {
1843 return SWIG_AsVal_double(obj, (double*)0);
1844 }
1845
1846
1847 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
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
1856 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1857 #define SWIG_From_long PyInt_FromLong
1858 /*@@*/
1859
1860
1861
1862 static 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
1874 class wxPopupWindow : public wxWindow {
1875 public:
1876 wxPopupWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
1877 wxPopupWindow() { wxPyRaiseNotImplemented(); }
1878 };
1879
1880 class wxPyPopupTransientWindow : public wxPopupWindow
1881 {
1882 public:
1883 wxPyPopupTransientWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
1884 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
1885 };
1886
1887
1888 #include <wx/tipwin.h>
1889
1890 static 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
1900 class wxPyVScrolledWindow : public wxVScrolledWindow
1901 {
1902 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
1903 public:
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
1966 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
1967
1968 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
1969 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
1970 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
1971
1972
1973 SWIGINTERN int
1974 SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
1975 {
1976 long v = 0;
1977 if (SWIG_AsVal_long(obj, &v) && v < 0) {
1978 SWIG_Python_TypeError("unsigned number", obj);
1979 }
1980 else if (val)
1981 *val = (unsigned long)v;
1982 return 1;
1983 }
1984
1985
1986 SWIGINTERNINLINE unsigned long
1987 SWIG_As_unsigned_SS_long(PyObject* obj)
1988 {
1989 unsigned long v;
1990 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1991 /*
1992 this is needed to make valgrind/purify happier.
1993 */
1994 memset((void*)&v, 0, sizeof(unsigned long));
1995 }
1996 return v;
1997 }
1998
1999
2000 SWIGINTERNINLINE int
2001 SWIG_Check_unsigned_SS_long(PyObject* obj)
2002 {
2003 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
2004 }
2005
2006
2007 SWIGINTERNINLINE PyObject*
2008 SWIG_From_unsigned_SS_long(unsigned long value)
2009 {
2010 return (value > LONG_MAX) ?
2011 PyLong_FromUnsignedLong(value)
2012 : PyInt_FromLong(static_cast<long >(value));
2013 }
2014
2015
2016 #include <wx/vlbox.h>
2017
2018 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
2019
2020 class wxPyVListBox : public wxVListBox
2021 {
2022 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
2023 public:
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
2072 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
2073
2074 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
2075 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
2076 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
2077 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
2078
2079
2080 static PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
2081 unsigned long cookie = 0;
2082 int selected = self->GetFirstSelected(cookie);
2083 wxPyBlock_t blocked = wxPyBeginBlockThreads();
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 }
2090 static PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
2091 int selected = self->GetNextSelected(cookie);
2092 wxPyBlock_t blocked = wxPyBeginBlockThreads();
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 }
2099
2100 #include <wx/htmllbox.h>
2101
2102
2103 class wxPyHtmlListBox : public wxHtmlListBox
2104 {
2105 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
2106 public:
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
2146 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
2147
2148 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
2149 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
2150
2151
2152
2153
2154
2155 #ifndef wxHAS_TASK_BAR_ICON
2156 // implement dummy classes for platforms that don't have it
2157
2158 class wxTaskBarIcon : public wxEvtHandler
2159 {
2160 public:
2161 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
2162 };
2163
2164
2165 class wxTaskBarIconEvent : public wxEvent
2166 {
2167 public:
2168 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
2169 { wxPyRaiseNotImplemented(); }
2170 virtual wxEvent* Clone() const { return NULL; }
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; }
2176 };
2177
2178 enum {
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 };
2187
2188
2189 #else
2190 // Otherwise make a class that can virtualize CreatePopupMenu
2191 class wxPyTaskBarIcon : public wxTaskBarIcon
2192 {
2193 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
2194 public:
2195 wxPyTaskBarIcon() : wxTaskBarIcon()
2196 {}
2197
2198 wxMenu* CreatePopupMenu() {
2199 wxMenu *rval = NULL;
2200 bool found;
2201 wxPyBlock_t blocked = wxPyBeginBlockThreads();
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 }
2217
2218 PYPRIVATE;
2219 };
2220
2221 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
2222
2223 #endif
2224
2225 static void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
2226 self->RemoveIcon();
2227 delete self;
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);
2235 static PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
2236 wxArrayString arr;
2237 self->GetFilenames(arr);
2238 return wxArrayString2PyList_helper(arr);
2239 }
2240 static PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
2241 wxArrayString arr;
2242 self->GetPaths(arr);
2243 return wxArrayString2PyList_helper(arr);
2244 }
2245 static PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
2246 return wxArrayInt2PyList_helper(self->GetSelections());
2247 }
2248 static wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style=wxCHOICEDLG_STYLE,wxPoint const &pos=wxDefaultPosition){
2249 return new wxSingleChoiceDialog(parent, message, caption,
2250 choices, choices_array, NULL, style, pos);
2251 }
2252 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
2253
2254 #include <wx/mdi.h>
2255
2256 // C++ version of Python aware wxWindow
2257 class wxPyWindow : public wxWindow
2258 {
2259 DECLARE_DYNAMIC_CLASS(wxPyWindow)
2260 public:
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
2269 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
2270
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
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
2305 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
2306 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
2307
2308 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2309
2310 DEC_PYCALLBACK_VOID_(OnInternalIdle);
2311
2312 PYPRIVATE;
2313 };
2314
2315 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
2316
2317 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
2318 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
2319 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
2320 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
2321
2322 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
2323 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
2324 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
2325
2326 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
2327 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
2328
2329 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
2330 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
2331 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
2332 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
2333
2334 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
2335 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
2336 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
2337
2338 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
2339 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
2340
2341 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
2342 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
2343
2344 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
2345
2346 IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
2347
2348 // C++ version of Python aware wxPanel
2349 class wxPyPanel : public wxPanel
2350 {
2351 DECLARE_DYNAMIC_CLASS(wxPyPanel)
2352 public:
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
2361 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
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 }
2371
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
2397 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
2398 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
2399
2400 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2401
2402 DEC_PYCALLBACK_VOID_(OnInternalIdle);
2403
2404 PYPRIVATE;
2405 };
2406
2407 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
2408
2409 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
2410 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
2411 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
2412 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
2413
2414 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
2415 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
2416 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
2417
2418 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
2419 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
2420
2421 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
2422 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
2423 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
2424 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
2425
2426 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
2427 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
2428 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
2429
2430 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
2431 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
2432
2433 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
2434 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
2435
2436 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
2437
2438 IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
2439
2440 // C++ version of Python aware wxScrolledWindow
2441 class wxPyScrolledWindow : public wxScrolledWindow
2442 {
2443 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
2444 public:
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
2453 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
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 }
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
2488 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
2489 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
2490
2491 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2492
2493 DEC_PYCALLBACK_VOID_(OnInternalIdle);
2494
2495 PYPRIVATE;
2496 };
2497
2498 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
2499
2500 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
2501 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
2502 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
2503 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
2504
2505 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
2506 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
2507 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
2508
2509 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
2510 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
2511
2512 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
2513 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
2514 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
2515 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
2516
2517 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
2518 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
2519 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
2520
2521 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
2522 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
2523
2524 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
2525 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
2526
2527 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
2528
2529 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
2530
2531
2532 #include "wx/wxPython/printfw.h"
2533
2534
2535 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
2536 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
2537 static PyObject *wxPrintData_GetPrivData(wxPrintData *self){
2538 PyObject* data;
2539 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2540 data = PyString_FromStringAndSize(self->GetPrivData(),
2541 self->GetPrivDataLen());
2542 wxPyEndBlockThreads(blocked);
2543 return data;
2544 }
2545 static 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
2552 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2553 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
2554 wxPyEndBlockThreads(blocked);
2555 }
2556
2557
2558 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
2559
2560 // Since this one would be tough and ugly to do with the Macros...
2561 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
2562 bool hadErr = false;
2563 bool found;
2564
2565 wxPyBlock_t blocked = wxPyBeginBlockThreads();
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);
2573 else hadErr = true;
2574
2575 val = PyTuple_GetItem(result, 1);
2576 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
2577 else hadErr = true;
2578
2579 val = PyTuple_GetItem(result, 2);
2580 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
2581 else hadErr = true;
2582
2583 val = PyTuple_GetItem(result, 3);
2584 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
2585 else hadErr = true;
2586 }
2587 else
2588 hadErr = true;
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
2601
2602
2603 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
2604 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
2605 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
2606 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
2607 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
2608 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
2609 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
2610
2611
2612
2613
2614
2615 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
2616 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
2617
2618
2619 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
2620 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2621 bool rval=false; \
2622 bool found; \
2623 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2624 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2625 PyObject* win = wxPyMake_wxObject(a,false); \
2626 PyObject* dc = wxPyMake_wxObject(&b,false); \
2627 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
2628 Py_DECREF(win); \
2629 Py_DECREF(dc); \
2630 } \
2631 wxPyEndBlockThreads(blocked); \
2632 if (! found) \
2633 rval = PCLASS::CBNAME(a, b); \
2634 return rval; \
2635 }
2636
2637
2638
2639
2640 class wxPyPrintPreview : public wxPrintPreview
2641 {
2642 DECLARE_CLASS(wxPyPrintPreview)
2643 public:
2644 wxPyPrintPreview(wxPyPrintout* printout,
2645 wxPyPrintout* printoutForPrinting,
2646 wxPrintDialogData* data=NULL)
2647 : wxPrintPreview(printout, printoutForPrinting, data)
2648 {}
2649 wxPyPrintPreview(wxPyPrintout* printout,
2650 wxPyPrintout* printoutForPrinting,
2651 wxPrintData* data)
2652 : wxPrintPreview(printout, printoutForPrinting, data)
2653 {}
2654
2655 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
2656 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
2657 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
2658 DEC_PYCALLBACK_BOOL_INT(RenderPage);
2659 DEC_PYCALLBACK_VOID_INT(SetZoom);
2660 DEC_PYCALLBACK_BOOL_BOOL(Print);
2661 DEC_PYCALLBACK_VOID_(DetermineScaling);
2662
2663 PYPRIVATE;
2664 };
2665
2666 // Stupid renamed classes... Fix this in 2.5...
2667 #if defined(__WXMSW__)
2668 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
2669 #elif defined(__WXMAC__)
2670 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
2671 #else
2672 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
2673 #endif
2674
2675 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
2676 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
2677 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
2678 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
2679 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
2680 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
2681 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
2682
2683
2684 class wxPyPreviewFrame : public wxPreviewFrame
2685 {
2686 DECLARE_CLASS(wxPyPreviewFrame)
2687 public:
2688 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
2689 const wxString& title,
2690 const wxPoint& pos = wxDefaultPosition,
2691 const wxSize& size = wxDefaultSize,
2692 long style = wxDEFAULT_FRAME_STYLE,
2693 const wxString& name = wxPyFrameNameStr)
2694 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
2695 {}
2696
2697 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
2698 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
2699
2700 DEC_PYCALLBACK_VOID_(Initialize);
2701 DEC_PYCALLBACK_VOID_(CreateCanvas);
2702 DEC_PYCALLBACK_VOID_(CreateControlBar);
2703
2704 PYPRIVATE;
2705 };
2706
2707 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
2708
2709 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
2710 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
2711 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
2712
2713
2714 class wxPyPreviewControlBar : public wxPreviewControlBar
2715 {
2716 DECLARE_CLASS(wxPyPreviewControlBar)
2717 public:
2718 wxPyPreviewControlBar(wxPrintPreview *preview,
2719 long buttons,
2720 wxWindow *parent,
2721 const wxPoint& pos = wxDefaultPosition,
2722 const wxSize& size = wxDefaultSize,
2723 long style = 0,
2724 const wxString& name = wxPyPanelNameStr)
2725 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
2726 {}
2727
2728 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
2729
2730 DEC_PYCALLBACK_VOID_(CreateButtons);
2731 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
2732
2733 PYPRIVATE;
2734 };
2735
2736 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
2737 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
2738 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
2739
2740 #ifdef __cplusplus
2741 extern "C" {
2742 #endif
2743 static PyObject *_wrap_new_Panel(PyObject *, PyObject *args, PyObject *kwargs) {
2744 PyObject *resultobj = NULL;
2745 wxWindow *arg1 = (wxWindow *) 0 ;
2746 int arg2 = (int) (int)-1 ;
2747 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2748 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2749 wxSize const &arg4_defvalue = wxDefaultSize ;
2750 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2751 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
2752 wxString const &arg6_defvalue = wxPyPanelNameStr ;
2753 wxString *arg6 = (wxString *) &arg6_defvalue ;
2754 wxPanel *result;
2755 wxPoint temp3 ;
2756 wxSize temp4 ;
2757 bool temp6 = false ;
2758 PyObject * obj0 = 0 ;
2759 PyObject * obj1 = 0 ;
2760 PyObject * obj2 = 0 ;
2761 PyObject * obj3 = 0 ;
2762 PyObject * obj4 = 0 ;
2763 PyObject * obj5 = 0 ;
2764 char *kwnames[] = {
2765 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2766 };
2767
2768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2769 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2770 if (SWIG_arg_fail(1)) SWIG_fail;
2771 if (obj1) {
2772 {
2773 arg2 = static_cast<int const >(SWIG_As_int(obj1));
2774 if (SWIG_arg_fail(2)) SWIG_fail;
2775 }
2776 }
2777 if (obj2) {
2778 {
2779 arg3 = &temp3;
2780 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2781 }
2782 }
2783 if (obj3) {
2784 {
2785 arg4 = &temp4;
2786 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2787 }
2788 }
2789 if (obj4) {
2790 {
2791 arg5 = static_cast<long >(SWIG_As_long(obj4));
2792 if (SWIG_arg_fail(5)) SWIG_fail;
2793 }
2794 }
2795 if (obj5) {
2796 {
2797 arg6 = wxString_in_helper(obj5);
2798 if (arg6 == NULL) SWIG_fail;
2799 temp6 = true;
2800 }
2801 }
2802 {
2803 if (!wxPyCheckForApp()) SWIG_fail;
2804 PyThreadState* __tstate = wxPyBeginAllowThreads();
2805 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
2806
2807 wxPyEndAllowThreads(__tstate);
2808 if (PyErr_Occurred()) SWIG_fail;
2809 }
2810 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
2811 {
2812 if (temp6)
2813 delete arg6;
2814 }
2815 return resultobj;
2816 fail:
2817 {
2818 if (temp6)
2819 delete arg6;
2820 }
2821 return NULL;
2822 }
2823
2824
2825 static PyObject *_wrap_new_PrePanel(PyObject *, PyObject *args, PyObject *kwargs) {
2826 PyObject *resultobj = NULL;
2827 wxPanel *result;
2828 char *kwnames[] = {
2829 NULL
2830 };
2831
2832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
2833 {
2834 if (!wxPyCheckForApp()) SWIG_fail;
2835 PyThreadState* __tstate = wxPyBeginAllowThreads();
2836 result = (wxPanel *)new wxPanel();
2837
2838 wxPyEndAllowThreads(__tstate);
2839 if (PyErr_Occurred()) SWIG_fail;
2840 }
2841 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
2842 return resultobj;
2843 fail:
2844 return NULL;
2845 }
2846
2847
2848 static PyObject *_wrap_Panel_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2849 PyObject *resultobj = NULL;
2850 wxPanel *arg1 = (wxPanel *) 0 ;
2851 wxWindow *arg2 = (wxWindow *) 0 ;
2852 int arg3 = (int) (int)-1 ;
2853 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2854 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2855 wxSize const &arg5_defvalue = wxDefaultSize ;
2856 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2857 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
2858 wxString const &arg7_defvalue = wxPyPanelNameStr ;
2859 wxString *arg7 = (wxString *) &arg7_defvalue ;
2860 bool result;
2861 wxPoint temp4 ;
2862 wxSize temp5 ;
2863 bool temp7 = false ;
2864 PyObject * obj0 = 0 ;
2865 PyObject * obj1 = 0 ;
2866 PyObject * obj2 = 0 ;
2867 PyObject * obj3 = 0 ;
2868 PyObject * obj4 = 0 ;
2869 PyObject * obj5 = 0 ;
2870 PyObject * obj6 = 0 ;
2871 char *kwnames[] = {
2872 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2873 };
2874
2875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2876 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2877 if (SWIG_arg_fail(1)) SWIG_fail;
2878 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2879 if (SWIG_arg_fail(2)) SWIG_fail;
2880 if (obj2) {
2881 {
2882 arg3 = static_cast<int const >(SWIG_As_int(obj2));
2883 if (SWIG_arg_fail(3)) SWIG_fail;
2884 }
2885 }
2886 if (obj3) {
2887 {
2888 arg4 = &temp4;
2889 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2890 }
2891 }
2892 if (obj4) {
2893 {
2894 arg5 = &temp5;
2895 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2896 }
2897 }
2898 if (obj5) {
2899 {
2900 arg6 = static_cast<long >(SWIG_As_long(obj5));
2901 if (SWIG_arg_fail(6)) SWIG_fail;
2902 }
2903 }
2904 if (obj6) {
2905 {
2906 arg7 = wxString_in_helper(obj6);
2907 if (arg7 == NULL) SWIG_fail;
2908 temp7 = true;
2909 }
2910 }
2911 {
2912 PyThreadState* __tstate = wxPyBeginAllowThreads();
2913 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2914
2915 wxPyEndAllowThreads(__tstate);
2916 if (PyErr_Occurred()) SWIG_fail;
2917 }
2918 {
2919 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2920 }
2921 {
2922 if (temp7)
2923 delete arg7;
2924 }
2925 return resultobj;
2926 fail:
2927 {
2928 if (temp7)
2929 delete arg7;
2930 }
2931 return NULL;
2932 }
2933
2934
2935 static PyObject *_wrap_Panel_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
2936 PyObject *resultobj = NULL;
2937 wxPanel *arg1 = (wxPanel *) 0 ;
2938 PyObject * obj0 = 0 ;
2939 char *kwnames[] = {
2940 (char *) "self", NULL
2941 };
2942
2943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
2944 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2945 if (SWIG_arg_fail(1)) SWIG_fail;
2946 {
2947 PyThreadState* __tstate = wxPyBeginAllowThreads();
2948 (arg1)->InitDialog();
2949
2950 wxPyEndAllowThreads(__tstate);
2951 if (PyErr_Occurred()) SWIG_fail;
2952 }
2953 Py_INCREF(Py_None); resultobj = Py_None;
2954 return resultobj;
2955 fail:
2956 return NULL;
2957 }
2958
2959
2960 static PyObject *_wrap_Panel_SetFocus(PyObject *, PyObject *args, PyObject *kwargs) {
2961 PyObject *resultobj = NULL;
2962 wxPanel *arg1 = (wxPanel *) 0 ;
2963 PyObject * obj0 = 0 ;
2964 char *kwnames[] = {
2965 (char *) "self", NULL
2966 };
2967
2968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_SetFocus",kwnames,&obj0)) goto fail;
2969 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2970 if (SWIG_arg_fail(1)) SWIG_fail;
2971 {
2972 PyThreadState* __tstate = wxPyBeginAllowThreads();
2973 (arg1)->SetFocus();
2974
2975 wxPyEndAllowThreads(__tstate);
2976 if (PyErr_Occurred()) SWIG_fail;
2977 }
2978 Py_INCREF(Py_None); resultobj = Py_None;
2979 return resultobj;
2980 fail:
2981 return NULL;
2982 }
2983
2984
2985 static PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *, PyObject *args, PyObject *kwargs) {
2986 PyObject *resultobj = NULL;
2987 wxPanel *arg1 = (wxPanel *) 0 ;
2988 PyObject * obj0 = 0 ;
2989 char *kwnames[] = {
2990 (char *) "self", NULL
2991 };
2992
2993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_SetFocusIgnoringChildren",kwnames,&obj0)) goto fail;
2994 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2995 if (SWIG_arg_fail(1)) SWIG_fail;
2996 {
2997 PyThreadState* __tstate = wxPyBeginAllowThreads();
2998 (arg1)->SetFocusIgnoringChildren();
2999
3000 wxPyEndAllowThreads(__tstate);
3001 if (PyErr_Occurred()) SWIG_fail;
3002 }
3003 Py_INCREF(Py_None); resultobj = Py_None;
3004 return resultobj;
3005 fail:
3006 return NULL;
3007 }
3008
3009
3010 static PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
3011 PyObject *resultobj = NULL;
3012 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3013 wxVisualAttributes result;
3014 PyObject * obj0 = 0 ;
3015 char *kwnames[] = {
3016 (char *) "variant", NULL
3017 };
3018
3019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3020 if (obj0) {
3021 {
3022 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
3023 if (SWIG_arg_fail(1)) SWIG_fail;
3024 }
3025 }
3026 {
3027 if (!wxPyCheckForApp()) SWIG_fail;
3028 PyThreadState* __tstate = wxPyBeginAllowThreads();
3029 result = wxPanel::GetClassDefaultAttributes(arg1);
3030
3031 wxPyEndAllowThreads(__tstate);
3032 if (PyErr_Occurred()) SWIG_fail;
3033 }
3034 {
3035 wxVisualAttributes * resultptr;
3036 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
3037 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3038 }
3039 return resultobj;
3040 fail:
3041 return NULL;
3042 }
3043
3044
3045 static PyObject * Panel_swigregister(PyObject *, PyObject *args) {
3046 PyObject *obj;
3047 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3048 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
3049 Py_INCREF(obj);
3050 return Py_BuildValue((char *)"");
3051 }
3052 static PyObject *_wrap_new_ScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
3053 PyObject *resultobj = NULL;
3054 wxWindow *arg1 = (wxWindow *) 0 ;
3055 int arg2 = (int) (int)-1 ;
3056 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3057 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3058 wxSize const &arg4_defvalue = wxDefaultSize ;
3059 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3060 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
3061 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3062 wxString *arg6 = (wxString *) &arg6_defvalue ;
3063 wxScrolledWindow *result;
3064 wxPoint temp3 ;
3065 wxSize temp4 ;
3066 bool temp6 = false ;
3067 PyObject * obj0 = 0 ;
3068 PyObject * obj1 = 0 ;
3069 PyObject * obj2 = 0 ;
3070 PyObject * obj3 = 0 ;
3071 PyObject * obj4 = 0 ;
3072 PyObject * obj5 = 0 ;
3073 char *kwnames[] = {
3074 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3075 };
3076
3077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
3078 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3079 if (SWIG_arg_fail(1)) SWIG_fail;
3080 if (obj1) {
3081 {
3082 arg2 = static_cast<int const >(SWIG_As_int(obj1));
3083 if (SWIG_arg_fail(2)) SWIG_fail;
3084 }
3085 }
3086 if (obj2) {
3087 {
3088 arg3 = &temp3;
3089 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3090 }
3091 }
3092 if (obj3) {
3093 {
3094 arg4 = &temp4;
3095 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3096 }
3097 }
3098 if (obj4) {
3099 {
3100 arg5 = static_cast<long >(SWIG_As_long(obj4));
3101 if (SWIG_arg_fail(5)) SWIG_fail;
3102 }
3103 }
3104 if (obj5) {
3105 {
3106 arg6 = wxString_in_helper(obj5);
3107 if (arg6 == NULL) SWIG_fail;
3108 temp6 = true;
3109 }
3110 }
3111 {
3112 if (!wxPyCheckForApp()) SWIG_fail;
3113 PyThreadState* __tstate = wxPyBeginAllowThreads();
3114 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3115
3116 wxPyEndAllowThreads(__tstate);
3117 if (PyErr_Occurred()) SWIG_fail;
3118 }
3119 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
3120 {
3121 if (temp6)
3122 delete arg6;
3123 }
3124 return resultobj;
3125 fail:
3126 {
3127 if (temp6)
3128 delete arg6;
3129 }
3130 return NULL;
3131 }
3132
3133
3134 static PyObject *_wrap_new_PreScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
3135 PyObject *resultobj = NULL;
3136 wxScrolledWindow *result;
3137 char *kwnames[] = {
3138 NULL
3139 };
3140
3141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
3142 {
3143 if (!wxPyCheckForApp()) SWIG_fail;
3144 PyThreadState* __tstate = wxPyBeginAllowThreads();
3145 result = (wxScrolledWindow *)new wxScrolledWindow();
3146
3147 wxPyEndAllowThreads(__tstate);
3148 if (PyErr_Occurred()) SWIG_fail;
3149 }
3150 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
3151 return resultobj;
3152 fail:
3153 return NULL;
3154 }
3155
3156
3157 static PyObject *_wrap_ScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3158 PyObject *resultobj = NULL;
3159 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3160 wxWindow *arg2 = (wxWindow *) 0 ;
3161 int arg3 = (int) (int)-1 ;
3162 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3163 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3164 wxSize const &arg5_defvalue = wxDefaultSize ;
3165 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3166 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
3167 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3168 wxString *arg7 = (wxString *) &arg7_defvalue ;
3169 bool result;
3170 wxPoint temp4 ;
3171 wxSize temp5 ;
3172 bool temp7 = false ;
3173 PyObject * obj0 = 0 ;
3174 PyObject * obj1 = 0 ;
3175 PyObject * obj2 = 0 ;
3176 PyObject * obj3 = 0 ;
3177 PyObject * obj4 = 0 ;
3178 PyObject * obj5 = 0 ;
3179 PyObject * obj6 = 0 ;
3180 char *kwnames[] = {
3181 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3182 };
3183
3184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3185 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3186 if (SWIG_arg_fail(1)) SWIG_fail;
3187 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3188 if (SWIG_arg_fail(2)) SWIG_fail;
3189 if (obj2) {
3190 {
3191 arg3 = static_cast<int const >(SWIG_As_int(obj2));
3192 if (SWIG_arg_fail(3)) SWIG_fail;
3193 }
3194 }
3195 if (obj3) {
3196 {
3197 arg4 = &temp4;
3198 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3199 }
3200 }
3201 if (obj4) {
3202 {
3203 arg5 = &temp5;
3204 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3205 }
3206 }
3207 if (obj5) {
3208 {
3209 arg6 = static_cast<long >(SWIG_As_long(obj5));
3210 if (SWIG_arg_fail(6)) SWIG_fail;
3211 }
3212 }
3213 if (obj6) {
3214 {
3215 arg7 = wxString_in_helper(obj6);
3216 if (arg7 == NULL) SWIG_fail;
3217 temp7 = true;
3218 }
3219 }
3220 {
3221 PyThreadState* __tstate = wxPyBeginAllowThreads();
3222 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3223
3224 wxPyEndAllowThreads(__tstate);
3225 if (PyErr_Occurred()) SWIG_fail;
3226 }
3227 {
3228 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3229 }
3230 {
3231 if (temp7)
3232 delete arg7;
3233 }
3234 return resultobj;
3235 fail:
3236 {
3237 if (temp7)
3238 delete arg7;
3239 }
3240 return NULL;
3241 }
3242
3243
3244 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
3245 PyObject *resultobj = NULL;
3246 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3247 int arg2 ;
3248 int arg3 ;
3249 int arg4 ;
3250 int arg5 ;
3251 int arg6 = (int) 0 ;
3252 int arg7 = (int) 0 ;
3253 bool arg8 = (bool) false ;
3254 PyObject * obj0 = 0 ;
3255 PyObject * obj1 = 0 ;
3256 PyObject * obj2 = 0 ;
3257 PyObject * obj3 = 0 ;
3258 PyObject * obj4 = 0 ;
3259 PyObject * obj5 = 0 ;
3260 PyObject * obj6 = 0 ;
3261 PyObject * obj7 = 0 ;
3262 char *kwnames[] = {
3263 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
3264 };
3265
3266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3267 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3268 if (SWIG_arg_fail(1)) SWIG_fail;
3269 {
3270 arg2 = static_cast<int >(SWIG_As_int(obj1));
3271 if (SWIG_arg_fail(2)) SWIG_fail;
3272 }
3273 {
3274 arg3 = static_cast<int >(SWIG_As_int(obj2));
3275 if (SWIG_arg_fail(3)) SWIG_fail;
3276 }
3277 {
3278 arg4 = static_cast<int >(SWIG_As_int(obj3));
3279 if (SWIG_arg_fail(4)) SWIG_fail;
3280 }
3281 {
3282 arg5 = static_cast<int >(SWIG_As_int(obj4));
3283 if (SWIG_arg_fail(5)) SWIG_fail;
3284 }
3285 if (obj5) {
3286 {
3287 arg6 = static_cast<int >(SWIG_As_int(obj5));
3288 if (SWIG_arg_fail(6)) SWIG_fail;
3289 }
3290 }
3291 if (obj6) {
3292 {
3293 arg7 = static_cast<int >(SWIG_As_int(obj6));
3294 if (SWIG_arg_fail(7)) SWIG_fail;
3295 }
3296 }
3297 if (obj7) {
3298 {
3299 arg8 = static_cast<bool >(SWIG_As_bool(obj7));
3300 if (SWIG_arg_fail(8)) SWIG_fail;
3301 }
3302 }
3303 {
3304 PyThreadState* __tstate = wxPyBeginAllowThreads();
3305 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
3306
3307 wxPyEndAllowThreads(__tstate);
3308 if (PyErr_Occurred()) SWIG_fail;
3309 }
3310 Py_INCREF(Py_None); resultobj = Py_None;
3311 return resultobj;
3312 fail:
3313 return NULL;
3314 }
3315
3316
3317 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *, PyObject *args, PyObject *kwargs) {
3318 PyObject *resultobj = NULL;
3319 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3320 int arg2 ;
3321 int arg3 ;
3322 PyObject * obj0 = 0 ;
3323 PyObject * obj1 = 0 ;
3324 PyObject * obj2 = 0 ;
3325 char *kwnames[] = {
3326 (char *) "self",(char *) "x",(char *) "y", NULL
3327 };
3328
3329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
3330 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3331 if (SWIG_arg_fail(1)) SWIG_fail;
3332 {
3333 arg2 = static_cast<int >(SWIG_As_int(obj1));
3334 if (SWIG_arg_fail(2)) SWIG_fail;
3335 }
3336 {
3337 arg3 = static_cast<int >(SWIG_As_int(obj2));
3338 if (SWIG_arg_fail(3)) SWIG_fail;
3339 }
3340 {
3341 PyThreadState* __tstate = wxPyBeginAllowThreads();
3342 (arg1)->Scroll(arg2,arg3);
3343
3344 wxPyEndAllowThreads(__tstate);
3345 if (PyErr_Occurred()) SWIG_fail;
3346 }
3347 Py_INCREF(Py_None); resultobj = Py_None;
3348 return resultobj;
3349 fail:
3350 return NULL;
3351 }
3352
3353
3354 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
3355 PyObject *resultobj = NULL;
3356 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3357 int arg2 ;
3358 int result;
3359 PyObject * obj0 = 0 ;
3360 PyObject * obj1 = 0 ;
3361 char *kwnames[] = {
3362 (char *) "self",(char *) "orient", NULL
3363 };
3364
3365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
3366 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3367 if (SWIG_arg_fail(1)) SWIG_fail;
3368 {
3369 arg2 = static_cast<int >(SWIG_As_int(obj1));
3370 if (SWIG_arg_fail(2)) SWIG_fail;
3371 }
3372 {
3373 PyThreadState* __tstate = wxPyBeginAllowThreads();
3374 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
3375
3376 wxPyEndAllowThreads(__tstate);
3377 if (PyErr_Occurred()) SWIG_fail;
3378 }
3379 {
3380 resultobj = SWIG_From_int(static_cast<int >(result));
3381 }
3382 return resultobj;
3383 fail:
3384 return NULL;
3385 }
3386
3387
3388 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
3389 PyObject *resultobj = NULL;
3390 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3391 int arg2 ;
3392 int arg3 ;
3393 PyObject * obj0 = 0 ;
3394 PyObject * obj1 = 0 ;
3395 PyObject * obj2 = 0 ;
3396 char *kwnames[] = {
3397 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
3398 };
3399
3400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
3401 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3402 if (SWIG_arg_fail(1)) SWIG_fail;
3403 {
3404 arg2 = static_cast<int >(SWIG_As_int(obj1));
3405 if (SWIG_arg_fail(2)) SWIG_fail;
3406 }
3407 {
3408 arg3 = static_cast<int >(SWIG_As_int(obj2));
3409 if (SWIG_arg_fail(3)) SWIG_fail;
3410 }
3411 {
3412 PyThreadState* __tstate = wxPyBeginAllowThreads();
3413 (arg1)->SetScrollPageSize(arg2,arg3);
3414
3415 wxPyEndAllowThreads(__tstate);
3416 if (PyErr_Occurred()) SWIG_fail;
3417 }
3418 Py_INCREF(Py_None); resultobj = Py_None;
3419 return resultobj;
3420 fail:
3421 return NULL;
3422 }
3423
3424
3425 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *, PyObject *args, PyObject *kwargs) {
3426 PyObject *resultobj = NULL;
3427 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3428 int arg2 ;
3429 int arg3 ;
3430 PyObject * obj0 = 0 ;
3431 PyObject * obj1 = 0 ;
3432 PyObject * obj2 = 0 ;
3433 char *kwnames[] = {
3434 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
3435 };
3436
3437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
3438 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3439 if (SWIG_arg_fail(1)) SWIG_fail;
3440 {
3441 arg2 = static_cast<int >(SWIG_As_int(obj1));
3442 if (SWIG_arg_fail(2)) SWIG_fail;
3443 }
3444 {
3445 arg3 = static_cast<int >(SWIG_As_int(obj2));
3446 if (SWIG_arg_fail(3)) SWIG_fail;
3447 }
3448 {
3449 PyThreadState* __tstate = wxPyBeginAllowThreads();
3450 (arg1)->SetScrollRate(arg2,arg3);
3451
3452 wxPyEndAllowThreads(__tstate);
3453 if (PyErr_Occurred()) SWIG_fail;
3454 }
3455 Py_INCREF(Py_None); resultobj = Py_None;
3456 return resultobj;
3457 fail:
3458 return NULL;
3459 }
3460
3461
3462 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *, PyObject *args, PyObject *kwargs) {
3463 PyObject *resultobj = NULL;
3464 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3465 int *arg2 = (int *) 0 ;
3466 int *arg3 = (int *) 0 ;
3467 int temp2 ;
3468 int res2 = 0 ;
3469 int temp3 ;
3470 int res3 = 0 ;
3471 PyObject * obj0 = 0 ;
3472 char *kwnames[] = {
3473 (char *) "self", NULL
3474 };
3475
3476 arg2 = &temp2; res2 = SWIG_NEWOBJ;
3477 arg3 = &temp3; res3 = SWIG_NEWOBJ;
3478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
3479 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3480 if (SWIG_arg_fail(1)) SWIG_fail;
3481 {
3482 PyThreadState* __tstate = wxPyBeginAllowThreads();
3483 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
3484
3485 wxPyEndAllowThreads(__tstate);
3486 if (PyErr_Occurred()) SWIG_fail;
3487 }
3488 Py_INCREF(Py_None); resultobj = Py_None;
3489 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
3490 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
3491 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
3492 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
3493 return resultobj;
3494 fail:
3495 return NULL;
3496 }
3497
3498
3499 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *, PyObject *args, PyObject *kwargs) {
3500 PyObject *resultobj = NULL;
3501 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3502 bool arg2 ;
3503 bool arg3 ;
3504 PyObject * obj0 = 0 ;
3505 PyObject * obj1 = 0 ;
3506 PyObject * obj2 = 0 ;
3507 char *kwnames[] = {
3508 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
3509 };
3510
3511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
3512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3513 if (SWIG_arg_fail(1)) SWIG_fail;
3514 {
3515 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
3516 if (SWIG_arg_fail(2)) SWIG_fail;
3517 }
3518 {
3519 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
3520 if (SWIG_arg_fail(3)) SWIG_fail;
3521 }
3522 {
3523 PyThreadState* __tstate = wxPyBeginAllowThreads();
3524 (arg1)->EnableScrolling(arg2,arg3);
3525
3526 wxPyEndAllowThreads(__tstate);
3527 if (PyErr_Occurred()) SWIG_fail;
3528 }
3529 Py_INCREF(Py_None); resultobj = Py_None;
3530 return resultobj;
3531 fail:
3532 return NULL;
3533 }
3534
3535
3536 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *, PyObject *args, PyObject *kwargs) {
3537 PyObject *resultobj = NULL;
3538 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3539 int *arg2 = (int *) 0 ;
3540 int *arg3 = (int *) 0 ;
3541 int temp2 ;
3542 int res2 = 0 ;
3543 int temp3 ;
3544 int res3 = 0 ;
3545 PyObject * obj0 = 0 ;
3546 char *kwnames[] = {
3547 (char *) "self", NULL
3548 };
3549
3550 arg2 = &temp2; res2 = SWIG_NEWOBJ;
3551 arg3 = &temp3; res3 = SWIG_NEWOBJ;
3552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
3553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3554 if (SWIG_arg_fail(1)) SWIG_fail;
3555 {
3556 PyThreadState* __tstate = wxPyBeginAllowThreads();
3557 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
3558
3559 wxPyEndAllowThreads(__tstate);
3560 if (PyErr_Occurred()) SWIG_fail;
3561 }
3562 Py_INCREF(Py_None); resultobj = Py_None;
3563 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
3564 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
3565 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
3566 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
3567 return resultobj;
3568 fail:
3569 return NULL;
3570 }
3571
3572
3573 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *, PyObject *args, PyObject *kwargs) {
3574 PyObject *resultobj = NULL;
3575 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3576 double arg2 ;
3577 double arg3 ;
3578 PyObject * obj0 = 0 ;
3579 PyObject * obj1 = 0 ;
3580 PyObject * obj2 = 0 ;
3581 char *kwnames[] = {
3582 (char *) "self",(char *) "xs",(char *) "ys", NULL
3583 };
3584
3585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
3586 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3587 if (SWIG_arg_fail(1)) SWIG_fail;
3588 {
3589 arg2 = static_cast<double >(SWIG_As_double(obj1));
3590 if (SWIG_arg_fail(2)) SWIG_fail;
3591 }
3592 {
3593 arg3 = static_cast<double >(SWIG_As_double(obj2));
3594 if (SWIG_arg_fail(3)) SWIG_fail;
3595 }
3596 {
3597 PyThreadState* __tstate = wxPyBeginAllowThreads();
3598 (arg1)->SetScale(arg2,arg3);
3599
3600 wxPyEndAllowThreads(__tstate);
3601 if (PyErr_Occurred()) SWIG_fail;
3602 }
3603 Py_INCREF(Py_None); resultobj = Py_None;
3604 return resultobj;
3605 fail:
3606 return NULL;
3607 }
3608
3609
3610 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
3611 PyObject *resultobj = NULL;
3612 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3613 double result;
3614 PyObject * obj0 = 0 ;
3615 char *kwnames[] = {
3616 (char *) "self", NULL
3617 };
3618
3619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
3620 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3621 if (SWIG_arg_fail(1)) SWIG_fail;
3622 {
3623 PyThreadState* __tstate = wxPyBeginAllowThreads();
3624 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
3625
3626 wxPyEndAllowThreads(__tstate);
3627 if (PyErr_Occurred()) SWIG_fail;
3628 }
3629 {
3630 resultobj = SWIG_From_double(static_cast<double >(result));
3631 }
3632 return resultobj;
3633 fail:
3634 return NULL;
3635 }
3636
3637
3638 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
3639 PyObject *resultobj = NULL;
3640 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3641 double result;
3642 PyObject * obj0 = 0 ;
3643 char *kwnames[] = {
3644 (char *) "self", NULL
3645 };
3646
3647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
3648 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3649 if (SWIG_arg_fail(1)) SWIG_fail;
3650 {
3651 PyThreadState* __tstate = wxPyBeginAllowThreads();
3652 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
3653
3654 wxPyEndAllowThreads(__tstate);
3655 if (PyErr_Occurred()) SWIG_fail;
3656 }
3657 {
3658 resultobj = SWIG_From_double(static_cast<double >(result));
3659 }
3660 return resultobj;
3661 fail:
3662 return NULL;
3663 }
3664
3665
3666 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *, PyObject *args) {
3667 PyObject *resultobj = NULL;
3668 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3669 wxPoint *arg2 = 0 ;
3670 wxPoint result;
3671 wxPoint temp2 ;
3672 PyObject * obj0 = 0 ;
3673 PyObject * obj1 = 0 ;
3674
3675 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
3676 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3677 if (SWIG_arg_fail(1)) SWIG_fail;
3678 {
3679 arg2 = &temp2;
3680 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3681 }
3682 {
3683 PyThreadState* __tstate = wxPyBeginAllowThreads();
3684 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
3685
3686 wxPyEndAllowThreads(__tstate);
3687 if (PyErr_Occurred()) SWIG_fail;
3688 }
3689 {
3690 wxPoint * resultptr;
3691 resultptr = new wxPoint(static_cast<wxPoint & >(result));
3692 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3693 }
3694 return resultobj;
3695 fail:
3696 return NULL;
3697 }
3698
3699
3700 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *, PyObject *args) {
3701 PyObject *resultobj = NULL;
3702 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3703 int arg2 ;
3704 int arg3 ;
3705 int *arg4 = (int *) 0 ;
3706 int *arg5 = (int *) 0 ;
3707 int temp4 ;
3708 int res4 = 0 ;
3709 int temp5 ;
3710 int res5 = 0 ;
3711 PyObject * obj0 = 0 ;
3712 PyObject * obj1 = 0 ;
3713 PyObject * obj2 = 0 ;
3714
3715 arg4 = &temp4; res4 = SWIG_NEWOBJ;
3716 arg5 = &temp5; res5 = SWIG_NEWOBJ;
3717 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
3718 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3719 if (SWIG_arg_fail(1)) SWIG_fail;
3720 {
3721 arg2 = static_cast<int >(SWIG_As_int(obj1));
3722 if (SWIG_arg_fail(2)) SWIG_fail;
3723 }
3724 {
3725 arg3 = static_cast<int >(SWIG_As_int(obj2));
3726 if (SWIG_arg_fail(3)) SWIG_fail;
3727 }
3728 {
3729 PyThreadState* __tstate = wxPyBeginAllowThreads();
3730 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
3731
3732 wxPyEndAllowThreads(__tstate);
3733 if (PyErr_Occurred()) SWIG_fail;
3734 }
3735 Py_INCREF(Py_None); resultobj = Py_None;
3736 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
3737 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
3738 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
3739 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
3740 return resultobj;
3741 fail:
3742 return NULL;
3743 }
3744
3745
3746 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
3747 int argc;
3748 PyObject *argv[4];
3749 int ii;
3750
3751 argc = PyObject_Length(args);
3752 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
3753 argv[ii] = PyTuple_GetItem(args,ii);
3754 }
3755 if (argc == 2) {
3756 int _v;
3757 {
3758 void *ptr;
3759 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3760 _v = 0;
3761 PyErr_Clear();
3762 } else {
3763 _v = 1;
3764 }
3765 }
3766 if (_v) {
3767 {
3768 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
3769 }
3770 if (_v) {
3771 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
3772 }
3773 }
3774 }
3775 if (argc == 3) {
3776 int _v;
3777 {
3778 void *ptr;
3779 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3780 _v = 0;
3781 PyErr_Clear();
3782 } else {
3783 _v = 1;
3784 }
3785 }
3786 if (_v) {
3787 _v = SWIG_Check_int(argv[1]);
3788 if (_v) {
3789 _v = SWIG_Check_int(argv[2]);
3790 if (_v) {
3791 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
3792 }
3793 }
3794 }
3795 }
3796
3797 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
3798 return NULL;
3799 }
3800
3801
3802 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *, PyObject *args) {
3803 PyObject *resultobj = NULL;
3804 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3805 wxPoint *arg2 = 0 ;
3806 wxPoint result;
3807 wxPoint temp2 ;
3808 PyObject * obj0 = 0 ;
3809 PyObject * obj1 = 0 ;
3810
3811 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
3812 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3813 if (SWIG_arg_fail(1)) SWIG_fail;
3814 {
3815 arg2 = &temp2;
3816 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3817 }
3818 {
3819 PyThreadState* __tstate = wxPyBeginAllowThreads();
3820 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
3821
3822 wxPyEndAllowThreads(__tstate);
3823 if (PyErr_Occurred()) SWIG_fail;
3824 }
3825 {
3826 wxPoint * resultptr;
3827 resultptr = new wxPoint(static_cast<wxPoint & >(result));
3828 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3829 }
3830 return resultobj;
3831 fail:
3832 return NULL;
3833 }
3834
3835
3836 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *, PyObject *args) {
3837 PyObject *resultobj = NULL;
3838 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3839 int arg2 ;
3840 int arg3 ;
3841 int *arg4 = (int *) 0 ;
3842 int *arg5 = (int *) 0 ;
3843 int temp4 ;
3844 int res4 = 0 ;
3845 int temp5 ;
3846 int res5 = 0 ;
3847 PyObject * obj0 = 0 ;
3848 PyObject * obj1 = 0 ;
3849 PyObject * obj2 = 0 ;
3850
3851 arg4 = &temp4; res4 = SWIG_NEWOBJ;
3852 arg5 = &temp5; res5 = SWIG_NEWOBJ;
3853 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
3854 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3855 if (SWIG_arg_fail(1)) SWIG_fail;
3856 {
3857 arg2 = static_cast<int >(SWIG_As_int(obj1));
3858 if (SWIG_arg_fail(2)) SWIG_fail;
3859 }
3860 {
3861 arg3 = static_cast<int >(SWIG_As_int(obj2));
3862 if (SWIG_arg_fail(3)) SWIG_fail;
3863 }
3864 {
3865 PyThreadState* __tstate = wxPyBeginAllowThreads();
3866 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
3867
3868 wxPyEndAllowThreads(__tstate);
3869 if (PyErr_Occurred()) SWIG_fail;
3870 }
3871 Py_INCREF(Py_None); resultobj = Py_None;
3872 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
3873 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
3874 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
3875 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
3876 return resultobj;
3877 fail:
3878 return NULL;
3879 }
3880
3881
3882 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
3883 int argc;
3884 PyObject *argv[4];
3885 int ii;
3886
3887 argc = PyObject_Length(args);
3888 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
3889 argv[ii] = PyTuple_GetItem(args,ii);
3890 }
3891 if (argc == 2) {
3892 int _v;
3893 {
3894 void *ptr;
3895 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3896 _v = 0;
3897 PyErr_Clear();
3898 } else {
3899 _v = 1;
3900 }
3901 }
3902 if (_v) {
3903 {
3904 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
3905 }
3906 if (_v) {
3907 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
3908 }
3909 }
3910 }
3911 if (argc == 3) {
3912 int _v;
3913 {
3914 void *ptr;
3915 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3916 _v = 0;
3917 PyErr_Clear();
3918 } else {
3919 _v = 1;
3920 }
3921 }
3922 if (_v) {
3923 _v = SWIG_Check_int(argv[1]);
3924 if (_v) {
3925 _v = SWIG_Check_int(argv[2]);
3926 if (_v) {
3927 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
3928 }
3929 }
3930 }
3931 }
3932
3933 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
3934 return NULL;
3935 }
3936
3937
3938 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
3939 PyObject *resultobj = NULL;
3940 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3941 PyObject * obj0 = 0 ;
3942 char *kwnames[] = {
3943 (char *) "self", NULL
3944 };
3945
3946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
3947 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3948 if (SWIG_arg_fail(1)) SWIG_fail;
3949 {
3950 PyThreadState* __tstate = wxPyBeginAllowThreads();
3951 (arg1)->AdjustScrollbars();
3952
3953 wxPyEndAllowThreads(__tstate);
3954 if (PyErr_Occurred()) SWIG_fail;
3955 }
3956 Py_INCREF(Py_None); resultobj = Py_None;
3957 return resultobj;
3958 fail:
3959 return NULL;
3960 }
3961
3962
3963 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *, PyObject *args, PyObject *kwargs) {
3964 PyObject *resultobj = NULL;
3965 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3966 wxScrollWinEvent *arg2 = 0 ;
3967 int result;
3968 PyObject * obj0 = 0 ;
3969 PyObject * obj1 = 0 ;
3970 char *kwnames[] = {
3971 (char *) "self",(char *) "event", NULL
3972 };
3973
3974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
3975 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3976 if (SWIG_arg_fail(1)) SWIG_fail;
3977 {
3978 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxScrollWinEvent, SWIG_POINTER_EXCEPTION | 0);
3979 if (SWIG_arg_fail(2)) SWIG_fail;
3980 if (arg2 == NULL) {
3981 SWIG_null_ref("wxScrollWinEvent");
3982 }
3983 if (SWIG_arg_fail(2)) SWIG_fail;
3984 }
3985 {
3986 PyThreadState* __tstate = wxPyBeginAllowThreads();
3987 result = (int)(arg1)->CalcScrollInc(*arg2);
3988
3989 wxPyEndAllowThreads(__tstate);
3990 if (PyErr_Occurred()) SWIG_fail;
3991 }
3992 {
3993 resultobj = SWIG_From_int(static_cast<int >(result));
3994 }
3995 return resultobj;
3996 fail:
3997 return NULL;
3998 }
3999
4000
4001 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
4002 PyObject *resultobj = NULL;
4003 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4004 wxWindow *arg2 = (wxWindow *) 0 ;
4005 PyObject * obj0 = 0 ;
4006 PyObject * obj1 = 0 ;
4007 char *kwnames[] = {
4008 (char *) "self",(char *) "target", NULL
4009 };
4010
4011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
4012 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
4013 if (SWIG_arg_fail(1)) SWIG_fail;
4014 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4015 if (SWIG_arg_fail(2)) SWIG_fail;
4016 {
4017 PyThreadState* __tstate = wxPyBeginAllowThreads();
4018 (arg1)->SetTargetWindow(arg2);
4019
4020 wxPyEndAllowThreads(__tstate);
4021 if (PyErr_Occurred()) SWIG_fail;
4022 }
4023 Py_INCREF(Py_None); resultobj = Py_None;
4024 return resultobj;
4025 fail:
4026 return NULL;
4027 }
4028
4029
4030 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
4031 PyObject *resultobj = NULL;
4032 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4033 wxWindow *result;
4034 PyObject * obj0 = 0 ;
4035 char *kwnames[] = {
4036 (char *) "self", NULL
4037 };
4038
4039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
4040 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
4041 if (SWIG_arg_fail(1)) SWIG_fail;
4042 {
4043 PyThreadState* __tstate = wxPyBeginAllowThreads();
4044 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
4045
4046 wxPyEndAllowThreads(__tstate);
4047 if (PyErr_Occurred()) SWIG_fail;
4048 }
4049 {
4050 resultobj = wxPyMake_wxObject(result, 0);
4051 }
4052 return resultobj;
4053 fail:
4054 return NULL;
4055 }
4056
4057
4058 static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) {
4059 PyObject *resultobj = NULL;
4060 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4061 wxRect *arg2 = 0 ;
4062 wxRect temp2 ;
4063 PyObject * obj0 = 0 ;
4064 PyObject * obj1 = 0 ;
4065 char *kwnames[] = {
4066 (char *) "self",(char *) "rect", NULL
4067 };
4068
4069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
4070 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
4071 if (SWIG_arg_fail(1)) SWIG_fail;
4072 {
4073 arg2 = &temp2;
4074 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4075 }
4076 {
4077 PyThreadState* __tstate = wxPyBeginAllowThreads();
4078 (arg1)->SetTargetRect((wxRect const &)*arg2);
4079
4080 wxPyEndAllowThreads(__tstate);
4081 if (PyErr_Occurred()) SWIG_fail;
4082 }
4083 Py_INCREF(Py_None); resultobj = Py_None;
4084 return resultobj;
4085 fail:
4086 return NULL;
4087 }
4088
4089
4090 static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) {
4091 PyObject *resultobj = NULL;
4092 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4093 wxRect result;
4094 PyObject * obj0 = 0 ;
4095 char *kwnames[] = {
4096 (char *) "self", NULL
4097 };
4098
4099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
4100 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
4101 if (SWIG_arg_fail(1)) SWIG_fail;
4102 {
4103 PyThreadState* __tstate = wxPyBeginAllowThreads();
4104 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
4105
4106 wxPyEndAllowThreads(__tstate);
4107 if (PyErr_Occurred()) SWIG_fail;
4108 }
4109 {
4110 wxRect * resultptr;
4111 resultptr = new wxRect(static_cast<wxRect & >(result));
4112 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
4113 }
4114 return resultobj;
4115 fail:
4116 return NULL;
4117 }
4118
4119
4120 static PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *, PyObject *args, PyObject *kwargs) {
4121 PyObject *resultobj = NULL;
4122 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4123 wxDC *arg2 = 0 ;
4124 PyObject * obj0 = 0 ;
4125 PyObject * obj1 = 0 ;
4126 char *kwnames[] = {
4127 (char *) "self",(char *) "dc", NULL
4128 };
4129
4130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) goto fail;
4131 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
4132 if (SWIG_arg_fail(1)) SWIG_fail;
4133 {
4134 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
4135 if (SWIG_arg_fail(2)) SWIG_fail;
4136 if (arg2 == NULL) {
4137 SWIG_null_ref("wxDC");
4138 }
4139 if (SWIG_arg_fail(2)) SWIG_fail;
4140 }
4141 {
4142 PyThreadState* __tstate = wxPyBeginAllowThreads();
4143 (arg1)->DoPrepareDC(*arg2);
4144
4145 wxPyEndAllowThreads(__tstate);
4146 if (PyErr_Occurred()) SWIG_fail;
4147 }
4148 Py_INCREF(Py_None); resultobj = Py_None;
4149 return resultobj;
4150 fail:
4151 return NULL;
4152 }
4153
4154
4155 static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
4156 PyObject *resultobj = NULL;
4157 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
4158 wxVisualAttributes result;
4159 PyObject * obj0 = 0 ;
4160 char *kwnames[] = {
4161 (char *) "variant", NULL
4162 };
4163
4164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4165 if (obj0) {
4166 {
4167 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
4168 if (SWIG_arg_fail(1)) SWIG_fail;
4169 }
4170 }
4171 {
4172 if (!wxPyCheckForApp()) SWIG_fail;
4173 PyThreadState* __tstate = wxPyBeginAllowThreads();
4174 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
4175
4176 wxPyEndAllowThreads(__tstate);
4177 if (PyErr_Occurred()) SWIG_fail;
4178 }
4179 {
4180 wxVisualAttributes * resultptr;
4181 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
4182 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4183 }
4184 return resultobj;
4185 fail:
4186 return NULL;
4187 }
4188
4189
4190 static PyObject * ScrolledWindow_swigregister(PyObject *, PyObject *args) {
4191 PyObject *obj;
4192 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4193 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
4194 Py_INCREF(obj);
4195 return Py_BuildValue((char *)"");
4196 }
4197 static int _wrap_FrameNameStr_set(PyObject *) {
4198 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
4199 return 1;
4200 }
4201
4202
4203 static PyObject *_wrap_FrameNameStr_get(void) {
4204 PyObject *pyobj = NULL;
4205
4206 {
4207 #if wxUSE_UNICODE
4208 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
4209 #else
4210 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
4211 #endif
4212 }
4213 return pyobj;
4214 }
4215
4216
4217 static int _wrap_DialogNameStr_set(PyObject *) {
4218 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
4219 return 1;
4220 }
4221
4222
4223 static PyObject *_wrap_DialogNameStr_get(void) {
4224 PyObject *pyobj = NULL;
4225
4226 {
4227 #if wxUSE_UNICODE
4228 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
4229 #else
4230 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
4231 #endif
4232 }
4233 return pyobj;
4234 }
4235
4236
4237 static int _wrap_StatusLineNameStr_set(PyObject *) {
4238 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
4239 return 1;
4240 }
4241
4242
4243 static PyObject *_wrap_StatusLineNameStr_get(void) {
4244 PyObject *pyobj = NULL;
4245
4246 {
4247 #if wxUSE_UNICODE
4248 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
4249 #else
4250 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
4251 #endif
4252 }
4253 return pyobj;
4254 }
4255
4256
4257 static int _wrap_ToolBarNameStr_set(PyObject *) {
4258 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
4259 return 1;
4260 }
4261
4262
4263 static PyObject *_wrap_ToolBarNameStr_get(void) {
4264 PyObject *pyobj = NULL;
4265
4266 {
4267 #if wxUSE_UNICODE
4268 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
4269 #else
4270 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
4271 #endif
4272 }
4273 return pyobj;
4274 }
4275
4276
4277 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
4278 PyObject *resultobj = NULL;
4279 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4280 bool arg2 = (bool) true ;
4281 PyObject * obj0 = 0 ;
4282 PyObject * obj1 = 0 ;
4283 char *kwnames[] = {
4284 (char *) "self",(char *) "maximize", NULL
4285 };
4286
4287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
4288 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4289 if (SWIG_arg_fail(1)) SWIG_fail;
4290 if (obj1) {
4291 {
4292 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
4293 if (SWIG_arg_fail(2)) SWIG_fail;
4294 }
4295 }
4296 {
4297 PyThreadState* __tstate = wxPyBeginAllowThreads();
4298 (arg1)->Maximize(arg2);
4299
4300 wxPyEndAllowThreads(__tstate);
4301 if (PyErr_Occurred()) SWIG_fail;
4302 }
4303 Py_INCREF(Py_None); resultobj = Py_None;
4304 return resultobj;
4305 fail:
4306 return NULL;
4307 }
4308
4309
4310 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
4311 PyObject *resultobj = NULL;
4312 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4313 PyObject * obj0 = 0 ;
4314 char *kwnames[] = {
4315 (char *) "self", NULL
4316 };
4317
4318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
4319 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4320 if (SWIG_arg_fail(1)) SWIG_fail;
4321 {
4322 PyThreadState* __tstate = wxPyBeginAllowThreads();
4323 (arg1)->Restore();
4324
4325 wxPyEndAllowThreads(__tstate);
4326 if (PyErr_Occurred()) SWIG_fail;
4327 }
4328 Py_INCREF(Py_None); resultobj = Py_None;
4329 return resultobj;
4330 fail:
4331 return NULL;
4332 }
4333
4334
4335 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *, PyObject *args, PyObject *kwargs) {
4336 PyObject *resultobj = NULL;
4337 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4338 bool arg2 = (bool) true ;
4339 PyObject * obj0 = 0 ;
4340 PyObject * obj1 = 0 ;
4341 char *kwnames[] = {
4342 (char *) "self",(char *) "iconize", NULL
4343 };
4344
4345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
4346 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4347 if (SWIG_arg_fail(1)) SWIG_fail;
4348 if (obj1) {
4349 {
4350 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
4351 if (SWIG_arg_fail(2)) SWIG_fail;
4352 }
4353 }
4354 {
4355 PyThreadState* __tstate = wxPyBeginAllowThreads();
4356 (arg1)->Iconize(arg2);
4357
4358 wxPyEndAllowThreads(__tstate);
4359 if (PyErr_Occurred()) SWIG_fail;
4360 }
4361 Py_INCREF(Py_None); resultobj = Py_None;
4362 return resultobj;
4363 fail:
4364 return NULL;
4365 }
4366
4367
4368 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *, PyObject *args, PyObject *kwargs) {
4369 PyObject *resultobj = NULL;
4370 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4371 bool result;
4372 PyObject * obj0 = 0 ;
4373 char *kwnames[] = {
4374 (char *) "self", NULL
4375 };
4376
4377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
4378 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4379 if (SWIG_arg_fail(1)) SWIG_fail;
4380 {
4381 PyThreadState* __tstate = wxPyBeginAllowThreads();
4382 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
4383
4384 wxPyEndAllowThreads(__tstate);
4385 if (PyErr_Occurred()) SWIG_fail;
4386 }
4387 {
4388 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4389 }
4390 return resultobj;
4391 fail:
4392 return NULL;
4393 }
4394
4395
4396 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *, PyObject *args, PyObject *kwargs) {
4397 PyObject *resultobj = NULL;
4398 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4399 bool result;
4400 PyObject * obj0 = 0 ;
4401 char *kwnames[] = {
4402 (char *) "self", NULL
4403 };
4404
4405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
4406 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4407 if (SWIG_arg_fail(1)) SWIG_fail;
4408 {
4409 PyThreadState* __tstate = wxPyBeginAllowThreads();
4410 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
4411
4412 wxPyEndAllowThreads(__tstate);
4413 if (PyErr_Occurred()) SWIG_fail;
4414 }
4415 {
4416 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4417 }
4418 return resultobj;
4419 fail:
4420 return NULL;
4421 }
4422
4423
4424 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
4425 PyObject *resultobj = NULL;
4426 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4427 wxIcon result;
4428 PyObject * obj0 = 0 ;
4429 char *kwnames[] = {
4430 (char *) "self", NULL
4431 };
4432
4433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
4434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4435 if (SWIG_arg_fail(1)) SWIG_fail;
4436 {
4437 PyThreadState* __tstate = wxPyBeginAllowThreads();
4438 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
4439
4440 wxPyEndAllowThreads(__tstate);
4441 if (PyErr_Occurred()) SWIG_fail;
4442 }
4443 {
4444 wxIcon * resultptr;
4445 resultptr = new wxIcon(static_cast<wxIcon & >(result));
4446 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
4447 }
4448 return resultobj;
4449 fail:
4450 return NULL;
4451 }
4452
4453
4454 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
4455 PyObject *resultobj = NULL;
4456 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4457 wxIcon *arg2 = 0 ;
4458 PyObject * obj0 = 0 ;
4459 PyObject * obj1 = 0 ;
4460 char *kwnames[] = {
4461 (char *) "self",(char *) "icon", NULL
4462 };
4463
4464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
4465 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4466 if (SWIG_arg_fail(1)) SWIG_fail;
4467 {
4468 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
4469 if (SWIG_arg_fail(2)) SWIG_fail;
4470 if (arg2 == NULL) {
4471 SWIG_null_ref("wxIcon");
4472 }
4473 if (SWIG_arg_fail(2)) SWIG_fail;
4474 }
4475 {
4476 PyThreadState* __tstate = wxPyBeginAllowThreads();
4477 (arg1)->SetIcon((wxIcon const &)*arg2);
4478
4479 wxPyEndAllowThreads(__tstate);
4480 if (PyErr_Occurred()) SWIG_fail;
4481 }
4482 Py_INCREF(Py_None); resultobj = Py_None;
4483 return resultobj;
4484 fail:
4485 return NULL;
4486 }
4487
4488
4489 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *, PyObject *args, PyObject *kwargs) {
4490 PyObject *resultobj = NULL;
4491 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4492 wxIconBundle *arg2 = 0 ;
4493 PyObject * obj0 = 0 ;
4494 PyObject * obj1 = 0 ;
4495 char *kwnames[] = {
4496 (char *) "self",(char *) "icons", NULL
4497 };
4498
4499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
4500 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4501 if (SWIG_arg_fail(1)) SWIG_fail;
4502 {
4503 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIconBundle, SWIG_POINTER_EXCEPTION | 0);
4504 if (SWIG_arg_fail(2)) SWIG_fail;
4505 if (arg2 == NULL) {
4506 SWIG_null_ref("wxIconBundle");
4507 }
4508 if (SWIG_arg_fail(2)) SWIG_fail;
4509 }
4510 {
4511 PyThreadState* __tstate = wxPyBeginAllowThreads();
4512 (arg1)->SetIcons((wxIconBundle const &)*arg2);
4513
4514 wxPyEndAllowThreads(__tstate);
4515 if (PyErr_Occurred()) SWIG_fail;
4516 }
4517 Py_INCREF(Py_None); resultobj = Py_None;
4518 return resultobj;
4519 fail:
4520 return NULL;
4521 }
4522
4523
4524 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
4525 PyObject *resultobj = NULL;
4526 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4527 bool arg2 ;
4528 long arg3 = (long) wxFULLSCREEN_ALL ;
4529 bool result;
4530 PyObject * obj0 = 0 ;
4531 PyObject * obj1 = 0 ;
4532 PyObject * obj2 = 0 ;
4533 char *kwnames[] = {
4534 (char *) "self",(char *) "show",(char *) "style", NULL
4535 };
4536
4537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
4538 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4539 if (SWIG_arg_fail(1)) SWIG_fail;
4540 {
4541 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
4542 if (SWIG_arg_fail(2)) SWIG_fail;
4543 }
4544 if (obj2) {
4545 {
4546 arg3 = static_cast<long >(SWIG_As_long(obj2));
4547 if (SWIG_arg_fail(3)) SWIG_fail;
4548 }
4549 }
4550 {
4551 PyThreadState* __tstate = wxPyBeginAllowThreads();
4552 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
4553
4554 wxPyEndAllowThreads(__tstate);
4555 if (PyErr_Occurred()) SWIG_fail;
4556 }
4557 {
4558 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4559 }
4560 return resultobj;
4561 fail:
4562 return NULL;
4563 }
4564
4565
4566 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
4567 PyObject *resultobj = NULL;
4568 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4569 bool result;
4570 PyObject * obj0 = 0 ;
4571 char *kwnames[] = {
4572 (char *) "self", NULL
4573 };
4574
4575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
4576 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4577 if (SWIG_arg_fail(1)) SWIG_fail;
4578 {
4579 PyThreadState* __tstate = wxPyBeginAllowThreads();
4580 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
4581
4582 wxPyEndAllowThreads(__tstate);
4583 if (PyErr_Occurred()) SWIG_fail;
4584 }
4585 {
4586 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4587 }
4588 return resultobj;
4589 fail:
4590 return NULL;
4591 }
4592
4593
4594 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
4595 PyObject *resultobj = NULL;
4596 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4597 wxString *arg2 = 0 ;
4598 bool temp2 = false ;
4599 PyObject * obj0 = 0 ;
4600 PyObject * obj1 = 0 ;
4601 char *kwnames[] = {
4602 (char *) "self",(char *) "title", NULL
4603 };
4604
4605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
4606 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4607 if (SWIG_arg_fail(1)) SWIG_fail;
4608 {
4609 arg2 = wxString_in_helper(obj1);
4610 if (arg2 == NULL) SWIG_fail;
4611 temp2 = true;
4612 }
4613 {
4614 PyThreadState* __tstate = wxPyBeginAllowThreads();
4615 (arg1)->SetTitle((wxString const &)*arg2);
4616
4617 wxPyEndAllowThreads(__tstate);
4618 if (PyErr_Occurred()) SWIG_fail;
4619 }
4620 Py_INCREF(Py_None); resultobj = Py_None;
4621 {
4622 if (temp2)
4623 delete arg2;
4624 }
4625 return resultobj;
4626 fail:
4627 {
4628 if (temp2)
4629 delete arg2;
4630 }
4631 return NULL;
4632 }
4633
4634
4635 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
4636 PyObject *resultobj = NULL;
4637 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4638 wxString result;
4639 PyObject * obj0 = 0 ;
4640 char *kwnames[] = {
4641 (char *) "self", NULL
4642 };
4643
4644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
4645 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4646 if (SWIG_arg_fail(1)) SWIG_fail;
4647 {
4648 PyThreadState* __tstate = wxPyBeginAllowThreads();
4649 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
4650
4651 wxPyEndAllowThreads(__tstate);
4652 if (PyErr_Occurred()) SWIG_fail;
4653 }
4654 {
4655 #if wxUSE_UNICODE
4656 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4657 #else
4658 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4659 #endif
4660 }
4661 return resultobj;
4662 fail:
4663 return NULL;
4664 }
4665
4666
4667 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *, PyObject *args, PyObject *kwargs) {
4668 PyObject *resultobj = NULL;
4669 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4670 wxRegion *arg2 = 0 ;
4671 bool result;
4672 PyObject * obj0 = 0 ;
4673 PyObject * obj1 = 0 ;
4674 char *kwnames[] = {
4675 (char *) "self",(char *) "region", NULL
4676 };
4677
4678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
4679 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4680 if (SWIG_arg_fail(1)) SWIG_fail;
4681 {
4682 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
4683 if (SWIG_arg_fail(2)) SWIG_fail;
4684 if (arg2 == NULL) {
4685 SWIG_null_ref("wxRegion");
4686 }
4687 if (SWIG_arg_fail(2)) SWIG_fail;
4688 }
4689 {
4690 PyThreadState* __tstate = wxPyBeginAllowThreads();
4691 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
4692
4693 wxPyEndAllowThreads(__tstate);
4694 if (PyErr_Occurred()) SWIG_fail;
4695 }
4696 {
4697 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4698 }
4699 return resultobj;
4700 fail:
4701 return NULL;
4702 }
4703
4704
4705 static PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *, PyObject *args, PyObject *kwargs) {
4706 PyObject *resultobj = NULL;
4707 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4708 int arg2 = (int) wxUSER_ATTENTION_INFO ;
4709 PyObject * obj0 = 0 ;
4710 PyObject * obj1 = 0 ;
4711 char *kwnames[] = {
4712 (char *) "self",(char *) "flags", NULL
4713 };
4714
4715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) goto fail;
4716 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4717 if (SWIG_arg_fail(1)) SWIG_fail;
4718 if (obj1) {
4719 {
4720 arg2 = static_cast<int >(SWIG_As_int(obj1));
4721 if (SWIG_arg_fail(2)) SWIG_fail;
4722 }
4723 }
4724 {
4725 PyThreadState* __tstate = wxPyBeginAllowThreads();
4726 (arg1)->RequestUserAttention(arg2);
4727
4728 wxPyEndAllowThreads(__tstate);
4729 if (PyErr_Occurred()) SWIG_fail;
4730 }
4731 Py_INCREF(Py_None); resultobj = Py_None;
4732 return resultobj;
4733 fail:
4734 return NULL;
4735 }
4736
4737
4738 static PyObject *_wrap_TopLevelWindow_IsActive(PyObject *, PyObject *args, PyObject *kwargs) {
4739 PyObject *resultobj = NULL;
4740 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4741 bool result;
4742 PyObject * obj0 = 0 ;
4743 char *kwnames[] = {
4744 (char *) "self", NULL
4745 };
4746
4747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsActive",kwnames,&obj0)) goto fail;
4748 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4749 if (SWIG_arg_fail(1)) SWIG_fail;
4750 {
4751 PyThreadState* __tstate = wxPyBeginAllowThreads();
4752 result = (bool)(arg1)->IsActive();
4753
4754 wxPyEndAllowThreads(__tstate);
4755 if (PyErr_Occurred()) SWIG_fail;
4756 }
4757 {
4758 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4759 }
4760 return resultobj;
4761 fail:
4762 return NULL;
4763 }
4764
4765
4766 static PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
4767 PyObject *resultobj = NULL;
4768 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4769 bool arg2 ;
4770 PyObject * obj0 = 0 ;
4771 PyObject * obj1 = 0 ;
4772 char *kwnames[] = {
4773 (char *) "self",(char *) "on", NULL
4774 };
4775
4776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) goto fail;
4777 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4778 if (SWIG_arg_fail(1)) SWIG_fail;
4779 {
4780 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
4781 if (SWIG_arg_fail(2)) SWIG_fail;
4782 }
4783 {
4784 PyThreadState* __tstate = wxPyBeginAllowThreads();
4785 (arg1)->MacSetMetalAppearance(arg2);
4786
4787 wxPyEndAllowThreads(__tstate);
4788 if (PyErr_Occurred()) SWIG_fail;
4789 }
4790 Py_INCREF(Py_None); resultobj = Py_None;
4791 return resultobj;
4792 fail:
4793 return NULL;
4794 }
4795
4796
4797 static PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
4798 PyObject *resultobj = NULL;
4799 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4800 bool result;
4801 PyObject * obj0 = 0 ;
4802 char *kwnames[] = {
4803 (char *) "self", NULL
4804 };
4805
4806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames,&obj0)) goto fail;
4807 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4808 if (SWIG_arg_fail(1)) SWIG_fail;
4809 {
4810 PyThreadState* __tstate = wxPyBeginAllowThreads();
4811 result = (bool)((wxTopLevelWindow const *)arg1)->MacGetMetalAppearance();
4812
4813 wxPyEndAllowThreads(__tstate);
4814 if (PyErr_Occurred()) SWIG_fail;
4815 }
4816 {
4817 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4818 }
4819 return resultobj;
4820 fail:
4821 return NULL;
4822 }
4823
4824
4825 static PyObject * TopLevelWindow_swigregister(PyObject *, PyObject *args) {
4826 PyObject *obj;
4827 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4828 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
4829 Py_INCREF(obj);
4830 return Py_BuildValue((char *)"");
4831 }
4832 static PyObject *_wrap_new_Frame(PyObject *, PyObject *args, PyObject *kwargs) {
4833 PyObject *resultobj = NULL;
4834 wxWindow *arg1 = (wxWindow *) 0 ;
4835 int arg2 = (int) (int)-1 ;
4836 wxString const &arg3_defvalue = wxPyEmptyString ;
4837 wxString *arg3 = (wxString *) &arg3_defvalue ;
4838 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4839 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4840 wxSize const &arg5_defvalue = wxDefaultSize ;
4841 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4842 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4843 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4844 wxString *arg7 = (wxString *) &arg7_defvalue ;
4845 wxFrame *result;
4846 bool temp3 = false ;
4847 wxPoint temp4 ;
4848 wxSize temp5 ;
4849 bool temp7 = false ;
4850 PyObject * obj0 = 0 ;
4851 PyObject * obj1 = 0 ;
4852 PyObject * obj2 = 0 ;
4853 PyObject * obj3 = 0 ;
4854 PyObject * obj4 = 0 ;
4855 PyObject * obj5 = 0 ;
4856 PyObject * obj6 = 0 ;
4857 char *kwnames[] = {
4858 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4859 };
4860
4861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4862 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4863 if (SWIG_arg_fail(1)) SWIG_fail;
4864 if (obj1) {
4865 {
4866 arg2 = static_cast<int const >(SWIG_As_int(obj1));
4867 if (SWIG_arg_fail(2)) SWIG_fail;
4868 }
4869 }
4870 if (obj2) {
4871 {
4872 arg3 = wxString_in_helper(obj2);
4873 if (arg3 == NULL) SWIG_fail;
4874 temp3 = true;
4875 }
4876 }
4877 if (obj3) {
4878 {
4879 arg4 = &temp4;
4880 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4881 }
4882 }
4883 if (obj4) {
4884 {
4885 arg5 = &temp5;
4886 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4887 }
4888 }
4889 if (obj5) {
4890 {
4891 arg6 = static_cast<long >(SWIG_As_long(obj5));
4892 if (SWIG_arg_fail(6)) SWIG_fail;
4893 }
4894 }
4895 if (obj6) {
4896 {
4897 arg7 = wxString_in_helper(obj6);
4898 if (arg7 == NULL) SWIG_fail;
4899 temp7 = true;
4900 }
4901 }
4902 {
4903 if (!wxPyCheckForApp()) SWIG_fail;
4904 PyThreadState* __tstate = wxPyBeginAllowThreads();
4905 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4906
4907 wxPyEndAllowThreads(__tstate);
4908 if (PyErr_Occurred()) SWIG_fail;
4909 }
4910 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
4911 {
4912 if (temp3)
4913 delete arg3;
4914 }
4915 {
4916 if (temp7)
4917 delete arg7;
4918 }
4919 return resultobj;
4920 fail:
4921 {
4922 if (temp3)
4923 delete arg3;
4924 }
4925 {
4926 if (temp7)
4927 delete arg7;
4928 }
4929 return NULL;
4930 }
4931
4932
4933 static PyObject *_wrap_new_PreFrame(PyObject *, PyObject *args, PyObject *kwargs) {
4934 PyObject *resultobj = NULL;
4935 wxFrame *result;
4936 char *kwnames[] = {
4937 NULL
4938 };
4939
4940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
4941 {
4942 if (!wxPyCheckForApp()) SWIG_fail;
4943 PyThreadState* __tstate = wxPyBeginAllowThreads();
4944 result = (wxFrame *)new wxFrame();
4945
4946 wxPyEndAllowThreads(__tstate);
4947 if (PyErr_Occurred()) SWIG_fail;
4948 }
4949 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
4950 return resultobj;
4951 fail:
4952 return NULL;
4953 }
4954
4955
4956 static PyObject *_wrap_Frame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4957 PyObject *resultobj = NULL;
4958 wxFrame *arg1 = (wxFrame *) 0 ;
4959 wxWindow *arg2 = (wxWindow *) 0 ;
4960 int arg3 = (int) (int)-1 ;
4961 wxString const &arg4_defvalue = wxPyEmptyString ;
4962 wxString *arg4 = (wxString *) &arg4_defvalue ;
4963 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4964 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4965 wxSize const &arg6_defvalue = wxDefaultSize ;
4966 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4967 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4968 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4969 wxString *arg8 = (wxString *) &arg8_defvalue ;
4970 bool result;
4971 bool temp4 = false ;
4972 wxPoint temp5 ;
4973 wxSize temp6 ;
4974 bool temp8 = false ;
4975 PyObject * obj0 = 0 ;
4976 PyObject * obj1 = 0 ;
4977 PyObject * obj2 = 0 ;
4978 PyObject * obj3 = 0 ;
4979 PyObject * obj4 = 0 ;
4980 PyObject * obj5 = 0 ;
4981 PyObject * obj6 = 0 ;
4982 PyObject * obj7 = 0 ;
4983 char *kwnames[] = {
4984 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4985 };
4986
4987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4989 if (SWIG_arg_fail(1)) SWIG_fail;
4990 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4991 if (SWIG_arg_fail(2)) SWIG_fail;
4992 if (obj2) {
4993 {
4994 arg3 = static_cast<int const >(SWIG_As_int(obj2));
4995 if (SWIG_arg_fail(3)) SWIG_fail;
4996 }
4997 }
4998 if (obj3) {
4999 {
5000 arg4 = wxString_in_helper(obj3);
5001 if (arg4 == NULL) SWIG_fail;
5002 temp4 = true;
5003 }
5004 }
5005 if (obj4) {
5006 {
5007 arg5 = &temp5;
5008 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5009 }
5010 }
5011 if (obj5) {
5012 {
5013 arg6 = &temp6;
5014 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5015 }
5016 }
5017 if (obj6) {
5018 {
5019 arg7 = static_cast<long >(SWIG_As_long(obj6));
5020 if (SWIG_arg_fail(7)) SWIG_fail;
5021 }
5022 }
5023 if (obj7) {
5024 {
5025 arg8 = wxString_in_helper(obj7);
5026 if (arg8 == NULL) SWIG_fail;
5027 temp8 = true;
5028 }
5029 }
5030 {
5031 PyThreadState* __tstate = wxPyBeginAllowThreads();
5032 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
5033
5034 wxPyEndAllowThreads(__tstate);
5035 if (PyErr_Occurred()) SWIG_fail;
5036 }
5037 {
5038 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5039 }
5040 {
5041 if (temp4)
5042 delete arg4;
5043 }
5044 {
5045 if (temp8)
5046 delete arg8;
5047 }
5048 return resultobj;
5049 fail:
5050 {
5051 if (temp4)
5052 delete arg4;
5053 }
5054 {
5055 if (temp8)
5056 delete arg8;
5057 }
5058 return NULL;
5059 }
5060
5061
5062 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
5063 PyObject *resultobj = NULL;
5064 wxFrame *arg1 = (wxFrame *) 0 ;
5065 wxPoint result;
5066 PyObject * obj0 = 0 ;
5067 char *kwnames[] = {
5068 (char *) "self", NULL
5069 };
5070
5071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
5072 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5073 if (SWIG_arg_fail(1)) SWIG_fail;
5074 {
5075 PyThreadState* __tstate = wxPyBeginAllowThreads();
5076 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
5077
5078 wxPyEndAllowThreads(__tstate);
5079 if (PyErr_Occurred()) SWIG_fail;
5080 }
5081 {
5082 wxPoint * resultptr;
5083 resultptr = new wxPoint(static_cast<wxPoint & >(result));
5084 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
5085 }
5086 return resultobj;
5087 fail:
5088 return NULL;
5089 }
5090
5091
5092 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
5093 PyObject *resultobj = NULL;
5094 wxFrame *arg1 = (wxFrame *) 0 ;
5095 PyObject * obj0 = 0 ;
5096 char *kwnames[] = {
5097 (char *) "self", NULL
5098 };
5099
5100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
5101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5102 if (SWIG_arg_fail(1)) SWIG_fail;
5103 {
5104 PyThreadState* __tstate = wxPyBeginAllowThreads();
5105 (arg1)->SendSizeEvent();
5106
5107 wxPyEndAllowThreads(__tstate);
5108 if (PyErr_Occurred()) SWIG_fail;
5109 }
5110 Py_INCREF(Py_None); resultobj = Py_None;
5111 return resultobj;
5112 fail:
5113 return NULL;
5114 }
5115
5116
5117 static PyObject *_wrap_Frame_SetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
5118 PyObject *resultobj = NULL;
5119 wxFrame *arg1 = (wxFrame *) 0 ;
5120 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
5121 PyObject * obj0 = 0 ;
5122 PyObject * obj1 = 0 ;
5123 char *kwnames[] = {
5124 (char *) "self",(char *) "menubar", NULL
5125 };
5126
5127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
5128 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5129 if (SWIG_arg_fail(1)) SWIG_fail;
5130 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
5131 if (SWIG_arg_fail(2)) SWIG_fail;
5132 {
5133 PyThreadState* __tstate = wxPyBeginAllowThreads();
5134 (arg1)->SetMenuBar(arg2);
5135
5136 wxPyEndAllowThreads(__tstate);
5137 if (PyErr_Occurred()) SWIG_fail;
5138 }
5139 Py_INCREF(Py_None); resultobj = Py_None;
5140 return resultobj;
5141 fail:
5142 return NULL;
5143 }
5144
5145
5146 static PyObject *_wrap_Frame_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
5147 PyObject *resultobj = NULL;
5148 wxFrame *arg1 = (wxFrame *) 0 ;
5149 wxMenuBar *result;
5150 PyObject * obj0 = 0 ;
5151 char *kwnames[] = {
5152 (char *) "self", NULL
5153 };
5154
5155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
5156 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5157 if (SWIG_arg_fail(1)) SWIG_fail;
5158 {
5159 PyThreadState* __tstate = wxPyBeginAllowThreads();
5160 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
5161
5162 wxPyEndAllowThreads(__tstate);
5163 if (PyErr_Occurred()) SWIG_fail;
5164 }
5165 {
5166 resultobj = wxPyMake_wxObject(result, 0);
5167 }
5168 return resultobj;
5169 fail:
5170 return NULL;
5171 }
5172
5173
5174 static PyObject *_wrap_Frame_ProcessCommand(PyObject *, PyObject *args, PyObject *kwargs) {
5175 PyObject *resultobj = NULL;
5176 wxFrame *arg1 = (wxFrame *) 0 ;
5177 int arg2 ;
5178 bool result;
5179 PyObject * obj0 = 0 ;
5180 PyObject * obj1 = 0 ;
5181 char *kwnames[] = {
5182 (char *) "self",(char *) "winid", NULL
5183 };
5184
5185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
5186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5187 if (SWIG_arg_fail(1)) SWIG_fail;
5188 {
5189 arg2 = static_cast<int >(SWIG_As_int(obj1));
5190 if (SWIG_arg_fail(2)) SWIG_fail;
5191 }
5192 {
5193 PyThreadState* __tstate = wxPyBeginAllowThreads();
5194 result = (bool)(arg1)->ProcessCommand(arg2);
5195
5196 wxPyEndAllowThreads(__tstate);
5197 if (PyErr_Occurred()) SWIG_fail;
5198 }
5199 {
5200 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5201 }
5202 return resultobj;
5203 fail:
5204 return NULL;
5205 }
5206
5207
5208 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5209 PyObject *resultobj = NULL;
5210 wxFrame *arg1 = (wxFrame *) 0 ;
5211 int arg2 = (int) 1 ;
5212 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
5213 int arg4 = (int) 0 ;
5214 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
5215 wxString *arg5 = (wxString *) &arg5_defvalue ;
5216 wxStatusBar *result;
5217 bool temp5 = false ;
5218 PyObject * obj0 = 0 ;
5219 PyObject * obj1 = 0 ;
5220 PyObject * obj2 = 0 ;
5221 PyObject * obj3 = 0 ;
5222 PyObject * obj4 = 0 ;
5223 char *kwnames[] = {
5224 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
5225 };
5226
5227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
5228 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5229 if (SWIG_arg_fail(1)) SWIG_fail;
5230 if (obj1) {
5231 {
5232 arg2 = static_cast<int >(SWIG_As_int(obj1));
5233 if (SWIG_arg_fail(2)) SWIG_fail;
5234 }
5235 }
5236 if (obj2) {
5237 {
5238 arg3 = static_cast<long >(SWIG_As_long(obj2));
5239 if (SWIG_arg_fail(3)) SWIG_fail;
5240 }
5241 }
5242 if (obj3) {
5243 {
5244 arg4 = static_cast<int >(SWIG_As_int(obj3));
5245 if (SWIG_arg_fail(4)) SWIG_fail;
5246 }
5247 }
5248 if (obj4) {
5249 {
5250 arg5 = wxString_in_helper(obj4);
5251 if (arg5 == NULL) SWIG_fail;
5252 temp5 = true;
5253 }
5254 }
5255 {
5256 PyThreadState* __tstate = wxPyBeginAllowThreads();
5257 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
5258
5259 wxPyEndAllowThreads(__tstate);
5260 if (PyErr_Occurred()) SWIG_fail;
5261 }
5262 {
5263 resultobj = wxPyMake_wxObject(result, (bool)0);
5264 }
5265 {
5266 if (temp5)
5267 delete arg5;
5268 }
5269 return resultobj;
5270 fail:
5271 {
5272 if (temp5)
5273 delete arg5;
5274 }
5275 return NULL;
5276 }
5277
5278
5279 static PyObject *_wrap_Frame_GetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5280 PyObject *resultobj = NULL;
5281 wxFrame *arg1 = (wxFrame *) 0 ;
5282 wxStatusBar *result;
5283 PyObject * obj0 = 0 ;
5284 char *kwnames[] = {
5285 (char *) "self", NULL
5286 };
5287
5288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
5289 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5290 if (SWIG_arg_fail(1)) SWIG_fail;
5291 {
5292 PyThreadState* __tstate = wxPyBeginAllowThreads();
5293 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
5294
5295 wxPyEndAllowThreads(__tstate);
5296 if (PyErr_Occurred()) SWIG_fail;
5297 }
5298 {
5299 resultobj = wxPyMake_wxObject(result, (bool)0);
5300 }
5301 return resultobj;
5302 fail:
5303 return NULL;
5304 }
5305
5306
5307 static PyObject *_wrap_Frame_SetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5308 PyObject *resultobj = NULL;
5309 wxFrame *arg1 = (wxFrame *) 0 ;
5310 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
5311 PyObject * obj0 = 0 ;
5312 PyObject * obj1 = 0 ;
5313 char *kwnames[] = {
5314 (char *) "self",(char *) "statBar", NULL
5315 };
5316
5317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
5318 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5319 if (SWIG_arg_fail(1)) SWIG_fail;
5320 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
5321 if (SWIG_arg_fail(2)) SWIG_fail;
5322 {
5323 PyThreadState* __tstate = wxPyBeginAllowThreads();
5324 (arg1)->SetStatusBar(arg2);
5325
5326 wxPyEndAllowThreads(__tstate);
5327 if (PyErr_Occurred()) SWIG_fail;
5328 }
5329 Py_INCREF(Py_None); resultobj = Py_None;
5330 return resultobj;
5331 fail:
5332 return NULL;
5333 }
5334
5335
5336 static PyObject *_wrap_Frame_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5337 PyObject *resultobj = NULL;
5338 wxFrame *arg1 = (wxFrame *) 0 ;
5339 wxString *arg2 = 0 ;
5340 int arg3 = (int) 0 ;
5341 bool temp2 = false ;
5342 PyObject * obj0 = 0 ;
5343 PyObject * obj1 = 0 ;
5344 PyObject * obj2 = 0 ;
5345 char *kwnames[] = {
5346 (char *) "self",(char *) "text",(char *) "number", NULL
5347 };
5348
5349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5350 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5351 if (SWIG_arg_fail(1)) SWIG_fail;
5352 {
5353 arg2 = wxString_in_helper(obj1);
5354 if (arg2 == NULL) SWIG_fail;
5355 temp2 = true;
5356 }
5357 if (obj2) {
5358 {
5359 arg3 = static_cast<int >(SWIG_As_int(obj2));
5360 if (SWIG_arg_fail(3)) SWIG_fail;
5361 }
5362 }
5363 {
5364 PyThreadState* __tstate = wxPyBeginAllowThreads();
5365 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5366
5367 wxPyEndAllowThreads(__tstate);
5368 if (PyErr_Occurred()) SWIG_fail;
5369 }
5370 Py_INCREF(Py_None); resultobj = Py_None;
5371 {
5372 if (temp2)
5373 delete arg2;
5374 }
5375 return resultobj;
5376 fail:
5377 {
5378 if (temp2)
5379 delete arg2;
5380 }
5381 return NULL;
5382 }
5383
5384
5385 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
5386 PyObject *resultobj = NULL;
5387 wxFrame *arg1 = (wxFrame *) 0 ;
5388 int arg2 ;
5389 int *arg3 = (int *) 0 ;
5390 PyObject * obj0 = 0 ;
5391 PyObject * obj1 = 0 ;
5392 char *kwnames[] = {
5393 (char *) "self",(char *) "widths", NULL
5394 };
5395
5396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5397 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5398 if (SWIG_arg_fail(1)) SWIG_fail;
5399 {
5400 arg2 = PyList_Size(obj1);
5401 arg3 = int_LIST_helper(obj1);
5402 if (arg3 == NULL) SWIG_fail;
5403 }
5404 {
5405 PyThreadState* __tstate = wxPyBeginAllowThreads();
5406 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5407
5408 wxPyEndAllowThreads(__tstate);
5409 if (PyErr_Occurred()) SWIG_fail;
5410 }
5411 Py_INCREF(Py_None); resultobj = Py_None;
5412 {
5413 if (arg3) delete [] arg3;
5414 }
5415 return resultobj;
5416 fail:
5417 {
5418 if (arg3) delete [] arg3;
5419 }
5420 return NULL;
5421 }
5422
5423
5424 static PyObject *_wrap_Frame_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5425 PyObject *resultobj = NULL;
5426 wxFrame *arg1 = (wxFrame *) 0 ;
5427 wxString *arg2 = 0 ;
5428 int arg3 = (int) 0 ;
5429 bool temp2 = false ;
5430 PyObject * obj0 = 0 ;
5431 PyObject * obj1 = 0 ;
5432 PyObject * obj2 = 0 ;
5433 char *kwnames[] = {
5434 (char *) "self",(char *) "text",(char *) "number", NULL
5435 };
5436
5437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5438 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5439 if (SWIG_arg_fail(1)) SWIG_fail;
5440 {
5441 arg2 = wxString_in_helper(obj1);
5442 if (arg2 == NULL) SWIG_fail;
5443 temp2 = true;
5444 }
5445 if (obj2) {
5446 {
5447 arg3 = static_cast<int >(SWIG_As_int(obj2));
5448 if (SWIG_arg_fail(3)) SWIG_fail;
5449 }
5450 }
5451 {
5452 PyThreadState* __tstate = wxPyBeginAllowThreads();
5453 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5454
5455 wxPyEndAllowThreads(__tstate);
5456 if (PyErr_Occurred()) SWIG_fail;
5457 }
5458 Py_INCREF(Py_None); resultobj = Py_None;
5459 {
5460 if (temp2)
5461 delete arg2;
5462 }
5463 return resultobj;
5464 fail:
5465 {
5466 if (temp2)
5467 delete arg2;
5468 }
5469 return NULL;
5470 }
5471
5472
5473 static PyObject *_wrap_Frame_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5474 PyObject *resultobj = NULL;
5475 wxFrame *arg1 = (wxFrame *) 0 ;
5476 int arg2 = (int) 0 ;
5477 PyObject * obj0 = 0 ;
5478 PyObject * obj1 = 0 ;
5479 char *kwnames[] = {
5480 (char *) "self",(char *) "number", NULL
5481 };
5482
5483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5484 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5485 if (SWIG_arg_fail(1)) SWIG_fail;
5486 if (obj1) {
5487 {
5488 arg2 = static_cast<int >(SWIG_As_int(obj1));
5489 if (SWIG_arg_fail(2)) SWIG_fail;
5490 }
5491 }
5492 {
5493 PyThreadState* __tstate = wxPyBeginAllowThreads();
5494 (arg1)->PopStatusText(arg2);
5495
5496 wxPyEndAllowThreads(__tstate);
5497 if (PyErr_Occurred()) SWIG_fail;
5498 }
5499 Py_INCREF(Py_None); resultobj = Py_None;
5500 return resultobj;
5501 fail:
5502 return NULL;
5503 }
5504
5505
5506 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
5507 PyObject *resultobj = NULL;
5508 wxFrame *arg1 = (wxFrame *) 0 ;
5509 int arg2 ;
5510 PyObject * obj0 = 0 ;
5511 PyObject * obj1 = 0 ;
5512 char *kwnames[] = {
5513 (char *) "self",(char *) "n", NULL
5514 };
5515
5516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
5517 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5518 if (SWIG_arg_fail(1)) SWIG_fail;
5519 {
5520 arg2 = static_cast<int >(SWIG_As_int(obj1));
5521 if (SWIG_arg_fail(2)) SWIG_fail;
5522 }
5523 {
5524 PyThreadState* __tstate = wxPyBeginAllowThreads();
5525 (arg1)->SetStatusBarPane(arg2);
5526
5527 wxPyEndAllowThreads(__tstate);
5528 if (PyErr_Occurred()) SWIG_fail;
5529 }
5530 Py_INCREF(Py_None); resultobj = Py_None;
5531 return resultobj;
5532 fail:
5533 return NULL;
5534 }
5535
5536
5537 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
5538 PyObject *resultobj = NULL;
5539 wxFrame *arg1 = (wxFrame *) 0 ;
5540 int result;
5541 PyObject * obj0 = 0 ;
5542 char *kwnames[] = {
5543 (char *) "self", NULL
5544 };
5545
5546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
5547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5548 if (SWIG_arg_fail(1)) SWIG_fail;
5549 {
5550 PyThreadState* __tstate = wxPyBeginAllowThreads();
5551 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
5552
5553 wxPyEndAllowThreads(__tstate);
5554 if (PyErr_Occurred()) SWIG_fail;
5555 }
5556 {
5557 resultobj = SWIG_From_int(static_cast<int >(result));
5558 }
5559 return resultobj;
5560 fail:
5561 return NULL;
5562 }
5563
5564
5565 static PyObject *_wrap_Frame_CreateToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
5566 PyObject *resultobj = NULL;
5567 wxFrame *arg1 = (wxFrame *) 0 ;
5568 long arg2 = (long) -1 ;
5569 int arg3 = (int) -1 ;
5570 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
5571 wxString *arg4 = (wxString *) &arg4_defvalue ;
5572 wxToolBar *result;
5573 bool temp4 = false ;
5574 PyObject * obj0 = 0 ;
5575 PyObject * obj1 = 0 ;
5576 PyObject * obj2 = 0 ;
5577 PyObject * obj3 = 0 ;
5578 char *kwnames[] = {
5579 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
5580 };
5581
5582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5583 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5584 if (SWIG_arg_fail(1)) SWIG_fail;
5585 if (obj1) {
5586 {
5587 arg2 = static_cast<long >(SWIG_As_long(obj1));
5588 if (SWIG_arg_fail(2)) SWIG_fail;
5589 }
5590 }
5591 if (obj2) {
5592 {
5593 arg3 = static_cast<int >(SWIG_As_int(obj2));
5594 if (SWIG_arg_fail(3)) SWIG_fail;
5595 }
5596 }
5597 if (obj3) {
5598 {
5599 arg4 = wxString_in_helper(obj3);
5600 if (arg4 == NULL) SWIG_fail;
5601 temp4 = true;
5602 }
5603 }
5604 {
5605 PyThreadState* __tstate = wxPyBeginAllowThreads();
5606 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
5607
5608 wxPyEndAllowThreads(__tstate);
5609 if (PyErr_Occurred()) SWIG_fail;
5610 }
5611 {
5612 resultobj = wxPyMake_wxObject(result, (bool)0);
5613 }
5614 {
5615 if (temp4)
5616 delete arg4;
5617 }
5618 return resultobj;
5619 fail:
5620 {
5621 if (temp4)
5622 delete arg4;
5623 }
5624 return NULL;
5625 }
5626
5627
5628 static PyObject *_wrap_Frame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
5629 PyObject *resultobj = NULL;
5630 wxFrame *arg1 = (wxFrame *) 0 ;
5631 wxToolBar *result;
5632 PyObject * obj0 = 0 ;
5633 char *kwnames[] = {
5634 (char *) "self", NULL
5635 };
5636
5637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
5638 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5639 if (SWIG_arg_fail(1)) SWIG_fail;
5640 {
5641 PyThreadState* __tstate = wxPyBeginAllowThreads();
5642 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
5643
5644 wxPyEndAllowThreads(__tstate);
5645 if (PyErr_Occurred()) SWIG_fail;
5646 }
5647 {
5648 resultobj = wxPyMake_wxObject(result, (bool)0);
5649 }
5650 return resultobj;
5651 fail:
5652 return NULL;
5653 }
5654
5655
5656 static PyObject *_wrap_Frame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
5657 PyObject *resultobj = NULL;
5658 wxFrame *arg1 = (wxFrame *) 0 ;
5659 wxToolBar *arg2 = (wxToolBar *) 0 ;
5660 PyObject * obj0 = 0 ;
5661 PyObject * obj1 = 0 ;
5662 char *kwnames[] = {
5663 (char *) "self",(char *) "toolbar", NULL
5664 };
5665
5666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
5667 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5668 if (SWIG_arg_fail(1)) SWIG_fail;
5669 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
5670 if (SWIG_arg_fail(2)) SWIG_fail;
5671 {
5672 PyThreadState* __tstate = wxPyBeginAllowThreads();
5673 (arg1)->SetToolBar(arg2);
5674
5675 wxPyEndAllowThreads(__tstate);
5676 if (PyErr_Occurred()) SWIG_fail;
5677 }
5678 Py_INCREF(Py_None); resultobj = Py_None;
5679 return resultobj;
5680 fail:
5681 return NULL;
5682 }
5683
5684
5685 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
5686 PyObject *resultobj = NULL;
5687 wxFrame *arg1 = (wxFrame *) 0 ;
5688 wxString *arg2 = 0 ;
5689 bool arg3 ;
5690 bool temp2 = false ;
5691 PyObject * obj0 = 0 ;
5692 PyObject * obj1 = 0 ;
5693 PyObject * obj2 = 0 ;
5694 char *kwnames[] = {
5695 (char *) "self",(char *) "text",(char *) "show", NULL
5696 };
5697
5698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
5699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5700 if (SWIG_arg_fail(1)) SWIG_fail;
5701 {
5702 arg2 = wxString_in_helper(obj1);
5703 if (arg2 == NULL) SWIG_fail;
5704 temp2 = true;
5705 }
5706 {
5707 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
5708 if (SWIG_arg_fail(3)) SWIG_fail;
5709 }
5710 {
5711 PyThreadState* __tstate = wxPyBeginAllowThreads();
5712 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
5713
5714 wxPyEndAllowThreads(__tstate);
5715 if (PyErr_Occurred()) SWIG_fail;
5716 }
5717 Py_INCREF(Py_None); resultobj = Py_None;
5718 {
5719 if (temp2)
5720 delete arg2;
5721 }
5722 return resultobj;
5723 fail:
5724 {
5725 if (temp2)
5726 delete arg2;
5727 }
5728 return NULL;
5729 }
5730
5731
5732 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *, PyObject *args, PyObject *kwargs) {
5733 PyObject *resultobj = NULL;
5734 wxFrame *arg1 = (wxFrame *) 0 ;
5735 wxMenu *arg2 = (wxMenu *) NULL ;
5736 PyObject * obj0 = 0 ;
5737 PyObject * obj1 = 0 ;
5738 char *kwnames[] = {
5739 (char *) "self",(char *) "menu", NULL
5740 };
5741
5742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
5743 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5744 if (SWIG_arg_fail(1)) SWIG_fail;
5745 if (obj1) {
5746 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
5747 if (SWIG_arg_fail(2)) SWIG_fail;
5748 }
5749 {
5750 PyThreadState* __tstate = wxPyBeginAllowThreads();
5751 (arg1)->DoMenuUpdates(arg2);
5752
5753 wxPyEndAllowThreads(__tstate);
5754 if (PyErr_Occurred()) SWIG_fail;
5755 }
5756 Py_INCREF(Py_None); resultobj = Py_None;
5757 return resultobj;
5758 fail:
5759 return NULL;
5760 }
5761
5762
5763 static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
5764 PyObject *resultobj = NULL;
5765 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5766 wxVisualAttributes result;
5767 PyObject * obj0 = 0 ;
5768 char *kwnames[] = {
5769 (char *) "variant", NULL
5770 };
5771
5772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5773 if (obj0) {
5774 {
5775 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
5776 if (SWIG_arg_fail(1)) SWIG_fail;
5777 }
5778 }
5779 {
5780 if (!wxPyCheckForApp()) SWIG_fail;
5781 PyThreadState* __tstate = wxPyBeginAllowThreads();
5782 result = wxFrame::GetClassDefaultAttributes(arg1);
5783
5784 wxPyEndAllowThreads(__tstate);
5785 if (PyErr_Occurred()) SWIG_fail;
5786 }
5787 {
5788 wxVisualAttributes * resultptr;
5789 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
5790 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5791 }
5792 return resultobj;
5793 fail:
5794 return NULL;
5795 }
5796
5797
5798 static PyObject * Frame_swigregister(PyObject *, PyObject *args) {
5799 PyObject *obj;
5800 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5801 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
5802 Py_INCREF(obj);
5803 return Py_BuildValue((char *)"");
5804 }
5805 static PyObject *_wrap_new_Dialog(PyObject *, PyObject *args, PyObject *kwargs) {
5806 PyObject *resultobj = NULL;
5807 wxWindow *arg1 = (wxWindow *) 0 ;
5808 int arg2 = (int) (int)-1 ;
5809 wxString const &arg3_defvalue = wxPyEmptyString ;
5810 wxString *arg3 = (wxString *) &arg3_defvalue ;
5811 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5812 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5813 wxSize const &arg5_defvalue = wxDefaultSize ;
5814 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5815 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
5816 wxString const &arg7_defvalue = wxPyDialogNameStr ;
5817 wxString *arg7 = (wxString *) &arg7_defvalue ;
5818 wxDialog *result;
5819 bool temp3 = false ;
5820 wxPoint temp4 ;
5821 wxSize temp5 ;
5822 bool temp7 = false ;
5823 PyObject * obj0 = 0 ;
5824 PyObject * obj1 = 0 ;
5825 PyObject * obj2 = 0 ;
5826 PyObject * obj3 = 0 ;
5827 PyObject * obj4 = 0 ;
5828 PyObject * obj5 = 0 ;
5829 PyObject * obj6 = 0 ;
5830 char *kwnames[] = {
5831 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5832 };
5833
5834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5836 if (SWIG_arg_fail(1)) SWIG_fail;
5837 if (obj1) {
5838 {
5839 arg2 = static_cast<int const >(SWIG_As_int(obj1));
5840 if (SWIG_arg_fail(2)) SWIG_fail;
5841 }
5842 }
5843 if (obj2) {
5844 {
5845 arg3 = wxString_in_helper(obj2);
5846 if (arg3 == NULL) SWIG_fail;
5847 temp3 = true;
5848 }
5849 }
5850 if (obj3) {
5851 {
5852 arg4 = &temp4;
5853 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5854 }
5855 }
5856 if (obj4) {
5857 {
5858 arg5 = &temp5;
5859 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5860 }
5861 }
5862 if (obj5) {
5863 {
5864 arg6 = static_cast<long >(SWIG_As_long(obj5));
5865 if (SWIG_arg_fail(6)) SWIG_fail;
5866 }
5867 }
5868 if (obj6) {
5869 {
5870 arg7 = wxString_in_helper(obj6);
5871 if (arg7 == NULL) SWIG_fail;
5872 temp7 = true;
5873 }
5874 }
5875 {
5876 if (!wxPyCheckForApp()) SWIG_fail;
5877 PyThreadState* __tstate = wxPyBeginAllowThreads();
5878 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5879
5880 wxPyEndAllowThreads(__tstate);
5881 if (PyErr_Occurred()) SWIG_fail;
5882 }
5883 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
5884 {
5885 if (temp3)
5886 delete arg3;
5887 }
5888 {
5889 if (temp7)
5890 delete arg7;
5891 }
5892 return resultobj;
5893 fail:
5894 {
5895 if (temp3)
5896 delete arg3;
5897 }
5898 {
5899 if (temp7)
5900 delete arg7;
5901 }
5902 return NULL;
5903 }
5904
5905
5906 static PyObject *_wrap_new_PreDialog(PyObject *, PyObject *args, PyObject *kwargs) {
5907 PyObject *resultobj = NULL;
5908 wxDialog *result;
5909 char *kwnames[] = {
5910 NULL
5911 };
5912
5913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
5914 {
5915 if (!wxPyCheckForApp()) SWIG_fail;
5916 PyThreadState* __tstate = wxPyBeginAllowThreads();
5917 result = (wxDialog *)new wxDialog();
5918
5919 wxPyEndAllowThreads(__tstate);
5920 if (PyErr_Occurred()) SWIG_fail;
5921 }
5922 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
5923 return resultobj;
5924 fail:
5925 return NULL;
5926 }
5927
5928
5929 static PyObject *_wrap_Dialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5930 PyObject *resultobj = NULL;
5931 wxDialog *arg1 = (wxDialog *) 0 ;
5932 wxWindow *arg2 = (wxWindow *) 0 ;
5933 int arg3 = (int) (int)-1 ;
5934 wxString const &arg4_defvalue = wxPyEmptyString ;
5935 wxString *arg4 = (wxString *) &arg4_defvalue ;
5936 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5937 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5938 wxSize const &arg6_defvalue = wxDefaultSize ;
5939 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5940 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
5941 wxString const &arg8_defvalue = wxPyDialogNameStr ;
5942 wxString *arg8 = (wxString *) &arg8_defvalue ;
5943 bool result;
5944 bool temp4 = false ;
5945 wxPoint temp5 ;
5946 wxSize temp6 ;
5947 bool temp8 = false ;
5948 PyObject * obj0 = 0 ;
5949 PyObject * obj1 = 0 ;
5950 PyObject * obj2 = 0 ;
5951 PyObject * obj3 = 0 ;
5952 PyObject * obj4 = 0 ;
5953 PyObject * obj5 = 0 ;
5954 PyObject * obj6 = 0 ;
5955 PyObject * obj7 = 0 ;
5956 char *kwnames[] = {
5957 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5958 };
5959
5960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5961 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5962 if (SWIG_arg_fail(1)) SWIG_fail;
5963 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5964 if (SWIG_arg_fail(2)) SWIG_fail;
5965 if (obj2) {
5966 {
5967 arg3 = static_cast<int const >(SWIG_As_int(obj2));
5968 if (SWIG_arg_fail(3)) SWIG_fail;
5969 }
5970 }
5971 if (obj3) {
5972 {
5973 arg4 = wxString_in_helper(obj3);
5974 if (arg4 == NULL) SWIG_fail;
5975 temp4 = true;
5976 }
5977 }
5978 if (obj4) {
5979 {
5980 arg5 = &temp5;
5981 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5982 }
5983 }
5984 if (obj5) {
5985 {
5986 arg6 = &temp6;
5987 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5988 }
5989 }
5990 if (obj6) {
5991 {
5992 arg7 = static_cast<long >(SWIG_As_long(obj6));
5993 if (SWIG_arg_fail(7)) SWIG_fail;
5994 }
5995 }
5996 if (obj7) {
5997 {
5998 arg8 = wxString_in_helper(obj7);
5999 if (arg8 == NULL) SWIG_fail;
6000 temp8 = true;
6001 }
6002 }
6003 {
6004 PyThreadState* __tstate = wxPyBeginAllowThreads();
6005 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6006
6007 wxPyEndAllowThreads(__tstate);
6008 if (PyErr_Occurred()) SWIG_fail;
6009 }
6010 {
6011 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6012 }
6013 {
6014 if (temp4)
6015 delete arg4;
6016 }
6017 {
6018 if (temp8)
6019 delete arg8;
6020 }
6021 return resultobj;
6022 fail:
6023 {
6024 if (temp4)
6025 delete arg4;
6026 }
6027 {
6028 if (temp8)
6029 delete arg8;
6030 }
6031 return NULL;
6032 }
6033
6034
6035 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
6036 PyObject *resultobj = NULL;
6037 wxDialog *arg1 = (wxDialog *) 0 ;
6038 int arg2 ;
6039 PyObject * obj0 = 0 ;
6040 PyObject * obj1 = 0 ;
6041 char *kwnames[] = {
6042 (char *) "self",(char *) "returnCode", NULL
6043 };
6044
6045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
6046 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6047 if (SWIG_arg_fail(1)) SWIG_fail;
6048 {
6049 arg2 = static_cast<int >(SWIG_As_int(obj1));
6050 if (SWIG_arg_fail(2)) SWIG_fail;
6051 }
6052 {
6053 PyThreadState* __tstate = wxPyBeginAllowThreads();
6054 (arg1)->SetReturnCode(arg2);
6055
6056 wxPyEndAllowThreads(__tstate);
6057 if (PyErr_Occurred()) SWIG_fail;
6058 }
6059 Py_INCREF(Py_None); resultobj = Py_None;
6060 return resultobj;
6061 fail:
6062 return NULL;
6063 }
6064
6065
6066 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
6067 PyObject *resultobj = NULL;
6068 wxDialog *arg1 = (wxDialog *) 0 ;
6069 int result;
6070 PyObject * obj0 = 0 ;
6071 char *kwnames[] = {
6072 (char *) "self", NULL
6073 };
6074
6075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
6076 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6077 if (SWIG_arg_fail(1)) SWIG_fail;
6078 {
6079 PyThreadState* __tstate = wxPyBeginAllowThreads();
6080 result = (int)((wxDialog const *)arg1)->GetReturnCode();
6081
6082 wxPyEndAllowThreads(__tstate);
6083 if (PyErr_Occurred()) SWIG_fail;
6084 }
6085 {
6086 resultobj = SWIG_From_int(static_cast<int >(result));
6087 }
6088 return resultobj;
6089 fail:
6090 return NULL;
6091 }
6092
6093
6094 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *, PyObject *args, PyObject *kwargs) {
6095 PyObject *resultobj = NULL;
6096 wxDialog *arg1 = (wxDialog *) 0 ;
6097 wxString *arg2 = 0 ;
6098 wxSizer *result;
6099 bool temp2 = false ;
6100 PyObject * obj0 = 0 ;
6101 PyObject * obj1 = 0 ;
6102 char *kwnames[] = {
6103 (char *) "self",(char *) "message", NULL
6104 };
6105
6106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
6107 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6108 if (SWIG_arg_fail(1)) SWIG_fail;
6109 {
6110 arg2 = wxString_in_helper(obj1);
6111 if (arg2 == NULL) SWIG_fail;
6112 temp2 = true;
6113 }
6114 {
6115 PyThreadState* __tstate = wxPyBeginAllowThreads();
6116 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
6117
6118 wxPyEndAllowThreads(__tstate);
6119 if (PyErr_Occurred()) SWIG_fail;
6120 }
6121 {
6122 resultobj = wxPyMake_wxObject(result, (bool)0);
6123 }
6124 {
6125 if (temp2)
6126 delete arg2;
6127 }
6128 return resultobj;
6129 fail:
6130 {
6131 if (temp2)
6132 delete arg2;
6133 }
6134 return NULL;
6135 }
6136
6137
6138 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
6139 PyObject *resultobj = NULL;
6140 wxDialog *arg1 = (wxDialog *) 0 ;
6141 long arg2 ;
6142 bool arg3 = (bool) false ;
6143 int arg4 = (int) 0 ;
6144 wxSizer *result;
6145 PyObject * obj0 = 0 ;
6146 PyObject * obj1 = 0 ;
6147 PyObject * obj2 = 0 ;
6148 PyObject * obj3 = 0 ;
6149 char *kwnames[] = {
6150 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
6151 };
6152
6153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6155 if (SWIG_arg_fail(1)) SWIG_fail;
6156 {
6157 arg2 = static_cast<long >(SWIG_As_long(obj1));
6158 if (SWIG_arg_fail(2)) SWIG_fail;
6159 }
6160 if (obj2) {
6161 {
6162 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
6163 if (SWIG_arg_fail(3)) SWIG_fail;
6164 }
6165 }
6166 if (obj3) {
6167 {
6168 arg4 = static_cast<int >(SWIG_As_int(obj3));
6169 if (SWIG_arg_fail(4)) SWIG_fail;
6170 }
6171 }
6172 {
6173 PyThreadState* __tstate = wxPyBeginAllowThreads();
6174 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2,arg3,arg4);
6175
6176 wxPyEndAllowThreads(__tstate);
6177 if (PyErr_Occurred()) SWIG_fail;
6178 }
6179 {
6180 resultobj = wxPyMake_wxObject(result, (bool)0);
6181 }
6182 return resultobj;
6183 fail:
6184 return NULL;
6185 }
6186
6187
6188 static PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
6189 PyObject *resultobj = NULL;
6190 wxDialog *arg1 = (wxDialog *) 0 ;
6191 long arg2 ;
6192 wxStdDialogButtonSizer *result;
6193 PyObject * obj0 = 0 ;
6194 PyObject * obj1 = 0 ;
6195 char *kwnames[] = {
6196 (char *) "self",(char *) "flags", NULL
6197 };
6198
6199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) goto fail;
6200 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6201 if (SWIG_arg_fail(1)) SWIG_fail;
6202 {
6203 arg2 = static_cast<long >(SWIG_As_long(obj1));
6204 if (SWIG_arg_fail(2)) SWIG_fail;
6205 }
6206 {
6207 PyThreadState* __tstate = wxPyBeginAllowThreads();
6208 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
6209
6210 wxPyEndAllowThreads(__tstate);
6211 if (PyErr_Occurred()) SWIG_fail;
6212 }
6213 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0);
6214 return resultobj;
6215 fail:
6216 return NULL;
6217 }
6218
6219
6220 static PyObject *_wrap_Dialog_IsModal(PyObject *, PyObject *args, PyObject *kwargs) {
6221 PyObject *resultobj = NULL;
6222 wxDialog *arg1 = (wxDialog *) 0 ;
6223 bool result;
6224 PyObject * obj0 = 0 ;
6225 char *kwnames[] = {
6226 (char *) "self", NULL
6227 };
6228
6229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
6230 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6231 if (SWIG_arg_fail(1)) SWIG_fail;
6232 {
6233 PyThreadState* __tstate = wxPyBeginAllowThreads();
6234 result = (bool)((wxDialog const *)arg1)->IsModal();
6235
6236 wxPyEndAllowThreads(__tstate);
6237 if (PyErr_Occurred()) SWIG_fail;
6238 }
6239 {
6240 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6241 }
6242 return resultobj;
6243 fail:
6244 return NULL;
6245 }
6246
6247
6248 static PyObject *_wrap_Dialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
6249 PyObject *resultobj = NULL;
6250 wxDialog *arg1 = (wxDialog *) 0 ;
6251 int result;
6252 PyObject * obj0 = 0 ;
6253 char *kwnames[] = {
6254 (char *) "self", NULL
6255 };
6256
6257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
6258 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6259 if (SWIG_arg_fail(1)) SWIG_fail;
6260 {
6261 PyThreadState* __tstate = wxPyBeginAllowThreads();
6262 result = (int)(arg1)->ShowModal();
6263
6264 wxPyEndAllowThreads(__tstate);
6265 if (PyErr_Occurred()) SWIG_fail;
6266 }
6267 {
6268 resultobj = SWIG_From_int(static_cast<int >(result));
6269 }
6270 return resultobj;
6271 fail:
6272 return NULL;
6273 }
6274
6275
6276 static PyObject *_wrap_Dialog_EndModal(PyObject *, PyObject *args, PyObject *kwargs) {
6277 PyObject *resultobj = NULL;
6278 wxDialog *arg1 = (wxDialog *) 0 ;
6279 int arg2 ;
6280 PyObject * obj0 = 0 ;
6281 PyObject * obj1 = 0 ;
6282 char *kwnames[] = {
6283 (char *) "self",(char *) "retCode", NULL
6284 };
6285
6286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
6287 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6288 if (SWIG_arg_fail(1)) SWIG_fail;
6289 {
6290 arg2 = static_cast<int >(SWIG_As_int(obj1));
6291 if (SWIG_arg_fail(2)) SWIG_fail;
6292 }
6293 {
6294 PyThreadState* __tstate = wxPyBeginAllowThreads();
6295 (arg1)->EndModal(arg2);
6296
6297 wxPyEndAllowThreads(__tstate);
6298 if (PyErr_Occurred()) SWIG_fail;
6299 }
6300 Py_INCREF(Py_None); resultobj = Py_None;
6301 return resultobj;
6302 fail:
6303 return NULL;
6304 }
6305
6306
6307 static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6308 PyObject *resultobj = NULL;
6309 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6310 wxVisualAttributes result;
6311 PyObject * obj0 = 0 ;
6312 char *kwnames[] = {
6313 (char *) "variant", NULL
6314 };
6315
6316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6317 if (obj0) {
6318 {
6319 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
6320 if (SWIG_arg_fail(1)) SWIG_fail;
6321 }
6322 }
6323 {
6324 if (!wxPyCheckForApp()) SWIG_fail;
6325 PyThreadState* __tstate = wxPyBeginAllowThreads();
6326 result = wxDialog::GetClassDefaultAttributes(arg1);
6327
6328 wxPyEndAllowThreads(__tstate);
6329 if (PyErr_Occurred()) SWIG_fail;
6330 }
6331 {
6332 wxVisualAttributes * resultptr;
6333 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
6334 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6335 }
6336 return resultobj;
6337 fail:
6338 return NULL;
6339 }
6340
6341
6342 static PyObject * Dialog_swigregister(PyObject *, PyObject *args) {
6343 PyObject *obj;
6344 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6345 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
6346 Py_INCREF(obj);
6347 return Py_BuildValue((char *)"");
6348 }
6349 static PyObject *_wrap_new_MiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
6350 PyObject *resultobj = NULL;
6351 wxWindow *arg1 = (wxWindow *) 0 ;
6352 int arg2 = (int) (int)-1 ;
6353 wxString const &arg3_defvalue = wxPyEmptyString ;
6354 wxString *arg3 = (wxString *) &arg3_defvalue ;
6355 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6356 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6357 wxSize const &arg5_defvalue = wxDefaultSize ;
6358 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6359 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6360 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6361 wxString *arg7 = (wxString *) &arg7_defvalue ;
6362 wxMiniFrame *result;
6363 bool temp3 = false ;
6364 wxPoint temp4 ;
6365 wxSize temp5 ;
6366 bool temp7 = false ;
6367 PyObject * obj0 = 0 ;
6368 PyObject * obj1 = 0 ;
6369 PyObject * obj2 = 0 ;
6370 PyObject * obj3 = 0 ;
6371 PyObject * obj4 = 0 ;
6372 PyObject * obj5 = 0 ;
6373 PyObject * obj6 = 0 ;
6374 char *kwnames[] = {
6375 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6376 };
6377
6378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6379 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6380 if (SWIG_arg_fail(1)) SWIG_fail;
6381 if (obj1) {
6382 {
6383 arg2 = static_cast<int const >(SWIG_As_int(obj1));
6384 if (SWIG_arg_fail(2)) SWIG_fail;
6385 }
6386 }
6387 if (obj2) {
6388 {
6389 arg3 = wxString_in_helper(obj2);
6390 if (arg3 == NULL) SWIG_fail;
6391 temp3 = true;
6392 }
6393 }
6394 if (obj3) {
6395 {
6396 arg4 = &temp4;
6397 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6398 }
6399 }
6400 if (obj4) {
6401 {
6402 arg5 = &temp5;
6403 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6404 }
6405 }
6406 if (obj5) {
6407 {
6408 arg6 = static_cast<long >(SWIG_As_long(obj5));
6409 if (SWIG_arg_fail(6)) SWIG_fail;
6410 }
6411 }
6412 if (obj6) {
6413 {
6414 arg7 = wxString_in_helper(obj6);
6415 if (arg7 == NULL) SWIG_fail;
6416 temp7 = true;
6417 }
6418 }
6419 {
6420 if (!wxPyCheckForApp()) SWIG_fail;
6421 PyThreadState* __tstate = wxPyBeginAllowThreads();
6422 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6423
6424 wxPyEndAllowThreads(__tstate);
6425 if (PyErr_Occurred()) SWIG_fail;
6426 }
6427 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
6428 {
6429 if (temp3)
6430 delete arg3;
6431 }
6432 {
6433 if (temp7)
6434 delete arg7;
6435 }
6436 return resultobj;
6437 fail:
6438 {
6439 if (temp3)
6440 delete arg3;
6441 }
6442 {
6443 if (temp7)
6444 delete arg7;
6445 }
6446 return NULL;
6447 }
6448
6449
6450 static PyObject *_wrap_new_PreMiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
6451 PyObject *resultobj = NULL;
6452 wxMiniFrame *result;
6453 char *kwnames[] = {
6454 NULL
6455 };
6456
6457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
6458 {
6459 if (!wxPyCheckForApp()) SWIG_fail;
6460 PyThreadState* __tstate = wxPyBeginAllowThreads();
6461 result = (wxMiniFrame *)new wxMiniFrame();
6462
6463 wxPyEndAllowThreads(__tstate);
6464 if (PyErr_Occurred()) SWIG_fail;
6465 }
6466 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
6467 return resultobj;
6468 fail:
6469 return NULL;
6470 }
6471
6472
6473 static PyObject *_wrap_MiniFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6474 PyObject *resultobj = NULL;
6475 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
6476 wxWindow *arg2 = (wxWindow *) 0 ;
6477 int arg3 = (int) (int)-1 ;
6478 wxString const &arg4_defvalue = wxPyEmptyString ;
6479 wxString *arg4 = (wxString *) &arg4_defvalue ;
6480 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6481 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6482 wxSize const &arg6_defvalue = wxDefaultSize ;
6483 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6484 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6485 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6486 wxString *arg8 = (wxString *) &arg8_defvalue ;
6487 bool result;
6488 bool temp4 = false ;
6489 wxPoint temp5 ;
6490 wxSize temp6 ;
6491 bool temp8 = false ;
6492 PyObject * obj0 = 0 ;
6493 PyObject * obj1 = 0 ;
6494 PyObject * obj2 = 0 ;
6495 PyObject * obj3 = 0 ;
6496 PyObject * obj4 = 0 ;
6497 PyObject * obj5 = 0 ;
6498 PyObject * obj6 = 0 ;
6499 PyObject * obj7 = 0 ;
6500 char *kwnames[] = {
6501 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6502 };
6503
6504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6505 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_EXCEPTION | 0);
6506 if (SWIG_arg_fail(1)) SWIG_fail;
6507 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6508 if (SWIG_arg_fail(2)) SWIG_fail;
6509 if (obj2) {
6510 {
6511 arg3 = static_cast<int const >(SWIG_As_int(obj2));
6512 if (SWIG_arg_fail(3)) SWIG_fail;
6513 }
6514 }
6515 if (obj3) {
6516 {
6517 arg4 = wxString_in_helper(obj3);
6518 if (arg4 == NULL) SWIG_fail;
6519 temp4 = true;
6520 }
6521 }
6522 if (obj4) {
6523 {
6524 arg5 = &temp5;
6525 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6526 }
6527 }
6528 if (obj5) {
6529 {
6530 arg6 = &temp6;
6531 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6532 }
6533 }
6534 if (obj6) {
6535 {
6536 arg7 = static_cast<long >(SWIG_As_long(obj6));
6537 if (SWIG_arg_fail(7)) SWIG_fail;
6538 }
6539 }
6540 if (obj7) {
6541 {
6542 arg8 = wxString_in_helper(obj7);
6543 if (arg8 == NULL) SWIG_fail;
6544 temp8 = true;
6545 }
6546 }
6547 {
6548 PyThreadState* __tstate = wxPyBeginAllowThreads();
6549 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6550
6551 wxPyEndAllowThreads(__tstate);
6552 if (PyErr_Occurred()) SWIG_fail;
6553 }
6554 {
6555 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6556 }
6557 {
6558 if (temp4)
6559 delete arg4;
6560 }
6561 {
6562 if (temp8)
6563 delete arg8;
6564 }
6565 return resultobj;
6566 fail:
6567 {
6568 if (temp4)
6569 delete arg4;
6570 }
6571 {
6572 if (temp8)
6573 delete arg8;
6574 }
6575 return NULL;
6576 }
6577
6578
6579 static PyObject * MiniFrame_swigregister(PyObject *, PyObject *args) {
6580 PyObject *obj;
6581 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6582 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
6583 Py_INCREF(obj);
6584 return Py_BuildValue((char *)"");
6585 }
6586 static PyObject *_wrap_new_SplashScreenWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6587 PyObject *resultobj = NULL;
6588 wxBitmap *arg1 = 0 ;
6589 wxWindow *arg2 = (wxWindow *) 0 ;
6590 int arg3 ;
6591 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6592 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6593 wxSize const &arg5_defvalue = wxDefaultSize ;
6594 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6595 long arg6 = (long) wxNO_BORDER ;
6596 wxSplashScreenWindow *result;
6597 wxPoint temp4 ;
6598 wxSize temp5 ;
6599 PyObject * obj0 = 0 ;
6600 PyObject * obj1 = 0 ;
6601 PyObject * obj2 = 0 ;
6602 PyObject * obj3 = 0 ;
6603 PyObject * obj4 = 0 ;
6604 PyObject * obj5 = 0 ;
6605 char *kwnames[] = {
6606 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6607 };
6608
6609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6610 {
6611 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6612 if (SWIG_arg_fail(1)) SWIG_fail;
6613 if (arg1 == NULL) {
6614 SWIG_null_ref("wxBitmap");
6615 }
6616 if (SWIG_arg_fail(1)) SWIG_fail;
6617 }
6618 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6619 if (SWIG_arg_fail(2)) SWIG_fail;
6620 {
6621 arg3 = static_cast<int >(SWIG_As_int(obj2));
6622 if (SWIG_arg_fail(3)) SWIG_fail;
6623 }
6624 if (obj3) {
6625 {
6626 arg4 = &temp4;
6627 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6628 }
6629 }
6630 if (obj4) {
6631 {
6632 arg5 = &temp5;
6633 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6634 }
6635 }
6636 if (obj5) {
6637 {
6638 arg6 = static_cast<long >(SWIG_As_long(obj5));
6639 if (SWIG_arg_fail(6)) SWIG_fail;
6640 }
6641 }
6642 {
6643 if (!wxPyCheckForApp()) SWIG_fail;
6644 PyThreadState* __tstate = wxPyBeginAllowThreads();
6645 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
6646
6647 wxPyEndAllowThreads(__tstate);
6648 if (PyErr_Occurred()) SWIG_fail;
6649 }
6650 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
6651 return resultobj;
6652 fail:
6653 return NULL;
6654 }
6655
6656
6657 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6658 PyObject *resultobj = NULL;
6659 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
6660 wxBitmap *arg2 = 0 ;
6661 PyObject * obj0 = 0 ;
6662 PyObject * obj1 = 0 ;
6663 char *kwnames[] = {
6664 (char *) "self",(char *) "bitmap", NULL
6665 };
6666
6667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
6668 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_EXCEPTION | 0);
6669 if (SWIG_arg_fail(1)) SWIG_fail;
6670 {
6671 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6672 if (SWIG_arg_fail(2)) SWIG_fail;
6673 if (arg2 == NULL) {
6674 SWIG_null_ref("wxBitmap");
6675 }
6676 if (SWIG_arg_fail(2)) SWIG_fail;
6677 }
6678 {
6679 PyThreadState* __tstate = wxPyBeginAllowThreads();
6680 (arg1)->SetBitmap((wxBitmap const &)*arg2);
6681
6682 wxPyEndAllowThreads(__tstate);
6683 if (PyErr_Occurred()) SWIG_fail;
6684 }
6685 Py_INCREF(Py_None); resultobj = Py_None;
6686 return resultobj;
6687 fail:
6688 return NULL;
6689 }
6690
6691
6692 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6693 PyObject *resultobj = NULL;
6694 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
6695 wxBitmap *result;
6696 PyObject * obj0 = 0 ;
6697 char *kwnames[] = {
6698 (char *) "self", NULL
6699 };
6700
6701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
6702 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_EXCEPTION | 0);
6703 if (SWIG_arg_fail(1)) SWIG_fail;
6704 {
6705 PyThreadState* __tstate = wxPyBeginAllowThreads();
6706 {
6707 wxBitmap &_result_ref = (arg1)->GetBitmap();
6708 result = (wxBitmap *) &_result_ref;
6709 }
6710
6711 wxPyEndAllowThreads(__tstate);
6712 if (PyErr_Occurred()) SWIG_fail;
6713 }
6714 {
6715 wxBitmap* resultptr = new wxBitmap(*result);
6716 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
6717 }
6718 return resultobj;
6719 fail:
6720 return NULL;
6721 }
6722
6723
6724 static PyObject * SplashScreenWindow_swigregister(PyObject *, PyObject *args) {
6725 PyObject *obj;
6726 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6727 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
6728 Py_INCREF(obj);
6729 return Py_BuildValue((char *)"");
6730 }
6731 static PyObject *_wrap_new_SplashScreen(PyObject *, PyObject *args, PyObject *kwargs) {
6732 PyObject *resultobj = NULL;
6733 wxBitmap *arg1 = 0 ;
6734 long arg2 ;
6735 int arg3 ;
6736 wxWindow *arg4 = (wxWindow *) 0 ;
6737 int arg5 = (int) -1 ;
6738 wxPoint const &arg6_defvalue = wxDefaultPosition ;
6739 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
6740 wxSize const &arg7_defvalue = wxDefaultSize ;
6741 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
6742 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
6743 wxSplashScreen *result;
6744 wxPoint temp6 ;
6745 wxSize temp7 ;
6746 PyObject * obj0 = 0 ;
6747 PyObject * obj1 = 0 ;
6748 PyObject * obj2 = 0 ;
6749 PyObject * obj3 = 0 ;
6750 PyObject * obj4 = 0 ;
6751 PyObject * obj5 = 0 ;
6752 PyObject * obj6 = 0 ;
6753 PyObject * obj7 = 0 ;
6754 char *kwnames[] = {
6755 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6756 };
6757
6758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6759 {
6760 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6761 if (SWIG_arg_fail(1)) SWIG_fail;
6762 if (arg1 == NULL) {
6763 SWIG_null_ref("wxBitmap");
6764 }
6765 if (SWIG_arg_fail(1)) SWIG_fail;
6766 }
6767 {
6768 arg2 = static_cast<long >(SWIG_As_long(obj1));
6769 if (SWIG_arg_fail(2)) SWIG_fail;
6770 }
6771 {
6772 arg3 = static_cast<int >(SWIG_As_int(obj2));
6773 if (SWIG_arg_fail(3)) SWIG_fail;
6774 }
6775 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6776 if (SWIG_arg_fail(4)) SWIG_fail;
6777 if (obj4) {
6778 {
6779 arg5 = static_cast<int >(SWIG_As_int(obj4));
6780 if (SWIG_arg_fail(5)) SWIG_fail;
6781 }
6782 }
6783 if (obj5) {
6784 {
6785 arg6 = &temp6;
6786 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
6787 }
6788 }
6789 if (obj6) {
6790 {
6791 arg7 = &temp7;
6792 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
6793 }
6794 }
6795 if (obj7) {
6796 {
6797 arg8 = static_cast<long >(SWIG_As_long(obj7));
6798 if (SWIG_arg_fail(8)) SWIG_fail;
6799 }
6800 }
6801 {
6802 if (!wxPyCheckForApp()) SWIG_fail;
6803 PyThreadState* __tstate = wxPyBeginAllowThreads();
6804 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
6805
6806 wxPyEndAllowThreads(__tstate);
6807 if (PyErr_Occurred()) SWIG_fail;
6808 }
6809 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
6810 return resultobj;
6811 fail:
6812 return NULL;
6813 }
6814
6815
6816 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *, PyObject *args, PyObject *kwargs) {
6817 PyObject *resultobj = NULL;
6818 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6819 long result;
6820 PyObject * obj0 = 0 ;
6821 char *kwnames[] = {
6822 (char *) "self", NULL
6823 };
6824
6825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
6826 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6827 if (SWIG_arg_fail(1)) SWIG_fail;
6828 {
6829 PyThreadState* __tstate = wxPyBeginAllowThreads();
6830 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
6831
6832 wxPyEndAllowThreads(__tstate);
6833 if (PyErr_Occurred()) SWIG_fail;
6834 }
6835 {
6836 resultobj = SWIG_From_long(static_cast<long >(result));
6837 }
6838 return resultobj;
6839 fail:
6840 return NULL;
6841 }
6842
6843
6844 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6845 PyObject *resultobj = NULL;
6846 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6847 wxSplashScreenWindow *result;
6848 PyObject * obj0 = 0 ;
6849 char *kwnames[] = {
6850 (char *) "self", NULL
6851 };
6852
6853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
6854 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6855 if (SWIG_arg_fail(1)) SWIG_fail;
6856 {
6857 PyThreadState* __tstate = wxPyBeginAllowThreads();
6858 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
6859
6860 wxPyEndAllowThreads(__tstate);
6861 if (PyErr_Occurred()) SWIG_fail;
6862 }
6863 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
6864 return resultobj;
6865 fail:
6866 return NULL;
6867 }
6868
6869
6870 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *, PyObject *args, PyObject *kwargs) {
6871 PyObject *resultobj = NULL;
6872 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6873 int result;
6874 PyObject * obj0 = 0 ;
6875 char *kwnames[] = {
6876 (char *) "self", NULL
6877 };
6878
6879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
6880 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6881 if (SWIG_arg_fail(1)) SWIG_fail;
6882 {
6883 PyThreadState* __tstate = wxPyBeginAllowThreads();
6884 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
6885
6886 wxPyEndAllowThreads(__tstate);
6887 if (PyErr_Occurred()) SWIG_fail;
6888 }
6889 {
6890 resultobj = SWIG_From_int(static_cast<int >(result));
6891 }
6892 return resultobj;
6893 fail:
6894 return NULL;
6895 }
6896
6897
6898 static PyObject * SplashScreen_swigregister(PyObject *, PyObject *args) {
6899 PyObject *obj;
6900 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6901 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
6902 Py_INCREF(obj);
6903 return Py_BuildValue((char *)"");
6904 }
6905 static PyObject *_wrap_new_StatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
6906 PyObject *resultobj = NULL;
6907 wxWindow *arg1 = (wxWindow *) 0 ;
6908 int arg2 = (int) -1 ;
6909 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6910 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
6911 wxString *arg4 = (wxString *) &arg4_defvalue ;
6912 wxStatusBar *result;
6913 bool temp4 = false ;
6914 PyObject * obj0 = 0 ;
6915 PyObject * obj1 = 0 ;
6916 PyObject * obj2 = 0 ;
6917 PyObject * obj3 = 0 ;
6918 char *kwnames[] = {
6919 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6920 };
6921
6922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6923 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6924 if (SWIG_arg_fail(1)) SWIG_fail;
6925 if (obj1) {
6926 {
6927 arg2 = static_cast<int >(SWIG_As_int(obj1));
6928 if (SWIG_arg_fail(2)) SWIG_fail;
6929 }
6930 }
6931 if (obj2) {
6932 {
6933 arg3 = static_cast<long >(SWIG_As_long(obj2));
6934 if (SWIG_arg_fail(3)) SWIG_fail;
6935 }
6936 }
6937 if (obj3) {
6938 {
6939 arg4 = wxString_in_helper(obj3);
6940 if (arg4 == NULL) SWIG_fail;
6941 temp4 = true;
6942 }
6943 }
6944 {
6945 if (!wxPyCheckForApp()) SWIG_fail;
6946 PyThreadState* __tstate = wxPyBeginAllowThreads();
6947 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
6948
6949 wxPyEndAllowThreads(__tstate);
6950 if (PyErr_Occurred()) SWIG_fail;
6951 }
6952 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
6953 {
6954 if (temp4)
6955 delete arg4;
6956 }
6957 return resultobj;
6958 fail:
6959 {
6960 if (temp4)
6961 delete arg4;
6962 }
6963 return NULL;
6964 }
6965
6966
6967 static PyObject *_wrap_new_PreStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
6968 PyObject *resultobj = NULL;
6969 wxStatusBar *result;
6970 char *kwnames[] = {
6971 NULL
6972 };
6973
6974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
6975 {
6976 if (!wxPyCheckForApp()) SWIG_fail;
6977 PyThreadState* __tstate = wxPyBeginAllowThreads();
6978 result = (wxStatusBar *)new wxStatusBar();
6979
6980 wxPyEndAllowThreads(__tstate);
6981 if (PyErr_Occurred()) SWIG_fail;
6982 }
6983 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
6984 return resultobj;
6985 fail:
6986 return NULL;
6987 }
6988
6989
6990 static PyObject *_wrap_StatusBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6991 PyObject *resultobj = NULL;
6992 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6993 wxWindow *arg2 = (wxWindow *) 0 ;
6994 int arg3 = (int) -1 ;
6995 long arg4 = (long) wxST_SIZEGRIP ;
6996 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6997 wxString *arg5 = (wxString *) &arg5_defvalue ;
6998 bool result;
6999 bool temp5 = false ;
7000 PyObject * obj0 = 0 ;
7001 PyObject * obj1 = 0 ;
7002 PyObject * obj2 = 0 ;
7003 PyObject * obj3 = 0 ;
7004 PyObject * obj4 = 0 ;
7005 char *kwnames[] = {
7006 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
7007 };
7008
7009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
7010 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7011 if (SWIG_arg_fail(1)) SWIG_fail;
7012 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7013 if (SWIG_arg_fail(2)) SWIG_fail;
7014 if (obj2) {
7015 {
7016 arg3 = static_cast<int >(SWIG_As_int(obj2));
7017 if (SWIG_arg_fail(3)) SWIG_fail;
7018 }
7019 }
7020 if (obj3) {
7021 {
7022 arg4 = static_cast<long >(SWIG_As_long(obj3));
7023 if (SWIG_arg_fail(4)) SWIG_fail;
7024 }
7025 }
7026 if (obj4) {
7027 {
7028 arg5 = wxString_in_helper(obj4);
7029 if (arg5 == NULL) SWIG_fail;
7030 temp5 = true;
7031 }
7032 }
7033 {
7034 PyThreadState* __tstate = wxPyBeginAllowThreads();
7035 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
7036
7037 wxPyEndAllowThreads(__tstate);
7038 if (PyErr_Occurred()) SWIG_fail;
7039 }
7040 {
7041 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7042 }
7043 {
7044 if (temp5)
7045 delete arg5;
7046 }
7047 return resultobj;
7048 fail:
7049 {
7050 if (temp5)
7051 delete arg5;
7052 }
7053 return NULL;
7054 }
7055
7056
7057 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
7058 PyObject *resultobj = NULL;
7059 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7060 int arg2 = (int) 1 ;
7061 PyObject * obj0 = 0 ;
7062 PyObject * obj1 = 0 ;
7063 char *kwnames[] = {
7064 (char *) "self",(char *) "number", NULL
7065 };
7066
7067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
7068 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7069 if (SWIG_arg_fail(1)) SWIG_fail;
7070 if (obj1) {
7071 {
7072 arg2 = static_cast<int >(SWIG_As_int(obj1));
7073 if (SWIG_arg_fail(2)) SWIG_fail;
7074 }
7075 }
7076 {
7077 PyThreadState* __tstate = wxPyBeginAllowThreads();
7078 (arg1)->SetFieldsCount(arg2);
7079
7080 wxPyEndAllowThreads(__tstate);
7081 if (PyErr_Occurred()) SWIG_fail;
7082 }
7083 Py_INCREF(Py_None); resultobj = Py_None;
7084 return resultobj;
7085 fail:
7086 return NULL;
7087 }
7088
7089
7090 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
7091 PyObject *resultobj = NULL;
7092 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7093 int result;
7094 PyObject * obj0 = 0 ;
7095 char *kwnames[] = {
7096 (char *) "self", NULL
7097 };
7098
7099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
7100 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7101 if (SWIG_arg_fail(1)) SWIG_fail;
7102 {
7103 PyThreadState* __tstate = wxPyBeginAllowThreads();
7104 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
7105
7106 wxPyEndAllowThreads(__tstate);
7107 if (PyErr_Occurred()) SWIG_fail;
7108 }
7109 {
7110 resultobj = SWIG_From_int(static_cast<int >(result));
7111 }
7112 return resultobj;
7113 fail:
7114 return NULL;
7115 }
7116
7117
7118 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
7119 PyObject *resultobj = NULL;
7120 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7121 wxString *arg2 = 0 ;
7122 int arg3 = (int) 0 ;
7123 bool temp2 = false ;
7124 PyObject * obj0 = 0 ;
7125 PyObject * obj1 = 0 ;
7126 PyObject * obj2 = 0 ;
7127 char *kwnames[] = {
7128 (char *) "self",(char *) "text",(char *) "number", NULL
7129 };
7130
7131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
7132 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7133 if (SWIG_arg_fail(1)) SWIG_fail;
7134 {
7135 arg2 = wxString_in_helper(obj1);
7136 if (arg2 == NULL) SWIG_fail;
7137 temp2 = true;
7138 }
7139 if (obj2) {
7140 {
7141 arg3 = static_cast<int >(SWIG_As_int(obj2));
7142 if (SWIG_arg_fail(3)) SWIG_fail;
7143 }
7144 }
7145 {
7146 PyThreadState* __tstate = wxPyBeginAllowThreads();
7147 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
7148
7149 wxPyEndAllowThreads(__tstate);
7150 if (PyErr_Occurred()) SWIG_fail;
7151 }
7152 Py_INCREF(Py_None); resultobj = Py_None;
7153 {
7154 if (temp2)
7155 delete arg2;
7156 }
7157 return resultobj;
7158 fail:
7159 {
7160 if (temp2)
7161 delete arg2;
7162 }
7163 return NULL;
7164 }
7165
7166
7167 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
7168 PyObject *resultobj = NULL;
7169 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7170 int arg2 = (int) 0 ;
7171 wxString result;
7172 PyObject * obj0 = 0 ;
7173 PyObject * obj1 = 0 ;
7174 char *kwnames[] = {
7175 (char *) "self",(char *) "number", NULL
7176 };
7177
7178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
7179 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7180 if (SWIG_arg_fail(1)) SWIG_fail;
7181 if (obj1) {
7182 {
7183 arg2 = static_cast<int >(SWIG_As_int(obj1));
7184 if (SWIG_arg_fail(2)) SWIG_fail;
7185 }
7186 }
7187 {
7188 PyThreadState* __tstate = wxPyBeginAllowThreads();
7189 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
7190
7191 wxPyEndAllowThreads(__tstate);
7192 if (PyErr_Occurred()) SWIG_fail;
7193 }
7194 {
7195 #if wxUSE_UNICODE
7196 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7197 #else
7198 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7199 #endif
7200 }
7201 return resultobj;
7202 fail:
7203 return NULL;
7204 }
7205
7206
7207 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
7208 PyObject *resultobj = NULL;
7209 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7210 wxString *arg2 = 0 ;
7211 int arg3 = (int) 0 ;
7212 bool temp2 = false ;
7213 PyObject * obj0 = 0 ;
7214 PyObject * obj1 = 0 ;
7215 PyObject * obj2 = 0 ;
7216 char *kwnames[] = {
7217 (char *) "self",(char *) "text",(char *) "number", NULL
7218 };
7219
7220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
7221 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7222 if (SWIG_arg_fail(1)) SWIG_fail;
7223 {
7224 arg2 = wxString_in_helper(obj1);
7225 if (arg2 == NULL) SWIG_fail;
7226 temp2 = true;
7227 }
7228 if (obj2) {
7229 {
7230 arg3 = static_cast<int >(SWIG_As_int(obj2));
7231 if (SWIG_arg_fail(3)) SWIG_fail;
7232 }
7233 }
7234 {
7235 PyThreadState* __tstate = wxPyBeginAllowThreads();
7236 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
7237
7238 wxPyEndAllowThreads(__tstate);
7239 if (PyErr_Occurred()) SWIG_fail;
7240 }
7241 Py_INCREF(Py_None); resultobj = Py_None;
7242 {
7243 if (temp2)
7244 delete arg2;
7245 }
7246 return resultobj;
7247 fail:
7248 {
7249 if (temp2)
7250 delete arg2;
7251 }
7252 return NULL;
7253 }
7254
7255
7256 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
7257 PyObject *resultobj = NULL;
7258 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7259 int arg2 = (int) 0 ;
7260 PyObject * obj0 = 0 ;
7261 PyObject * obj1 = 0 ;
7262 char *kwnames[] = {
7263 (char *) "self",(char *) "number", NULL
7264 };
7265
7266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
7267 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7268 if (SWIG_arg_fail(1)) SWIG_fail;
7269 if (obj1) {
7270 {
7271 arg2 = static_cast<int >(SWIG_As_int(obj1));
7272 if (SWIG_arg_fail(2)) SWIG_fail;
7273 }
7274 }
7275 {
7276 PyThreadState* __tstate = wxPyBeginAllowThreads();
7277 (arg1)->PopStatusText(arg2);
7278
7279 wxPyEndAllowThreads(__tstate);
7280 if (PyErr_Occurred()) SWIG_fail;
7281 }
7282 Py_INCREF(Py_None); resultobj = Py_None;
7283 return resultobj;
7284 fail:
7285 return NULL;
7286 }
7287
7288
7289 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
7290 PyObject *resultobj = NULL;
7291 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7292 int arg2 ;
7293 int *arg3 = (int *) 0 ;
7294 PyObject * obj0 = 0 ;
7295 PyObject * obj1 = 0 ;
7296 char *kwnames[] = {
7297 (char *) "self",(char *) "widths", NULL
7298 };
7299
7300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
7301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7302 if (SWIG_arg_fail(1)) SWIG_fail;
7303 {
7304 arg2 = PyList_Size(obj1);
7305 arg3 = int_LIST_helper(obj1);
7306 if (arg3 == NULL) SWIG_fail;
7307 }
7308 {
7309 PyThreadState* __tstate = wxPyBeginAllowThreads();
7310 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
7311
7312 wxPyEndAllowThreads(__tstate);
7313 if (PyErr_Occurred()) SWIG_fail;
7314 }
7315 Py_INCREF(Py_None); resultobj = Py_None;
7316 {
7317 if (arg3) delete [] arg3;
7318 }
7319 return resultobj;
7320 fail:
7321 {
7322 if (arg3) delete [] arg3;
7323 }
7324 return NULL;
7325 }
7326
7327
7328 static PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *, PyObject *args, PyObject *kwargs) {
7329 PyObject *resultobj = NULL;
7330 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7331 int arg2 ;
7332 int *arg3 = (int *) 0 ;
7333 PyObject * obj0 = 0 ;
7334 PyObject * obj1 = 0 ;
7335 char *kwnames[] = {
7336 (char *) "self",(char *) "styles", NULL
7337 };
7338
7339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) goto fail;
7340 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7341 if (SWIG_arg_fail(1)) SWIG_fail;
7342 {
7343 arg2 = PyList_Size(obj1);
7344 arg3 = int_LIST_helper(obj1);
7345 if (arg3 == NULL) SWIG_fail;
7346 }
7347 {
7348 PyThreadState* __tstate = wxPyBeginAllowThreads();
7349 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
7350
7351 wxPyEndAllowThreads(__tstate);
7352 if (PyErr_Occurred()) SWIG_fail;
7353 }
7354 Py_INCREF(Py_None); resultobj = Py_None;
7355 {
7356 if (arg3) delete [] arg3;
7357 }
7358 return resultobj;
7359 fail:
7360 {
7361 if (arg3) delete [] arg3;
7362 }
7363 return NULL;
7364 }
7365
7366
7367 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *, PyObject *args, PyObject *kwargs) {
7368 PyObject *resultobj = NULL;
7369 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7370 int arg2 ;
7371 wxRect result;
7372 PyObject * obj0 = 0 ;
7373 PyObject * obj1 = 0 ;
7374 char *kwnames[] = {
7375 (char *) "self",(char *) "i", NULL
7376 };
7377
7378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
7379 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7380 if (SWIG_arg_fail(1)) SWIG_fail;
7381 {
7382 arg2 = static_cast<int >(SWIG_As_int(obj1));
7383 if (SWIG_arg_fail(2)) SWIG_fail;
7384 }
7385 {
7386 PyThreadState* __tstate = wxPyBeginAllowThreads();
7387 result = wxStatusBar_GetFieldRect(arg1,arg2);
7388
7389 wxPyEndAllowThreads(__tstate);
7390 if (PyErr_Occurred()) SWIG_fail;
7391 }
7392 {
7393 wxRect * resultptr;
7394 resultptr = new wxRect(static_cast<wxRect & >(result));
7395 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7396 }
7397 return resultobj;
7398 fail:
7399 return NULL;
7400 }
7401
7402
7403 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
7404 PyObject *resultobj = NULL;
7405 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7406 int arg2 ;
7407 PyObject * obj0 = 0 ;
7408 PyObject * obj1 = 0 ;
7409 char *kwnames[] = {
7410 (char *) "self",(char *) "height", NULL
7411 };
7412
7413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
7414 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7415 if (SWIG_arg_fail(1)) SWIG_fail;
7416 {
7417 arg2 = static_cast<int >(SWIG_As_int(obj1));
7418 if (SWIG_arg_fail(2)) SWIG_fail;
7419 }
7420 {
7421 PyThreadState* __tstate = wxPyBeginAllowThreads();
7422 (arg1)->SetMinHeight(arg2);
7423
7424 wxPyEndAllowThreads(__tstate);
7425 if (PyErr_Occurred()) SWIG_fail;
7426 }
7427 Py_INCREF(Py_None); resultobj = Py_None;
7428 return resultobj;
7429 fail:
7430 return NULL;
7431 }
7432
7433
7434 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *, PyObject *args, PyObject *kwargs) {
7435 PyObject *resultobj = NULL;
7436 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7437 int result;
7438 PyObject * obj0 = 0 ;
7439 char *kwnames[] = {
7440 (char *) "self", NULL
7441 };
7442
7443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
7444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7445 if (SWIG_arg_fail(1)) SWIG_fail;
7446 {
7447 PyThreadState* __tstate = wxPyBeginAllowThreads();
7448 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
7449
7450 wxPyEndAllowThreads(__tstate);
7451 if (PyErr_Occurred()) SWIG_fail;
7452 }
7453 {
7454 resultobj = SWIG_From_int(static_cast<int >(result));
7455 }
7456 return resultobj;
7457 fail:
7458 return NULL;
7459 }
7460
7461
7462 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *, PyObject *args, PyObject *kwargs) {
7463 PyObject *resultobj = NULL;
7464 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7465 int result;
7466 PyObject * obj0 = 0 ;
7467 char *kwnames[] = {
7468 (char *) "self", NULL
7469 };
7470
7471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
7472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7473 if (SWIG_arg_fail(1)) SWIG_fail;
7474 {
7475 PyThreadState* __tstate = wxPyBeginAllowThreads();
7476 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
7477
7478 wxPyEndAllowThreads(__tstate);
7479 if (PyErr_Occurred()) SWIG_fail;
7480 }
7481 {
7482 resultobj = SWIG_From_int(static_cast<int >(result));
7483 }
7484 return resultobj;
7485 fail:
7486 return NULL;
7487 }
7488
7489
7490 static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7491 PyObject *resultobj = NULL;
7492 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7493 wxVisualAttributes result;
7494 PyObject * obj0 = 0 ;
7495 char *kwnames[] = {
7496 (char *) "variant", NULL
7497 };
7498
7499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
7500 if (obj0) {
7501 {
7502 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
7503 if (SWIG_arg_fail(1)) SWIG_fail;
7504 }
7505 }
7506 {
7507 if (!wxPyCheckForApp()) SWIG_fail;
7508 PyThreadState* __tstate = wxPyBeginAllowThreads();
7509 result = wxStatusBar::GetClassDefaultAttributes(arg1);
7510
7511 wxPyEndAllowThreads(__tstate);
7512 if (PyErr_Occurred()) SWIG_fail;
7513 }
7514 {
7515 wxVisualAttributes * resultptr;
7516 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
7517 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7518 }
7519 return resultobj;
7520 fail:
7521 return NULL;
7522 }
7523
7524
7525 static PyObject * StatusBar_swigregister(PyObject *, PyObject *args) {
7526 PyObject *obj;
7527 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7528 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
7529 Py_INCREF(obj);
7530 return Py_BuildValue((char *)"");
7531 }
7532 static int _wrap_SplitterNameStr_set(PyObject *) {
7533 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
7534 return 1;
7535 }
7536
7537
7538 static PyObject *_wrap_SplitterNameStr_get(void) {
7539 PyObject *pyobj = NULL;
7540
7541 {
7542 #if wxUSE_UNICODE
7543 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
7544 #else
7545 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
7546 #endif
7547 }
7548 return pyobj;
7549 }
7550
7551
7552 static PyObject *_wrap_new_SplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7553 PyObject *resultobj = NULL;
7554 wxWindow *arg1 = (wxWindow *) 0 ;
7555 int arg2 = (int) -1 ;
7556 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7557 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7558 wxSize const &arg4_defvalue = wxDefaultSize ;
7559 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7560 long arg5 = (long) wxSP_3D ;
7561 wxString const &arg6_defvalue = wxPySplitterNameStr ;
7562 wxString *arg6 = (wxString *) &arg6_defvalue ;
7563 wxSplitterWindow *result;
7564 wxPoint temp3 ;
7565 wxSize temp4 ;
7566 bool temp6 = false ;
7567 PyObject * obj0 = 0 ;
7568 PyObject * obj1 = 0 ;
7569 PyObject * obj2 = 0 ;
7570 PyObject * obj3 = 0 ;
7571 PyObject * obj4 = 0 ;
7572 PyObject * obj5 = 0 ;
7573 char *kwnames[] = {
7574 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7575 };
7576
7577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7578 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7579 if (SWIG_arg_fail(1)) SWIG_fail;
7580 if (obj1) {
7581 {
7582 arg2 = static_cast<int >(SWIG_As_int(obj1));
7583 if (SWIG_arg_fail(2)) SWIG_fail;
7584 }
7585 }
7586 if (obj2) {
7587 {
7588 arg3 = &temp3;
7589 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7590 }
7591 }
7592 if (obj3) {
7593 {
7594 arg4 = &temp4;
7595 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7596 }
7597 }
7598 if (obj4) {
7599 {
7600 arg5 = static_cast<long >(SWIG_As_long(obj4));
7601 if (SWIG_arg_fail(5)) SWIG_fail;
7602 }
7603 }
7604 if (obj5) {
7605 {
7606 arg6 = wxString_in_helper(obj5);
7607 if (arg6 == NULL) SWIG_fail;
7608 temp6 = true;
7609 }
7610 }
7611 {
7612 if (!wxPyCheckForApp()) SWIG_fail;
7613 PyThreadState* __tstate = wxPyBeginAllowThreads();
7614 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7615
7616 wxPyEndAllowThreads(__tstate);
7617 if (PyErr_Occurred()) SWIG_fail;
7618 }
7619 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
7620 {
7621 if (temp6)
7622 delete arg6;
7623 }
7624 return resultobj;
7625 fail:
7626 {
7627 if (temp6)
7628 delete arg6;
7629 }
7630 return NULL;
7631 }
7632
7633
7634 static PyObject *_wrap_new_PreSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7635 PyObject *resultobj = NULL;
7636 wxSplitterWindow *result;
7637 char *kwnames[] = {
7638 NULL
7639 };
7640
7641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
7642 {
7643 if (!wxPyCheckForApp()) SWIG_fail;
7644 PyThreadState* __tstate = wxPyBeginAllowThreads();
7645 result = (wxSplitterWindow *)new wxSplitterWindow();
7646
7647 wxPyEndAllowThreads(__tstate);
7648 if (PyErr_Occurred()) SWIG_fail;
7649 }
7650 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
7651 return resultobj;
7652 fail:
7653 return NULL;
7654 }
7655
7656
7657 static PyObject *_wrap_SplitterWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7658 PyObject *resultobj = NULL;
7659 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7660 wxWindow *arg2 = (wxWindow *) 0 ;
7661 int arg3 = (int) -1 ;
7662 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7663 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7664 wxSize const &arg5_defvalue = wxDefaultSize ;
7665 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7666 long arg6 = (long) wxSP_3D ;
7667 wxString const &arg7_defvalue = wxPySplitterNameStr ;
7668 wxString *arg7 = (wxString *) &arg7_defvalue ;
7669 bool result;
7670 wxPoint temp4 ;
7671 wxSize temp5 ;
7672 bool temp7 = false ;
7673 PyObject * obj0 = 0 ;
7674 PyObject * obj1 = 0 ;
7675 PyObject * obj2 = 0 ;
7676 PyObject * obj3 = 0 ;
7677 PyObject * obj4 = 0 ;
7678 PyObject * obj5 = 0 ;
7679 PyObject * obj6 = 0 ;
7680 char *kwnames[] = {
7681 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7682 };
7683
7684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
7685 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7686 if (SWIG_arg_fail(1)) SWIG_fail;
7687 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7688 if (SWIG_arg_fail(2)) SWIG_fail;
7689 if (obj2) {
7690 {
7691 arg3 = static_cast<int >(SWIG_As_int(obj2));
7692 if (SWIG_arg_fail(3)) SWIG_fail;
7693 }
7694 }
7695 if (obj3) {
7696 {
7697 arg4 = &temp4;
7698 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7699 }
7700 }
7701 if (obj4) {
7702 {
7703 arg5 = &temp5;
7704 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7705 }
7706 }
7707 if (obj5) {
7708 {
7709 arg6 = static_cast<long >(SWIG_As_long(obj5));
7710 if (SWIG_arg_fail(6)) SWIG_fail;
7711 }
7712 }
7713 if (obj6) {
7714 {
7715 arg7 = wxString_in_helper(obj6);
7716 if (arg7 == NULL) SWIG_fail;
7717 temp7 = true;
7718 }
7719 }
7720 {
7721 PyThreadState* __tstate = wxPyBeginAllowThreads();
7722 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7723
7724 wxPyEndAllowThreads(__tstate);
7725 if (PyErr_Occurred()) SWIG_fail;
7726 }
7727 {
7728 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7729 }
7730 {
7731 if (temp7)
7732 delete arg7;
7733 }
7734 return resultobj;
7735 fail:
7736 {
7737 if (temp7)
7738 delete arg7;
7739 }
7740 return NULL;
7741 }
7742
7743
7744 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *, PyObject *args, PyObject *kwargs) {
7745 PyObject *resultobj = NULL;
7746 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7747 wxWindow *result;
7748 PyObject * obj0 = 0 ;
7749 char *kwnames[] = {
7750 (char *) "self", NULL
7751 };
7752
7753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
7754 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7755 if (SWIG_arg_fail(1)) SWIG_fail;
7756 {
7757 PyThreadState* __tstate = wxPyBeginAllowThreads();
7758 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
7759
7760 wxPyEndAllowThreads(__tstate);
7761 if (PyErr_Occurred()) SWIG_fail;
7762 }
7763 {
7764 resultobj = wxPyMake_wxObject(result, 0);
7765 }
7766 return resultobj;
7767 fail:
7768 return NULL;
7769 }
7770
7771
7772 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *, PyObject *args, PyObject *kwargs) {
7773 PyObject *resultobj = NULL;
7774 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7775 wxWindow *result;
7776 PyObject * obj0 = 0 ;
7777 char *kwnames[] = {
7778 (char *) "self", NULL
7779 };
7780
7781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
7782 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7783 if (SWIG_arg_fail(1)) SWIG_fail;
7784 {
7785 PyThreadState* __tstate = wxPyBeginAllowThreads();
7786 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
7787
7788 wxPyEndAllowThreads(__tstate);
7789 if (PyErr_Occurred()) SWIG_fail;
7790 }
7791 {
7792 resultobj = wxPyMake_wxObject(result, 0);
7793 }
7794 return resultobj;
7795 fail:
7796 return NULL;
7797 }
7798
7799
7800 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
7801 PyObject *resultobj = NULL;
7802 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7803 int arg2 ;
7804 PyObject * obj0 = 0 ;
7805 PyObject * obj1 = 0 ;
7806 char *kwnames[] = {
7807 (char *) "self",(char *) "mode", NULL
7808 };
7809
7810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
7811 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7812 if (SWIG_arg_fail(1)) SWIG_fail;
7813 {
7814 arg2 = static_cast<int >(SWIG_As_int(obj1));
7815 if (SWIG_arg_fail(2)) SWIG_fail;
7816 }
7817 {
7818 PyThreadState* __tstate = wxPyBeginAllowThreads();
7819 (arg1)->SetSplitMode(arg2);
7820
7821 wxPyEndAllowThreads(__tstate);
7822 if (PyErr_Occurred()) SWIG_fail;
7823 }
7824 Py_INCREF(Py_None); resultobj = Py_None;
7825 return resultobj;
7826 fail:
7827 return NULL;
7828 }
7829
7830
7831 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
7832 PyObject *resultobj = NULL;
7833 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7834 wxSplitMode result;
7835 PyObject * obj0 = 0 ;
7836 char *kwnames[] = {
7837 (char *) "self", NULL
7838 };
7839
7840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
7841 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7842 if (SWIG_arg_fail(1)) SWIG_fail;
7843 {
7844 PyThreadState* __tstate = wxPyBeginAllowThreads();
7845 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
7846
7847 wxPyEndAllowThreads(__tstate);
7848 if (PyErr_Occurred()) SWIG_fail;
7849 }
7850 resultobj = SWIG_From_int((result));
7851 return resultobj;
7852 fail:
7853 return NULL;
7854 }
7855
7856
7857 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
7858 PyObject *resultobj = NULL;
7859 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7860 wxWindow *arg2 = (wxWindow *) 0 ;
7861 PyObject * obj0 = 0 ;
7862 PyObject * obj1 = 0 ;
7863 char *kwnames[] = {
7864 (char *) "self",(char *) "window", NULL
7865 };
7866
7867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
7868 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7869 if (SWIG_arg_fail(1)) SWIG_fail;
7870 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7871 if (SWIG_arg_fail(2)) SWIG_fail;
7872 {
7873 PyThreadState* __tstate = wxPyBeginAllowThreads();
7874 (arg1)->Initialize(arg2);
7875
7876 wxPyEndAllowThreads(__tstate);
7877 if (PyErr_Occurred()) SWIG_fail;
7878 }
7879 Py_INCREF(Py_None); resultobj = Py_None;
7880 return resultobj;
7881 fail:
7882 return NULL;
7883 }
7884
7885
7886 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *, PyObject *args, PyObject *kwargs) {
7887 PyObject *resultobj = NULL;
7888 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7889 wxWindow *arg2 = (wxWindow *) 0 ;
7890 wxWindow *arg3 = (wxWindow *) 0 ;
7891 int arg4 = (int) 0 ;
7892 bool result;
7893 PyObject * obj0 = 0 ;
7894 PyObject * obj1 = 0 ;
7895 PyObject * obj2 = 0 ;
7896 PyObject * obj3 = 0 ;
7897 char *kwnames[] = {
7898 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7899 };
7900
7901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7903 if (SWIG_arg_fail(1)) SWIG_fail;
7904 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7905 if (SWIG_arg_fail(2)) SWIG_fail;
7906 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7907 if (SWIG_arg_fail(3)) SWIG_fail;
7908 if (obj3) {
7909 {
7910 arg4 = static_cast<int >(SWIG_As_int(obj3));
7911 if (SWIG_arg_fail(4)) SWIG_fail;
7912 }
7913 }
7914 {
7915 PyThreadState* __tstate = wxPyBeginAllowThreads();
7916 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
7917
7918 wxPyEndAllowThreads(__tstate);
7919 if (PyErr_Occurred()) SWIG_fail;
7920 }
7921 {
7922 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7923 }
7924 return resultobj;
7925 fail:
7926 return NULL;
7927 }
7928
7929
7930 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *, PyObject *args, PyObject *kwargs) {
7931 PyObject *resultobj = NULL;
7932 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7933 wxWindow *arg2 = (wxWindow *) 0 ;
7934 wxWindow *arg3 = (wxWindow *) 0 ;
7935 int arg4 = (int) 0 ;
7936 bool result;
7937 PyObject * obj0 = 0 ;
7938 PyObject * obj1 = 0 ;
7939 PyObject * obj2 = 0 ;
7940 PyObject * obj3 = 0 ;
7941 char *kwnames[] = {
7942 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7943 };
7944
7945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7946 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7947 if (SWIG_arg_fail(1)) SWIG_fail;
7948 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7949 if (SWIG_arg_fail(2)) SWIG_fail;
7950 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7951 if (SWIG_arg_fail(3)) SWIG_fail;
7952 if (obj3) {
7953 {
7954 arg4 = static_cast<int >(SWIG_As_int(obj3));
7955 if (SWIG_arg_fail(4)) SWIG_fail;
7956 }
7957 }
7958 {
7959 PyThreadState* __tstate = wxPyBeginAllowThreads();
7960 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
7961
7962 wxPyEndAllowThreads(__tstate);
7963 if (PyErr_Occurred()) SWIG_fail;
7964 }
7965 {
7966 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7967 }
7968 return resultobj;
7969 fail:
7970 return NULL;
7971 }
7972
7973
7974 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *, PyObject *args, PyObject *kwargs) {
7975 PyObject *resultobj = NULL;
7976 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7977 wxWindow *arg2 = (wxWindow *) NULL ;
7978 bool result;
7979 PyObject * obj0 = 0 ;
7980 PyObject * obj1 = 0 ;
7981 char *kwnames[] = {
7982 (char *) "self",(char *) "toRemove", NULL
7983 };
7984
7985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
7986 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7987 if (SWIG_arg_fail(1)) SWIG_fail;
7988 if (obj1) {
7989 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7990 if (SWIG_arg_fail(2)) SWIG_fail;
7991 }
7992 {
7993 PyThreadState* __tstate = wxPyBeginAllowThreads();
7994 result = (bool)(arg1)->Unsplit(arg2);
7995
7996 wxPyEndAllowThreads(__tstate);
7997 if (PyErr_Occurred()) SWIG_fail;
7998 }
7999 {
8000 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8001 }
8002 return resultobj;
8003 fail:
8004 return NULL;
8005 }
8006
8007
8008 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8009 PyObject *resultobj = NULL;
8010 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8011 wxWindow *arg2 = (wxWindow *) 0 ;
8012 wxWindow *arg3 = (wxWindow *) 0 ;
8013 bool result;
8014 PyObject * obj0 = 0 ;
8015 PyObject * obj1 = 0 ;
8016 PyObject * obj2 = 0 ;
8017 char *kwnames[] = {
8018 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
8019 };
8020
8021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
8022 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8023 if (SWIG_arg_fail(1)) SWIG_fail;
8024 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8025 if (SWIG_arg_fail(2)) SWIG_fail;
8026 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8027 if (SWIG_arg_fail(3)) SWIG_fail;
8028 {
8029 PyThreadState* __tstate = wxPyBeginAllowThreads();
8030 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
8031
8032 wxPyEndAllowThreads(__tstate);
8033 if (PyErr_Occurred()) SWIG_fail;
8034 }
8035 {
8036 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8037 }
8038 return resultobj;
8039 fail:
8040 return NULL;
8041 }
8042
8043
8044 static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *, PyObject *args, PyObject *kwargs) {
8045 PyObject *resultobj = NULL;
8046 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8047 PyObject * obj0 = 0 ;
8048 char *kwnames[] = {
8049 (char *) "self", NULL
8050 };
8051
8052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
8053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8054 if (SWIG_arg_fail(1)) SWIG_fail;
8055 {
8056 PyThreadState* __tstate = wxPyBeginAllowThreads();
8057 (arg1)->UpdateSize();
8058
8059 wxPyEndAllowThreads(__tstate);
8060 if (PyErr_Occurred()) SWIG_fail;
8061 }
8062 Py_INCREF(Py_None); resultobj = Py_None;
8063 return resultobj;
8064 fail:
8065 return NULL;
8066 }
8067
8068
8069 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *, PyObject *args, PyObject *kwargs) {
8070 PyObject *resultobj = NULL;
8071 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8072 bool result;
8073 PyObject * obj0 = 0 ;
8074 char *kwnames[] = {
8075 (char *) "self", NULL
8076 };
8077
8078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
8079 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8080 if (SWIG_arg_fail(1)) SWIG_fail;
8081 {
8082 PyThreadState* __tstate = wxPyBeginAllowThreads();
8083 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
8084
8085 wxPyEndAllowThreads(__tstate);
8086 if (PyErr_Occurred()) SWIG_fail;
8087 }
8088 {
8089 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8090 }
8091 return resultobj;
8092 fail:
8093 return NULL;
8094 }
8095
8096
8097 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
8098 PyObject *resultobj = NULL;
8099 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8100 int arg2 ;
8101 PyObject * obj0 = 0 ;
8102 PyObject * obj1 = 0 ;
8103 char *kwnames[] = {
8104 (char *) "self",(char *) "width", NULL
8105 };
8106
8107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
8108 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8109 if (SWIG_arg_fail(1)) SWIG_fail;
8110 {
8111 arg2 = static_cast<int >(SWIG_As_int(obj1));
8112 if (SWIG_arg_fail(2)) SWIG_fail;
8113 }
8114 {
8115 PyThreadState* __tstate = wxPyBeginAllowThreads();
8116 (arg1)->SetSashSize(arg2);
8117
8118 wxPyEndAllowThreads(__tstate);
8119 if (PyErr_Occurred()) SWIG_fail;
8120 }
8121 Py_INCREF(Py_None); resultobj = Py_None;
8122 return resultobj;
8123 fail:
8124 return NULL;
8125 }
8126
8127
8128 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
8129 PyObject *resultobj = NULL;
8130 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8131 int arg2 ;
8132 PyObject * obj0 = 0 ;
8133 PyObject * obj1 = 0 ;
8134 char *kwnames[] = {
8135 (char *) "self",(char *) "width", NULL
8136 };
8137
8138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
8139 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8140 if (SWIG_arg_fail(1)) SWIG_fail;
8141 {
8142 arg2 = static_cast<int >(SWIG_As_int(obj1));
8143 if (SWIG_arg_fail(2)) SWIG_fail;
8144 }
8145 {
8146 PyThreadState* __tstate = wxPyBeginAllowThreads();
8147 (arg1)->SetBorderSize(arg2);
8148
8149 wxPyEndAllowThreads(__tstate);
8150 if (PyErr_Occurred()) SWIG_fail;
8151 }
8152 Py_INCREF(Py_None); resultobj = Py_None;
8153 return resultobj;
8154 fail:
8155 return NULL;
8156 }
8157
8158
8159 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
8160 PyObject *resultobj = NULL;
8161 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8162 int result;
8163 PyObject * obj0 = 0 ;
8164 char *kwnames[] = {
8165 (char *) "self", NULL
8166 };
8167
8168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
8169 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8170 if (SWIG_arg_fail(1)) SWIG_fail;
8171 {
8172 PyThreadState* __tstate = wxPyBeginAllowThreads();
8173 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
8174
8175 wxPyEndAllowThreads(__tstate);
8176 if (PyErr_Occurred()) SWIG_fail;
8177 }
8178 {
8179 resultobj = SWIG_From_int(static_cast<int >(result));
8180 }
8181 return resultobj;
8182 fail:
8183 return NULL;
8184 }
8185
8186
8187 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
8188 PyObject *resultobj = NULL;
8189 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8190 int result;
8191 PyObject * obj0 = 0 ;
8192 char *kwnames[] = {
8193 (char *) "self", NULL
8194 };
8195
8196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
8197 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8198 if (SWIG_arg_fail(1)) SWIG_fail;
8199 {
8200 PyThreadState* __tstate = wxPyBeginAllowThreads();
8201 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
8202
8203 wxPyEndAllowThreads(__tstate);
8204 if (PyErr_Occurred()) SWIG_fail;
8205 }
8206 {
8207 resultobj = SWIG_From_int(static_cast<int >(result));
8208 }
8209 return resultobj;
8210 fail:
8211 return NULL;
8212 }
8213
8214
8215 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
8216 PyObject *resultobj = NULL;
8217 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8218 int arg2 ;
8219 bool arg3 = (bool) true ;
8220 PyObject * obj0 = 0 ;
8221 PyObject * obj1 = 0 ;
8222 PyObject * obj2 = 0 ;
8223 char *kwnames[] = {
8224 (char *) "self",(char *) "position",(char *) "redraw", NULL
8225 };
8226
8227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
8228 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8229 if (SWIG_arg_fail(1)) SWIG_fail;
8230 {
8231 arg2 = static_cast<int >(SWIG_As_int(obj1));
8232 if (SWIG_arg_fail(2)) SWIG_fail;
8233 }
8234 if (obj2) {
8235 {
8236 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
8237 if (SWIG_arg_fail(3)) SWIG_fail;
8238 }
8239 }
8240 {
8241 PyThreadState* __tstate = wxPyBeginAllowThreads();
8242 (arg1)->SetSashPosition(arg2,arg3);
8243
8244 wxPyEndAllowThreads(__tstate);
8245 if (PyErr_Occurred()) SWIG_fail;
8246 }
8247 Py_INCREF(Py_None); resultobj = Py_None;
8248 return resultobj;
8249 fail:
8250 return NULL;
8251 }
8252
8253
8254 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
8255 PyObject *resultobj = NULL;
8256 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8257 int result;
8258 PyObject * obj0 = 0 ;
8259 char *kwnames[] = {
8260 (char *) "self", NULL
8261 };
8262
8263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
8264 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8265 if (SWIG_arg_fail(1)) SWIG_fail;
8266 {
8267 PyThreadState* __tstate = wxPyBeginAllowThreads();
8268 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
8269
8270 wxPyEndAllowThreads(__tstate);
8271 if (PyErr_Occurred()) SWIG_fail;
8272 }
8273 {
8274 resultobj = SWIG_From_int(static_cast<int >(result));
8275 }
8276 return resultobj;
8277 fail:
8278 return NULL;
8279 }
8280
8281
8282 static PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) {
8283 PyObject *resultobj = NULL;
8284 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8285 double arg2 ;
8286 PyObject * obj0 = 0 ;
8287 PyObject * obj1 = 0 ;
8288 char *kwnames[] = {
8289 (char *) "self",(char *) "gravity", NULL
8290 };
8291
8292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) goto fail;
8293 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8294 if (SWIG_arg_fail(1)) SWIG_fail;
8295 {
8296 arg2 = static_cast<double >(SWIG_As_double(obj1));
8297 if (SWIG_arg_fail(2)) SWIG_fail;
8298 }
8299 {
8300 PyThreadState* __tstate = wxPyBeginAllowThreads();
8301 (arg1)->SetSashGravity(arg2);
8302
8303 wxPyEndAllowThreads(__tstate);
8304 if (PyErr_Occurred()) SWIG_fail;
8305 }
8306 Py_INCREF(Py_None); resultobj = Py_None;
8307 return resultobj;
8308 fail:
8309 return NULL;
8310 }
8311
8312
8313 static PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) {
8314 PyObject *resultobj = NULL;
8315 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8316 double result;
8317 PyObject * obj0 = 0 ;
8318 char *kwnames[] = {
8319 (char *) "self", NULL
8320 };
8321
8322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashGravity",kwnames,&obj0)) goto fail;
8323 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8324 if (SWIG_arg_fail(1)) SWIG_fail;
8325 {
8326 PyThreadState* __tstate = wxPyBeginAllowThreads();
8327 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
8328
8329 wxPyEndAllowThreads(__tstate);
8330 if (PyErr_Occurred()) SWIG_fail;
8331 }
8332 {
8333 resultobj = SWIG_From_double(static_cast<double >(result));
8334 }
8335 return resultobj;
8336 fail:
8337 return NULL;
8338 }
8339
8340
8341 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
8342 PyObject *resultobj = NULL;
8343 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8344 int arg2 ;
8345 PyObject * obj0 = 0 ;
8346 PyObject * obj1 = 0 ;
8347 char *kwnames[] = {
8348 (char *) "self",(char *) "min", NULL
8349 };
8350
8351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
8352 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8353 if (SWIG_arg_fail(1)) SWIG_fail;
8354 {
8355 arg2 = static_cast<int >(SWIG_As_int(obj1));
8356 if (SWIG_arg_fail(2)) SWIG_fail;
8357 }
8358 {
8359 PyThreadState* __tstate = wxPyBeginAllowThreads();
8360 (arg1)->SetMinimumPaneSize(arg2);
8361
8362 wxPyEndAllowThreads(__tstate);
8363 if (PyErr_Occurred()) SWIG_fail;
8364 }
8365 Py_INCREF(Py_None); resultobj = Py_None;
8366 return resultobj;
8367 fail:
8368 return NULL;
8369 }
8370
8371
8372 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
8373 PyObject *resultobj = NULL;
8374 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8375 int result;
8376 PyObject * obj0 = 0 ;
8377 char *kwnames[] = {
8378 (char *) "self", NULL
8379 };
8380
8381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
8382 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8383 if (SWIG_arg_fail(1)) SWIG_fail;
8384 {
8385 PyThreadState* __tstate = wxPyBeginAllowThreads();
8386 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
8387
8388 wxPyEndAllowThreads(__tstate);
8389 if (PyErr_Occurred()) SWIG_fail;
8390 }
8391 {
8392 resultobj = SWIG_From_int(static_cast<int >(result));
8393 }
8394 return resultobj;
8395 fail:
8396 return NULL;
8397 }
8398
8399
8400 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
8401 PyObject *resultobj = NULL;
8402 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8403 int arg2 ;
8404 int arg3 ;
8405 int arg4 = (int) 5 ;
8406 bool result;
8407 PyObject * obj0 = 0 ;
8408 PyObject * obj1 = 0 ;
8409 PyObject * obj2 = 0 ;
8410 PyObject * obj3 = 0 ;
8411 char *kwnames[] = {
8412 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
8413 };
8414
8415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8416 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8417 if (SWIG_arg_fail(1)) SWIG_fail;
8418 {
8419 arg2 = static_cast<int >(SWIG_As_int(obj1));
8420 if (SWIG_arg_fail(2)) SWIG_fail;
8421 }
8422 {
8423 arg3 = static_cast<int >(SWIG_As_int(obj2));
8424 if (SWIG_arg_fail(3)) SWIG_fail;
8425 }
8426 if (obj3) {
8427 {
8428 arg4 = static_cast<int >(SWIG_As_int(obj3));
8429 if (SWIG_arg_fail(4)) SWIG_fail;
8430 }
8431 }
8432 {
8433 PyThreadState* __tstate = wxPyBeginAllowThreads();
8434 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
8435
8436 wxPyEndAllowThreads(__tstate);
8437 if (PyErr_Occurred()) SWIG_fail;
8438 }
8439 {
8440 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8441 }
8442 return resultobj;
8443 fail:
8444 return NULL;
8445 }
8446
8447
8448 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
8449 PyObject *resultobj = NULL;
8450 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8451 PyObject * obj0 = 0 ;
8452 char *kwnames[] = {
8453 (char *) "self", NULL
8454 };
8455
8456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
8457 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8458 if (SWIG_arg_fail(1)) SWIG_fail;
8459 {
8460 PyThreadState* __tstate = wxPyBeginAllowThreads();
8461 (arg1)->SizeWindows();
8462
8463 wxPyEndAllowThreads(__tstate);
8464 if (PyErr_Occurred()) SWIG_fail;
8465 }
8466 Py_INCREF(Py_None); resultobj = Py_None;
8467 return resultobj;
8468 fail:
8469 return NULL;
8470 }
8471
8472
8473 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
8474 PyObject *resultobj = NULL;
8475 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8476 bool arg2 ;
8477 PyObject * obj0 = 0 ;
8478 PyObject * obj1 = 0 ;
8479 char *kwnames[] = {
8480 (char *) "self",(char *) "needUpdating", NULL
8481 };
8482
8483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
8484 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8485 if (SWIG_arg_fail(1)) SWIG_fail;
8486 {
8487 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
8488 if (SWIG_arg_fail(2)) SWIG_fail;
8489 }
8490 {
8491 PyThreadState* __tstate = wxPyBeginAllowThreads();
8492 (arg1)->SetNeedUpdating(arg2);
8493
8494 wxPyEndAllowThreads(__tstate);
8495 if (PyErr_Occurred()) SWIG_fail;
8496 }
8497 Py_INCREF(Py_None); resultobj = Py_None;
8498 return resultobj;
8499 fail:
8500 return NULL;
8501 }
8502
8503
8504 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
8505 PyObject *resultobj = NULL;
8506 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8507 bool result;
8508 PyObject * obj0 = 0 ;
8509 char *kwnames[] = {
8510 (char *) "self", NULL
8511 };
8512
8513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
8514 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8515 if (SWIG_arg_fail(1)) SWIG_fail;
8516 {
8517 PyThreadState* __tstate = wxPyBeginAllowThreads();
8518 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
8519
8520 wxPyEndAllowThreads(__tstate);
8521 if (PyErr_Occurred()) SWIG_fail;
8522 }
8523 {
8524 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8525 }
8526 return resultobj;
8527 fail:
8528 return NULL;
8529 }
8530
8531
8532 static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
8533 PyObject *resultobj = NULL;
8534 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8535 wxVisualAttributes result;
8536 PyObject * obj0 = 0 ;
8537 char *kwnames[] = {
8538 (char *) "variant", NULL
8539 };
8540
8541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
8542 if (obj0) {
8543 {
8544 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
8545 if (SWIG_arg_fail(1)) SWIG_fail;
8546 }
8547 }
8548 {
8549 if (!wxPyCheckForApp()) SWIG_fail;
8550 PyThreadState* __tstate = wxPyBeginAllowThreads();
8551 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
8552
8553 wxPyEndAllowThreads(__tstate);
8554 if (PyErr_Occurred()) SWIG_fail;
8555 }
8556 {
8557 wxVisualAttributes * resultptr;
8558 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
8559 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
8560 }
8561 return resultobj;
8562 fail:
8563 return NULL;
8564 }
8565
8566
8567 static PyObject * SplitterWindow_swigregister(PyObject *, PyObject *args) {
8568 PyObject *obj;
8569 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8570 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
8571 Py_INCREF(obj);
8572 return Py_BuildValue((char *)"");
8573 }
8574 static PyObject *_wrap_new_SplitterEvent(PyObject *, PyObject *args, PyObject *kwargs) {
8575 PyObject *resultobj = NULL;
8576 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
8577 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
8578 wxSplitterEvent *result;
8579 PyObject * obj0 = 0 ;
8580 PyObject * obj1 = 0 ;
8581 char *kwnames[] = {
8582 (char *) "type",(char *) "splitter", NULL
8583 };
8584
8585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
8586 if (obj0) {
8587 {
8588 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
8589 if (SWIG_arg_fail(1)) SWIG_fail;
8590 }
8591 }
8592 if (obj1) {
8593 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8594 if (SWIG_arg_fail(2)) SWIG_fail;
8595 }
8596 {
8597 PyThreadState* __tstate = wxPyBeginAllowThreads();
8598 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
8599
8600 wxPyEndAllowThreads(__tstate);
8601 if (PyErr_Occurred()) SWIG_fail;
8602 }
8603 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
8604 return resultobj;
8605 fail:
8606 return NULL;
8607 }
8608
8609
8610 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
8611 PyObject *resultobj = NULL;
8612 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8613 int arg2 ;
8614 PyObject * obj0 = 0 ;
8615 PyObject * obj1 = 0 ;
8616 char *kwnames[] = {
8617 (char *) "self",(char *) "pos", NULL
8618 };
8619
8620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
8621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8622 if (SWIG_arg_fail(1)) SWIG_fail;
8623 {
8624 arg2 = static_cast<int >(SWIG_As_int(obj1));
8625 if (SWIG_arg_fail(2)) SWIG_fail;
8626 }
8627 {
8628 PyThreadState* __tstate = wxPyBeginAllowThreads();
8629 (arg1)->SetSashPosition(arg2);
8630
8631 wxPyEndAllowThreads(__tstate);
8632 if (PyErr_Occurred()) SWIG_fail;
8633 }
8634 Py_INCREF(Py_None); resultobj = Py_None;
8635 return resultobj;
8636 fail:
8637 return NULL;
8638 }
8639
8640
8641 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
8642 PyObject *resultobj = NULL;
8643 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8644 int result;
8645 PyObject * obj0 = 0 ;
8646 char *kwnames[] = {
8647 (char *) "self", NULL
8648 };
8649
8650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
8651 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8652 if (SWIG_arg_fail(1)) SWIG_fail;
8653 {
8654 PyThreadState* __tstate = wxPyBeginAllowThreads();
8655 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
8656
8657 wxPyEndAllowThreads(__tstate);
8658 if (PyErr_Occurred()) SWIG_fail;
8659 }
8660 {
8661 resultobj = SWIG_From_int(static_cast<int >(result));
8662 }
8663 return resultobj;
8664 fail:
8665 return NULL;
8666 }
8667
8668
8669 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *, PyObject *args, PyObject *kwargs) {
8670 PyObject *resultobj = NULL;
8671 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8672 wxWindow *result;
8673 PyObject * obj0 = 0 ;
8674 char *kwnames[] = {
8675 (char *) "self", NULL
8676 };
8677
8678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
8679 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8680 if (SWIG_arg_fail(1)) SWIG_fail;
8681 {
8682 PyThreadState* __tstate = wxPyBeginAllowThreads();
8683 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
8684
8685 wxPyEndAllowThreads(__tstate);
8686 if (PyErr_Occurred()) SWIG_fail;
8687 }
8688 {
8689 resultobj = wxPyMake_wxObject(result, 0);
8690 }
8691 return resultobj;
8692 fail:
8693 return NULL;
8694 }
8695
8696
8697 static PyObject *_wrap_SplitterEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
8698 PyObject *resultobj = NULL;
8699 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8700 int result;
8701 PyObject * obj0 = 0 ;
8702 char *kwnames[] = {
8703 (char *) "self", NULL
8704 };
8705
8706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
8707 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8708 if (SWIG_arg_fail(1)) SWIG_fail;
8709 {
8710 PyThreadState* __tstate = wxPyBeginAllowThreads();
8711 result = (int)((wxSplitterEvent const *)arg1)->GetX();
8712
8713 wxPyEndAllowThreads(__tstate);
8714 if (PyErr_Occurred()) SWIG_fail;
8715 }
8716 {
8717 resultobj = SWIG_From_int(static_cast<int >(result));
8718 }
8719 return resultobj;
8720 fail:
8721 return NULL;
8722 }
8723
8724
8725 static PyObject *_wrap_SplitterEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
8726 PyObject *resultobj = NULL;
8727 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8728 int result;
8729 PyObject * obj0 = 0 ;
8730 char *kwnames[] = {
8731 (char *) "self", NULL
8732 };
8733
8734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
8735 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8736 if (SWIG_arg_fail(1)) SWIG_fail;
8737 {
8738 PyThreadState* __tstate = wxPyBeginAllowThreads();
8739 result = (int)((wxSplitterEvent const *)arg1)->GetY();
8740
8741 wxPyEndAllowThreads(__tstate);
8742 if (PyErr_Occurred()) SWIG_fail;
8743 }
8744 {
8745 resultobj = SWIG_From_int(static_cast<int >(result));
8746 }
8747 return resultobj;
8748 fail:
8749 return NULL;
8750 }
8751
8752
8753 static PyObject * SplitterEvent_swigregister(PyObject *, PyObject *args) {
8754 PyObject *obj;
8755 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8756 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
8757 Py_INCREF(obj);
8758 return Py_BuildValue((char *)"");
8759 }
8760 static int _wrap_SashNameStr_set(PyObject *) {
8761 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
8762 return 1;
8763 }
8764
8765
8766 static PyObject *_wrap_SashNameStr_get(void) {
8767 PyObject *pyobj = NULL;
8768
8769 {
8770 #if wxUSE_UNICODE
8771 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
8772 #else
8773 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
8774 #endif
8775 }
8776 return pyobj;
8777 }
8778
8779
8780 static int _wrap_SashLayoutNameStr_set(PyObject *) {
8781 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
8782 return 1;
8783 }
8784
8785
8786 static PyObject *_wrap_SashLayoutNameStr_get(void) {
8787 PyObject *pyobj = NULL;
8788
8789 {
8790 #if wxUSE_UNICODE
8791 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
8792 #else
8793 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
8794 #endif
8795 }
8796 return pyobj;
8797 }
8798
8799
8800 static PyObject *_wrap_new_SashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8801 PyObject *resultobj = NULL;
8802 wxWindow *arg1 = (wxWindow *) 0 ;
8803 int arg2 = (int) -1 ;
8804 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8805 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8806 wxSize const &arg4_defvalue = wxDefaultSize ;
8807 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8808 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8809 wxString const &arg6_defvalue = wxPySashNameStr ;
8810 wxString *arg6 = (wxString *) &arg6_defvalue ;
8811 wxSashWindow *result;
8812 wxPoint temp3 ;
8813 wxSize temp4 ;
8814 bool temp6 = false ;
8815 PyObject * obj0 = 0 ;
8816 PyObject * obj1 = 0 ;
8817 PyObject * obj2 = 0 ;
8818 PyObject * obj3 = 0 ;
8819 PyObject * obj4 = 0 ;
8820 PyObject * obj5 = 0 ;
8821 char *kwnames[] = {
8822 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8823 };
8824
8825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8826 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8827 if (SWIG_arg_fail(1)) SWIG_fail;
8828 if (obj1) {
8829 {
8830 arg2 = static_cast<int >(SWIG_As_int(obj1));
8831 if (SWIG_arg_fail(2)) SWIG_fail;
8832 }
8833 }
8834 if (obj2) {
8835 {
8836 arg3 = &temp3;
8837 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8838 }
8839 }
8840 if (obj3) {
8841 {
8842 arg4 = &temp4;
8843 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8844 }
8845 }
8846 if (obj4) {
8847 {
8848 arg5 = static_cast<long >(SWIG_As_long(obj4));
8849 if (SWIG_arg_fail(5)) SWIG_fail;
8850 }
8851 }
8852 if (obj5) {
8853 {
8854 arg6 = wxString_in_helper(obj5);
8855 if (arg6 == NULL) SWIG_fail;
8856 temp6 = true;
8857 }
8858 }
8859 {
8860 if (!wxPyCheckForApp()) SWIG_fail;
8861 PyThreadState* __tstate = wxPyBeginAllowThreads();
8862 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8863
8864 wxPyEndAllowThreads(__tstate);
8865 if (PyErr_Occurred()) SWIG_fail;
8866 }
8867 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
8868 {
8869 if (temp6)
8870 delete arg6;
8871 }
8872 return resultobj;
8873 fail:
8874 {
8875 if (temp6)
8876 delete arg6;
8877 }
8878 return NULL;
8879 }
8880
8881
8882 static PyObject *_wrap_new_PreSashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8883 PyObject *resultobj = NULL;
8884 wxSashWindow *result;
8885 char *kwnames[] = {
8886 NULL
8887 };
8888
8889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
8890 {
8891 if (!wxPyCheckForApp()) SWIG_fail;
8892 PyThreadState* __tstate = wxPyBeginAllowThreads();
8893 result = (wxSashWindow *)new wxSashWindow();
8894
8895 wxPyEndAllowThreads(__tstate);
8896 if (PyErr_Occurred()) SWIG_fail;
8897 }
8898 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
8899 return resultobj;
8900 fail:
8901 return NULL;
8902 }
8903
8904
8905 static PyObject *_wrap_SashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8906 PyObject *resultobj = NULL;
8907 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8908 wxWindow *arg2 = (wxWindow *) 0 ;
8909 int arg3 = (int) -1 ;
8910 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8911 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8912 wxSize const &arg5_defvalue = wxDefaultSize ;
8913 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8914 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8915 wxString const &arg7_defvalue = wxPySashNameStr ;
8916 wxString *arg7 = (wxString *) &arg7_defvalue ;
8917 bool result;
8918 wxPoint temp4 ;
8919 wxSize temp5 ;
8920 bool temp7 = false ;
8921 PyObject * obj0 = 0 ;
8922 PyObject * obj1 = 0 ;
8923 PyObject * obj2 = 0 ;
8924 PyObject * obj3 = 0 ;
8925 PyObject * obj4 = 0 ;
8926 PyObject * obj5 = 0 ;
8927 PyObject * obj6 = 0 ;
8928 char *kwnames[] = {
8929 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8930 };
8931
8932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8933 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8934 if (SWIG_arg_fail(1)) SWIG_fail;
8935 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8936 if (SWIG_arg_fail(2)) SWIG_fail;
8937 if (obj2) {
8938 {
8939 arg3 = static_cast<int >(SWIG_As_int(obj2));
8940 if (SWIG_arg_fail(3)) SWIG_fail;
8941 }
8942 }
8943 if (obj3) {
8944 {
8945 arg4 = &temp4;
8946 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8947 }
8948 }
8949 if (obj4) {
8950 {
8951 arg5 = &temp5;
8952 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8953 }
8954 }
8955 if (obj5) {
8956 {
8957 arg6 = static_cast<long >(SWIG_As_long(obj5));
8958 if (SWIG_arg_fail(6)) SWIG_fail;
8959 }
8960 }
8961 if (obj6) {
8962 {
8963 arg7 = wxString_in_helper(obj6);
8964 if (arg7 == NULL) SWIG_fail;
8965 temp7 = true;
8966 }
8967 }
8968 {
8969 PyThreadState* __tstate = wxPyBeginAllowThreads();
8970 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8971
8972 wxPyEndAllowThreads(__tstate);
8973 if (PyErr_Occurred()) SWIG_fail;
8974 }
8975 {
8976 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8977 }
8978 {
8979 if (temp7)
8980 delete arg7;
8981 }
8982 return resultobj;
8983 fail:
8984 {
8985 if (temp7)
8986 delete arg7;
8987 }
8988 return NULL;
8989 }
8990
8991
8992 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
8993 PyObject *resultobj = NULL;
8994 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8995 wxSashEdgePosition arg2 ;
8996 bool arg3 ;
8997 PyObject * obj0 = 0 ;
8998 PyObject * obj1 = 0 ;
8999 PyObject * obj2 = 0 ;
9000 char *kwnames[] = {
9001 (char *) "self",(char *) "edge",(char *) "sash", NULL
9002 };
9003
9004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
9005 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9006 if (SWIG_arg_fail(1)) SWIG_fail;
9007 {
9008 arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1));
9009 if (SWIG_arg_fail(2)) SWIG_fail;
9010 }
9011 {
9012 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
9013 if (SWIG_arg_fail(3)) SWIG_fail;
9014 }
9015 {
9016 PyThreadState* __tstate = wxPyBeginAllowThreads();
9017 (arg1)->SetSashVisible(arg2,arg3);
9018
9019 wxPyEndAllowThreads(__tstate);
9020 if (PyErr_Occurred()) SWIG_fail;
9021 }
9022 Py_INCREF(Py_None); resultobj = Py_None;
9023 return resultobj;
9024 fail:
9025 return NULL;
9026 }
9027
9028
9029 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
9030 PyObject *resultobj = NULL;
9031 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9032 wxSashEdgePosition arg2 ;
9033 bool result;
9034 PyObject * obj0 = 0 ;
9035 PyObject * obj1 = 0 ;
9036 char *kwnames[] = {
9037 (char *) "self",(char *) "edge", NULL
9038 };
9039
9040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
9041 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9042 if (SWIG_arg_fail(1)) SWIG_fail;
9043 {
9044 arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1));
9045 if (SWIG_arg_fail(2)) SWIG_fail;
9046 }
9047 {
9048 PyThreadState* __tstate = wxPyBeginAllowThreads();
9049 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
9050
9051 wxPyEndAllowThreads(__tstate);
9052 if (PyErr_Occurred()) SWIG_fail;
9053 }
9054 {
9055 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9056 }
9057 return resultobj;
9058 fail:
9059 return NULL;
9060 }
9061
9062
9063 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *, PyObject *args, PyObject *kwargs) {
9064 PyObject *resultobj = NULL;
9065 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9066 wxSashEdgePosition arg2 ;
9067 bool arg3 ;
9068 PyObject * obj0 = 0 ;
9069 PyObject * obj1 = 0 ;
9070 PyObject * obj2 = 0 ;
9071 char *kwnames[] = {
9072 (char *) "self",(char *) "edge",(char *) "border", NULL
9073 };
9074
9075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
9076 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9077 if (SWIG_arg_fail(1)) SWIG_fail;
9078 {
9079 arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1));
9080 if (SWIG_arg_fail(2)) SWIG_fail;
9081 }
9082 {
9083 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
9084 if (SWIG_arg_fail(3)) SWIG_fail;
9085 }
9086 {
9087 PyThreadState* __tstate = wxPyBeginAllowThreads();
9088 (arg1)->SetSashBorder(arg2,arg3);
9089
9090 wxPyEndAllowThreads(__tstate);
9091 if (PyErr_Occurred()) SWIG_fail;
9092 }
9093 Py_INCREF(Py_None); resultobj = Py_None;
9094 return resultobj;
9095 fail:
9096 return NULL;
9097 }
9098
9099
9100 static PyObject *_wrap_SashWindow_HasBorder(PyObject *, PyObject *args, PyObject *kwargs) {
9101 PyObject *resultobj = NULL;
9102 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9103 wxSashEdgePosition arg2 ;
9104 bool result;
9105 PyObject * obj0 = 0 ;
9106 PyObject * obj1 = 0 ;
9107 char *kwnames[] = {
9108 (char *) "self",(char *) "edge", NULL
9109 };
9110
9111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
9112 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9113 if (SWIG_arg_fail(1)) SWIG_fail;
9114 {
9115 arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1));
9116 if (SWIG_arg_fail(2)) SWIG_fail;
9117 }
9118 {
9119 PyThreadState* __tstate = wxPyBeginAllowThreads();
9120 result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2);
9121
9122 wxPyEndAllowThreads(__tstate);
9123 if (PyErr_Occurred()) SWIG_fail;
9124 }
9125 {
9126 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9127 }
9128 return resultobj;
9129 fail:
9130 return NULL;
9131 }
9132
9133
9134 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *, PyObject *args, PyObject *kwargs) {
9135 PyObject *resultobj = NULL;
9136 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9137 wxSashEdgePosition arg2 ;
9138 int result;
9139 PyObject * obj0 = 0 ;
9140 PyObject * obj1 = 0 ;
9141 char *kwnames[] = {
9142 (char *) "self",(char *) "edge", NULL
9143 };
9144
9145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
9146 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9147 if (SWIG_arg_fail(1)) SWIG_fail;
9148 {
9149 arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1));
9150 if (SWIG_arg_fail(2)) SWIG_fail;
9151 }
9152 {
9153 PyThreadState* __tstate = wxPyBeginAllowThreads();
9154 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
9155
9156 wxPyEndAllowThreads(__tstate);
9157 if (PyErr_Occurred()) SWIG_fail;
9158 }
9159 {
9160 resultobj = SWIG_From_int(static_cast<int >(result));
9161 }
9162 return resultobj;
9163 fail:
9164 return NULL;
9165 }
9166
9167
9168 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
9169 PyObject *resultobj = NULL;
9170 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9171 int arg2 ;
9172 PyObject * obj0 = 0 ;
9173 PyObject * obj1 = 0 ;
9174 char *kwnames[] = {
9175 (char *) "self",(char *) "width", NULL
9176 };
9177
9178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
9179 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9180 if (SWIG_arg_fail(1)) SWIG_fail;
9181 {
9182 arg2 = static_cast<int >(SWIG_As_int(obj1));
9183 if (SWIG_arg_fail(2)) SWIG_fail;
9184 }
9185 {
9186 PyThreadState* __tstate = wxPyBeginAllowThreads();
9187 (arg1)->SetDefaultBorderSize(arg2);
9188
9189 wxPyEndAllowThreads(__tstate);
9190 if (PyErr_Occurred()) SWIG_fail;
9191 }
9192 Py_INCREF(Py_None); resultobj = Py_None;
9193 return resultobj;
9194 fail:
9195 return NULL;
9196 }
9197
9198
9199 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
9200 PyObject *resultobj = NULL;
9201 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9202 int result;
9203 PyObject * obj0 = 0 ;
9204 char *kwnames[] = {
9205 (char *) "self", NULL
9206 };
9207
9208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
9209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9210 if (SWIG_arg_fail(1)) SWIG_fail;
9211 {
9212 PyThreadState* __tstate = wxPyBeginAllowThreads();
9213 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
9214
9215 wxPyEndAllowThreads(__tstate);
9216 if (PyErr_Occurred()) SWIG_fail;
9217 }
9218 {
9219 resultobj = SWIG_From_int(static_cast<int >(result));
9220 }
9221 return resultobj;
9222 fail:
9223 return NULL;
9224 }
9225
9226
9227 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
9228 PyObject *resultobj = NULL;
9229 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9230 int arg2 ;
9231 PyObject * obj0 = 0 ;
9232 PyObject * obj1 = 0 ;
9233 char *kwnames[] = {
9234 (char *) "self",(char *) "width", NULL
9235 };
9236
9237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
9238 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9239 if (SWIG_arg_fail(1)) SWIG_fail;
9240 {
9241 arg2 = static_cast<int >(SWIG_As_int(obj1));
9242 if (SWIG_arg_fail(2)) SWIG_fail;
9243 }
9244 {
9245 PyThreadState* __tstate = wxPyBeginAllowThreads();
9246 (arg1)->SetExtraBorderSize(arg2);
9247
9248 wxPyEndAllowThreads(__tstate);
9249 if (PyErr_Occurred()) SWIG_fail;
9250 }
9251 Py_INCREF(Py_None); resultobj = Py_None;
9252 return resultobj;
9253 fail:
9254 return NULL;
9255 }
9256
9257
9258 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
9259 PyObject *resultobj = NULL;
9260 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9261 int result;
9262 PyObject * obj0 = 0 ;
9263 char *kwnames[] = {
9264 (char *) "self", NULL
9265 };
9266
9267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
9268 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9269 if (SWIG_arg_fail(1)) SWIG_fail;
9270 {
9271 PyThreadState* __tstate = wxPyBeginAllowThreads();
9272 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
9273
9274 wxPyEndAllowThreads(__tstate);
9275 if (PyErr_Occurred()) SWIG_fail;
9276 }
9277 {
9278 resultobj = SWIG_From_int(static_cast<int >(result));
9279 }
9280 return resultobj;
9281 fail:
9282 return NULL;
9283 }
9284
9285
9286 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
9287 PyObject *resultobj = NULL;
9288 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9289 int arg2 ;
9290 PyObject * obj0 = 0 ;
9291 PyObject * obj1 = 0 ;
9292 char *kwnames[] = {
9293 (char *) "self",(char *) "min", NULL
9294 };
9295
9296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
9297 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9298 if (SWIG_arg_fail(1)) SWIG_fail;
9299 {
9300 arg2 = static_cast<int >(SWIG_As_int(obj1));
9301 if (SWIG_arg_fail(2)) SWIG_fail;
9302 }
9303 {
9304 PyThreadState* __tstate = wxPyBeginAllowThreads();
9305 (arg1)->SetMinimumSizeX(arg2);
9306
9307 wxPyEndAllowThreads(__tstate);
9308 if (PyErr_Occurred()) SWIG_fail;
9309 }
9310 Py_INCREF(Py_None); resultobj = Py_None;
9311 return resultobj;
9312 fail:
9313 return NULL;
9314 }
9315
9316
9317 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
9318 PyObject *resultobj = NULL;
9319 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9320 int arg2 ;
9321 PyObject * obj0 = 0 ;
9322 PyObject * obj1 = 0 ;
9323 char *kwnames[] = {
9324 (char *) "self",(char *) "min", NULL
9325 };
9326
9327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
9328 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9329 if (SWIG_arg_fail(1)) SWIG_fail;
9330 {
9331 arg2 = static_cast<int >(SWIG_As_int(obj1));
9332 if (SWIG_arg_fail(2)) SWIG_fail;
9333 }
9334 {
9335 PyThreadState* __tstate = wxPyBeginAllowThreads();
9336 (arg1)->SetMinimumSizeY(arg2);
9337
9338 wxPyEndAllowThreads(__tstate);
9339 if (PyErr_Occurred()) SWIG_fail;
9340 }
9341 Py_INCREF(Py_None); resultobj = Py_None;
9342 return resultobj;
9343 fail:
9344 return NULL;
9345 }
9346
9347
9348 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
9349 PyObject *resultobj = NULL;
9350 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9351 int result;
9352 PyObject * obj0 = 0 ;
9353 char *kwnames[] = {
9354 (char *) "self", NULL
9355 };
9356
9357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
9358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9359 if (SWIG_arg_fail(1)) SWIG_fail;
9360 {
9361 PyThreadState* __tstate = wxPyBeginAllowThreads();
9362 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
9363
9364 wxPyEndAllowThreads(__tstate);
9365 if (PyErr_Occurred()) SWIG_fail;
9366 }
9367 {
9368 resultobj = SWIG_From_int(static_cast<int >(result));
9369 }
9370 return resultobj;
9371 fail:
9372 return NULL;
9373 }
9374
9375
9376 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
9377 PyObject *resultobj = NULL;
9378 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9379 int result;
9380 PyObject * obj0 = 0 ;
9381 char *kwnames[] = {
9382 (char *) "self", NULL
9383 };
9384
9385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
9386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9387 if (SWIG_arg_fail(1)) SWIG_fail;
9388 {
9389 PyThreadState* __tstate = wxPyBeginAllowThreads();
9390 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
9391
9392 wxPyEndAllowThreads(__tstate);
9393 if (PyErr_Occurred()) SWIG_fail;
9394 }
9395 {
9396 resultobj = SWIG_From_int(static_cast<int >(result));
9397 }
9398 return resultobj;
9399 fail:
9400 return NULL;
9401 }
9402
9403
9404 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
9405 PyObject *resultobj = NULL;
9406 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9407 int arg2 ;
9408 PyObject * obj0 = 0 ;
9409 PyObject * obj1 = 0 ;
9410 char *kwnames[] = {
9411 (char *) "self",(char *) "max", NULL
9412 };
9413
9414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
9415 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9416 if (SWIG_arg_fail(1)) SWIG_fail;
9417 {
9418 arg2 = static_cast<int >(SWIG_As_int(obj1));
9419 if (SWIG_arg_fail(2)) SWIG_fail;
9420 }
9421 {
9422 PyThreadState* __tstate = wxPyBeginAllowThreads();
9423 (arg1)->SetMaximumSizeX(arg2);
9424
9425 wxPyEndAllowThreads(__tstate);
9426 if (PyErr_Occurred()) SWIG_fail;
9427 }
9428 Py_INCREF(Py_None); resultobj = Py_None;
9429 return resultobj;
9430 fail:
9431 return NULL;
9432 }
9433
9434
9435 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
9436 PyObject *resultobj = NULL;
9437 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9438 int arg2 ;
9439 PyObject * obj0 = 0 ;
9440 PyObject * obj1 = 0 ;
9441 char *kwnames[] = {
9442 (char *) "self",(char *) "max", NULL
9443 };
9444
9445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
9446 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9447 if (SWIG_arg_fail(1)) SWIG_fail;
9448 {
9449 arg2 = static_cast<int >(SWIG_As_int(obj1));
9450 if (SWIG_arg_fail(2)) SWIG_fail;
9451 }
9452 {
9453 PyThreadState* __tstate = wxPyBeginAllowThreads();
9454 (arg1)->SetMaximumSizeY(arg2);
9455
9456 wxPyEndAllowThreads(__tstate);
9457 if (PyErr_Occurred()) SWIG_fail;
9458 }
9459 Py_INCREF(Py_None); resultobj = Py_None;
9460 return resultobj;
9461 fail:
9462 return NULL;
9463 }
9464
9465
9466 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
9467 PyObject *resultobj = NULL;
9468 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9469 int result;
9470 PyObject * obj0 = 0 ;
9471 char *kwnames[] = {
9472 (char *) "self", NULL
9473 };
9474
9475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
9476 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9477 if (SWIG_arg_fail(1)) SWIG_fail;
9478 {
9479 PyThreadState* __tstate = wxPyBeginAllowThreads();
9480 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
9481
9482 wxPyEndAllowThreads(__tstate);
9483 if (PyErr_Occurred()) SWIG_fail;
9484 }
9485 {
9486 resultobj = SWIG_From_int(static_cast<int >(result));
9487 }
9488 return resultobj;
9489 fail:
9490 return NULL;
9491 }
9492
9493
9494 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
9495 PyObject *resultobj = NULL;
9496 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9497 int result;
9498 PyObject * obj0 = 0 ;
9499 char *kwnames[] = {
9500 (char *) "self", NULL
9501 };
9502
9503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
9504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9505 if (SWIG_arg_fail(1)) SWIG_fail;
9506 {
9507 PyThreadState* __tstate = wxPyBeginAllowThreads();
9508 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
9509
9510 wxPyEndAllowThreads(__tstate);
9511 if (PyErr_Occurred()) SWIG_fail;
9512 }
9513 {
9514 resultobj = SWIG_From_int(static_cast<int >(result));
9515 }
9516 return resultobj;
9517 fail:
9518 return NULL;
9519 }
9520
9521
9522 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
9523 PyObject *resultobj = NULL;
9524 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9525 int arg2 ;
9526 int arg3 ;
9527 int arg4 = (int) 2 ;
9528 wxSashEdgePosition result;
9529 PyObject * obj0 = 0 ;
9530 PyObject * obj1 = 0 ;
9531 PyObject * obj2 = 0 ;
9532 PyObject * obj3 = 0 ;
9533 char *kwnames[] = {
9534 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
9535 };
9536
9537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9538 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9539 if (SWIG_arg_fail(1)) SWIG_fail;
9540 {
9541 arg2 = static_cast<int >(SWIG_As_int(obj1));
9542 if (SWIG_arg_fail(2)) SWIG_fail;
9543 }
9544 {
9545 arg3 = static_cast<int >(SWIG_As_int(obj2));
9546 if (SWIG_arg_fail(3)) SWIG_fail;
9547 }
9548 if (obj3) {
9549 {
9550 arg4 = static_cast<int >(SWIG_As_int(obj3));
9551 if (SWIG_arg_fail(4)) SWIG_fail;
9552 }
9553 }
9554 {
9555 PyThreadState* __tstate = wxPyBeginAllowThreads();
9556 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
9557
9558 wxPyEndAllowThreads(__tstate);
9559 if (PyErr_Occurred()) SWIG_fail;
9560 }
9561 resultobj = SWIG_From_int((result));
9562 return resultobj;
9563 fail:
9564 return NULL;
9565 }
9566
9567
9568 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
9569 PyObject *resultobj = NULL;
9570 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9571 PyObject * obj0 = 0 ;
9572 char *kwnames[] = {
9573 (char *) "self", NULL
9574 };
9575
9576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
9577 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9578 if (SWIG_arg_fail(1)) SWIG_fail;
9579 {
9580 PyThreadState* __tstate = wxPyBeginAllowThreads();
9581 (arg1)->SizeWindows();
9582
9583 wxPyEndAllowThreads(__tstate);
9584 if (PyErr_Occurred()) SWIG_fail;
9585 }
9586 Py_INCREF(Py_None); resultobj = Py_None;
9587 return resultobj;
9588 fail:
9589 return NULL;
9590 }
9591
9592
9593 static PyObject * SashWindow_swigregister(PyObject *, PyObject *args) {
9594 PyObject *obj;
9595 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9596 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
9597 Py_INCREF(obj);
9598 return Py_BuildValue((char *)"");
9599 }
9600 static PyObject *_wrap_new_SashEvent(PyObject *, PyObject *args, PyObject *kwargs) {
9601 PyObject *resultobj = NULL;
9602 int arg1 = (int) 0 ;
9603 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
9604 wxSashEvent *result;
9605 PyObject * obj0 = 0 ;
9606 PyObject * obj1 = 0 ;
9607 char *kwnames[] = {
9608 (char *) "id",(char *) "edge", NULL
9609 };
9610
9611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
9612 if (obj0) {
9613 {
9614 arg1 = static_cast<int >(SWIG_As_int(obj0));
9615 if (SWIG_arg_fail(1)) SWIG_fail;
9616 }
9617 }
9618 if (obj1) {
9619 {
9620 arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1));
9621 if (SWIG_arg_fail(2)) SWIG_fail;
9622 }
9623 }
9624 {
9625 PyThreadState* __tstate = wxPyBeginAllowThreads();
9626 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
9627
9628 wxPyEndAllowThreads(__tstate);
9629 if (PyErr_Occurred()) SWIG_fail;
9630 }
9631 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
9632 return resultobj;
9633 fail:
9634 return NULL;
9635 }
9636
9637
9638 static PyObject *_wrap_SashEvent_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
9639 PyObject *resultobj = NULL;
9640 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9641 wxSashEdgePosition arg2 ;
9642 PyObject * obj0 = 0 ;
9643 PyObject * obj1 = 0 ;
9644 char *kwnames[] = {
9645 (char *) "self",(char *) "edge", NULL
9646 };
9647
9648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
9649 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9650 if (SWIG_arg_fail(1)) SWIG_fail;
9651 {
9652 arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1));
9653 if (SWIG_arg_fail(2)) SWIG_fail;
9654 }
9655 {
9656 PyThreadState* __tstate = wxPyBeginAllowThreads();
9657 (arg1)->SetEdge(arg2);
9658
9659 wxPyEndAllowThreads(__tstate);
9660 if (PyErr_Occurred()) SWIG_fail;
9661 }
9662 Py_INCREF(Py_None); resultobj = Py_None;
9663 return resultobj;
9664 fail:
9665 return NULL;
9666 }
9667
9668
9669 static PyObject *_wrap_SashEvent_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
9670 PyObject *resultobj = NULL;
9671 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9672 wxSashEdgePosition result;
9673 PyObject * obj0 = 0 ;
9674 char *kwnames[] = {
9675 (char *) "self", NULL
9676 };
9677
9678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
9679 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9680 if (SWIG_arg_fail(1)) SWIG_fail;
9681 {
9682 PyThreadState* __tstate = wxPyBeginAllowThreads();
9683 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
9684
9685 wxPyEndAllowThreads(__tstate);
9686 if (PyErr_Occurred()) SWIG_fail;
9687 }
9688 resultobj = SWIG_From_int((result));
9689 return resultobj;
9690 fail:
9691 return NULL;
9692 }
9693
9694
9695 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
9696 PyObject *resultobj = NULL;
9697 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9698 wxRect *arg2 = 0 ;
9699 wxRect temp2 ;
9700 PyObject * obj0 = 0 ;
9701 PyObject * obj1 = 0 ;
9702 char *kwnames[] = {
9703 (char *) "self",(char *) "rect", NULL
9704 };
9705
9706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
9707 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9708 if (SWIG_arg_fail(1)) SWIG_fail;
9709 {
9710 arg2 = &temp2;
9711 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9712 }
9713 {
9714 PyThreadState* __tstate = wxPyBeginAllowThreads();
9715 (arg1)->SetDragRect((wxRect const &)*arg2);
9716
9717 wxPyEndAllowThreads(__tstate);
9718 if (PyErr_Occurred()) SWIG_fail;
9719 }
9720 Py_INCREF(Py_None); resultobj = Py_None;
9721 return resultobj;
9722 fail:
9723 return NULL;
9724 }
9725
9726
9727 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
9728 PyObject *resultobj = NULL;
9729 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9730 wxRect result;
9731 PyObject * obj0 = 0 ;
9732 char *kwnames[] = {
9733 (char *) "self", NULL
9734 };
9735
9736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
9737 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9738 if (SWIG_arg_fail(1)) SWIG_fail;
9739 {
9740 PyThreadState* __tstate = wxPyBeginAllowThreads();
9741 result = ((wxSashEvent const *)arg1)->GetDragRect();
9742
9743 wxPyEndAllowThreads(__tstate);
9744 if (PyErr_Occurred()) SWIG_fail;
9745 }
9746 {
9747 wxRect * resultptr;
9748 resultptr = new wxRect(static_cast<wxRect & >(result));
9749 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
9750 }
9751 return resultobj;
9752 fail:
9753 return NULL;
9754 }
9755
9756
9757 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
9758 PyObject *resultobj = NULL;
9759 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9760 wxSashDragStatus arg2 ;
9761 PyObject * obj0 = 0 ;
9762 PyObject * obj1 = 0 ;
9763 char *kwnames[] = {
9764 (char *) "self",(char *) "status", NULL
9765 };
9766
9767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
9768 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9769 if (SWIG_arg_fail(1)) SWIG_fail;
9770 {
9771 arg2 = static_cast<wxSashDragStatus >(SWIG_As_int(obj1));
9772 if (SWIG_arg_fail(2)) SWIG_fail;
9773 }
9774 {
9775 PyThreadState* __tstate = wxPyBeginAllowThreads();
9776 (arg1)->SetDragStatus(arg2);
9777
9778 wxPyEndAllowThreads(__tstate);
9779 if (PyErr_Occurred()) SWIG_fail;
9780 }
9781 Py_INCREF(Py_None); resultobj = Py_None;
9782 return resultobj;
9783 fail:
9784 return NULL;
9785 }
9786
9787
9788 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
9789 PyObject *resultobj = NULL;
9790 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9791 wxSashDragStatus result;
9792 PyObject * obj0 = 0 ;
9793 char *kwnames[] = {
9794 (char *) "self", NULL
9795 };
9796
9797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
9798 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9799 if (SWIG_arg_fail(1)) SWIG_fail;
9800 {
9801 PyThreadState* __tstate = wxPyBeginAllowThreads();
9802 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
9803
9804 wxPyEndAllowThreads(__tstate);
9805 if (PyErr_Occurred()) SWIG_fail;
9806 }
9807 resultobj = SWIG_From_int((result));
9808 return resultobj;
9809 fail:
9810 return NULL;
9811 }
9812
9813
9814 static PyObject * SashEvent_swigregister(PyObject *, PyObject *args) {
9815 PyObject *obj;
9816 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9817 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
9818 Py_INCREF(obj);
9819 return Py_BuildValue((char *)"");
9820 }
9821 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *, PyObject *args, PyObject *kwargs) {
9822 PyObject *resultobj = NULL;
9823 int arg1 = (int) 0 ;
9824 wxQueryLayoutInfoEvent *result;
9825 PyObject * obj0 = 0 ;
9826 char *kwnames[] = {
9827 (char *) "id", NULL
9828 };
9829
9830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
9831 if (obj0) {
9832 {
9833 arg1 = static_cast<int >(SWIG_As_int(obj0));
9834 if (SWIG_arg_fail(1)) SWIG_fail;
9835 }
9836 }
9837 {
9838 PyThreadState* __tstate = wxPyBeginAllowThreads();
9839 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
9840
9841 wxPyEndAllowThreads(__tstate);
9842 if (PyErr_Occurred()) SWIG_fail;
9843 }
9844 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
9845 return resultobj;
9846 fail:
9847 return NULL;
9848 }
9849
9850
9851 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
9852 PyObject *resultobj = NULL;
9853 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9854 int arg2 ;
9855 PyObject * obj0 = 0 ;
9856 PyObject * obj1 = 0 ;
9857 char *kwnames[] = {
9858 (char *) "self",(char *) "length", NULL
9859 };
9860
9861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
9862 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9863 if (SWIG_arg_fail(1)) SWIG_fail;
9864 {
9865 arg2 = static_cast<int >(SWIG_As_int(obj1));
9866 if (SWIG_arg_fail(2)) SWIG_fail;
9867 }
9868 {
9869 PyThreadState* __tstate = wxPyBeginAllowThreads();
9870 (arg1)->SetRequestedLength(arg2);
9871
9872 wxPyEndAllowThreads(__tstate);
9873 if (PyErr_Occurred()) SWIG_fail;
9874 }
9875 Py_INCREF(Py_None); resultobj = Py_None;
9876 return resultobj;
9877 fail:
9878 return NULL;
9879 }
9880
9881
9882 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
9883 PyObject *resultobj = NULL;
9884 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9885 int result;
9886 PyObject * obj0 = 0 ;
9887 char *kwnames[] = {
9888 (char *) "self", NULL
9889 };
9890
9891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
9892 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9893 if (SWIG_arg_fail(1)) SWIG_fail;
9894 {
9895 PyThreadState* __tstate = wxPyBeginAllowThreads();
9896 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
9897
9898 wxPyEndAllowThreads(__tstate);
9899 if (PyErr_Occurred()) SWIG_fail;
9900 }
9901 {
9902 resultobj = SWIG_From_int(static_cast<int >(result));
9903 }
9904 return resultobj;
9905 fail:
9906 return NULL;
9907 }
9908
9909
9910 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9911 PyObject *resultobj = NULL;
9912 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9913 int arg2 ;
9914 PyObject * obj0 = 0 ;
9915 PyObject * obj1 = 0 ;
9916 char *kwnames[] = {
9917 (char *) "self",(char *) "flags", NULL
9918 };
9919
9920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
9921 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9922 if (SWIG_arg_fail(1)) SWIG_fail;
9923 {
9924 arg2 = static_cast<int >(SWIG_As_int(obj1));
9925 if (SWIG_arg_fail(2)) SWIG_fail;
9926 }
9927 {
9928 PyThreadState* __tstate = wxPyBeginAllowThreads();
9929 (arg1)->SetFlags(arg2);
9930
9931 wxPyEndAllowThreads(__tstate);
9932 if (PyErr_Occurred()) SWIG_fail;
9933 }
9934 Py_INCREF(Py_None); resultobj = Py_None;
9935 return resultobj;
9936 fail:
9937 return NULL;
9938 }
9939
9940
9941 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9942 PyObject *resultobj = NULL;
9943 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9944 int result;
9945 PyObject * obj0 = 0 ;
9946 char *kwnames[] = {
9947 (char *) "self", NULL
9948 };
9949
9950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
9951 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9952 if (SWIG_arg_fail(1)) SWIG_fail;
9953 {
9954 PyThreadState* __tstate = wxPyBeginAllowThreads();
9955 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
9956
9957 wxPyEndAllowThreads(__tstate);
9958 if (PyErr_Occurred()) SWIG_fail;
9959 }
9960 {
9961 resultobj = SWIG_From_int(static_cast<int >(result));
9962 }
9963 return resultobj;
9964 fail:
9965 return NULL;
9966 }
9967
9968
9969 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
9970 PyObject *resultobj = NULL;
9971 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9972 wxSize *arg2 = 0 ;
9973 wxSize temp2 ;
9974 PyObject * obj0 = 0 ;
9975 PyObject * obj1 = 0 ;
9976 char *kwnames[] = {
9977 (char *) "self",(char *) "size", NULL
9978 };
9979
9980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
9981 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9982 if (SWIG_arg_fail(1)) SWIG_fail;
9983 {
9984 arg2 = &temp2;
9985 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
9986 }
9987 {
9988 PyThreadState* __tstate = wxPyBeginAllowThreads();
9989 (arg1)->SetSize((wxSize const &)*arg2);
9990
9991 wxPyEndAllowThreads(__tstate);
9992 if (PyErr_Occurred()) SWIG_fail;
9993 }
9994 Py_INCREF(Py_None); resultobj = Py_None;
9995 return resultobj;
9996 fail:
9997 return NULL;
9998 }
9999
10000
10001 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
10002 PyObject *resultobj = NULL;
10003 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
10004 wxSize result;
10005 PyObject * obj0 = 0 ;
10006 char *kwnames[] = {
10007 (char *) "self", NULL
10008 };
10009
10010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
10011 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
10012 if (SWIG_arg_fail(1)) SWIG_fail;
10013 {
10014 PyThreadState* __tstate = wxPyBeginAllowThreads();
10015 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
10016
10017 wxPyEndAllowThreads(__tstate);
10018 if (PyErr_Occurred()) SWIG_fail;
10019 }
10020 {
10021 wxSize * resultptr;
10022 resultptr = new wxSize(static_cast<wxSize & >(result));
10023 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
10024 }
10025 return resultobj;
10026 fail:
10027 return NULL;
10028 }
10029
10030
10031 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
10032 PyObject *resultobj = NULL;
10033 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
10034 wxLayoutOrientation arg2 ;
10035 PyObject * obj0 = 0 ;
10036 PyObject * obj1 = 0 ;
10037 char *kwnames[] = {
10038 (char *) "self",(char *) "orient", NULL
10039 };
10040
10041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
10042 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
10043 if (SWIG_arg_fail(1)) SWIG_fail;
10044 {
10045 arg2 = static_cast<wxLayoutOrientation >(SWIG_As_int(obj1));
10046 if (SWIG_arg_fail(2)) SWIG_fail;
10047 }
10048 {
10049 PyThreadState* __tstate = wxPyBeginAllowThreads();
10050 (arg1)->SetOrientation(arg2);
10051
10052 wxPyEndAllowThreads(__tstate);
10053 if (PyErr_Occurred()) SWIG_fail;
10054 }
10055 Py_INCREF(Py_None); resultobj = Py_None;
10056 return resultobj;
10057 fail:
10058 return NULL;
10059 }
10060
10061
10062 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
10063 PyObject *resultobj = NULL;
10064 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
10065 wxLayoutOrientation result;
10066 PyObject * obj0 = 0 ;
10067 char *kwnames[] = {
10068 (char *) "self", NULL
10069 };
10070
10071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
10072 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
10073 if (SWIG_arg_fail(1)) SWIG_fail;
10074 {
10075 PyThreadState* __tstate = wxPyBeginAllowThreads();
10076 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
10077
10078 wxPyEndAllowThreads(__tstate);
10079 if (PyErr_Occurred()) SWIG_fail;
10080 }
10081 resultobj = SWIG_From_int((result));
10082 return resultobj;
10083 fail:
10084 return NULL;
10085 }
10086
10087
10088 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
10089 PyObject *resultobj = NULL;
10090 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
10091 wxLayoutAlignment arg2 ;
10092 PyObject * obj0 = 0 ;
10093 PyObject * obj1 = 0 ;
10094 char *kwnames[] = {
10095 (char *) "self",(char *) "align", NULL
10096 };
10097
10098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
10099 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
10100 if (SWIG_arg_fail(1)) SWIG_fail;
10101 {
10102 arg2 = static_cast<wxLayoutAlignment >(SWIG_As_int(obj1));
10103 if (SWIG_arg_fail(2)) SWIG_fail;
10104 }
10105 {
10106 PyThreadState* __tstate = wxPyBeginAllowThreads();
10107 (arg1)->SetAlignment(arg2);
10108
10109 wxPyEndAllowThreads(__tstate);
10110 if (PyErr_Occurred()) SWIG_fail;
10111 }
10112 Py_INCREF(Py_None); resultobj = Py_None;
10113 return resultobj;
10114 fail:
10115 return NULL;
10116 }
10117
10118
10119 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
10120 PyObject *resultobj = NULL;
10121 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
10122 wxLayoutAlignment result;
10123 PyObject * obj0 = 0 ;
10124 char *kwnames[] = {
10125 (char *) "self", NULL
10126 };
10127
10128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
10129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
10130 if (SWIG_arg_fail(1)) SWIG_fail;
10131 {
10132 PyThreadState* __tstate = wxPyBeginAllowThreads();
10133 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
10134
10135 wxPyEndAllowThreads(__tstate);
10136 if (PyErr_Occurred()) SWIG_fail;
10137 }
10138 resultobj = SWIG_From_int((result));
10139 return resultobj;
10140 fail:
10141 return NULL;
10142 }
10143
10144
10145 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *, PyObject *args) {
10146 PyObject *obj;
10147 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10148 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
10149 Py_INCREF(obj);
10150 return Py_BuildValue((char *)"");
10151 }
10152 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *, PyObject *args, PyObject *kwargs) {
10153 PyObject *resultobj = NULL;
10154 int arg1 = (int) 0 ;
10155 wxCalculateLayoutEvent *result;
10156 PyObject * obj0 = 0 ;
10157 char *kwnames[] = {
10158 (char *) "id", NULL
10159 };
10160
10161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
10162 if (obj0) {
10163 {
10164 arg1 = static_cast<int >(SWIG_As_int(obj0));
10165 if (SWIG_arg_fail(1)) SWIG_fail;
10166 }
10167 }
10168 {
10169 PyThreadState* __tstate = wxPyBeginAllowThreads();
10170 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
10171
10172 wxPyEndAllowThreads(__tstate);
10173 if (PyErr_Occurred()) SWIG_fail;
10174 }
10175 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
10176 return resultobj;
10177 fail:
10178 return NULL;
10179 }
10180
10181
10182 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
10183 PyObject *resultobj = NULL;
10184 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10185 int arg2 ;
10186 PyObject * obj0 = 0 ;
10187 PyObject * obj1 = 0 ;
10188 char *kwnames[] = {
10189 (char *) "self",(char *) "flags", NULL
10190 };
10191
10192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
10193 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10194 if (SWIG_arg_fail(1)) SWIG_fail;
10195 {
10196 arg2 = static_cast<int >(SWIG_As_int(obj1));
10197 if (SWIG_arg_fail(2)) SWIG_fail;
10198 }
10199 {
10200 PyThreadState* __tstate = wxPyBeginAllowThreads();
10201 (arg1)->SetFlags(arg2);
10202
10203 wxPyEndAllowThreads(__tstate);
10204 if (PyErr_Occurred()) SWIG_fail;
10205 }
10206 Py_INCREF(Py_None); resultobj = Py_None;
10207 return resultobj;
10208 fail:
10209 return NULL;
10210 }
10211
10212
10213 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
10214 PyObject *resultobj = NULL;
10215 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10216 int result;
10217 PyObject * obj0 = 0 ;
10218 char *kwnames[] = {
10219 (char *) "self", NULL
10220 };
10221
10222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
10223 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10224 if (SWIG_arg_fail(1)) SWIG_fail;
10225 {
10226 PyThreadState* __tstate = wxPyBeginAllowThreads();
10227 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
10228
10229 wxPyEndAllowThreads(__tstate);
10230 if (PyErr_Occurred()) SWIG_fail;
10231 }
10232 {
10233 resultobj = SWIG_From_int(static_cast<int >(result));
10234 }
10235 return resultobj;
10236 fail:
10237 return NULL;
10238 }
10239
10240
10241 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
10242 PyObject *resultobj = NULL;
10243 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10244 wxRect *arg2 = 0 ;
10245 wxRect temp2 ;
10246 PyObject * obj0 = 0 ;
10247 PyObject * obj1 = 0 ;
10248 char *kwnames[] = {
10249 (char *) "self",(char *) "rect", NULL
10250 };
10251
10252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
10253 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10254 if (SWIG_arg_fail(1)) SWIG_fail;
10255 {
10256 arg2 = &temp2;
10257 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10258 }
10259 {
10260 PyThreadState* __tstate = wxPyBeginAllowThreads();
10261 (arg1)->SetRect((wxRect const &)*arg2);
10262
10263 wxPyEndAllowThreads(__tstate);
10264 if (PyErr_Occurred()) SWIG_fail;
10265 }
10266 Py_INCREF(Py_None); resultobj = Py_None;
10267 return resultobj;
10268 fail:
10269 return NULL;
10270 }
10271
10272
10273 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
10274 PyObject *resultobj = NULL;
10275 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10276 wxRect result;
10277 PyObject * obj0 = 0 ;
10278 char *kwnames[] = {
10279 (char *) "self", NULL
10280 };
10281
10282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
10283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10284 if (SWIG_arg_fail(1)) SWIG_fail;
10285 {
10286 PyThreadState* __tstate = wxPyBeginAllowThreads();
10287 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
10288
10289 wxPyEndAllowThreads(__tstate);
10290 if (PyErr_Occurred()) SWIG_fail;
10291 }
10292 {
10293 wxRect * resultptr;
10294 resultptr = new wxRect(static_cast<wxRect & >(result));
10295 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
10296 }
10297 return resultobj;
10298 fail:
10299 return NULL;
10300 }
10301
10302
10303 static PyObject * CalculateLayoutEvent_swigregister(PyObject *, PyObject *args) {
10304 PyObject *obj;
10305 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10306 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
10307 Py_INCREF(obj);
10308 return Py_BuildValue((char *)"");
10309 }
10310 static PyObject *_wrap_new_SashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10311 PyObject *resultobj = NULL;
10312 wxWindow *arg1 = (wxWindow *) 0 ;
10313 int arg2 = (int) -1 ;
10314 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10315 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10316 wxSize const &arg4_defvalue = wxDefaultSize ;
10317 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10318 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10319 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
10320 wxString *arg6 = (wxString *) &arg6_defvalue ;
10321 wxSashLayoutWindow *result;
10322 wxPoint temp3 ;
10323 wxSize temp4 ;
10324 bool temp6 = false ;
10325 PyObject * obj0 = 0 ;
10326 PyObject * obj1 = 0 ;
10327 PyObject * obj2 = 0 ;
10328 PyObject * obj3 = 0 ;
10329 PyObject * obj4 = 0 ;
10330 PyObject * obj5 = 0 ;
10331 char *kwnames[] = {
10332 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10333 };
10334
10335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10336 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10337 if (SWIG_arg_fail(1)) SWIG_fail;
10338 if (obj1) {
10339 {
10340 arg2 = static_cast<int >(SWIG_As_int(obj1));
10341 if (SWIG_arg_fail(2)) SWIG_fail;
10342 }
10343 }
10344 if (obj2) {
10345 {
10346 arg3 = &temp3;
10347 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10348 }
10349 }
10350 if (obj3) {
10351 {
10352 arg4 = &temp4;
10353 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10354 }
10355 }
10356 if (obj4) {
10357 {
10358 arg5 = static_cast<long >(SWIG_As_long(obj4));
10359 if (SWIG_arg_fail(5)) SWIG_fail;
10360 }
10361 }
10362 if (obj5) {
10363 {
10364 arg6 = wxString_in_helper(obj5);
10365 if (arg6 == NULL) SWIG_fail;
10366 temp6 = true;
10367 }
10368 }
10369 {
10370 if (!wxPyCheckForApp()) SWIG_fail;
10371 PyThreadState* __tstate = wxPyBeginAllowThreads();
10372 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10373
10374 wxPyEndAllowThreads(__tstate);
10375 if (PyErr_Occurred()) SWIG_fail;
10376 }
10377 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
10378 {
10379 if (temp6)
10380 delete arg6;
10381 }
10382 return resultobj;
10383 fail:
10384 {
10385 if (temp6)
10386 delete arg6;
10387 }
10388 return NULL;
10389 }
10390
10391
10392 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10393 PyObject *resultobj = NULL;
10394 wxSashLayoutWindow *result;
10395 char *kwnames[] = {
10396 NULL
10397 };
10398
10399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
10400 {
10401 if (!wxPyCheckForApp()) SWIG_fail;
10402 PyThreadState* __tstate = wxPyBeginAllowThreads();
10403 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
10404
10405 wxPyEndAllowThreads(__tstate);
10406 if (PyErr_Occurred()) SWIG_fail;
10407 }
10408 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
10409 return resultobj;
10410 fail:
10411 return NULL;
10412 }
10413
10414
10415 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10416 PyObject *resultobj = NULL;
10417 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10418 wxWindow *arg2 = (wxWindow *) 0 ;
10419 int arg3 = (int) -1 ;
10420 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10421 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10422 wxSize const &arg5_defvalue = wxDefaultSize ;
10423 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10424 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10425 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
10426 wxString *arg7 = (wxString *) &arg7_defvalue ;
10427 bool result;
10428 wxPoint temp4 ;
10429 wxSize temp5 ;
10430 bool temp7 = false ;
10431 PyObject * obj0 = 0 ;
10432 PyObject * obj1 = 0 ;
10433 PyObject * obj2 = 0 ;
10434 PyObject * obj3 = 0 ;
10435 PyObject * obj4 = 0 ;
10436 PyObject * obj5 = 0 ;
10437 PyObject * obj6 = 0 ;
10438 char *kwnames[] = {
10439 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10440 };
10441
10442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10443 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10444 if (SWIG_arg_fail(1)) SWIG_fail;
10445 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10446 if (SWIG_arg_fail(2)) SWIG_fail;
10447 if (obj2) {
10448 {
10449 arg3 = static_cast<int >(SWIG_As_int(obj2));
10450 if (SWIG_arg_fail(3)) SWIG_fail;
10451 }
10452 }
10453 if (obj3) {
10454 {
10455 arg4 = &temp4;
10456 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10457 }
10458 }
10459 if (obj4) {
10460 {
10461 arg5 = &temp5;
10462 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10463 }
10464 }
10465 if (obj5) {
10466 {
10467 arg6 = static_cast<long >(SWIG_As_long(obj5));
10468 if (SWIG_arg_fail(6)) SWIG_fail;
10469 }
10470 }
10471 if (obj6) {
10472 {
10473 arg7 = wxString_in_helper(obj6);
10474 if (arg7 == NULL) SWIG_fail;
10475 temp7 = true;
10476 }
10477 }
10478 {
10479 PyThreadState* __tstate = wxPyBeginAllowThreads();
10480 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10481
10482 wxPyEndAllowThreads(__tstate);
10483 if (PyErr_Occurred()) SWIG_fail;
10484 }
10485 {
10486 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10487 }
10488 {
10489 if (temp7)
10490 delete arg7;
10491 }
10492 return resultobj;
10493 fail:
10494 {
10495 if (temp7)
10496 delete arg7;
10497 }
10498 return NULL;
10499 }
10500
10501
10502 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
10503 PyObject *resultobj = NULL;
10504 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10505 wxLayoutAlignment result;
10506 PyObject * obj0 = 0 ;
10507 char *kwnames[] = {
10508 (char *) "self", NULL
10509 };
10510
10511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
10512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10513 if (SWIG_arg_fail(1)) SWIG_fail;
10514 {
10515 PyThreadState* __tstate = wxPyBeginAllowThreads();
10516 result = (wxLayoutAlignment)(arg1)->GetAlignment();
10517
10518 wxPyEndAllowThreads(__tstate);
10519 if (PyErr_Occurred()) SWIG_fail;
10520 }
10521 resultobj = SWIG_From_int((result));
10522 return resultobj;
10523 fail:
10524 return NULL;
10525 }
10526
10527
10528 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
10529 PyObject *resultobj = NULL;
10530 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10531 wxLayoutOrientation result;
10532 PyObject * obj0 = 0 ;
10533 char *kwnames[] = {
10534 (char *) "self", NULL
10535 };
10536
10537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
10538 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10539 if (SWIG_arg_fail(1)) SWIG_fail;
10540 {
10541 PyThreadState* __tstate = wxPyBeginAllowThreads();
10542 result = (wxLayoutOrientation)(arg1)->GetOrientation();
10543
10544 wxPyEndAllowThreads(__tstate);
10545 if (PyErr_Occurred()) SWIG_fail;
10546 }
10547 resultobj = SWIG_From_int((result));
10548 return resultobj;
10549 fail:
10550 return NULL;
10551 }
10552
10553
10554 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
10555 PyObject *resultobj = NULL;
10556 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10557 wxLayoutAlignment arg2 ;
10558 PyObject * obj0 = 0 ;
10559 PyObject * obj1 = 0 ;
10560 char *kwnames[] = {
10561 (char *) "self",(char *) "alignment", NULL
10562 };
10563
10564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
10565 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10566 if (SWIG_arg_fail(1)) SWIG_fail;
10567 {
10568 arg2 = static_cast<wxLayoutAlignment >(SWIG_As_int(obj1));
10569 if (SWIG_arg_fail(2)) SWIG_fail;
10570 }
10571 {
10572 PyThreadState* __tstate = wxPyBeginAllowThreads();
10573 (arg1)->SetAlignment(arg2);
10574
10575 wxPyEndAllowThreads(__tstate);
10576 if (PyErr_Occurred()) SWIG_fail;
10577 }
10578 Py_INCREF(Py_None); resultobj = Py_None;
10579 return resultobj;
10580 fail:
10581 return NULL;
10582 }
10583
10584
10585 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
10586 PyObject *resultobj = NULL;
10587 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10588 wxSize *arg2 = 0 ;
10589 wxSize temp2 ;
10590 PyObject * obj0 = 0 ;
10591 PyObject * obj1 = 0 ;
10592 char *kwnames[] = {
10593 (char *) "self",(char *) "size", NULL
10594 };
10595
10596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
10597 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10598 if (SWIG_arg_fail(1)) SWIG_fail;
10599 {
10600 arg2 = &temp2;
10601 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
10602 }
10603 {
10604 PyThreadState* __tstate = wxPyBeginAllowThreads();
10605 (arg1)->SetDefaultSize((wxSize const &)*arg2);
10606
10607 wxPyEndAllowThreads(__tstate);
10608 if (PyErr_Occurred()) SWIG_fail;
10609 }
10610 Py_INCREF(Py_None); resultobj = Py_None;
10611 return resultobj;
10612 fail:
10613 return NULL;
10614 }
10615
10616
10617 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
10618 PyObject *resultobj = NULL;
10619 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10620 wxLayoutOrientation arg2 ;
10621 PyObject * obj0 = 0 ;
10622 PyObject * obj1 = 0 ;
10623 char *kwnames[] = {
10624 (char *) "self",(char *) "orientation", NULL
10625 };
10626
10627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
10628 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10629 if (SWIG_arg_fail(1)) SWIG_fail;
10630 {
10631 arg2 = static_cast<wxLayoutOrientation >(SWIG_As_int(obj1));
10632 if (SWIG_arg_fail(2)) SWIG_fail;
10633 }
10634 {
10635 PyThreadState* __tstate = wxPyBeginAllowThreads();
10636 (arg1)->SetOrientation(arg2);
10637
10638 wxPyEndAllowThreads(__tstate);
10639 if (PyErr_Occurred()) SWIG_fail;
10640 }
10641 Py_INCREF(Py_None); resultobj = Py_None;
10642 return resultobj;
10643 fail:
10644 return NULL;
10645 }
10646
10647
10648 static PyObject * SashLayoutWindow_swigregister(PyObject *, PyObject *args) {
10649 PyObject *obj;
10650 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10651 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
10652 Py_INCREF(obj);
10653 return Py_BuildValue((char *)"");
10654 }
10655 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
10656 PyObject *resultobj = NULL;
10657 wxLayoutAlgorithm *result;
10658 char *kwnames[] = {
10659 NULL
10660 };
10661
10662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
10663 {
10664 PyThreadState* __tstate = wxPyBeginAllowThreads();
10665 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
10666
10667 wxPyEndAllowThreads(__tstate);
10668 if (PyErr_Occurred()) SWIG_fail;
10669 }
10670 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
10671 return resultobj;
10672 fail:
10673 return NULL;
10674 }
10675
10676
10677 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
10678 PyObject *resultobj = NULL;
10679 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10680 PyObject * obj0 = 0 ;
10681 char *kwnames[] = {
10682 (char *) "self", NULL
10683 };
10684
10685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
10686 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10687 if (SWIG_arg_fail(1)) SWIG_fail;
10688 {
10689 PyThreadState* __tstate = wxPyBeginAllowThreads();
10690 delete arg1;
10691
10692 wxPyEndAllowThreads(__tstate);
10693 if (PyErr_Occurred()) SWIG_fail;
10694 }
10695 Py_INCREF(Py_None); resultobj = Py_None;
10696 return resultobj;
10697 fail:
10698 return NULL;
10699 }
10700
10701
10702 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *, PyObject *args, PyObject *kwargs) {
10703 PyObject *resultobj = NULL;
10704 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10705 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
10706 wxRect *arg3 = (wxRect *) NULL ;
10707 bool result;
10708 PyObject * obj0 = 0 ;
10709 PyObject * obj1 = 0 ;
10710 PyObject * obj2 = 0 ;
10711 char *kwnames[] = {
10712 (char *) "self",(char *) "frame",(char *) "rect", NULL
10713 };
10714
10715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
10716 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10717 if (SWIG_arg_fail(1)) SWIG_fail;
10718 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
10719 if (SWIG_arg_fail(2)) SWIG_fail;
10720 if (obj2) {
10721 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
10722 if (SWIG_arg_fail(3)) SWIG_fail;
10723 }
10724 {
10725 PyThreadState* __tstate = wxPyBeginAllowThreads();
10726 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
10727
10728 wxPyEndAllowThreads(__tstate);
10729 if (PyErr_Occurred()) SWIG_fail;
10730 }
10731 {
10732 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10733 }
10734 return resultobj;
10735 fail:
10736 return NULL;
10737 }
10738
10739
10740 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *, PyObject *args, PyObject *kwargs) {
10741 PyObject *resultobj = NULL;
10742 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10743 wxFrame *arg2 = (wxFrame *) 0 ;
10744 wxWindow *arg3 = (wxWindow *) NULL ;
10745 bool result;
10746 PyObject * obj0 = 0 ;
10747 PyObject * obj1 = 0 ;
10748 PyObject * obj2 = 0 ;
10749 char *kwnames[] = {
10750 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
10751 };
10752
10753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
10754 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10755 if (SWIG_arg_fail(1)) SWIG_fail;
10756 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
10757 if (SWIG_arg_fail(2)) SWIG_fail;
10758 if (obj2) {
10759 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10760 if (SWIG_arg_fail(3)) SWIG_fail;
10761 }
10762 {
10763 PyThreadState* __tstate = wxPyBeginAllowThreads();
10764 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
10765
10766 wxPyEndAllowThreads(__tstate);
10767 if (PyErr_Occurred()) SWIG_fail;
10768 }
10769 {
10770 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10771 }
10772 return resultobj;
10773 fail:
10774 return NULL;
10775 }
10776
10777
10778 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10779 PyObject *resultobj = NULL;
10780 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10781 wxWindow *arg2 = (wxWindow *) 0 ;
10782 wxWindow *arg3 = (wxWindow *) NULL ;
10783 bool result;
10784 PyObject * obj0 = 0 ;
10785 PyObject * obj1 = 0 ;
10786 PyObject * obj2 = 0 ;
10787 char *kwnames[] = {
10788 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
10789 };
10790
10791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
10792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10793 if (SWIG_arg_fail(1)) SWIG_fail;
10794 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10795 if (SWIG_arg_fail(2)) SWIG_fail;
10796 if (obj2) {
10797 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10798 if (SWIG_arg_fail(3)) SWIG_fail;
10799 }
10800 {
10801 PyThreadState* __tstate = wxPyBeginAllowThreads();
10802 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
10803
10804 wxPyEndAllowThreads(__tstate);
10805 if (PyErr_Occurred()) SWIG_fail;
10806 }
10807 {
10808 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10809 }
10810 return resultobj;
10811 fail:
10812 return NULL;
10813 }
10814
10815
10816 static PyObject * LayoutAlgorithm_swigregister(PyObject *, PyObject *args) {
10817 PyObject *obj;
10818 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10819 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
10820 Py_INCREF(obj);
10821 return Py_BuildValue((char *)"");
10822 }
10823 static PyObject *_wrap_new_PopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10824 PyObject *resultobj = NULL;
10825 wxWindow *arg1 = (wxWindow *) 0 ;
10826 int arg2 = (int) wxBORDER_NONE ;
10827 wxPopupWindow *result;
10828 PyObject * obj0 = 0 ;
10829 PyObject * obj1 = 0 ;
10830 char *kwnames[] = {
10831 (char *) "parent",(char *) "flags", NULL
10832 };
10833
10834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
10835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10836 if (SWIG_arg_fail(1)) SWIG_fail;
10837 if (obj1) {
10838 {
10839 arg2 = static_cast<int >(SWIG_As_int(obj1));
10840 if (SWIG_arg_fail(2)) SWIG_fail;
10841 }
10842 }
10843 {
10844 PyThreadState* __tstate = wxPyBeginAllowThreads();
10845 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
10846
10847 wxPyEndAllowThreads(__tstate);
10848 if (PyErr_Occurred()) SWIG_fail;
10849 }
10850 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
10851 return resultobj;
10852 fail:
10853 return NULL;
10854 }
10855
10856
10857 static PyObject *_wrap_new_PrePopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10858 PyObject *resultobj = NULL;
10859 wxPopupWindow *result;
10860 char *kwnames[] = {
10861 NULL
10862 };
10863
10864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
10865 {
10866 PyThreadState* __tstate = wxPyBeginAllowThreads();
10867 result = (wxPopupWindow *)new wxPopupWindow();
10868
10869 wxPyEndAllowThreads(__tstate);
10870 if (PyErr_Occurred()) SWIG_fail;
10871 }
10872 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
10873 return resultobj;
10874 fail:
10875 return NULL;
10876 }
10877
10878
10879 static PyObject * PopupWindow_swigregister(PyObject *, PyObject *args) {
10880 PyObject *obj;
10881 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10882 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
10883 Py_INCREF(obj);
10884 return Py_BuildValue((char *)"");
10885 }
10886 static PyObject *_wrap_new_PopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10887 PyObject *resultobj = NULL;
10888 wxWindow *arg1 = (wxWindow *) 0 ;
10889 int arg2 = (int) wxBORDER_NONE ;
10890 wxPyPopupTransientWindow *result;
10891 PyObject * obj0 = 0 ;
10892 PyObject * obj1 = 0 ;
10893 char *kwnames[] = {
10894 (char *) "parent",(char *) "style", NULL
10895 };
10896
10897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
10898 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10899 if (SWIG_arg_fail(1)) SWIG_fail;
10900 if (obj1) {
10901 {
10902 arg2 = static_cast<int >(SWIG_As_int(obj1));
10903 if (SWIG_arg_fail(2)) SWIG_fail;
10904 }
10905 }
10906 {
10907 PyThreadState* __tstate = wxPyBeginAllowThreads();
10908 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
10909
10910 wxPyEndAllowThreads(__tstate);
10911 if (PyErr_Occurred()) SWIG_fail;
10912 }
10913 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
10914 return resultobj;
10915 fail:
10916 return NULL;
10917 }
10918
10919
10920 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10921 PyObject *resultobj = NULL;
10922 wxPyPopupTransientWindow *result;
10923 char *kwnames[] = {
10924 NULL
10925 };
10926
10927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
10928 {
10929 PyThreadState* __tstate = wxPyBeginAllowThreads();
10930 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
10931
10932 wxPyEndAllowThreads(__tstate);
10933 if (PyErr_Occurred()) SWIG_fail;
10934 }
10935 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
10936 return resultobj;
10937 fail:
10938 return NULL;
10939 }
10940
10941
10942 static PyObject * PopupTransientWindow_swigregister(PyObject *, PyObject *args) {
10943 PyObject *obj;
10944 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10945 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
10946 Py_INCREF(obj);
10947 return Py_BuildValue((char *)"");
10948 }
10949 static PyObject *_wrap_new_TipWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10950 PyObject *resultobj = NULL;
10951 wxWindow *arg1 = (wxWindow *) 0 ;
10952 wxString *arg2 = 0 ;
10953 int arg3 = (int) 100 ;
10954 wxRect *arg4 = (wxRect *) NULL ;
10955 wxTipWindow *result;
10956 bool temp2 = false ;
10957 PyObject * obj0 = 0 ;
10958 PyObject * obj1 = 0 ;
10959 PyObject * obj2 = 0 ;
10960 PyObject * obj3 = 0 ;
10961 char *kwnames[] = {
10962 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
10963 };
10964
10965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10966 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10967 if (SWIG_arg_fail(1)) SWIG_fail;
10968 {
10969 arg2 = wxString_in_helper(obj1);
10970 if (arg2 == NULL) SWIG_fail;
10971 temp2 = true;
10972 }
10973 if (obj2) {
10974 {
10975 arg3 = static_cast<int >(SWIG_As_int(obj2));
10976 if (SWIG_arg_fail(3)) SWIG_fail;
10977 }
10978 }
10979 if (obj3) {
10980 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
10981 if (SWIG_arg_fail(4)) SWIG_fail;
10982 }
10983 {
10984 if (!wxPyCheckForApp()) SWIG_fail;
10985 PyThreadState* __tstate = wxPyBeginAllowThreads();
10986 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
10987
10988 wxPyEndAllowThreads(__tstate);
10989 if (PyErr_Occurred()) SWIG_fail;
10990 }
10991 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
10992 {
10993 if (temp2)
10994 delete arg2;
10995 }
10996 return resultobj;
10997 fail:
10998 {
10999 if (temp2)
11000 delete arg2;
11001 }
11002 return NULL;
11003 }
11004
11005
11006 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
11007 PyObject *resultobj = NULL;
11008 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
11009 wxRect *arg2 = 0 ;
11010 wxRect temp2 ;
11011 PyObject * obj0 = 0 ;
11012 PyObject * obj1 = 0 ;
11013 char *kwnames[] = {
11014 (char *) "self",(char *) "rectBound", NULL
11015 };
11016
11017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
11018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipWindow, SWIG_POINTER_EXCEPTION | 0);
11019 if (SWIG_arg_fail(1)) SWIG_fail;
11020 {
11021 arg2 = &temp2;
11022 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11023 }
11024 {
11025 PyThreadState* __tstate = wxPyBeginAllowThreads();
11026 (arg1)->SetBoundingRect((wxRect const &)*arg2);
11027
11028 wxPyEndAllowThreads(__tstate);
11029 if (PyErr_Occurred()) SWIG_fail;
11030 }
11031 Py_INCREF(Py_None); resultobj = Py_None;
11032 return resultobj;
11033 fail:
11034 return NULL;
11035 }
11036
11037
11038 static PyObject *_wrap_TipWindow_Close(PyObject *, PyObject *args, PyObject *kwargs) {
11039 PyObject *resultobj = NULL;
11040 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
11041 PyObject * obj0 = 0 ;
11042 char *kwnames[] = {
11043 (char *) "self", NULL
11044 };
11045
11046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
11047 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipWindow, SWIG_POINTER_EXCEPTION | 0);
11048 if (SWIG_arg_fail(1)) SWIG_fail;
11049 {
11050 PyThreadState* __tstate = wxPyBeginAllowThreads();
11051 (arg1)->Close();
11052
11053 wxPyEndAllowThreads(__tstate);
11054 if (PyErr_Occurred()) SWIG_fail;
11055 }
11056 Py_INCREF(Py_None); resultobj = Py_None;
11057 return resultobj;
11058 fail:
11059 return NULL;
11060 }
11061
11062
11063 static PyObject * TipWindow_swigregister(PyObject *, PyObject *args) {
11064 PyObject *obj;
11065 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11066 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
11067 Py_INCREF(obj);
11068 return Py_BuildValue((char *)"");
11069 }
11070 static PyObject *_wrap_new_VScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
11071 PyObject *resultobj = NULL;
11072 wxWindow *arg1 = (wxWindow *) 0 ;
11073 int arg2 = (int) wxID_ANY ;
11074 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11075 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11076 wxSize const &arg4_defvalue = wxDefaultSize ;
11077 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11078 long arg5 = (long) 0 ;
11079 wxString const &arg6_defvalue = wxPyPanelNameStr ;
11080 wxString *arg6 = (wxString *) &arg6_defvalue ;
11081 wxPyVScrolledWindow *result;
11082 wxPoint temp3 ;
11083 wxSize temp4 ;
11084 bool temp6 = false ;
11085 PyObject * obj0 = 0 ;
11086 PyObject * obj1 = 0 ;
11087 PyObject * obj2 = 0 ;
11088 PyObject * obj3 = 0 ;
11089 PyObject * obj4 = 0 ;
11090 PyObject * obj5 = 0 ;
11091 char *kwnames[] = {
11092 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11093 };
11094
11095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11096 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11097 if (SWIG_arg_fail(1)) SWIG_fail;
11098 if (obj1) {
11099 {
11100 arg2 = static_cast<int >(SWIG_As_int(obj1));
11101 if (SWIG_arg_fail(2)) SWIG_fail;
11102 }
11103 }
11104 if (obj2) {
11105 {
11106 arg3 = &temp3;
11107 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11108 }
11109 }
11110 if (obj3) {
11111 {
11112 arg4 = &temp4;
11113 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11114 }
11115 }
11116 if (obj4) {
11117 {
11118 arg5 = static_cast<long >(SWIG_As_long(obj4));
11119 if (SWIG_arg_fail(5)) SWIG_fail;
11120 }
11121 }
11122 if (obj5) {
11123 {
11124 arg6 = wxString_in_helper(obj5);
11125 if (arg6 == NULL) SWIG_fail;
11126 temp6 = true;
11127 }
11128 }
11129 {
11130 if (!wxPyCheckForApp()) SWIG_fail;
11131 PyThreadState* __tstate = wxPyBeginAllowThreads();
11132 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11133
11134 wxPyEndAllowThreads(__tstate);
11135 if (PyErr_Occurred()) SWIG_fail;
11136 }
11137 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
11138 {
11139 if (temp6)
11140 delete arg6;
11141 }
11142 return resultobj;
11143 fail:
11144 {
11145 if (temp6)
11146 delete arg6;
11147 }
11148 return NULL;
11149 }
11150
11151
11152 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
11153 PyObject *resultobj = NULL;
11154 wxPyVScrolledWindow *result;
11155 char *kwnames[] = {
11156 NULL
11157 };
11158
11159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
11160 {
11161 if (!wxPyCheckForApp()) SWIG_fail;
11162 PyThreadState* __tstate = wxPyBeginAllowThreads();
11163 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
11164
11165 wxPyEndAllowThreads(__tstate);
11166 if (PyErr_Occurred()) SWIG_fail;
11167 }
11168 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
11169 return resultobj;
11170 fail:
11171 return NULL;
11172 }
11173
11174
11175 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
11176 PyObject *resultobj = NULL;
11177 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11178 PyObject *arg2 = (PyObject *) 0 ;
11179 PyObject *arg3 = (PyObject *) 0 ;
11180 PyObject * obj0 = 0 ;
11181 PyObject * obj1 = 0 ;
11182 PyObject * obj2 = 0 ;
11183 char *kwnames[] = {
11184 (char *) "self",(char *) "self",(char *) "_class", NULL
11185 };
11186
11187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
11188 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11189 if (SWIG_arg_fail(1)) SWIG_fail;
11190 arg2 = obj1;
11191 arg3 = obj2;
11192 {
11193 PyThreadState* __tstate = wxPyBeginAllowThreads();
11194 (arg1)->_setCallbackInfo(arg2,arg3);
11195
11196 wxPyEndAllowThreads(__tstate);
11197 if (PyErr_Occurred()) SWIG_fail;
11198 }
11199 Py_INCREF(Py_None); resultobj = Py_None;
11200 return resultobj;
11201 fail:
11202 return NULL;
11203 }
11204
11205
11206 static PyObject *_wrap_VScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
11207 PyObject *resultobj = NULL;
11208 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11209 wxWindow *arg2 = (wxWindow *) 0 ;
11210 int arg3 = (int) wxID_ANY ;
11211 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11212 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11213 wxSize const &arg5_defvalue = wxDefaultSize ;
11214 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11215 long arg6 = (long) 0 ;
11216 wxString const &arg7_defvalue = wxPyPanelNameStr ;
11217 wxString *arg7 = (wxString *) &arg7_defvalue ;
11218 bool result;
11219 wxPoint temp4 ;
11220 wxSize temp5 ;
11221 bool temp7 = false ;
11222 PyObject * obj0 = 0 ;
11223 PyObject * obj1 = 0 ;
11224 PyObject * obj2 = 0 ;
11225 PyObject * obj3 = 0 ;
11226 PyObject * obj4 = 0 ;
11227 PyObject * obj5 = 0 ;
11228 PyObject * obj6 = 0 ;
11229 char *kwnames[] = {
11230 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11231 };
11232
11233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11235 if (SWIG_arg_fail(1)) SWIG_fail;
11236 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11237 if (SWIG_arg_fail(2)) SWIG_fail;
11238 if (obj2) {
11239 {
11240 arg3 = static_cast<int >(SWIG_As_int(obj2));
11241 if (SWIG_arg_fail(3)) SWIG_fail;
11242 }
11243 }
11244 if (obj3) {
11245 {
11246 arg4 = &temp4;
11247 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11248 }
11249 }
11250 if (obj4) {
11251 {
11252 arg5 = &temp5;
11253 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11254 }
11255 }
11256 if (obj5) {
11257 {
11258 arg6 = static_cast<long >(SWIG_As_long(obj5));
11259 if (SWIG_arg_fail(6)) SWIG_fail;
11260 }
11261 }
11262 if (obj6) {
11263 {
11264 arg7 = wxString_in_helper(obj6);
11265 if (arg7 == NULL) SWIG_fail;
11266 temp7 = true;
11267 }
11268 }
11269 {
11270 PyThreadState* __tstate = wxPyBeginAllowThreads();
11271 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11272
11273 wxPyEndAllowThreads(__tstate);
11274 if (PyErr_Occurred()) SWIG_fail;
11275 }
11276 {
11277 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11278 }
11279 {
11280 if (temp7)
11281 delete arg7;
11282 }
11283 return resultobj;
11284 fail:
11285 {
11286 if (temp7)
11287 delete arg7;
11288 }
11289 return NULL;
11290 }
11291
11292
11293 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
11294 PyObject *resultobj = NULL;
11295 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11296 size_t arg2 ;
11297 PyObject * obj0 = 0 ;
11298 PyObject * obj1 = 0 ;
11299 char *kwnames[] = {
11300 (char *) "self",(char *) "count", NULL
11301 };
11302
11303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
11304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11305 if (SWIG_arg_fail(1)) SWIG_fail;
11306 {
11307 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
11308 if (SWIG_arg_fail(2)) SWIG_fail;
11309 }
11310 {
11311 PyThreadState* __tstate = wxPyBeginAllowThreads();
11312 (arg1)->SetLineCount(arg2);
11313
11314 wxPyEndAllowThreads(__tstate);
11315 if (PyErr_Occurred()) SWIG_fail;
11316 }
11317 Py_INCREF(Py_None); resultobj = Py_None;
11318 return resultobj;
11319 fail:
11320 return NULL;
11321 }
11322
11323
11324 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) {
11325 PyObject *resultobj = NULL;
11326 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11327 size_t arg2 ;
11328 bool result;
11329 PyObject * obj0 = 0 ;
11330 PyObject * obj1 = 0 ;
11331 char *kwnames[] = {
11332 (char *) "self",(char *) "line", NULL
11333 };
11334
11335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
11336 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11337 if (SWIG_arg_fail(1)) SWIG_fail;
11338 {
11339 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
11340 if (SWIG_arg_fail(2)) SWIG_fail;
11341 }
11342 {
11343 PyThreadState* __tstate = wxPyBeginAllowThreads();
11344 result = (bool)(arg1)->ScrollToLine(arg2);
11345
11346 wxPyEndAllowThreads(__tstate);
11347 if (PyErr_Occurred()) SWIG_fail;
11348 }
11349 {
11350 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11351 }
11352 return resultobj;
11353 fail:
11354 return NULL;
11355 }
11356
11357
11358 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) {
11359 PyObject *resultobj = NULL;
11360 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11361 int arg2 ;
11362 bool result;
11363 PyObject * obj0 = 0 ;
11364 PyObject * obj1 = 0 ;
11365 char *kwnames[] = {
11366 (char *) "self",(char *) "lines", NULL
11367 };
11368
11369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
11370 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11371 if (SWIG_arg_fail(1)) SWIG_fail;
11372 {
11373 arg2 = static_cast<int >(SWIG_As_int(obj1));
11374 if (SWIG_arg_fail(2)) SWIG_fail;
11375 }
11376 {
11377 PyThreadState* __tstate = wxPyBeginAllowThreads();
11378 result = (bool)(arg1)->ScrollLines(arg2);
11379
11380 wxPyEndAllowThreads(__tstate);
11381 if (PyErr_Occurred()) SWIG_fail;
11382 }
11383 {
11384 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11385 }
11386 return resultobj;
11387 fail:
11388 return NULL;
11389 }
11390
11391
11392 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) {
11393 PyObject *resultobj = NULL;
11394 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11395 int arg2 ;
11396 bool result;
11397 PyObject * obj0 = 0 ;
11398 PyObject * obj1 = 0 ;
11399 char *kwnames[] = {
11400 (char *) "self",(char *) "pages", NULL
11401 };
11402
11403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
11404 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11405 if (SWIG_arg_fail(1)) SWIG_fail;
11406 {
11407 arg2 = static_cast<int >(SWIG_As_int(obj1));
11408 if (SWIG_arg_fail(2)) SWIG_fail;
11409 }
11410 {
11411 PyThreadState* __tstate = wxPyBeginAllowThreads();
11412 result = (bool)(arg1)->ScrollPages(arg2);
11413
11414 wxPyEndAllowThreads(__tstate);
11415 if (PyErr_Occurred()) SWIG_fail;
11416 }
11417 {
11418 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11419 }
11420 return resultobj;
11421 fail:
11422 return NULL;
11423 }
11424
11425
11426 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *, PyObject *args, PyObject *kwargs) {
11427 PyObject *resultobj = NULL;
11428 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11429 size_t arg2 ;
11430 PyObject * obj0 = 0 ;
11431 PyObject * obj1 = 0 ;
11432 char *kwnames[] = {
11433 (char *) "self",(char *) "line", NULL
11434 };
11435
11436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
11437 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11438 if (SWIG_arg_fail(1)) SWIG_fail;
11439 {
11440 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
11441 if (SWIG_arg_fail(2)) SWIG_fail;
11442 }
11443 {
11444 PyThreadState* __tstate = wxPyBeginAllowThreads();
11445 (arg1)->RefreshLine(arg2);
11446
11447 wxPyEndAllowThreads(__tstate);
11448 if (PyErr_Occurred()) SWIG_fail;
11449 }
11450 Py_INCREF(Py_None); resultobj = Py_None;
11451 return resultobj;
11452 fail:
11453 return NULL;
11454 }
11455
11456
11457 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *, PyObject *args, PyObject *kwargs) {
11458 PyObject *resultobj = NULL;
11459 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11460 size_t arg2 ;
11461 size_t arg3 ;
11462 PyObject * obj0 = 0 ;
11463 PyObject * obj1 = 0 ;
11464 PyObject * obj2 = 0 ;
11465 char *kwnames[] = {
11466 (char *) "self",(char *) "from",(char *) "to", NULL
11467 };
11468
11469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
11470 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11471 if (SWIG_arg_fail(1)) SWIG_fail;
11472 {
11473 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
11474 if (SWIG_arg_fail(2)) SWIG_fail;
11475 }
11476 {
11477 arg3 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2));
11478 if (SWIG_arg_fail(3)) SWIG_fail;
11479 }
11480 {
11481 PyThreadState* __tstate = wxPyBeginAllowThreads();
11482 (arg1)->RefreshLines(arg2,arg3);
11483
11484 wxPyEndAllowThreads(__tstate);
11485 if (PyErr_Occurred()) SWIG_fail;
11486 }
11487 Py_INCREF(Py_None); resultobj = Py_None;
11488 return resultobj;
11489 fail:
11490 return NULL;
11491 }
11492
11493
11494 static PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
11495 PyObject *resultobj = NULL;
11496 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11497 int arg2 ;
11498 int arg3 ;
11499 int result;
11500 PyObject * obj0 = 0 ;
11501 PyObject * obj1 = 0 ;
11502 PyObject * obj2 = 0 ;
11503 char *kwnames[] = {
11504 (char *) "self",(char *) "x",(char *) "y", NULL
11505 };
11506
11507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
11508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11509 if (SWIG_arg_fail(1)) SWIG_fail;
11510 {
11511 arg2 = static_cast<int >(SWIG_As_int(obj1));
11512 if (SWIG_arg_fail(2)) SWIG_fail;
11513 }
11514 {
11515 arg3 = static_cast<int >(SWIG_As_int(obj2));
11516 if (SWIG_arg_fail(3)) SWIG_fail;
11517 }
11518 {
11519 PyThreadState* __tstate = wxPyBeginAllowThreads();
11520 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
11521
11522 wxPyEndAllowThreads(__tstate);
11523 if (PyErr_Occurred()) SWIG_fail;
11524 }
11525 {
11526 resultobj = SWIG_From_int(static_cast<int >(result));
11527 }
11528 return resultobj;
11529 fail:
11530 return NULL;
11531 }
11532
11533
11534 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
11535 PyObject *resultobj = NULL;
11536 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11537 wxPoint *arg2 = 0 ;
11538 int result;
11539 wxPoint temp2 ;
11540 PyObject * obj0 = 0 ;
11541 PyObject * obj1 = 0 ;
11542 char *kwnames[] = {
11543 (char *) "self",(char *) "pt", NULL
11544 };
11545
11546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
11547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11548 if (SWIG_arg_fail(1)) SWIG_fail;
11549 {
11550 arg2 = &temp2;
11551 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11552 }
11553 {
11554 PyThreadState* __tstate = wxPyBeginAllowThreads();
11555 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
11556
11557 wxPyEndAllowThreads(__tstate);
11558 if (PyErr_Occurred()) SWIG_fail;
11559 }
11560 {
11561 resultobj = SWIG_From_int(static_cast<int >(result));
11562 }
11563 return resultobj;
11564 fail:
11565 return NULL;
11566 }
11567
11568
11569 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
11570 PyObject *resultobj = NULL;
11571 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11572 PyObject * obj0 = 0 ;
11573 char *kwnames[] = {
11574 (char *) "self", NULL
11575 };
11576
11577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
11578 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11579 if (SWIG_arg_fail(1)) SWIG_fail;
11580 {
11581 PyThreadState* __tstate = wxPyBeginAllowThreads();
11582 (arg1)->RefreshAll();
11583
11584 wxPyEndAllowThreads(__tstate);
11585 if (PyErr_Occurred()) SWIG_fail;
11586 }
11587 Py_INCREF(Py_None); resultobj = Py_None;
11588 return resultobj;
11589 fail:
11590 return NULL;
11591 }
11592
11593
11594 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
11595 PyObject *resultobj = NULL;
11596 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11597 size_t result;
11598 PyObject * obj0 = 0 ;
11599 char *kwnames[] = {
11600 (char *) "self", NULL
11601 };
11602
11603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
11604 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11605 if (SWIG_arg_fail(1)) SWIG_fail;
11606 {
11607 PyThreadState* __tstate = wxPyBeginAllowThreads();
11608 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
11609
11610 wxPyEndAllowThreads(__tstate);
11611 if (PyErr_Occurred()) SWIG_fail;
11612 }
11613 {
11614 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
11615 }
11616 return resultobj;
11617 fail:
11618 return NULL;
11619 }
11620
11621
11622 static PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *, PyObject *args, PyObject *kwargs) {
11623 PyObject *resultobj = NULL;
11624 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11625 size_t result;
11626 PyObject * obj0 = 0 ;
11627 char *kwnames[] = {
11628 (char *) "self", NULL
11629 };
11630
11631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetVisibleBegin",kwnames,&obj0)) goto fail;
11632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11633 if (SWIG_arg_fail(1)) SWIG_fail;
11634 {
11635 PyThreadState* __tstate = wxPyBeginAllowThreads();
11636 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
11637
11638 wxPyEndAllowThreads(__tstate);
11639 if (PyErr_Occurred()) SWIG_fail;
11640 }
11641 {
11642 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
11643 }
11644 return resultobj;
11645 fail:
11646 return NULL;
11647 }
11648
11649
11650 static PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *, PyObject *args, PyObject *kwargs) {
11651 PyObject *resultobj = NULL;
11652 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11653 size_t result;
11654 PyObject * obj0 = 0 ;
11655 char *kwnames[] = {
11656 (char *) "self", NULL
11657 };
11658
11659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetVisibleEnd",kwnames,&obj0)) goto fail;
11660 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11661 if (SWIG_arg_fail(1)) SWIG_fail;
11662 {
11663 PyThreadState* __tstate = wxPyBeginAllowThreads();
11664 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
11665
11666 wxPyEndAllowThreads(__tstate);
11667 if (PyErr_Occurred()) SWIG_fail;
11668 }
11669 {
11670 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
11671 }
11672 return resultobj;
11673 fail:
11674 return NULL;
11675 }
11676
11677
11678 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
11679 PyObject *resultobj = NULL;
11680 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11681 size_t arg2 ;
11682 bool result;
11683 PyObject * obj0 = 0 ;
11684 PyObject * obj1 = 0 ;
11685 char *kwnames[] = {
11686 (char *) "self",(char *) "line", NULL
11687 };
11688
11689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
11690 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11691 if (SWIG_arg_fail(1)) SWIG_fail;
11692 {
11693 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
11694 if (SWIG_arg_fail(2)) SWIG_fail;
11695 }
11696 {
11697 PyThreadState* __tstate = wxPyBeginAllowThreads();
11698 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
11699
11700 wxPyEndAllowThreads(__tstate);
11701 if (PyErr_Occurred()) SWIG_fail;
11702 }
11703 {
11704 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11705 }
11706 return resultobj;
11707 fail:
11708 return NULL;
11709 }
11710
11711
11712 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
11713 PyObject *resultobj = NULL;
11714 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11715 size_t result;
11716 PyObject * obj0 = 0 ;
11717 char *kwnames[] = {
11718 (char *) "self", NULL
11719 };
11720
11721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
11722 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11723 if (SWIG_arg_fail(1)) SWIG_fail;
11724 {
11725 PyThreadState* __tstate = wxPyBeginAllowThreads();
11726 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
11727
11728 wxPyEndAllowThreads(__tstate);
11729 if (PyErr_Occurred()) SWIG_fail;
11730 }
11731 {
11732 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
11733 }
11734 return resultobj;
11735 fail:
11736 return NULL;
11737 }
11738
11739
11740 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
11741 PyObject *resultobj = NULL;
11742 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11743 size_t result;
11744 PyObject * obj0 = 0 ;
11745 char *kwnames[] = {
11746 (char *) "self", NULL
11747 };
11748
11749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
11750 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11751 if (SWIG_arg_fail(1)) SWIG_fail;
11752 {
11753 PyThreadState* __tstate = wxPyBeginAllowThreads();
11754 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
11755
11756 wxPyEndAllowThreads(__tstate);
11757 if (PyErr_Occurred()) SWIG_fail;
11758 }
11759 {
11760 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
11761 }
11762 return resultobj;
11763 fail:
11764 return NULL;
11765 }
11766
11767
11768 static PyObject * VScrolledWindow_swigregister(PyObject *, PyObject *args) {
11769 PyObject *obj;
11770 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11771 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
11772 Py_INCREF(obj);
11773 return Py_BuildValue((char *)"");
11774 }
11775 static int _wrap_VListBoxNameStr_set(PyObject *) {
11776 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
11777 return 1;
11778 }
11779
11780
11781 static PyObject *_wrap_VListBoxNameStr_get(void) {
11782 PyObject *pyobj = NULL;
11783
11784 {
11785 #if wxUSE_UNICODE
11786 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
11787 #else
11788 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
11789 #endif
11790 }
11791 return pyobj;
11792 }
11793
11794
11795 static PyObject *_wrap_new_VListBox(PyObject *, PyObject *args, PyObject *kwargs) {
11796 PyObject *resultobj = NULL;
11797 wxWindow *arg1 = (wxWindow *) 0 ;
11798 int arg2 = (int) wxID_ANY ;
11799 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11800 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11801 wxSize const &arg4_defvalue = wxDefaultSize ;
11802 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11803 long arg5 = (long) 0 ;
11804 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
11805 wxString *arg6 = (wxString *) &arg6_defvalue ;
11806 wxPyVListBox *result;
11807 wxPoint temp3 ;
11808 wxSize temp4 ;
11809 bool temp6 = false ;
11810 PyObject * obj0 = 0 ;
11811 PyObject * obj1 = 0 ;
11812 PyObject * obj2 = 0 ;
11813 PyObject * obj3 = 0 ;
11814 PyObject * obj4 = 0 ;
11815 PyObject * obj5 = 0 ;
11816 char *kwnames[] = {
11817 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11818 };
11819
11820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11821 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11822 if (SWIG_arg_fail(1)) SWIG_fail;
11823 if (obj1) {
11824 {
11825 arg2 = static_cast<int >(SWIG_As_int(obj1));
11826 if (SWIG_arg_fail(2)) SWIG_fail;
11827 }
11828 }
11829 if (obj2) {
11830 {
11831 arg3 = &temp3;
11832 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11833 }
11834 }
11835 if (obj3) {
11836 {
11837 arg4 = &temp4;
11838 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11839 }
11840 }
11841 if (obj4) {
11842 {
11843 arg5 = static_cast<long >(SWIG_As_long(obj4));
11844 if (SWIG_arg_fail(5)) SWIG_fail;
11845 }
11846 }
11847 if (obj5) {
11848 {
11849 arg6 = wxString_in_helper(obj5);
11850 if (arg6 == NULL) SWIG_fail;
11851 temp6 = true;
11852 }
11853 }
11854 {
11855 if (!wxPyCheckForApp()) SWIG_fail;
11856 PyThreadState* __tstate = wxPyBeginAllowThreads();
11857 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11858
11859 wxPyEndAllowThreads(__tstate);
11860 if (PyErr_Occurred()) SWIG_fail;
11861 }
11862 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
11863 {
11864 if (temp6)
11865 delete arg6;
11866 }
11867 return resultobj;
11868 fail:
11869 {
11870 if (temp6)
11871 delete arg6;
11872 }
11873 return NULL;
11874 }
11875
11876
11877 static PyObject *_wrap_new_PreVListBox(PyObject *, PyObject *args, PyObject *kwargs) {
11878 PyObject *resultobj = NULL;
11879 wxPyVListBox *result;
11880 char *kwnames[] = {
11881 NULL
11882 };
11883
11884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
11885 {
11886 if (!wxPyCheckForApp()) SWIG_fail;
11887 PyThreadState* __tstate = wxPyBeginAllowThreads();
11888 result = (wxPyVListBox *)new wxPyVListBox();
11889
11890 wxPyEndAllowThreads(__tstate);
11891 if (PyErr_Occurred()) SWIG_fail;
11892 }
11893 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
11894 return resultobj;
11895 fail:
11896 return NULL;
11897 }
11898
11899
11900 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
11901 PyObject *resultobj = NULL;
11902 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11903 PyObject *arg2 = (PyObject *) 0 ;
11904 PyObject *arg3 = (PyObject *) 0 ;
11905 PyObject * obj0 = 0 ;
11906 PyObject * obj1 = 0 ;
11907 PyObject * obj2 = 0 ;
11908 char *kwnames[] = {
11909 (char *) "self",(char *) "self",(char *) "_class", NULL
11910 };
11911
11912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
11913 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11914 if (SWIG_arg_fail(1)) SWIG_fail;
11915 arg2 = obj1;
11916 arg3 = obj2;
11917 {
11918 PyThreadState* __tstate = wxPyBeginAllowThreads();
11919 (arg1)->_setCallbackInfo(arg2,arg3);
11920
11921 wxPyEndAllowThreads(__tstate);
11922 if (PyErr_Occurred()) SWIG_fail;
11923 }
11924 Py_INCREF(Py_None); resultobj = Py_None;
11925 return resultobj;
11926 fail:
11927 return NULL;
11928 }
11929
11930
11931 static PyObject *_wrap_VListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
11932 PyObject *resultobj = NULL;
11933 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11934 wxWindow *arg2 = (wxWindow *) 0 ;
11935 int arg3 = (int) wxID_ANY ;
11936 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11937 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11938 wxSize const &arg5_defvalue = wxDefaultSize ;
11939 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11940 long arg6 = (long) 0 ;
11941 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
11942 wxString *arg7 = (wxString *) &arg7_defvalue ;
11943 bool result;
11944 wxPoint temp4 ;
11945 wxSize temp5 ;
11946 bool temp7 = false ;
11947 PyObject * obj0 = 0 ;
11948 PyObject * obj1 = 0 ;
11949 PyObject * obj2 = 0 ;
11950 PyObject * obj3 = 0 ;
11951 PyObject * obj4 = 0 ;
11952 PyObject * obj5 = 0 ;
11953 PyObject * obj6 = 0 ;
11954 char *kwnames[] = {
11955 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11956 };
11957
11958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11959 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11960 if (SWIG_arg_fail(1)) SWIG_fail;
11961 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11962 if (SWIG_arg_fail(2)) SWIG_fail;
11963 if (obj2) {
11964 {
11965 arg3 = static_cast<int >(SWIG_As_int(obj2));
11966 if (SWIG_arg_fail(3)) SWIG_fail;
11967 }
11968 }
11969 if (obj3) {
11970 {
11971 arg4 = &temp4;
11972 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11973 }
11974 }
11975 if (obj4) {
11976 {
11977 arg5 = &temp5;
11978 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11979 }
11980 }
11981 if (obj5) {
11982 {
11983 arg6 = static_cast<long >(SWIG_As_long(obj5));
11984 if (SWIG_arg_fail(6)) SWIG_fail;
11985 }
11986 }
11987 if (obj6) {
11988 {
11989 arg7 = wxString_in_helper(obj6);
11990 if (arg7 == NULL) SWIG_fail;
11991 temp7 = true;
11992 }
11993 }
11994 {
11995 PyThreadState* __tstate = wxPyBeginAllowThreads();
11996 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11997
11998 wxPyEndAllowThreads(__tstate);
11999 if (PyErr_Occurred()) SWIG_fail;
12000 }
12001 {
12002 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12003 }
12004 {
12005 if (temp7)
12006 delete arg7;
12007 }
12008 return resultobj;
12009 fail:
12010 {
12011 if (temp7)
12012 delete arg7;
12013 }
12014 return NULL;
12015 }
12016
12017
12018 static PyObject *_wrap_VListBox_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
12019 PyObject *resultobj = NULL;
12020 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12021 size_t result;
12022 PyObject * obj0 = 0 ;
12023 char *kwnames[] = {
12024 (char *) "self", NULL
12025 };
12026
12027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
12028 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12029 if (SWIG_arg_fail(1)) SWIG_fail;
12030 {
12031 PyThreadState* __tstate = wxPyBeginAllowThreads();
12032 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
12033
12034 wxPyEndAllowThreads(__tstate);
12035 if (PyErr_Occurred()) SWIG_fail;
12036 }
12037 {
12038 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
12039 }
12040 return resultobj;
12041 fail:
12042 return NULL;
12043 }
12044
12045
12046 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12047 PyObject *resultobj = NULL;
12048 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12049 bool result;
12050 PyObject * obj0 = 0 ;
12051 char *kwnames[] = {
12052 (char *) "self", NULL
12053 };
12054
12055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
12056 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12057 if (SWIG_arg_fail(1)) SWIG_fail;
12058 {
12059 PyThreadState* __tstate = wxPyBeginAllowThreads();
12060 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
12061
12062 wxPyEndAllowThreads(__tstate);
12063 if (PyErr_Occurred()) SWIG_fail;
12064 }
12065 {
12066 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12067 }
12068 return resultobj;
12069 fail:
12070 return NULL;
12071 }
12072
12073
12074 static PyObject *_wrap_VListBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12075 PyObject *resultobj = NULL;
12076 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12077 int result;
12078 PyObject * obj0 = 0 ;
12079 char *kwnames[] = {
12080 (char *) "self", NULL
12081 };
12082
12083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
12084 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12085 if (SWIG_arg_fail(1)) SWIG_fail;
12086 {
12087 PyThreadState* __tstate = wxPyBeginAllowThreads();
12088 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
12089
12090 wxPyEndAllowThreads(__tstate);
12091 if (PyErr_Occurred()) SWIG_fail;
12092 }
12093 {
12094 resultobj = SWIG_From_int(static_cast<int >(result));
12095 }
12096 return resultobj;
12097 fail:
12098 return NULL;
12099 }
12100
12101
12102 static PyObject *_wrap_VListBox_IsCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
12103 PyObject *resultobj = NULL;
12104 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12105 size_t arg2 ;
12106 bool result;
12107 PyObject * obj0 = 0 ;
12108 PyObject * obj1 = 0 ;
12109 char *kwnames[] = {
12110 (char *) "self",(char *) "item", NULL
12111 };
12112
12113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
12114 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12115 if (SWIG_arg_fail(1)) SWIG_fail;
12116 {
12117 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
12118 if (SWIG_arg_fail(2)) SWIG_fail;
12119 }
12120 {
12121 PyThreadState* __tstate = wxPyBeginAllowThreads();
12122 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
12123
12124 wxPyEndAllowThreads(__tstate);
12125 if (PyErr_Occurred()) SWIG_fail;
12126 }
12127 {
12128 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12129 }
12130 return resultobj;
12131 fail:
12132 return NULL;
12133 }
12134
12135
12136 static PyObject *_wrap_VListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
12137 PyObject *resultobj = NULL;
12138 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12139 size_t arg2 ;
12140 bool result;
12141 PyObject * obj0 = 0 ;
12142 PyObject * obj1 = 0 ;
12143 char *kwnames[] = {
12144 (char *) "self",(char *) "item", NULL
12145 };
12146
12147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
12148 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12149 if (SWIG_arg_fail(1)) SWIG_fail;
12150 {
12151 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
12152 if (SWIG_arg_fail(2)) SWIG_fail;
12153 }
12154 {
12155 PyThreadState* __tstate = wxPyBeginAllowThreads();
12156 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
12157
12158 wxPyEndAllowThreads(__tstate);
12159 if (PyErr_Occurred()) SWIG_fail;
12160 }
12161 {
12162 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12163 }
12164 return resultobj;
12165 fail:
12166 return NULL;
12167 }
12168
12169
12170 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *, PyObject *args, PyObject *kwargs) {
12171 PyObject *resultobj = NULL;
12172 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12173 size_t result;
12174 PyObject * obj0 = 0 ;
12175 char *kwnames[] = {
12176 (char *) "self", NULL
12177 };
12178
12179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
12180 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12181 if (SWIG_arg_fail(1)) SWIG_fail;
12182 {
12183 PyThreadState* __tstate = wxPyBeginAllowThreads();
12184 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
12185
12186 wxPyEndAllowThreads(__tstate);
12187 if (PyErr_Occurred()) SWIG_fail;
12188 }
12189 {
12190 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
12191 }
12192 return resultobj;
12193 fail:
12194 return NULL;
12195 }
12196
12197
12198 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
12199 PyObject *resultobj = NULL;
12200 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12201 PyObject *result;
12202 PyObject * obj0 = 0 ;
12203 char *kwnames[] = {
12204 (char *) "self", NULL
12205 };
12206
12207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetFirstSelected",kwnames,&obj0)) goto fail;
12208 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12209 if (SWIG_arg_fail(1)) SWIG_fail;
12210 {
12211 PyThreadState* __tstate = wxPyBeginAllowThreads();
12212 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
12213
12214 wxPyEndAllowThreads(__tstate);
12215 if (PyErr_Occurred()) SWIG_fail;
12216 }
12217 resultobj = result;
12218 return resultobj;
12219 fail:
12220 return NULL;
12221 }
12222
12223
12224 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
12225 PyObject *resultobj = NULL;
12226 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12227 unsigned long arg2 ;
12228 PyObject *result;
12229 PyObject * obj0 = 0 ;
12230 PyObject * obj1 = 0 ;
12231 char *kwnames[] = {
12232 (char *) "self",(char *) "cookie", NULL
12233 };
12234
12235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
12236 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12237 if (SWIG_arg_fail(1)) SWIG_fail;
12238 {
12239 arg2 = static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj1));
12240 if (SWIG_arg_fail(2)) SWIG_fail;
12241 }
12242 {
12243 PyThreadState* __tstate = wxPyBeginAllowThreads();
12244 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
12245
12246 wxPyEndAllowThreads(__tstate);
12247 if (PyErr_Occurred()) SWIG_fail;
12248 }
12249 resultobj = result;
12250 return resultobj;
12251 fail:
12252 return NULL;
12253 }
12254
12255
12256 static PyObject *_wrap_VListBox_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
12257 PyObject *resultobj = NULL;
12258 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12259 wxPoint result;
12260 PyObject * obj0 = 0 ;
12261 char *kwnames[] = {
12262 (char *) "self", NULL
12263 };
12264
12265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
12266 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12267 if (SWIG_arg_fail(1)) SWIG_fail;
12268 {
12269 PyThreadState* __tstate = wxPyBeginAllowThreads();
12270 result = ((wxPyVListBox const *)arg1)->GetMargins();
12271
12272 wxPyEndAllowThreads(__tstate);
12273 if (PyErr_Occurred()) SWIG_fail;
12274 }
12275 {
12276 wxPoint * resultptr;
12277 resultptr = new wxPoint(static_cast<wxPoint & >(result));
12278 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
12279 }
12280 return resultobj;
12281 fail:
12282 return NULL;
12283 }
12284
12285
12286 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
12287 PyObject *resultobj = NULL;
12288 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12289 wxColour *result;
12290 PyObject * obj0 = 0 ;
12291 char *kwnames[] = {
12292 (char *) "self", NULL
12293 };
12294
12295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
12296 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12297 if (SWIG_arg_fail(1)) SWIG_fail;
12298 {
12299 PyThreadState* __tstate = wxPyBeginAllowThreads();
12300 {
12301 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
12302 result = (wxColour *) &_result_ref;
12303 }
12304
12305 wxPyEndAllowThreads(__tstate);
12306 if (PyErr_Occurred()) SWIG_fail;
12307 }
12308 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
12309 return resultobj;
12310 fail:
12311 return NULL;
12312 }
12313
12314
12315 static PyObject *_wrap_VListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
12316 PyObject *resultobj = NULL;
12317 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12318 size_t arg2 ;
12319 PyObject * obj0 = 0 ;
12320 PyObject * obj1 = 0 ;
12321 char *kwnames[] = {
12322 (char *) "self",(char *) "count", NULL
12323 };
12324
12325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
12326 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12327 if (SWIG_arg_fail(1)) SWIG_fail;
12328 {
12329 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
12330 if (SWIG_arg_fail(2)) SWIG_fail;
12331 }
12332 {
12333 PyThreadState* __tstate = wxPyBeginAllowThreads();
12334 (arg1)->SetItemCount(arg2);
12335
12336 wxPyEndAllowThreads(__tstate);
12337 if (PyErr_Occurred()) SWIG_fail;
12338 }
12339 Py_INCREF(Py_None); resultobj = Py_None;
12340 return resultobj;
12341 fail:
12342 return NULL;
12343 }
12344
12345
12346 static PyObject *_wrap_VListBox_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
12347 PyObject *resultobj = NULL;
12348 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12349 PyObject * obj0 = 0 ;
12350 char *kwnames[] = {
12351 (char *) "self", NULL
12352 };
12353
12354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
12355 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12356 if (SWIG_arg_fail(1)) SWIG_fail;
12357 {
12358 PyThreadState* __tstate = wxPyBeginAllowThreads();
12359 (arg1)->Clear();
12360
12361 wxPyEndAllowThreads(__tstate);
12362 if (PyErr_Occurred()) SWIG_fail;
12363 }
12364 Py_INCREF(Py_None); resultobj = Py_None;
12365 return resultobj;
12366 fail:
12367 return NULL;
12368 }
12369
12370
12371 static PyObject *_wrap_VListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12372 PyObject *resultobj = NULL;
12373 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12374 int arg2 ;
12375 PyObject * obj0 = 0 ;
12376 PyObject * obj1 = 0 ;
12377 char *kwnames[] = {
12378 (char *) "self",(char *) "selection", NULL
12379 };
12380
12381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12382 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12383 if (SWIG_arg_fail(1)) SWIG_fail;
12384 {
12385 arg2 = static_cast<int >(SWIG_As_int(obj1));
12386 if (SWIG_arg_fail(2)) SWIG_fail;
12387 }
12388 {
12389 PyThreadState* __tstate = wxPyBeginAllowThreads();
12390 (arg1)->SetSelection(arg2);
12391
12392 wxPyEndAllowThreads(__tstate);
12393 if (PyErr_Occurred()) SWIG_fail;
12394 }
12395 Py_INCREF(Py_None); resultobj = Py_None;
12396 return resultobj;
12397 fail:
12398 return NULL;
12399 }
12400
12401
12402 static PyObject *_wrap_VListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
12403 PyObject *resultobj = NULL;
12404 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12405 size_t arg2 ;
12406 bool arg3 = (bool) true ;
12407 bool result;
12408 PyObject * obj0 = 0 ;
12409 PyObject * obj1 = 0 ;
12410 PyObject * obj2 = 0 ;
12411 char *kwnames[] = {
12412 (char *) "self",(char *) "item",(char *) "select", NULL
12413 };
12414
12415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
12416 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12417 if (SWIG_arg_fail(1)) SWIG_fail;
12418 {
12419 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
12420 if (SWIG_arg_fail(2)) SWIG_fail;
12421 }
12422 if (obj2) {
12423 {
12424 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
12425 if (SWIG_arg_fail(3)) SWIG_fail;
12426 }
12427 }
12428 {
12429 PyThreadState* __tstate = wxPyBeginAllowThreads();
12430 result = (bool)(arg1)->Select(arg2,arg3);
12431
12432 wxPyEndAllowThreads(__tstate);
12433 if (PyErr_Occurred()) SWIG_fail;
12434 }
12435 {
12436 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12437 }
12438 return resultobj;
12439 fail:
12440 return NULL;
12441 }
12442
12443
12444 static PyObject *_wrap_VListBox_SelectRange(PyObject *, PyObject *args, PyObject *kwargs) {
12445 PyObject *resultobj = NULL;
12446 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12447 size_t arg2 ;
12448 size_t arg3 ;
12449 bool result;
12450 PyObject * obj0 = 0 ;
12451 PyObject * obj1 = 0 ;
12452 PyObject * obj2 = 0 ;
12453 char *kwnames[] = {
12454 (char *) "self",(char *) "from",(char *) "to", NULL
12455 };
12456
12457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
12458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12459 if (SWIG_arg_fail(1)) SWIG_fail;
12460 {
12461 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
12462 if (SWIG_arg_fail(2)) SWIG_fail;
12463 }
12464 {
12465 arg3 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2));
12466 if (SWIG_arg_fail(3)) SWIG_fail;
12467 }
12468 {
12469 PyThreadState* __tstate = wxPyBeginAllowThreads();
12470 result = (bool)(arg1)->SelectRange(arg2,arg3);
12471
12472 wxPyEndAllowThreads(__tstate);
12473 if (PyErr_Occurred()) SWIG_fail;
12474 }
12475 {
12476 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12477 }
12478 return resultobj;
12479 fail:
12480 return NULL;
12481 }
12482
12483
12484 static PyObject *_wrap_VListBox_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
12485 PyObject *resultobj = NULL;
12486 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12487 size_t arg2 ;
12488 PyObject * obj0 = 0 ;
12489 PyObject * obj1 = 0 ;
12490 char *kwnames[] = {
12491 (char *) "self",(char *) "item", NULL
12492 };
12493
12494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
12495 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12496 if (SWIG_arg_fail(1)) SWIG_fail;
12497 {
12498 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
12499 if (SWIG_arg_fail(2)) SWIG_fail;
12500 }
12501 {
12502 PyThreadState* __tstate = wxPyBeginAllowThreads();
12503 (arg1)->Toggle(arg2);
12504
12505 wxPyEndAllowThreads(__tstate);
12506 if (PyErr_Occurred()) SWIG_fail;
12507 }
12508 Py_INCREF(Py_None); resultobj = Py_None;
12509 return resultobj;
12510 fail:
12511 return NULL;
12512 }
12513
12514
12515 static PyObject *_wrap_VListBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
12516 PyObject *resultobj = NULL;
12517 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12518 bool result;
12519 PyObject * obj0 = 0 ;
12520 char *kwnames[] = {
12521 (char *) "self", NULL
12522 };
12523
12524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
12525 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12526 if (SWIG_arg_fail(1)) SWIG_fail;
12527 {
12528 PyThreadState* __tstate = wxPyBeginAllowThreads();
12529 result = (bool)(arg1)->SelectAll();
12530
12531 wxPyEndAllowThreads(__tstate);
12532 if (PyErr_Occurred()) SWIG_fail;
12533 }
12534 {
12535 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12536 }
12537 return resultobj;
12538 fail:
12539 return NULL;
12540 }
12541
12542
12543 static PyObject *_wrap_VListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
12544 PyObject *resultobj = NULL;
12545 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12546 bool result;
12547 PyObject * obj0 = 0 ;
12548 char *kwnames[] = {
12549 (char *) "self", NULL
12550 };
12551
12552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
12553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12554 if (SWIG_arg_fail(1)) SWIG_fail;
12555 {
12556 PyThreadState* __tstate = wxPyBeginAllowThreads();
12557 result = (bool)(arg1)->DeselectAll();
12558
12559 wxPyEndAllowThreads(__tstate);
12560 if (PyErr_Occurred()) SWIG_fail;
12561 }
12562 {
12563 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12564 }
12565 return resultobj;
12566 fail:
12567 return NULL;
12568 }
12569
12570
12571 static PyObject *_wrap_VListBox_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
12572 PyObject *resultobj = NULL;
12573 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12574 wxPoint *arg2 = 0 ;
12575 wxPoint temp2 ;
12576 PyObject * obj0 = 0 ;
12577 PyObject * obj1 = 0 ;
12578 char *kwnames[] = {
12579 (char *) "self",(char *) "pt", NULL
12580 };
12581
12582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
12583 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12584 if (SWIG_arg_fail(1)) SWIG_fail;
12585 {
12586 arg2 = &temp2;
12587 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12588 }
12589 {
12590 PyThreadState* __tstate = wxPyBeginAllowThreads();
12591 (arg1)->SetMargins((wxPoint const &)*arg2);
12592
12593 wxPyEndAllowThreads(__tstate);
12594 if (PyErr_Occurred()) SWIG_fail;
12595 }
12596 Py_INCREF(Py_None); resultobj = Py_None;
12597 return resultobj;
12598 fail:
12599 return NULL;
12600 }
12601
12602
12603 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
12604 PyObject *resultobj = NULL;
12605 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12606 int arg2 ;
12607 int arg3 ;
12608 PyObject * obj0 = 0 ;
12609 PyObject * obj1 = 0 ;
12610 PyObject * obj2 = 0 ;
12611 char *kwnames[] = {
12612 (char *) "self",(char *) "x",(char *) "y", NULL
12613 };
12614
12615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
12616 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12617 if (SWIG_arg_fail(1)) SWIG_fail;
12618 {
12619 arg2 = static_cast<int >(SWIG_As_int(obj1));
12620 if (SWIG_arg_fail(2)) SWIG_fail;
12621 }
12622 {
12623 arg3 = static_cast<int >(SWIG_As_int(obj2));
12624 if (SWIG_arg_fail(3)) SWIG_fail;
12625 }
12626 {
12627 PyThreadState* __tstate = wxPyBeginAllowThreads();
12628 (arg1)->SetMargins(arg2,arg3);
12629
12630 wxPyEndAllowThreads(__tstate);
12631 if (PyErr_Occurred()) SWIG_fail;
12632 }
12633 Py_INCREF(Py_None); resultobj = Py_None;
12634 return resultobj;
12635 fail:
12636 return NULL;
12637 }
12638
12639
12640 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
12641 PyObject *resultobj = NULL;
12642 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12643 wxColour *arg2 = 0 ;
12644 wxColour temp2 ;
12645 PyObject * obj0 = 0 ;
12646 PyObject * obj1 = 0 ;
12647 char *kwnames[] = {
12648 (char *) "self",(char *) "col", NULL
12649 };
12650
12651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
12652 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12653 if (SWIG_arg_fail(1)) SWIG_fail;
12654 {
12655 arg2 = &temp2;
12656 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12657 }
12658 {
12659 PyThreadState* __tstate = wxPyBeginAllowThreads();
12660 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
12661
12662 wxPyEndAllowThreads(__tstate);
12663 if (PyErr_Occurred()) SWIG_fail;
12664 }
12665 Py_INCREF(Py_None); resultobj = Py_None;
12666 return resultobj;
12667 fail:
12668 return NULL;
12669 }
12670
12671
12672 static PyObject * VListBox_swigregister(PyObject *, PyObject *args) {
12673 PyObject *obj;
12674 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12675 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
12676 Py_INCREF(obj);
12677 return Py_BuildValue((char *)"");
12678 }
12679 static PyObject *_wrap_new_HtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
12680 PyObject *resultobj = NULL;
12681 wxWindow *arg1 = (wxWindow *) 0 ;
12682 int arg2 = (int) wxID_ANY ;
12683 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12684 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12685 wxSize const &arg4_defvalue = wxDefaultSize ;
12686 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12687 long arg5 = (long) 0 ;
12688 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
12689 wxString *arg6 = (wxString *) &arg6_defvalue ;
12690 wxPyHtmlListBox *result;
12691 wxPoint temp3 ;
12692 wxSize temp4 ;
12693 bool temp6 = false ;
12694 PyObject * obj0 = 0 ;
12695 PyObject * obj1 = 0 ;
12696 PyObject * obj2 = 0 ;
12697 PyObject * obj3 = 0 ;
12698 PyObject * obj4 = 0 ;
12699 PyObject * obj5 = 0 ;
12700 char *kwnames[] = {
12701 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12702 };
12703
12704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12705 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12706 if (SWIG_arg_fail(1)) SWIG_fail;
12707 if (obj1) {
12708 {
12709 arg2 = static_cast<int >(SWIG_As_int(obj1));
12710 if (SWIG_arg_fail(2)) SWIG_fail;
12711 }
12712 }
12713 if (obj2) {
12714 {
12715 arg3 = &temp3;
12716 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12717 }
12718 }
12719 if (obj3) {
12720 {
12721 arg4 = &temp4;
12722 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12723 }
12724 }
12725 if (obj4) {
12726 {
12727 arg5 = static_cast<long >(SWIG_As_long(obj4));
12728 if (SWIG_arg_fail(5)) SWIG_fail;
12729 }
12730 }
12731 if (obj5) {
12732 {
12733 arg6 = wxString_in_helper(obj5);
12734 if (arg6 == NULL) SWIG_fail;
12735 temp6 = true;
12736 }
12737 }
12738 {
12739 if (!wxPyCheckForApp()) SWIG_fail;
12740 PyThreadState* __tstate = wxPyBeginAllowThreads();
12741 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12742
12743 wxPyEndAllowThreads(__tstate);
12744 if (PyErr_Occurred()) SWIG_fail;
12745 }
12746 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
12747 {
12748 if (temp6)
12749 delete arg6;
12750 }
12751 return resultobj;
12752 fail:
12753 {
12754 if (temp6)
12755 delete arg6;
12756 }
12757 return NULL;
12758 }
12759
12760
12761 static PyObject *_wrap_new_PreHtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
12762 PyObject *resultobj = NULL;
12763 wxPyHtmlListBox *result;
12764 char *kwnames[] = {
12765 NULL
12766 };
12767
12768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
12769 {
12770 if (!wxPyCheckForApp()) SWIG_fail;
12771 PyThreadState* __tstate = wxPyBeginAllowThreads();
12772 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
12773
12774 wxPyEndAllowThreads(__tstate);
12775 if (PyErr_Occurred()) SWIG_fail;
12776 }
12777 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
12778 return resultobj;
12779 fail:
12780 return NULL;
12781 }
12782
12783
12784 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
12785 PyObject *resultobj = NULL;
12786 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12787 PyObject *arg2 = (PyObject *) 0 ;
12788 PyObject *arg3 = (PyObject *) 0 ;
12789 PyObject * obj0 = 0 ;
12790 PyObject * obj1 = 0 ;
12791 PyObject * obj2 = 0 ;
12792 char *kwnames[] = {
12793 (char *) "self",(char *) "self",(char *) "_class", NULL
12794 };
12795
12796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
12797 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12798 if (SWIG_arg_fail(1)) SWIG_fail;
12799 arg2 = obj1;
12800 arg3 = obj2;
12801 {
12802 PyThreadState* __tstate = wxPyBeginAllowThreads();
12803 (arg1)->_setCallbackInfo(arg2,arg3);
12804
12805 wxPyEndAllowThreads(__tstate);
12806 if (PyErr_Occurred()) SWIG_fail;
12807 }
12808 Py_INCREF(Py_None); resultobj = Py_None;
12809 return resultobj;
12810 fail:
12811 return NULL;
12812 }
12813
12814
12815 static PyObject *_wrap_HtmlListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12816 PyObject *resultobj = NULL;
12817 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12818 wxWindow *arg2 = (wxWindow *) 0 ;
12819 int arg3 = (int) wxID_ANY ;
12820 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12821 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12822 wxSize const &arg5_defvalue = wxDefaultSize ;
12823 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12824 long arg6 = (long) 0 ;
12825 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
12826 wxString *arg7 = (wxString *) &arg7_defvalue ;
12827 bool result;
12828 wxPoint temp4 ;
12829 wxSize temp5 ;
12830 bool temp7 = false ;
12831 PyObject * obj0 = 0 ;
12832 PyObject * obj1 = 0 ;
12833 PyObject * obj2 = 0 ;
12834 PyObject * obj3 = 0 ;
12835 PyObject * obj4 = 0 ;
12836 PyObject * obj5 = 0 ;
12837 PyObject * obj6 = 0 ;
12838 char *kwnames[] = {
12839 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12840 };
12841
12842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
12843 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12844 if (SWIG_arg_fail(1)) SWIG_fail;
12845 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12846 if (SWIG_arg_fail(2)) SWIG_fail;
12847 if (obj2) {
12848 {
12849 arg3 = static_cast<int >(SWIG_As_int(obj2));
12850 if (SWIG_arg_fail(3)) SWIG_fail;
12851 }
12852 }
12853 if (obj3) {
12854 {
12855 arg4 = &temp4;
12856 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12857 }
12858 }
12859 if (obj4) {
12860 {
12861 arg5 = &temp5;
12862 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12863 }
12864 }
12865 if (obj5) {
12866 {
12867 arg6 = static_cast<long >(SWIG_As_long(obj5));
12868 if (SWIG_arg_fail(6)) SWIG_fail;
12869 }
12870 }
12871 if (obj6) {
12872 {
12873 arg7 = wxString_in_helper(obj6);
12874 if (arg7 == NULL) SWIG_fail;
12875 temp7 = true;
12876 }
12877 }
12878 {
12879 PyThreadState* __tstate = wxPyBeginAllowThreads();
12880 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12881
12882 wxPyEndAllowThreads(__tstate);
12883 if (PyErr_Occurred()) SWIG_fail;
12884 }
12885 {
12886 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12887 }
12888 {
12889 if (temp7)
12890 delete arg7;
12891 }
12892 return resultobj;
12893 fail:
12894 {
12895 if (temp7)
12896 delete arg7;
12897 }
12898 return NULL;
12899 }
12900
12901
12902 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
12903 PyObject *resultobj = NULL;
12904 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12905 PyObject * obj0 = 0 ;
12906 char *kwnames[] = {
12907 (char *) "self", NULL
12908 };
12909
12910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
12911 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12912 if (SWIG_arg_fail(1)) SWIG_fail;
12913 {
12914 PyThreadState* __tstate = wxPyBeginAllowThreads();
12915 (arg1)->RefreshAll();
12916
12917 wxPyEndAllowThreads(__tstate);
12918 if (PyErr_Occurred()) SWIG_fail;
12919 }
12920 Py_INCREF(Py_None); resultobj = Py_None;
12921 return resultobj;
12922 fail:
12923 return NULL;
12924 }
12925
12926
12927 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
12928 PyObject *resultobj = NULL;
12929 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12930 size_t arg2 ;
12931 PyObject * obj0 = 0 ;
12932 PyObject * obj1 = 0 ;
12933 char *kwnames[] = {
12934 (char *) "self",(char *) "count", NULL
12935 };
12936
12937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
12938 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12939 if (SWIG_arg_fail(1)) SWIG_fail;
12940 {
12941 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
12942 if (SWIG_arg_fail(2)) SWIG_fail;
12943 }
12944 {
12945 PyThreadState* __tstate = wxPyBeginAllowThreads();
12946 (arg1)->SetItemCount(arg2);
12947
12948 wxPyEndAllowThreads(__tstate);
12949 if (PyErr_Occurred()) SWIG_fail;
12950 }
12951 Py_INCREF(Py_None); resultobj = Py_None;
12952 return resultobj;
12953 fail:
12954 return NULL;
12955 }
12956
12957
12958 static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
12959 PyObject *resultobj = NULL;
12960 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12961 wxFileSystem *result;
12962 PyObject * obj0 = 0 ;
12963 char *kwnames[] = {
12964 (char *) "self", NULL
12965 };
12966
12967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail;
12968 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12969 if (SWIG_arg_fail(1)) SWIG_fail;
12970 {
12971 PyThreadState* __tstate = wxPyBeginAllowThreads();
12972 {
12973 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
12974 result = (wxFileSystem *) &_result_ref;
12975 }
12976
12977 wxPyEndAllowThreads(__tstate);
12978 if (PyErr_Occurred()) SWIG_fail;
12979 }
12980 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0);
12981 return resultobj;
12982 fail:
12983 return NULL;
12984 }
12985
12986
12987 static PyObject * HtmlListBox_swigregister(PyObject *, PyObject *args) {
12988 PyObject *obj;
12989 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12990 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
12991 Py_INCREF(obj);
12992 return Py_BuildValue((char *)"");
12993 }
12994 static PyObject *_wrap_new_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
12995 PyObject *resultobj = NULL;
12996 wxPyTaskBarIcon *result;
12997 char *kwnames[] = {
12998 NULL
12999 };
13000
13001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
13002 {
13003 if (!wxPyCheckForApp()) SWIG_fail;
13004 PyThreadState* __tstate = wxPyBeginAllowThreads();
13005 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
13006
13007 wxPyEndAllowThreads(__tstate);
13008 if (PyErr_Occurred()) SWIG_fail;
13009 }
13010 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTaskBarIcon, 1);
13011 return resultobj;
13012 fail:
13013 return NULL;
13014 }
13015
13016
13017 static PyObject *_wrap_delete_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
13018 PyObject *resultobj = NULL;
13019 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13020 PyObject * obj0 = 0 ;
13021 char *kwnames[] = {
13022 (char *) "self", NULL
13023 };
13024
13025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
13026 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13027 if (SWIG_arg_fail(1)) SWIG_fail;
13028 {
13029 PyThreadState* __tstate = wxPyBeginAllowThreads();
13030 delete arg1;
13031
13032 wxPyEndAllowThreads(__tstate);
13033 if (PyErr_Occurred()) SWIG_fail;
13034 }
13035 Py_INCREF(Py_None); resultobj = Py_None;
13036 return resultobj;
13037 fail:
13038 return NULL;
13039 }
13040
13041
13042 static PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
13043 PyObject *resultobj = NULL;
13044 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13045 PyObject *arg2 = (PyObject *) 0 ;
13046 PyObject *arg3 = (PyObject *) 0 ;
13047 int arg4 ;
13048 PyObject * obj0 = 0 ;
13049 PyObject * obj1 = 0 ;
13050 PyObject * obj2 = 0 ;
13051 PyObject * obj3 = 0 ;
13052 char *kwnames[] = {
13053 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
13054 };
13055
13056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13057 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13058 if (SWIG_arg_fail(1)) SWIG_fail;
13059 arg2 = obj1;
13060 arg3 = obj2;
13061 {
13062 arg4 = static_cast<int >(SWIG_As_int(obj3));
13063 if (SWIG_arg_fail(4)) SWIG_fail;
13064 }
13065 {
13066 PyThreadState* __tstate = wxPyBeginAllowThreads();
13067 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
13068
13069 wxPyEndAllowThreads(__tstate);
13070 if (PyErr_Occurred()) SWIG_fail;
13071 }
13072 Py_INCREF(Py_None); resultobj = Py_None;
13073 return resultobj;
13074 fail:
13075 return NULL;
13076 }
13077
13078
13079 static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
13080 PyObject *resultobj = NULL;
13081 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13082 PyObject * obj0 = 0 ;
13083 char *kwnames[] = {
13084 (char *) "self", NULL
13085 };
13086
13087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
13088 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13089 if (SWIG_arg_fail(1)) SWIG_fail;
13090 {
13091 PyThreadState* __tstate = wxPyBeginAllowThreads();
13092 wxPyTaskBarIcon_Destroy(arg1);
13093
13094 wxPyEndAllowThreads(__tstate);
13095 if (PyErr_Occurred()) SWIG_fail;
13096 }
13097 Py_INCREF(Py_None); resultobj = Py_None;
13098 return resultobj;
13099 fail:
13100 return NULL;
13101 }
13102
13103
13104 static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
13105 PyObject *resultobj = NULL;
13106 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13107 bool result;
13108 PyObject * obj0 = 0 ;
13109 char *kwnames[] = {
13110 (char *) "self", NULL
13111 };
13112
13113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
13114 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13115 if (SWIG_arg_fail(1)) SWIG_fail;
13116 {
13117 PyThreadState* __tstate = wxPyBeginAllowThreads();
13118 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
13119
13120 wxPyEndAllowThreads(__tstate);
13121 if (PyErr_Occurred()) SWIG_fail;
13122 }
13123 {
13124 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13125 }
13126 return resultobj;
13127 fail:
13128 return NULL;
13129 }
13130
13131
13132 static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *, PyObject *args, PyObject *kwargs) {
13133 PyObject *resultobj = NULL;
13134 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13135 bool result;
13136 PyObject * obj0 = 0 ;
13137 char *kwnames[] = {
13138 (char *) "self", NULL
13139 };
13140
13141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
13142 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13143 if (SWIG_arg_fail(1)) SWIG_fail;
13144 {
13145 PyThreadState* __tstate = wxPyBeginAllowThreads();
13146 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
13147
13148 wxPyEndAllowThreads(__tstate);
13149 if (PyErr_Occurred()) SWIG_fail;
13150 }
13151 {
13152 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13153 }
13154 return resultobj;
13155 fail:
13156 return NULL;
13157 }
13158
13159
13160 static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
13161 PyObject *resultobj = NULL;
13162 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13163 wxIcon *arg2 = 0 ;
13164 wxString const &arg3_defvalue = wxPyEmptyString ;
13165 wxString *arg3 = (wxString *) &arg3_defvalue ;
13166 bool result;
13167 bool temp3 = false ;
13168 PyObject * obj0 = 0 ;
13169 PyObject * obj1 = 0 ;
13170 PyObject * obj2 = 0 ;
13171 char *kwnames[] = {
13172 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
13173 };
13174
13175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
13176 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13177 if (SWIG_arg_fail(1)) SWIG_fail;
13178 {
13179 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
13180 if (SWIG_arg_fail(2)) SWIG_fail;
13181 if (arg2 == NULL) {
13182 SWIG_null_ref("wxIcon");
13183 }
13184 if (SWIG_arg_fail(2)) SWIG_fail;
13185 }
13186 if (obj2) {
13187 {
13188 arg3 = wxString_in_helper(obj2);
13189 if (arg3 == NULL) SWIG_fail;
13190 temp3 = true;
13191 }
13192 }
13193 {
13194 PyThreadState* __tstate = wxPyBeginAllowThreads();
13195 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
13196
13197 wxPyEndAllowThreads(__tstate);
13198 if (PyErr_Occurred()) SWIG_fail;
13199 }
13200 {
13201 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13202 }
13203 {
13204 if (temp3)
13205 delete arg3;
13206 }
13207 return resultobj;
13208 fail:
13209 {
13210 if (temp3)
13211 delete arg3;
13212 }
13213 return NULL;
13214 }
13215
13216
13217 static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *, PyObject *args, PyObject *kwargs) {
13218 PyObject *resultobj = NULL;
13219 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13220 bool result;
13221 PyObject * obj0 = 0 ;
13222 char *kwnames[] = {
13223 (char *) "self", NULL
13224 };
13225
13226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
13227 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13228 if (SWIG_arg_fail(1)) SWIG_fail;
13229 {
13230 PyThreadState* __tstate = wxPyBeginAllowThreads();
13231 result = (bool)(arg1)->RemoveIcon();
13232
13233 wxPyEndAllowThreads(__tstate);
13234 if (PyErr_Occurred()) SWIG_fail;
13235 }
13236 {
13237 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13238 }
13239 return resultobj;
13240 fail:
13241 return NULL;
13242 }
13243
13244
13245 static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) {
13246 PyObject *resultobj = NULL;
13247 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13248 wxMenu *arg2 = (wxMenu *) 0 ;
13249 bool result;
13250 PyObject * obj0 = 0 ;
13251 PyObject * obj1 = 0 ;
13252 char *kwnames[] = {
13253 (char *) "self",(char *) "menu", NULL
13254 };
13255
13256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
13257 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13258 if (SWIG_arg_fail(1)) SWIG_fail;
13259 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
13260 if (SWIG_arg_fail(2)) SWIG_fail;
13261 {
13262 PyThreadState* __tstate = wxPyBeginAllowThreads();
13263 result = (bool)(arg1)->PopupMenu(arg2);
13264
13265 wxPyEndAllowThreads(__tstate);
13266 if (PyErr_Occurred()) SWIG_fail;
13267 }
13268 {
13269 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13270 }
13271 return resultobj;
13272 fail:
13273 return NULL;
13274 }
13275
13276
13277 static PyObject * TaskBarIcon_swigregister(PyObject *, PyObject *args) {
13278 PyObject *obj;
13279 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13280 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon, obj);
13281 Py_INCREF(obj);
13282 return Py_BuildValue((char *)"");
13283 }
13284 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *, PyObject *args, PyObject *kwargs) {
13285 PyObject *resultobj = NULL;
13286 wxEventType arg1 ;
13287 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
13288 wxTaskBarIconEvent *result;
13289 PyObject * obj0 = 0 ;
13290 PyObject * obj1 = 0 ;
13291 char *kwnames[] = {
13292 (char *) "evtType",(char *) "tbIcon", NULL
13293 };
13294
13295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
13296 {
13297 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
13298 if (SWIG_arg_fail(1)) SWIG_fail;
13299 }
13300 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13301 if (SWIG_arg_fail(2)) SWIG_fail;
13302 {
13303 PyThreadState* __tstate = wxPyBeginAllowThreads();
13304 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
13305
13306 wxPyEndAllowThreads(__tstate);
13307 if (PyErr_Occurred()) SWIG_fail;
13308 }
13309 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
13310 return resultobj;
13311 fail:
13312 return NULL;
13313 }
13314
13315
13316 static PyObject * TaskBarIconEvent_swigregister(PyObject *, PyObject *args) {
13317 PyObject *obj;
13318 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13319 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
13320 Py_INCREF(obj);
13321 return Py_BuildValue((char *)"");
13322 }
13323 static int _wrap_FileSelectorPromptStr_set(PyObject *) {
13324 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
13325 return 1;
13326 }
13327
13328
13329 static PyObject *_wrap_FileSelectorPromptStr_get(void) {
13330 PyObject *pyobj = NULL;
13331
13332 {
13333 #if wxUSE_UNICODE
13334 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
13335 #else
13336 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
13337 #endif
13338 }
13339 return pyobj;
13340 }
13341
13342
13343 static int _wrap_DirSelectorPromptStr_set(PyObject *) {
13344 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
13345 return 1;
13346 }
13347
13348
13349 static PyObject *_wrap_DirSelectorPromptStr_get(void) {
13350 PyObject *pyobj = NULL;
13351
13352 {
13353 #if wxUSE_UNICODE
13354 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
13355 #else
13356 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
13357 #endif
13358 }
13359 return pyobj;
13360 }
13361
13362
13363 static int _wrap_DirDialogNameStr_set(PyObject *) {
13364 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
13365 return 1;
13366 }
13367
13368
13369 static PyObject *_wrap_DirDialogNameStr_get(void) {
13370 PyObject *pyobj = NULL;
13371
13372 {
13373 #if wxUSE_UNICODE
13374 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
13375 #else
13376 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
13377 #endif
13378 }
13379 return pyobj;
13380 }
13381
13382
13383 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
13384 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
13385 return 1;
13386 }
13387
13388
13389 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get(void) {
13390 PyObject *pyobj = NULL;
13391
13392 {
13393 #if wxUSE_UNICODE
13394 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
13395 #else
13396 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
13397 #endif
13398 }
13399 return pyobj;
13400 }
13401
13402
13403 static int _wrap_GetTextFromUserPromptStr_set(PyObject *) {
13404 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
13405 return 1;
13406 }
13407
13408
13409 static PyObject *_wrap_GetTextFromUserPromptStr_get(void) {
13410 PyObject *pyobj = NULL;
13411
13412 {
13413 #if wxUSE_UNICODE
13414 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
13415 #else
13416 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
13417 #endif
13418 }
13419 return pyobj;
13420 }
13421
13422
13423 static int _wrap_MessageBoxCaptionStr_set(PyObject *) {
13424 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
13425 return 1;
13426 }
13427
13428
13429 static PyObject *_wrap_MessageBoxCaptionStr_get(void) {
13430 PyObject *pyobj = NULL;
13431
13432 {
13433 #if wxUSE_UNICODE
13434 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
13435 #else
13436 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
13437 #endif
13438 }
13439 return pyobj;
13440 }
13441
13442
13443 static PyObject *_wrap_new_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
13444 PyObject *resultobj = NULL;
13445 wxColourData *result;
13446 char *kwnames[] = {
13447 NULL
13448 };
13449
13450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
13451 {
13452 PyThreadState* __tstate = wxPyBeginAllowThreads();
13453 result = (wxColourData *)new wxColourData();
13454
13455 wxPyEndAllowThreads(__tstate);
13456 if (PyErr_Occurred()) SWIG_fail;
13457 }
13458 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
13459 return resultobj;
13460 fail:
13461 return NULL;
13462 }
13463
13464
13465 static PyObject *_wrap_delete_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
13466 PyObject *resultobj = NULL;
13467 wxColourData *arg1 = (wxColourData *) 0 ;
13468 PyObject * obj0 = 0 ;
13469 char *kwnames[] = {
13470 (char *) "self", NULL
13471 };
13472
13473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
13474 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13475 if (SWIG_arg_fail(1)) SWIG_fail;
13476 {
13477 PyThreadState* __tstate = wxPyBeginAllowThreads();
13478 delete arg1;
13479
13480 wxPyEndAllowThreads(__tstate);
13481 if (PyErr_Occurred()) SWIG_fail;
13482 }
13483 Py_INCREF(Py_None); resultobj = Py_None;
13484 return resultobj;
13485 fail:
13486 return NULL;
13487 }
13488
13489
13490 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
13491 PyObject *resultobj = NULL;
13492 wxColourData *arg1 = (wxColourData *) 0 ;
13493 bool result;
13494 PyObject * obj0 = 0 ;
13495 char *kwnames[] = {
13496 (char *) "self", NULL
13497 };
13498
13499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
13500 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13501 if (SWIG_arg_fail(1)) SWIG_fail;
13502 {
13503 PyThreadState* __tstate = wxPyBeginAllowThreads();
13504 result = (bool)(arg1)->GetChooseFull();
13505
13506 wxPyEndAllowThreads(__tstate);
13507 if (PyErr_Occurred()) SWIG_fail;
13508 }
13509 {
13510 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13511 }
13512 return resultobj;
13513 fail:
13514 return NULL;
13515 }
13516
13517
13518 static PyObject *_wrap_ColourData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
13519 PyObject *resultobj = NULL;
13520 wxColourData *arg1 = (wxColourData *) 0 ;
13521 wxColour result;
13522 PyObject * obj0 = 0 ;
13523 char *kwnames[] = {
13524 (char *) "self", NULL
13525 };
13526
13527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
13528 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13529 if (SWIG_arg_fail(1)) SWIG_fail;
13530 {
13531 PyThreadState* __tstate = wxPyBeginAllowThreads();
13532 result = (arg1)->GetColour();
13533
13534 wxPyEndAllowThreads(__tstate);
13535 if (PyErr_Occurred()) SWIG_fail;
13536 }
13537 {
13538 wxColour * resultptr;
13539 resultptr = new wxColour(static_cast<wxColour & >(result));
13540 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13541 }
13542 return resultobj;
13543 fail:
13544 return NULL;
13545 }
13546
13547
13548 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
13549 PyObject *resultobj = NULL;
13550 wxColourData *arg1 = (wxColourData *) 0 ;
13551 int arg2 ;
13552 wxColour result;
13553 PyObject * obj0 = 0 ;
13554 PyObject * obj1 = 0 ;
13555 char *kwnames[] = {
13556 (char *) "self",(char *) "i", NULL
13557 };
13558
13559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
13560 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13561 if (SWIG_arg_fail(1)) SWIG_fail;
13562 {
13563 arg2 = static_cast<int >(SWIG_As_int(obj1));
13564 if (SWIG_arg_fail(2)) SWIG_fail;
13565 }
13566 {
13567 PyThreadState* __tstate = wxPyBeginAllowThreads();
13568 result = (arg1)->GetCustomColour(arg2);
13569
13570 wxPyEndAllowThreads(__tstate);
13571 if (PyErr_Occurred()) SWIG_fail;
13572 }
13573 {
13574 wxColour * resultptr;
13575 resultptr = new wxColour(static_cast<wxColour & >(result));
13576 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13577 }
13578 return resultobj;
13579 fail:
13580 return NULL;
13581 }
13582
13583
13584 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
13585 PyObject *resultobj = NULL;
13586 wxColourData *arg1 = (wxColourData *) 0 ;
13587 int arg2 ;
13588 PyObject * obj0 = 0 ;
13589 PyObject * obj1 = 0 ;
13590 char *kwnames[] = {
13591 (char *) "self",(char *) "flag", NULL
13592 };
13593
13594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
13595 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13596 if (SWIG_arg_fail(1)) SWIG_fail;
13597 {
13598 arg2 = static_cast<int >(SWIG_As_int(obj1));
13599 if (SWIG_arg_fail(2)) SWIG_fail;
13600 }
13601 {
13602 PyThreadState* __tstate = wxPyBeginAllowThreads();
13603 (arg1)->SetChooseFull(arg2);
13604
13605 wxPyEndAllowThreads(__tstate);
13606 if (PyErr_Occurred()) SWIG_fail;
13607 }
13608 Py_INCREF(Py_None); resultobj = Py_None;
13609 return resultobj;
13610 fail:
13611 return NULL;
13612 }
13613
13614
13615 static PyObject *_wrap_ColourData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
13616 PyObject *resultobj = NULL;
13617 wxColourData *arg1 = (wxColourData *) 0 ;
13618 wxColour *arg2 = 0 ;
13619 wxColour temp2 ;
13620 PyObject * obj0 = 0 ;
13621 PyObject * obj1 = 0 ;
13622 char *kwnames[] = {
13623 (char *) "self",(char *) "colour", NULL
13624 };
13625
13626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
13627 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13628 if (SWIG_arg_fail(1)) SWIG_fail;
13629 {
13630 arg2 = &temp2;
13631 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13632 }
13633 {
13634 PyThreadState* __tstate = wxPyBeginAllowThreads();
13635 (arg1)->SetColour((wxColour const &)*arg2);
13636
13637 wxPyEndAllowThreads(__tstate);
13638 if (PyErr_Occurred()) SWIG_fail;
13639 }
13640 Py_INCREF(Py_None); resultobj = Py_None;
13641 return resultobj;
13642 fail:
13643 return NULL;
13644 }
13645
13646
13647 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
13648 PyObject *resultobj = NULL;
13649 wxColourData *arg1 = (wxColourData *) 0 ;
13650 int arg2 ;
13651 wxColour *arg3 = 0 ;
13652 wxColour temp3 ;
13653 PyObject * obj0 = 0 ;
13654 PyObject * obj1 = 0 ;
13655 PyObject * obj2 = 0 ;
13656 char *kwnames[] = {
13657 (char *) "self",(char *) "i",(char *) "colour", NULL
13658 };
13659
13660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
13661 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13662 if (SWIG_arg_fail(1)) SWIG_fail;
13663 {
13664 arg2 = static_cast<int >(SWIG_As_int(obj1));
13665 if (SWIG_arg_fail(2)) SWIG_fail;
13666 }
13667 {
13668 arg3 = &temp3;
13669 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
13670 }
13671 {
13672 PyThreadState* __tstate = wxPyBeginAllowThreads();
13673 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
13674
13675 wxPyEndAllowThreads(__tstate);
13676 if (PyErr_Occurred()) SWIG_fail;
13677 }
13678 Py_INCREF(Py_None); resultobj = Py_None;
13679 return resultobj;
13680 fail:
13681 return NULL;
13682 }
13683
13684
13685 static PyObject * ColourData_swigregister(PyObject *, PyObject *args) {
13686 PyObject *obj;
13687 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13688 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
13689 Py_INCREF(obj);
13690 return Py_BuildValue((char *)"");
13691 }
13692 static PyObject *_wrap_new_ColourDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13693 PyObject *resultobj = NULL;
13694 wxWindow *arg1 = (wxWindow *) 0 ;
13695 wxColourData *arg2 = (wxColourData *) NULL ;
13696 wxColourDialog *result;
13697 PyObject * obj0 = 0 ;
13698 PyObject * obj1 = 0 ;
13699 char *kwnames[] = {
13700 (char *) "parent",(char *) "data", NULL
13701 };
13702
13703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
13704 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13705 if (SWIG_arg_fail(1)) SWIG_fail;
13706 if (obj1) {
13707 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13708 if (SWIG_arg_fail(2)) SWIG_fail;
13709 }
13710 {
13711 if (!wxPyCheckForApp()) SWIG_fail;
13712 PyThreadState* __tstate = wxPyBeginAllowThreads();
13713 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
13714
13715 wxPyEndAllowThreads(__tstate);
13716 if (PyErr_Occurred()) SWIG_fail;
13717 }
13718 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
13719 return resultobj;
13720 fail:
13721 return NULL;
13722 }
13723
13724
13725 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *, PyObject *args, PyObject *kwargs) {
13726 PyObject *resultobj = NULL;
13727 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
13728 wxColourData *result;
13729 PyObject * obj0 = 0 ;
13730 char *kwnames[] = {
13731 (char *) "self", NULL
13732 };
13733
13734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
13735 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourDialog, SWIG_POINTER_EXCEPTION | 0);
13736 if (SWIG_arg_fail(1)) SWIG_fail;
13737 {
13738 PyThreadState* __tstate = wxPyBeginAllowThreads();
13739 {
13740 wxColourData &_result_ref = (arg1)->GetColourData();
13741 result = (wxColourData *) &_result_ref;
13742 }
13743
13744 wxPyEndAllowThreads(__tstate);
13745 if (PyErr_Occurred()) SWIG_fail;
13746 }
13747 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
13748 return resultobj;
13749 fail:
13750 return NULL;
13751 }
13752
13753
13754 static PyObject * ColourDialog_swigregister(PyObject *, PyObject *args) {
13755 PyObject *obj;
13756 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13757 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
13758 Py_INCREF(obj);
13759 return Py_BuildValue((char *)"");
13760 }
13761 static PyObject *_wrap_GetColourFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
13762 PyObject *resultobj = NULL;
13763 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
13764 wxColour const &arg2_defvalue = wxNullColour ;
13765 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
13766 wxString const &arg3_defvalue = wxPyEmptyString ;
13767 wxString *arg3 = (wxString *) &arg3_defvalue ;
13768 wxColour result;
13769 wxColour temp2 ;
13770 bool temp3 = false ;
13771 PyObject * obj0 = 0 ;
13772 PyObject * obj1 = 0 ;
13773 PyObject * obj2 = 0 ;
13774 char *kwnames[] = {
13775 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
13776 };
13777
13778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) goto fail;
13779 if (obj0) {
13780 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13781 if (SWIG_arg_fail(1)) SWIG_fail;
13782 }
13783 if (obj1) {
13784 {
13785 arg2 = &temp2;
13786 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13787 }
13788 }
13789 if (obj2) {
13790 {
13791 arg3 = wxString_in_helper(obj2);
13792 if (arg3 == NULL) SWIG_fail;
13793 temp3 = true;
13794 }
13795 }
13796 {
13797 PyThreadState* __tstate = wxPyBeginAllowThreads();
13798 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
13799
13800 wxPyEndAllowThreads(__tstate);
13801 if (PyErr_Occurred()) SWIG_fail;
13802 }
13803 {
13804 wxColour * resultptr;
13805 resultptr = new wxColour(static_cast<wxColour & >(result));
13806 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13807 }
13808 {
13809 if (temp3)
13810 delete arg3;
13811 }
13812 return resultobj;
13813 fail:
13814 {
13815 if (temp3)
13816 delete arg3;
13817 }
13818 return NULL;
13819 }
13820
13821
13822 static PyObject *_wrap_new_DirDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13823 PyObject *resultobj = NULL;
13824 wxWindow *arg1 = (wxWindow *) 0 ;
13825 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
13826 wxString *arg2 = (wxString *) &arg2_defvalue ;
13827 wxString const &arg3_defvalue = wxPyEmptyString ;
13828 wxString *arg3 = (wxString *) &arg3_defvalue ;
13829 long arg4 = (long) 0 ;
13830 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13831 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13832 wxSize const &arg6_defvalue = wxDefaultSize ;
13833 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13834 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
13835 wxString *arg7 = (wxString *) &arg7_defvalue ;
13836 wxDirDialog *result;
13837 bool temp2 = false ;
13838 bool temp3 = false ;
13839 wxPoint temp5 ;
13840 wxSize temp6 ;
13841 bool temp7 = false ;
13842 PyObject * obj0 = 0 ;
13843 PyObject * obj1 = 0 ;
13844 PyObject * obj2 = 0 ;
13845 PyObject * obj3 = 0 ;
13846 PyObject * obj4 = 0 ;
13847 PyObject * obj5 = 0 ;
13848 PyObject * obj6 = 0 ;
13849 char *kwnames[] = {
13850 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
13851 };
13852
13853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
13854 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13855 if (SWIG_arg_fail(1)) SWIG_fail;
13856 if (obj1) {
13857 {
13858 arg2 = wxString_in_helper(obj1);
13859 if (arg2 == NULL) SWIG_fail;
13860 temp2 = true;
13861 }
13862 }
13863 if (obj2) {
13864 {
13865 arg3 = wxString_in_helper(obj2);
13866 if (arg3 == NULL) SWIG_fail;
13867 temp3 = true;
13868 }
13869 }
13870 if (obj3) {
13871 {
13872 arg4 = static_cast<long >(SWIG_As_long(obj3));
13873 if (SWIG_arg_fail(4)) SWIG_fail;
13874 }
13875 }
13876 if (obj4) {
13877 {
13878 arg5 = &temp5;
13879 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13880 }
13881 }
13882 if (obj5) {
13883 {
13884 arg6 = &temp6;
13885 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13886 }
13887 }
13888 if (obj6) {
13889 {
13890 arg7 = wxString_in_helper(obj6);
13891 if (arg7 == NULL) SWIG_fail;
13892 temp7 = true;
13893 }
13894 }
13895 {
13896 if (!wxPyCheckForApp()) SWIG_fail;
13897 PyThreadState* __tstate = wxPyBeginAllowThreads();
13898 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
13899
13900 wxPyEndAllowThreads(__tstate);
13901 if (PyErr_Occurred()) SWIG_fail;
13902 }
13903 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
13904 {
13905 if (temp2)
13906 delete arg2;
13907 }
13908 {
13909 if (temp3)
13910 delete arg3;
13911 }
13912 {
13913 if (temp7)
13914 delete arg7;
13915 }
13916 return resultobj;
13917 fail:
13918 {
13919 if (temp2)
13920 delete arg2;
13921 }
13922 {
13923 if (temp3)
13924 delete arg3;
13925 }
13926 {
13927 if (temp7)
13928 delete arg7;
13929 }
13930 return NULL;
13931 }
13932
13933
13934 static PyObject *_wrap_DirDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
13935 PyObject *resultobj = NULL;
13936 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13937 wxString result;
13938 PyObject * obj0 = 0 ;
13939 char *kwnames[] = {
13940 (char *) "self", NULL
13941 };
13942
13943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
13944 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13945 if (SWIG_arg_fail(1)) SWIG_fail;
13946 {
13947 PyThreadState* __tstate = wxPyBeginAllowThreads();
13948 result = (arg1)->GetPath();
13949
13950 wxPyEndAllowThreads(__tstate);
13951 if (PyErr_Occurred()) SWIG_fail;
13952 }
13953 {
13954 #if wxUSE_UNICODE
13955 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13956 #else
13957 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13958 #endif
13959 }
13960 return resultobj;
13961 fail:
13962 return NULL;
13963 }
13964
13965
13966 static PyObject *_wrap_DirDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
13967 PyObject *resultobj = NULL;
13968 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13969 wxString result;
13970 PyObject * obj0 = 0 ;
13971 char *kwnames[] = {
13972 (char *) "self", NULL
13973 };
13974
13975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
13976 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13977 if (SWIG_arg_fail(1)) SWIG_fail;
13978 {
13979 PyThreadState* __tstate = wxPyBeginAllowThreads();
13980 result = (arg1)->GetMessage();
13981
13982 wxPyEndAllowThreads(__tstate);
13983 if (PyErr_Occurred()) SWIG_fail;
13984 }
13985 {
13986 #if wxUSE_UNICODE
13987 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13988 #else
13989 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13990 #endif
13991 }
13992 return resultobj;
13993 fail:
13994 return NULL;
13995 }
13996
13997
13998 static PyObject *_wrap_DirDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
13999 PyObject *resultobj = NULL;
14000 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
14001 long result;
14002 PyObject * obj0 = 0 ;
14003 char *kwnames[] = {
14004 (char *) "self", NULL
14005 };
14006
14007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
14008 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
14009 if (SWIG_arg_fail(1)) SWIG_fail;
14010 {
14011 PyThreadState* __tstate = wxPyBeginAllowThreads();
14012 result = (long)(arg1)->GetStyle();
14013
14014 wxPyEndAllowThreads(__tstate);
14015 if (PyErr_Occurred()) SWIG_fail;
14016 }
14017 {
14018 resultobj = SWIG_From_long(static_cast<long >(result));
14019 }
14020 return resultobj;
14021 fail:
14022 return NULL;
14023 }
14024
14025
14026 static PyObject *_wrap_DirDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
14027 PyObject *resultobj = NULL;
14028 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
14029 wxString *arg2 = 0 ;
14030 bool temp2 = false ;
14031 PyObject * obj0 = 0 ;
14032 PyObject * obj1 = 0 ;
14033 char *kwnames[] = {
14034 (char *) "self",(char *) "message", NULL
14035 };
14036
14037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
14038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
14039 if (SWIG_arg_fail(1)) SWIG_fail;
14040 {
14041 arg2 = wxString_in_helper(obj1);
14042 if (arg2 == NULL) SWIG_fail;
14043 temp2 = true;
14044 }
14045 {
14046 PyThreadState* __tstate = wxPyBeginAllowThreads();
14047 (arg1)->SetMessage((wxString const &)*arg2);
14048
14049 wxPyEndAllowThreads(__tstate);
14050 if (PyErr_Occurred()) SWIG_fail;
14051 }
14052 Py_INCREF(Py_None); resultobj = Py_None;
14053 {
14054 if (temp2)
14055 delete arg2;
14056 }
14057 return resultobj;
14058 fail:
14059 {
14060 if (temp2)
14061 delete arg2;
14062 }
14063 return NULL;
14064 }
14065
14066
14067 static PyObject *_wrap_DirDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
14068 PyObject *resultobj = NULL;
14069 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
14070 wxString *arg2 = 0 ;
14071 bool temp2 = false ;
14072 PyObject * obj0 = 0 ;
14073 PyObject * obj1 = 0 ;
14074 char *kwnames[] = {
14075 (char *) "self",(char *) "path", NULL
14076 };
14077
14078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
14079 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
14080 if (SWIG_arg_fail(1)) SWIG_fail;
14081 {
14082 arg2 = wxString_in_helper(obj1);
14083 if (arg2 == NULL) SWIG_fail;
14084 temp2 = true;
14085 }
14086 {
14087 PyThreadState* __tstate = wxPyBeginAllowThreads();
14088 (arg1)->SetPath((wxString const &)*arg2);
14089
14090 wxPyEndAllowThreads(__tstate);
14091 if (PyErr_Occurred()) SWIG_fail;
14092 }
14093 Py_INCREF(Py_None); resultobj = Py_None;
14094 {
14095 if (temp2)
14096 delete arg2;
14097 }
14098 return resultobj;
14099 fail:
14100 {
14101 if (temp2)
14102 delete arg2;
14103 }
14104 return NULL;
14105 }
14106
14107
14108 static PyObject * DirDialog_swigregister(PyObject *, PyObject *args) {
14109 PyObject *obj;
14110 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14111 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
14112 Py_INCREF(obj);
14113 return Py_BuildValue((char *)"");
14114 }
14115 static PyObject *_wrap_new_FileDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14116 PyObject *resultobj = NULL;
14117 wxWindow *arg1 = (wxWindow *) 0 ;
14118 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
14119 wxString *arg2 = (wxString *) &arg2_defvalue ;
14120 wxString const &arg3_defvalue = wxPyEmptyString ;
14121 wxString *arg3 = (wxString *) &arg3_defvalue ;
14122 wxString const &arg4_defvalue = wxPyEmptyString ;
14123 wxString *arg4 = (wxString *) &arg4_defvalue ;
14124 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
14125 wxString *arg5 = (wxString *) &arg5_defvalue ;
14126 long arg6 = (long) 0 ;
14127 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14128 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14129 wxFileDialog *result;
14130 bool temp2 = false ;
14131 bool temp3 = false ;
14132 bool temp4 = false ;
14133 bool temp5 = false ;
14134 wxPoint temp7 ;
14135 PyObject * obj0 = 0 ;
14136 PyObject * obj1 = 0 ;
14137 PyObject * obj2 = 0 ;
14138 PyObject * obj3 = 0 ;
14139 PyObject * obj4 = 0 ;
14140 PyObject * obj5 = 0 ;
14141 PyObject * obj6 = 0 ;
14142 char *kwnames[] = {
14143 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
14144 };
14145
14146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14147 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14148 if (SWIG_arg_fail(1)) SWIG_fail;
14149 if (obj1) {
14150 {
14151 arg2 = wxString_in_helper(obj1);
14152 if (arg2 == NULL) SWIG_fail;
14153 temp2 = true;
14154 }
14155 }
14156 if (obj2) {
14157 {
14158 arg3 = wxString_in_helper(obj2);
14159 if (arg3 == NULL) SWIG_fail;
14160 temp3 = true;
14161 }
14162 }
14163 if (obj3) {
14164 {
14165 arg4 = wxString_in_helper(obj3);
14166 if (arg4 == NULL) SWIG_fail;
14167 temp4 = true;
14168 }
14169 }
14170 if (obj4) {
14171 {
14172 arg5 = wxString_in_helper(obj4);
14173 if (arg5 == NULL) SWIG_fail;
14174 temp5 = true;
14175 }
14176 }
14177 if (obj5) {
14178 {
14179 arg6 = static_cast<long >(SWIG_As_long(obj5));
14180 if (SWIG_arg_fail(6)) SWIG_fail;
14181 }
14182 }
14183 if (obj6) {
14184 {
14185 arg7 = &temp7;
14186 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
14187 }
14188 }
14189 {
14190 if (!wxPyCheckForApp()) SWIG_fail;
14191 PyThreadState* __tstate = wxPyBeginAllowThreads();
14192 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
14193
14194 wxPyEndAllowThreads(__tstate);
14195 if (PyErr_Occurred()) SWIG_fail;
14196 }
14197 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
14198 {
14199 if (temp2)
14200 delete arg2;
14201 }
14202 {
14203 if (temp3)
14204 delete arg3;
14205 }
14206 {
14207 if (temp4)
14208 delete arg4;
14209 }
14210 {
14211 if (temp5)
14212 delete arg5;
14213 }
14214 return resultobj;
14215 fail:
14216 {
14217 if (temp2)
14218 delete arg2;
14219 }
14220 {
14221 if (temp3)
14222 delete arg3;
14223 }
14224 {
14225 if (temp4)
14226 delete arg4;
14227 }
14228 {
14229 if (temp5)
14230 delete arg5;
14231 }
14232 return NULL;
14233 }
14234
14235
14236 static PyObject *_wrap_FileDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
14237 PyObject *resultobj = NULL;
14238 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14239 wxString *arg2 = 0 ;
14240 bool temp2 = false ;
14241 PyObject * obj0 = 0 ;
14242 PyObject * obj1 = 0 ;
14243 char *kwnames[] = {
14244 (char *) "self",(char *) "message", NULL
14245 };
14246
14247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
14248 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14249 if (SWIG_arg_fail(1)) SWIG_fail;
14250 {
14251 arg2 = wxString_in_helper(obj1);
14252 if (arg2 == NULL) SWIG_fail;
14253 temp2 = true;
14254 }
14255 {
14256 PyThreadState* __tstate = wxPyBeginAllowThreads();
14257 (arg1)->SetMessage((wxString const &)*arg2);
14258
14259 wxPyEndAllowThreads(__tstate);
14260 if (PyErr_Occurred()) SWIG_fail;
14261 }
14262 Py_INCREF(Py_None); resultobj = Py_None;
14263 {
14264 if (temp2)
14265 delete arg2;
14266 }
14267 return resultobj;
14268 fail:
14269 {
14270 if (temp2)
14271 delete arg2;
14272 }
14273 return NULL;
14274 }
14275
14276
14277 static PyObject *_wrap_FileDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
14278 PyObject *resultobj = NULL;
14279 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14280 wxString *arg2 = 0 ;
14281 bool temp2 = false ;
14282 PyObject * obj0 = 0 ;
14283 PyObject * obj1 = 0 ;
14284 char *kwnames[] = {
14285 (char *) "self",(char *) "path", NULL
14286 };
14287
14288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
14289 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14290 if (SWIG_arg_fail(1)) SWIG_fail;
14291 {
14292 arg2 = wxString_in_helper(obj1);
14293 if (arg2 == NULL) SWIG_fail;
14294 temp2 = true;
14295 }
14296 {
14297 PyThreadState* __tstate = wxPyBeginAllowThreads();
14298 (arg1)->SetPath((wxString const &)*arg2);
14299
14300 wxPyEndAllowThreads(__tstate);
14301 if (PyErr_Occurred()) SWIG_fail;
14302 }
14303 Py_INCREF(Py_None); resultobj = Py_None;
14304 {
14305 if (temp2)
14306 delete arg2;
14307 }
14308 return resultobj;
14309 fail:
14310 {
14311 if (temp2)
14312 delete arg2;
14313 }
14314 return NULL;
14315 }
14316
14317
14318 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
14319 PyObject *resultobj = NULL;
14320 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14321 wxString *arg2 = 0 ;
14322 bool temp2 = false ;
14323 PyObject * obj0 = 0 ;
14324 PyObject * obj1 = 0 ;
14325 char *kwnames[] = {
14326 (char *) "self",(char *) "dir", NULL
14327 };
14328
14329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
14330 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14331 if (SWIG_arg_fail(1)) SWIG_fail;
14332 {
14333 arg2 = wxString_in_helper(obj1);
14334 if (arg2 == NULL) SWIG_fail;
14335 temp2 = true;
14336 }
14337 {
14338 PyThreadState* __tstate = wxPyBeginAllowThreads();
14339 (arg1)->SetDirectory((wxString const &)*arg2);
14340
14341 wxPyEndAllowThreads(__tstate);
14342 if (PyErr_Occurred()) SWIG_fail;
14343 }
14344 Py_INCREF(Py_None); resultobj = Py_None;
14345 {
14346 if (temp2)
14347 delete arg2;
14348 }
14349 return resultobj;
14350 fail:
14351 {
14352 if (temp2)
14353 delete arg2;
14354 }
14355 return NULL;
14356 }
14357
14358
14359 static PyObject *_wrap_FileDialog_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
14360 PyObject *resultobj = NULL;
14361 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14362 wxString *arg2 = 0 ;
14363 bool temp2 = false ;
14364 PyObject * obj0 = 0 ;
14365 PyObject * obj1 = 0 ;
14366 char *kwnames[] = {
14367 (char *) "self",(char *) "name", NULL
14368 };
14369
14370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
14371 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14372 if (SWIG_arg_fail(1)) SWIG_fail;
14373 {
14374 arg2 = wxString_in_helper(obj1);
14375 if (arg2 == NULL) SWIG_fail;
14376 temp2 = true;
14377 }
14378 {
14379 PyThreadState* __tstate = wxPyBeginAllowThreads();
14380 (arg1)->SetFilename((wxString const &)*arg2);
14381
14382 wxPyEndAllowThreads(__tstate);
14383 if (PyErr_Occurred()) SWIG_fail;
14384 }
14385 Py_INCREF(Py_None); resultobj = Py_None;
14386 {
14387 if (temp2)
14388 delete arg2;
14389 }
14390 return resultobj;
14391 fail:
14392 {
14393 if (temp2)
14394 delete arg2;
14395 }
14396 return NULL;
14397 }
14398
14399
14400 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
14401 PyObject *resultobj = NULL;
14402 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14403 wxString *arg2 = 0 ;
14404 bool temp2 = false ;
14405 PyObject * obj0 = 0 ;
14406 PyObject * obj1 = 0 ;
14407 char *kwnames[] = {
14408 (char *) "self",(char *) "wildCard", NULL
14409 };
14410
14411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
14412 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14413 if (SWIG_arg_fail(1)) SWIG_fail;
14414 {
14415 arg2 = wxString_in_helper(obj1);
14416 if (arg2 == NULL) SWIG_fail;
14417 temp2 = true;
14418 }
14419 {
14420 PyThreadState* __tstate = wxPyBeginAllowThreads();
14421 (arg1)->SetWildcard((wxString const &)*arg2);
14422
14423 wxPyEndAllowThreads(__tstate);
14424 if (PyErr_Occurred()) SWIG_fail;
14425 }
14426 Py_INCREF(Py_None); resultobj = Py_None;
14427 {
14428 if (temp2)
14429 delete arg2;
14430 }
14431 return resultobj;
14432 fail:
14433 {
14434 if (temp2)
14435 delete arg2;
14436 }
14437 return NULL;
14438 }
14439
14440
14441 static PyObject *_wrap_FileDialog_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
14442 PyObject *resultobj = NULL;
14443 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14444 long arg2 ;
14445 PyObject * obj0 = 0 ;
14446 PyObject * obj1 = 0 ;
14447 char *kwnames[] = {
14448 (char *) "self",(char *) "style", NULL
14449 };
14450
14451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
14452 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14453 if (SWIG_arg_fail(1)) SWIG_fail;
14454 {
14455 arg2 = static_cast<long >(SWIG_As_long(obj1));
14456 if (SWIG_arg_fail(2)) SWIG_fail;
14457 }
14458 {
14459 PyThreadState* __tstate = wxPyBeginAllowThreads();
14460 (arg1)->SetStyle(arg2);
14461
14462 wxPyEndAllowThreads(__tstate);
14463 if (PyErr_Occurred()) SWIG_fail;
14464 }
14465 Py_INCREF(Py_None); resultobj = Py_None;
14466 return resultobj;
14467 fail:
14468 return NULL;
14469 }
14470
14471
14472 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
14473 PyObject *resultobj = NULL;
14474 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14475 int arg2 ;
14476 PyObject * obj0 = 0 ;
14477 PyObject * obj1 = 0 ;
14478 char *kwnames[] = {
14479 (char *) "self",(char *) "filterIndex", NULL
14480 };
14481
14482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
14483 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14484 if (SWIG_arg_fail(1)) SWIG_fail;
14485 {
14486 arg2 = static_cast<int >(SWIG_As_int(obj1));
14487 if (SWIG_arg_fail(2)) SWIG_fail;
14488 }
14489 {
14490 PyThreadState* __tstate = wxPyBeginAllowThreads();
14491 (arg1)->SetFilterIndex(arg2);
14492
14493 wxPyEndAllowThreads(__tstate);
14494 if (PyErr_Occurred()) SWIG_fail;
14495 }
14496 Py_INCREF(Py_None); resultobj = Py_None;
14497 return resultobj;
14498 fail:
14499 return NULL;
14500 }
14501
14502
14503 static PyObject *_wrap_FileDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
14504 PyObject *resultobj = NULL;
14505 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14506 wxString result;
14507 PyObject * obj0 = 0 ;
14508 char *kwnames[] = {
14509 (char *) "self", NULL
14510 };
14511
14512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
14513 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14514 if (SWIG_arg_fail(1)) SWIG_fail;
14515 {
14516 PyThreadState* __tstate = wxPyBeginAllowThreads();
14517 result = ((wxFileDialog const *)arg1)->GetMessage();
14518
14519 wxPyEndAllowThreads(__tstate);
14520 if (PyErr_Occurred()) SWIG_fail;
14521 }
14522 {
14523 #if wxUSE_UNICODE
14524 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14525 #else
14526 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14527 #endif
14528 }
14529 return resultobj;
14530 fail:
14531 return NULL;
14532 }
14533
14534
14535 static PyObject *_wrap_FileDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
14536 PyObject *resultobj = NULL;
14537 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14538 wxString result;
14539 PyObject * obj0 = 0 ;
14540 char *kwnames[] = {
14541 (char *) "self", NULL
14542 };
14543
14544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
14545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14546 if (SWIG_arg_fail(1)) SWIG_fail;
14547 {
14548 PyThreadState* __tstate = wxPyBeginAllowThreads();
14549 result = ((wxFileDialog const *)arg1)->GetPath();
14550
14551 wxPyEndAllowThreads(__tstate);
14552 if (PyErr_Occurred()) SWIG_fail;
14553 }
14554 {
14555 #if wxUSE_UNICODE
14556 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14557 #else
14558 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14559 #endif
14560 }
14561 return resultobj;
14562 fail:
14563 return NULL;
14564 }
14565
14566
14567 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
14568 PyObject *resultobj = NULL;
14569 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14570 wxString result;
14571 PyObject * obj0 = 0 ;
14572 char *kwnames[] = {
14573 (char *) "self", NULL
14574 };
14575
14576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
14577 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14578 if (SWIG_arg_fail(1)) SWIG_fail;
14579 {
14580 PyThreadState* __tstate = wxPyBeginAllowThreads();
14581 result = ((wxFileDialog const *)arg1)->GetDirectory();
14582
14583 wxPyEndAllowThreads(__tstate);
14584 if (PyErr_Occurred()) SWIG_fail;
14585 }
14586 {
14587 #if wxUSE_UNICODE
14588 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14589 #else
14590 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14591 #endif
14592 }
14593 return resultobj;
14594 fail:
14595 return NULL;
14596 }
14597
14598
14599 static PyObject *_wrap_FileDialog_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
14600 PyObject *resultobj = NULL;
14601 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14602 wxString result;
14603 PyObject * obj0 = 0 ;
14604 char *kwnames[] = {
14605 (char *) "self", NULL
14606 };
14607
14608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
14609 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14610 if (SWIG_arg_fail(1)) SWIG_fail;
14611 {
14612 PyThreadState* __tstate = wxPyBeginAllowThreads();
14613 result = ((wxFileDialog const *)arg1)->GetFilename();
14614
14615 wxPyEndAllowThreads(__tstate);
14616 if (PyErr_Occurred()) SWIG_fail;
14617 }
14618 {
14619 #if wxUSE_UNICODE
14620 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14621 #else
14622 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14623 #endif
14624 }
14625 return resultobj;
14626 fail:
14627 return NULL;
14628 }
14629
14630
14631 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
14632 PyObject *resultobj = NULL;
14633 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14634 wxString result;
14635 PyObject * obj0 = 0 ;
14636 char *kwnames[] = {
14637 (char *) "self", NULL
14638 };
14639
14640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
14641 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14642 if (SWIG_arg_fail(1)) SWIG_fail;
14643 {
14644 PyThreadState* __tstate = wxPyBeginAllowThreads();
14645 result = ((wxFileDialog const *)arg1)->GetWildcard();
14646
14647 wxPyEndAllowThreads(__tstate);
14648 if (PyErr_Occurred()) SWIG_fail;
14649 }
14650 {
14651 #if wxUSE_UNICODE
14652 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14653 #else
14654 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14655 #endif
14656 }
14657 return resultobj;
14658 fail:
14659 return NULL;
14660 }
14661
14662
14663 static PyObject *_wrap_FileDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
14664 PyObject *resultobj = NULL;
14665 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14666 long result;
14667 PyObject * obj0 = 0 ;
14668 char *kwnames[] = {
14669 (char *) "self", NULL
14670 };
14671
14672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
14673 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14674 if (SWIG_arg_fail(1)) SWIG_fail;
14675 {
14676 PyThreadState* __tstate = wxPyBeginAllowThreads();
14677 result = (long)((wxFileDialog const *)arg1)->GetStyle();
14678
14679 wxPyEndAllowThreads(__tstate);
14680 if (PyErr_Occurred()) SWIG_fail;
14681 }
14682 {
14683 resultobj = SWIG_From_long(static_cast<long >(result));
14684 }
14685 return resultobj;
14686 fail:
14687 return NULL;
14688 }
14689
14690
14691 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
14692 PyObject *resultobj = NULL;
14693 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14694 int result;
14695 PyObject * obj0 = 0 ;
14696 char *kwnames[] = {
14697 (char *) "self", NULL
14698 };
14699
14700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
14701 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14702 if (SWIG_arg_fail(1)) SWIG_fail;
14703 {
14704 PyThreadState* __tstate = wxPyBeginAllowThreads();
14705 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
14706
14707 wxPyEndAllowThreads(__tstate);
14708 if (PyErr_Occurred()) SWIG_fail;
14709 }
14710 {
14711 resultobj = SWIG_From_int(static_cast<int >(result));
14712 }
14713 return resultobj;
14714 fail:
14715 return NULL;
14716 }
14717
14718
14719 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
14720 PyObject *resultobj = NULL;
14721 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14722 PyObject *result;
14723 PyObject * obj0 = 0 ;
14724 char *kwnames[] = {
14725 (char *) "self", NULL
14726 };
14727
14728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
14729 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14730 if (SWIG_arg_fail(1)) SWIG_fail;
14731 {
14732 PyThreadState* __tstate = wxPyBeginAllowThreads();
14733 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
14734
14735 wxPyEndAllowThreads(__tstate);
14736 if (PyErr_Occurred()) SWIG_fail;
14737 }
14738 resultobj = result;
14739 return resultobj;
14740 fail:
14741 return NULL;
14742 }
14743
14744
14745 static PyObject *_wrap_FileDialog_GetPaths(PyObject *, PyObject *args, PyObject *kwargs) {
14746 PyObject *resultobj = NULL;
14747 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14748 PyObject *result;
14749 PyObject * obj0 = 0 ;
14750 char *kwnames[] = {
14751 (char *) "self", NULL
14752 };
14753
14754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
14755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14756 if (SWIG_arg_fail(1)) SWIG_fail;
14757 {
14758 PyThreadState* __tstate = wxPyBeginAllowThreads();
14759 result = (PyObject *)wxFileDialog_GetPaths(arg1);
14760
14761 wxPyEndAllowThreads(__tstate);
14762 if (PyErr_Occurred()) SWIG_fail;
14763 }
14764 resultobj = result;
14765 return resultobj;
14766 fail:
14767 return NULL;
14768 }
14769
14770
14771 static PyObject * FileDialog_swigregister(PyObject *, PyObject *args) {
14772 PyObject *obj;
14773 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14774 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
14775 Py_INCREF(obj);
14776 return Py_BuildValue((char *)"");
14777 }
14778 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14779 PyObject *resultobj = NULL;
14780 wxWindow *arg1 = (wxWindow *) 0 ;
14781 wxString *arg2 = 0 ;
14782 wxString *arg3 = 0 ;
14783 int arg4 = (int) 0 ;
14784 wxString *arg5 = (wxString *) NULL ;
14785 long arg6 = (long) wxCHOICEDLG_STYLE ;
14786 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14787 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14788 wxMultiChoiceDialog *result;
14789 bool temp2 = false ;
14790 bool temp3 = false ;
14791 wxPoint temp7 ;
14792 PyObject * obj0 = 0 ;
14793 PyObject * obj1 = 0 ;
14794 PyObject * obj2 = 0 ;
14795 PyObject * obj3 = 0 ;
14796 PyObject * obj4 = 0 ;
14797 PyObject * obj5 = 0 ;
14798 char *kwnames[] = {
14799 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14800 };
14801
14802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14803 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14804 if (SWIG_arg_fail(1)) SWIG_fail;
14805 {
14806 arg2 = wxString_in_helper(obj1);
14807 if (arg2 == NULL) SWIG_fail;
14808 temp2 = true;
14809 }
14810 {
14811 arg3 = wxString_in_helper(obj2);
14812 if (arg3 == NULL) SWIG_fail;
14813 temp3 = true;
14814 }
14815 if (obj3) {
14816 {
14817 arg4 = PyList_Size(obj3);
14818 arg5 = wxString_LIST_helper(obj3);
14819 if (arg5 == NULL) SWIG_fail;
14820 }
14821 }
14822 if (obj4) {
14823 {
14824 arg6 = static_cast<long >(SWIG_As_long(obj4));
14825 if (SWIG_arg_fail(6)) SWIG_fail;
14826 }
14827 }
14828 if (obj5) {
14829 {
14830 arg7 = &temp7;
14831 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
14832 }
14833 }
14834 {
14835 if (!wxPyCheckForApp()) SWIG_fail;
14836 PyThreadState* __tstate = wxPyBeginAllowThreads();
14837 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
14838
14839 wxPyEndAllowThreads(__tstate);
14840 if (PyErr_Occurred()) SWIG_fail;
14841 }
14842 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
14843 {
14844 if (temp2)
14845 delete arg2;
14846 }
14847 {
14848 if (temp3)
14849 delete arg3;
14850 }
14851 {
14852 if (arg5) delete [] arg5;
14853 }
14854 return resultobj;
14855 fail:
14856 {
14857 if (temp2)
14858 delete arg2;
14859 }
14860 {
14861 if (temp3)
14862 delete arg3;
14863 }
14864 {
14865 if (arg5) delete [] arg5;
14866 }
14867 return NULL;
14868 }
14869
14870
14871 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
14872 PyObject *resultobj = NULL;
14873 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
14874 wxArrayInt *arg2 = 0 ;
14875 bool temp2 = false ;
14876 PyObject * obj0 = 0 ;
14877 PyObject * obj1 = 0 ;
14878 char *kwnames[] = {
14879 (char *) "self",(char *) "selections", NULL
14880 };
14881
14882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
14883 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14884 if (SWIG_arg_fail(1)) SWIG_fail;
14885 {
14886 if (! PySequence_Check(obj1)) {
14887 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
14888 SWIG_fail;
14889 }
14890 arg2 = new wxArrayInt;
14891 temp2 = true;
14892 int i, len=PySequence_Length(obj1);
14893 for (i=0; i<len; i++) {
14894 PyObject* item = PySequence_GetItem(obj1, i);
14895 PyObject* number = PyNumber_Int(item);
14896 arg2->Add(PyInt_AS_LONG(number));
14897 Py_DECREF(item);
14898 Py_DECREF(number);
14899 }
14900 }
14901 {
14902 PyThreadState* __tstate = wxPyBeginAllowThreads();
14903 (arg1)->SetSelections((wxArrayInt const &)*arg2);
14904
14905 wxPyEndAllowThreads(__tstate);
14906 if (PyErr_Occurred()) SWIG_fail;
14907 }
14908 Py_INCREF(Py_None); resultobj = Py_None;
14909 {
14910 if (temp2) delete arg2;
14911 }
14912 return resultobj;
14913 fail:
14914 {
14915 if (temp2) delete arg2;
14916 }
14917 return NULL;
14918 }
14919
14920
14921 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
14922 PyObject *resultobj = NULL;
14923 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
14924 PyObject *result;
14925 PyObject * obj0 = 0 ;
14926 char *kwnames[] = {
14927 (char *) "self", NULL
14928 };
14929
14930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
14931 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14932 if (SWIG_arg_fail(1)) SWIG_fail;
14933 {
14934 PyThreadState* __tstate = wxPyBeginAllowThreads();
14935 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
14936
14937 wxPyEndAllowThreads(__tstate);
14938 if (PyErr_Occurred()) SWIG_fail;
14939 }
14940 resultobj = result;
14941 return resultobj;
14942 fail:
14943 return NULL;
14944 }
14945
14946
14947 static PyObject * MultiChoiceDialog_swigregister(PyObject *, PyObject *args) {
14948 PyObject *obj;
14949 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14950 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
14951 Py_INCREF(obj);
14952 return Py_BuildValue((char *)"");
14953 }
14954 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14955 PyObject *resultobj = NULL;
14956 wxWindow *arg1 = (wxWindow *) 0 ;
14957 wxString *arg2 = 0 ;
14958 wxString *arg3 = 0 ;
14959 int arg4 ;
14960 wxString *arg5 = (wxString *) 0 ;
14961 long arg6 = (long) wxCHOICEDLG_STYLE ;
14962 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14963 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14964 wxSingleChoiceDialog *result;
14965 bool temp2 = false ;
14966 bool temp3 = false ;
14967 wxPoint temp7 ;
14968 PyObject * obj0 = 0 ;
14969 PyObject * obj1 = 0 ;
14970 PyObject * obj2 = 0 ;
14971 PyObject * obj3 = 0 ;
14972 PyObject * obj4 = 0 ;
14973 PyObject * obj5 = 0 ;
14974 char *kwnames[] = {
14975 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14976 };
14977
14978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14979 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14980 if (SWIG_arg_fail(1)) SWIG_fail;
14981 {
14982 arg2 = wxString_in_helper(obj1);
14983 if (arg2 == NULL) SWIG_fail;
14984 temp2 = true;
14985 }
14986 {
14987 arg3 = wxString_in_helper(obj2);
14988 if (arg3 == NULL) SWIG_fail;
14989 temp3 = true;
14990 }
14991 {
14992 arg4 = PyList_Size(obj3);
14993 arg5 = wxString_LIST_helper(obj3);
14994 if (arg5 == NULL) SWIG_fail;
14995 }
14996 if (obj4) {
14997 {
14998 arg6 = static_cast<long >(SWIG_As_long(obj4));
14999 if (SWIG_arg_fail(6)) SWIG_fail;
15000 }
15001 }
15002 if (obj5) {
15003 {
15004 arg7 = &temp7;
15005 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
15006 }
15007 }
15008 {
15009 if (!wxPyCheckForApp()) SWIG_fail;
15010 PyThreadState* __tstate = wxPyBeginAllowThreads();
15011 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
15012
15013 wxPyEndAllowThreads(__tstate);
15014 if (PyErr_Occurred()) SWIG_fail;
15015 }
15016 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
15017 {
15018 if (temp2)
15019 delete arg2;
15020 }
15021 {
15022 if (temp3)
15023 delete arg3;
15024 }
15025 {
15026 if (arg5) delete [] arg5;
15027 }
15028 return resultobj;
15029 fail:
15030 {
15031 if (temp2)
15032 delete arg2;
15033 }
15034 {
15035 if (temp3)
15036 delete arg3;
15037 }
15038 {
15039 if (arg5) delete [] arg5;
15040 }
15041 return NULL;
15042 }
15043
15044
15045 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
15046 PyObject *resultobj = NULL;
15047 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
15048 int result;
15049 PyObject * obj0 = 0 ;
15050 char *kwnames[] = {
15051 (char *) "self", NULL
15052 };
15053
15054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
15055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
15056 if (SWIG_arg_fail(1)) SWIG_fail;
15057 {
15058 PyThreadState* __tstate = wxPyBeginAllowThreads();
15059 result = (int)(arg1)->GetSelection();
15060
15061 wxPyEndAllowThreads(__tstate);
15062 if (PyErr_Occurred()) SWIG_fail;
15063 }
15064 {
15065 resultobj = SWIG_From_int(static_cast<int >(result));
15066 }
15067 return resultobj;
15068 fail:
15069 return NULL;
15070 }
15071
15072
15073 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
15074 PyObject *resultobj = NULL;
15075 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
15076 wxString result;
15077 PyObject * obj0 = 0 ;
15078 char *kwnames[] = {
15079 (char *) "self", NULL
15080 };
15081
15082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
15083 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
15084 if (SWIG_arg_fail(1)) SWIG_fail;
15085 {
15086 PyThreadState* __tstate = wxPyBeginAllowThreads();
15087 result = (arg1)->GetStringSelection();
15088
15089 wxPyEndAllowThreads(__tstate);
15090 if (PyErr_Occurred()) SWIG_fail;
15091 }
15092 {
15093 #if wxUSE_UNICODE
15094 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15095 #else
15096 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15097 #endif
15098 }
15099 return resultobj;
15100 fail:
15101 return NULL;
15102 }
15103
15104
15105 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
15106 PyObject *resultobj = NULL;
15107 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
15108 int arg2 ;
15109 PyObject * obj0 = 0 ;
15110 PyObject * obj1 = 0 ;
15111 char *kwnames[] = {
15112 (char *) "self",(char *) "sel", NULL
15113 };
15114
15115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
15116 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
15117 if (SWIG_arg_fail(1)) SWIG_fail;
15118 {
15119 arg2 = static_cast<int >(SWIG_As_int(obj1));
15120 if (SWIG_arg_fail(2)) SWIG_fail;
15121 }
15122 {
15123 PyThreadState* __tstate = wxPyBeginAllowThreads();
15124 (arg1)->SetSelection(arg2);
15125
15126 wxPyEndAllowThreads(__tstate);
15127 if (PyErr_Occurred()) SWIG_fail;
15128 }
15129 Py_INCREF(Py_None); resultobj = Py_None;
15130 return resultobj;
15131 fail:
15132 return NULL;
15133 }
15134
15135
15136 static PyObject * SingleChoiceDialog_swigregister(PyObject *, PyObject *args) {
15137 PyObject *obj;
15138 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15139 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
15140 Py_INCREF(obj);
15141 return Py_BuildValue((char *)"");
15142 }
15143 static PyObject *_wrap_new_TextEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15144 PyObject *resultobj = NULL;
15145 wxWindow *arg1 = (wxWindow *) 0 ;
15146 wxString *arg2 = 0 ;
15147 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
15148 wxString *arg3 = (wxString *) &arg3_defvalue ;
15149 wxString const &arg4_defvalue = wxPyEmptyString ;
15150 wxString *arg4 = (wxString *) &arg4_defvalue ;
15151 long arg5 = (long) wxTextEntryDialogStyle ;
15152 wxPoint const &arg6_defvalue = wxDefaultPosition ;
15153 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
15154 wxTextEntryDialog *result;
15155 bool temp2 = false ;
15156 bool temp3 = false ;
15157 bool temp4 = false ;
15158 wxPoint temp6 ;
15159 PyObject * obj0 = 0 ;
15160 PyObject * obj1 = 0 ;
15161 PyObject * obj2 = 0 ;
15162 PyObject * obj3 = 0 ;
15163 PyObject * obj4 = 0 ;
15164 PyObject * obj5 = 0 ;
15165 char *kwnames[] = {
15166 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
15167 };
15168
15169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15170 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15171 if (SWIG_arg_fail(1)) SWIG_fail;
15172 {
15173 arg2 = wxString_in_helper(obj1);
15174 if (arg2 == NULL) SWIG_fail;
15175 temp2 = true;
15176 }
15177 if (obj2) {
15178 {
15179 arg3 = wxString_in_helper(obj2);
15180 if (arg3 == NULL) SWIG_fail;
15181 temp3 = true;
15182 }
15183 }
15184 if (obj3) {
15185 {
15186 arg4 = wxString_in_helper(obj3);
15187 if (arg4 == NULL) SWIG_fail;
15188 temp4 = true;
15189 }
15190 }
15191 if (obj4) {
15192 {
15193 arg5 = static_cast<long >(SWIG_As_long(obj4));
15194 if (SWIG_arg_fail(5)) SWIG_fail;
15195 }
15196 }
15197 if (obj5) {
15198 {
15199 arg6 = &temp6;
15200 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
15201 }
15202 }
15203 {
15204 if (!wxPyCheckForApp()) SWIG_fail;
15205 PyThreadState* __tstate = wxPyBeginAllowThreads();
15206 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
15207
15208 wxPyEndAllowThreads(__tstate);
15209 if (PyErr_Occurred()) SWIG_fail;
15210 }
15211 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
15212 {
15213 if (temp2)
15214 delete arg2;
15215 }
15216 {
15217 if (temp3)
15218 delete arg3;
15219 }
15220 {
15221 if (temp4)
15222 delete arg4;
15223 }
15224 return resultobj;
15225 fail:
15226 {
15227 if (temp2)
15228 delete arg2;
15229 }
15230 {
15231 if (temp3)
15232 delete arg3;
15233 }
15234 {
15235 if (temp4)
15236 delete arg4;
15237 }
15238 return NULL;
15239 }
15240
15241
15242 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
15243 PyObject *resultobj = NULL;
15244 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
15245 wxString result;
15246 PyObject * obj0 = 0 ;
15247 char *kwnames[] = {
15248 (char *) "self", NULL
15249 };
15250
15251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
15252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_EXCEPTION | 0);
15253 if (SWIG_arg_fail(1)) SWIG_fail;
15254 {
15255 PyThreadState* __tstate = wxPyBeginAllowThreads();
15256 result = (arg1)->GetValue();
15257
15258 wxPyEndAllowThreads(__tstate);
15259 if (PyErr_Occurred()) SWIG_fail;
15260 }
15261 {
15262 #if wxUSE_UNICODE
15263 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15264 #else
15265 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15266 #endif
15267 }
15268 return resultobj;
15269 fail:
15270 return NULL;
15271 }
15272
15273
15274 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
15275 PyObject *resultobj = NULL;
15276 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
15277 wxString *arg2 = 0 ;
15278 bool temp2 = false ;
15279 PyObject * obj0 = 0 ;
15280 PyObject * obj1 = 0 ;
15281 char *kwnames[] = {
15282 (char *) "self",(char *) "value", NULL
15283 };
15284
15285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
15286 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_EXCEPTION | 0);
15287 if (SWIG_arg_fail(1)) SWIG_fail;
15288 {
15289 arg2 = wxString_in_helper(obj1);
15290 if (arg2 == NULL) SWIG_fail;
15291 temp2 = true;
15292 }
15293 {
15294 PyThreadState* __tstate = wxPyBeginAllowThreads();
15295 (arg1)->SetValue((wxString const &)*arg2);
15296
15297 wxPyEndAllowThreads(__tstate);
15298 if (PyErr_Occurred()) SWIG_fail;
15299 }
15300 Py_INCREF(Py_None); resultobj = Py_None;
15301 {
15302 if (temp2)
15303 delete arg2;
15304 }
15305 return resultobj;
15306 fail:
15307 {
15308 if (temp2)
15309 delete arg2;
15310 }
15311 return NULL;
15312 }
15313
15314
15315 static PyObject * TextEntryDialog_swigregister(PyObject *, PyObject *args) {
15316 PyObject *obj;
15317 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15318 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
15319 Py_INCREF(obj);
15320 return Py_BuildValue((char *)"");
15321 }
15322 static int _wrap_GetPasswordFromUserPromptStr_set(PyObject *) {
15323 PyErr_SetString(PyExc_TypeError,"Variable GetPasswordFromUserPromptStr is read-only.");
15324 return 1;
15325 }
15326
15327
15328 static PyObject *_wrap_GetPasswordFromUserPromptStr_get(void) {
15329 PyObject *pyobj = NULL;
15330
15331 {
15332 #if wxUSE_UNICODE
15333 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
15334 #else
15335 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
15336 #endif
15337 }
15338 return pyobj;
15339 }
15340
15341
15342 static PyObject *_wrap_new_PasswordEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15343 PyObject *resultobj = NULL;
15344 wxWindow *arg1 = (wxWindow *) 0 ;
15345 wxString *arg2 = 0 ;
15346 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
15347 wxString *arg3 = (wxString *) &arg3_defvalue ;
15348 wxString const &arg4_defvalue = wxPyEmptyString ;
15349 wxString *arg4 = (wxString *) &arg4_defvalue ;
15350 long arg5 = (long) wxTextEntryDialogStyle ;
15351 wxPoint const &arg6_defvalue = wxDefaultPosition ;
15352 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
15353 wxPasswordEntryDialog *result;
15354 bool temp2 = false ;
15355 bool temp3 = false ;
15356 bool temp4 = false ;
15357 wxPoint temp6 ;
15358 PyObject * obj0 = 0 ;
15359 PyObject * obj1 = 0 ;
15360 PyObject * obj2 = 0 ;
15361 PyObject * obj3 = 0 ;
15362 PyObject * obj4 = 0 ;
15363 PyObject * obj5 = 0 ;
15364 char *kwnames[] = {
15365 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
15366 };
15367
15368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15369 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15370 if (SWIG_arg_fail(1)) SWIG_fail;
15371 {
15372 arg2 = wxString_in_helper(obj1);
15373 if (arg2 == NULL) SWIG_fail;
15374 temp2 = true;
15375 }
15376 if (obj2) {
15377 {
15378 arg3 = wxString_in_helper(obj2);
15379 if (arg3 == NULL) SWIG_fail;
15380 temp3 = true;
15381 }
15382 }
15383 if (obj3) {
15384 {
15385 arg4 = wxString_in_helper(obj3);
15386 if (arg4 == NULL) SWIG_fail;
15387 temp4 = true;
15388 }
15389 }
15390 if (obj4) {
15391 {
15392 arg5 = static_cast<long >(SWIG_As_long(obj4));
15393 if (SWIG_arg_fail(5)) SWIG_fail;
15394 }
15395 }
15396 if (obj5) {
15397 {
15398 arg6 = &temp6;
15399 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
15400 }
15401 }
15402 {
15403 PyThreadState* __tstate = wxPyBeginAllowThreads();
15404 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
15405
15406 wxPyEndAllowThreads(__tstate);
15407 if (PyErr_Occurred()) SWIG_fail;
15408 }
15409 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPasswordEntryDialog, 1);
15410 {
15411 if (temp2)
15412 delete arg2;
15413 }
15414 {
15415 if (temp3)
15416 delete arg3;
15417 }
15418 {
15419 if (temp4)
15420 delete arg4;
15421 }
15422 return resultobj;
15423 fail:
15424 {
15425 if (temp2)
15426 delete arg2;
15427 }
15428 {
15429 if (temp3)
15430 delete arg3;
15431 }
15432 {
15433 if (temp4)
15434 delete arg4;
15435 }
15436 return NULL;
15437 }
15438
15439
15440 static PyObject * PasswordEntryDialog_swigregister(PyObject *, PyObject *args) {
15441 PyObject *obj;
15442 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15443 SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog, obj);
15444 Py_INCREF(obj);
15445 return Py_BuildValue((char *)"");
15446 }
15447 static PyObject *_wrap_new_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
15448 PyObject *resultobj = NULL;
15449 wxFontData *result;
15450 char *kwnames[] = {
15451 NULL
15452 };
15453
15454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
15455 {
15456 PyThreadState* __tstate = wxPyBeginAllowThreads();
15457 result = (wxFontData *)new wxFontData();
15458
15459 wxPyEndAllowThreads(__tstate);
15460 if (PyErr_Occurred()) SWIG_fail;
15461 }
15462 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
15463 return resultobj;
15464 fail:
15465 return NULL;
15466 }
15467
15468
15469 static PyObject *_wrap_delete_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
15470 PyObject *resultobj = NULL;
15471 wxFontData *arg1 = (wxFontData *) 0 ;
15472 PyObject * obj0 = 0 ;
15473 char *kwnames[] = {
15474 (char *) "self", NULL
15475 };
15476
15477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
15478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15479 if (SWIG_arg_fail(1)) SWIG_fail;
15480 {
15481 PyThreadState* __tstate = wxPyBeginAllowThreads();
15482 delete arg1;
15483
15484 wxPyEndAllowThreads(__tstate);
15485 if (PyErr_Occurred()) SWIG_fail;
15486 }
15487 Py_INCREF(Py_None); resultobj = Py_None;
15488 return resultobj;
15489 fail:
15490 return NULL;
15491 }
15492
15493
15494 static PyObject *_wrap_FontData_EnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
15495 PyObject *resultobj = NULL;
15496 wxFontData *arg1 = (wxFontData *) 0 ;
15497 bool arg2 ;
15498 PyObject * obj0 = 0 ;
15499 PyObject * obj1 = 0 ;
15500 char *kwnames[] = {
15501 (char *) "self",(char *) "enable", NULL
15502 };
15503
15504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
15505 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15506 if (SWIG_arg_fail(1)) SWIG_fail;
15507 {
15508 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
15509 if (SWIG_arg_fail(2)) SWIG_fail;
15510 }
15511 {
15512 PyThreadState* __tstate = wxPyBeginAllowThreads();
15513 (arg1)->EnableEffects(arg2);
15514
15515 wxPyEndAllowThreads(__tstate);
15516 if (PyErr_Occurred()) SWIG_fail;
15517 }
15518 Py_INCREF(Py_None); resultobj = Py_None;
15519 return resultobj;
15520 fail:
15521 return NULL;
15522 }
15523
15524
15525 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
15526 PyObject *resultobj = NULL;
15527 wxFontData *arg1 = (wxFontData *) 0 ;
15528 bool result;
15529 PyObject * obj0 = 0 ;
15530 char *kwnames[] = {
15531 (char *) "self", NULL
15532 };
15533
15534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
15535 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15536 if (SWIG_arg_fail(1)) SWIG_fail;
15537 {
15538 PyThreadState* __tstate = wxPyBeginAllowThreads();
15539 result = (bool)(arg1)->GetAllowSymbols();
15540
15541 wxPyEndAllowThreads(__tstate);
15542 if (PyErr_Occurred()) SWIG_fail;
15543 }
15544 {
15545 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15546 }
15547 return resultobj;
15548 fail:
15549 return NULL;
15550 }
15551
15552
15553 static PyObject *_wrap_FontData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
15554 PyObject *resultobj = NULL;
15555 wxFontData *arg1 = (wxFontData *) 0 ;
15556 wxColour result;
15557 PyObject * obj0 = 0 ;
15558 char *kwnames[] = {
15559 (char *) "self", NULL
15560 };
15561
15562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
15563 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15564 if (SWIG_arg_fail(1)) SWIG_fail;
15565 {
15566 PyThreadState* __tstate = wxPyBeginAllowThreads();
15567 result = (arg1)->GetColour();
15568
15569 wxPyEndAllowThreads(__tstate);
15570 if (PyErr_Occurred()) SWIG_fail;
15571 }
15572 {
15573 wxColour * resultptr;
15574 resultptr = new wxColour(static_cast<wxColour & >(result));
15575 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
15576 }
15577 return resultobj;
15578 fail:
15579 return NULL;
15580 }
15581
15582
15583 static PyObject *_wrap_FontData_GetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
15584 PyObject *resultobj = NULL;
15585 wxFontData *arg1 = (wxFontData *) 0 ;
15586 wxFont result;
15587 PyObject * obj0 = 0 ;
15588 char *kwnames[] = {
15589 (char *) "self", NULL
15590 };
15591
15592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
15593 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15594 if (SWIG_arg_fail(1)) SWIG_fail;
15595 {
15596 PyThreadState* __tstate = wxPyBeginAllowThreads();
15597 result = (arg1)->GetChosenFont();
15598
15599 wxPyEndAllowThreads(__tstate);
15600 if (PyErr_Occurred()) SWIG_fail;
15601 }
15602 {
15603 wxFont * resultptr;
15604 resultptr = new wxFont(static_cast<wxFont & >(result));
15605 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
15606 }
15607 return resultobj;
15608 fail:
15609 return NULL;
15610 }
15611
15612
15613 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
15614 PyObject *resultobj = NULL;
15615 wxFontData *arg1 = (wxFontData *) 0 ;
15616 bool result;
15617 PyObject * obj0 = 0 ;
15618 char *kwnames[] = {
15619 (char *) "self", NULL
15620 };
15621
15622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
15623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15624 if (SWIG_arg_fail(1)) SWIG_fail;
15625 {
15626 PyThreadState* __tstate = wxPyBeginAllowThreads();
15627 result = (bool)(arg1)->GetEnableEffects();
15628
15629 wxPyEndAllowThreads(__tstate);
15630 if (PyErr_Occurred()) SWIG_fail;
15631 }
15632 {
15633 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15634 }
15635 return resultobj;
15636 fail:
15637 return NULL;
15638 }
15639
15640
15641 static PyObject *_wrap_FontData_GetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
15642 PyObject *resultobj = NULL;
15643 wxFontData *arg1 = (wxFontData *) 0 ;
15644 wxFont result;
15645 PyObject * obj0 = 0 ;
15646 char *kwnames[] = {
15647 (char *) "self", NULL
15648 };
15649
15650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
15651 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15652 if (SWIG_arg_fail(1)) SWIG_fail;
15653 {
15654 PyThreadState* __tstate = wxPyBeginAllowThreads();
15655 result = (arg1)->GetInitialFont();
15656
15657 wxPyEndAllowThreads(__tstate);
15658 if (PyErr_Occurred()) SWIG_fail;
15659 }
15660 {
15661 wxFont * resultptr;
15662 resultptr = new wxFont(static_cast<wxFont & >(result));
15663 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
15664 }
15665 return resultobj;
15666 fail:
15667 return NULL;
15668 }
15669
15670
15671 static PyObject *_wrap_FontData_GetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
15672 PyObject *resultobj = NULL;
15673 wxFontData *arg1 = (wxFontData *) 0 ;
15674 bool result;
15675 PyObject * obj0 = 0 ;
15676 char *kwnames[] = {
15677 (char *) "self", NULL
15678 };
15679
15680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
15681 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15682 if (SWIG_arg_fail(1)) SWIG_fail;
15683 {
15684 PyThreadState* __tstate = wxPyBeginAllowThreads();
15685 result = (bool)(arg1)->GetShowHelp();
15686
15687 wxPyEndAllowThreads(__tstate);
15688 if (PyErr_Occurred()) SWIG_fail;
15689 }
15690 {
15691 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15692 }
15693 return resultobj;
15694 fail:
15695 return NULL;
15696 }
15697
15698
15699 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
15700 PyObject *resultobj = NULL;
15701 wxFontData *arg1 = (wxFontData *) 0 ;
15702 bool arg2 ;
15703 PyObject * obj0 = 0 ;
15704 PyObject * obj1 = 0 ;
15705 char *kwnames[] = {
15706 (char *) "self",(char *) "allowSymbols", NULL
15707 };
15708
15709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
15710 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15711 if (SWIG_arg_fail(1)) SWIG_fail;
15712 {
15713 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
15714 if (SWIG_arg_fail(2)) SWIG_fail;
15715 }
15716 {
15717 PyThreadState* __tstate = wxPyBeginAllowThreads();
15718 (arg1)->SetAllowSymbols(arg2);
15719
15720 wxPyEndAllowThreads(__tstate);
15721 if (PyErr_Occurred()) SWIG_fail;
15722 }
15723 Py_INCREF(Py_None); resultobj = Py_None;
15724 return resultobj;
15725 fail:
15726 return NULL;
15727 }
15728
15729
15730 static PyObject *_wrap_FontData_SetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
15731 PyObject *resultobj = NULL;
15732 wxFontData *arg1 = (wxFontData *) 0 ;
15733 wxFont *arg2 = 0 ;
15734 PyObject * obj0 = 0 ;
15735 PyObject * obj1 = 0 ;
15736 char *kwnames[] = {
15737 (char *) "self",(char *) "font", NULL
15738 };
15739
15740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
15741 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15742 if (SWIG_arg_fail(1)) SWIG_fail;
15743 {
15744 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
15745 if (SWIG_arg_fail(2)) SWIG_fail;
15746 if (arg2 == NULL) {
15747 SWIG_null_ref("wxFont");
15748 }
15749 if (SWIG_arg_fail(2)) SWIG_fail;
15750 }
15751 {
15752 PyThreadState* __tstate = wxPyBeginAllowThreads();
15753 (arg1)->SetChosenFont((wxFont const &)*arg2);
15754
15755 wxPyEndAllowThreads(__tstate);
15756 if (PyErr_Occurred()) SWIG_fail;
15757 }
15758 Py_INCREF(Py_None); resultobj = Py_None;
15759 return resultobj;
15760 fail:
15761 return NULL;
15762 }
15763
15764
15765 static PyObject *_wrap_FontData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
15766 PyObject *resultobj = NULL;
15767 wxFontData *arg1 = (wxFontData *) 0 ;
15768 wxColour *arg2 = 0 ;
15769 wxColour temp2 ;
15770 PyObject * obj0 = 0 ;
15771 PyObject * obj1 = 0 ;
15772 char *kwnames[] = {
15773 (char *) "self",(char *) "colour", NULL
15774 };
15775
15776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
15777 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15778 if (SWIG_arg_fail(1)) SWIG_fail;
15779 {
15780 arg2 = &temp2;
15781 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15782 }
15783 {
15784 PyThreadState* __tstate = wxPyBeginAllowThreads();
15785 (arg1)->SetColour((wxColour const &)*arg2);
15786
15787 wxPyEndAllowThreads(__tstate);
15788 if (PyErr_Occurred()) SWIG_fail;
15789 }
15790 Py_INCREF(Py_None); resultobj = Py_None;
15791 return resultobj;
15792 fail:
15793 return NULL;
15794 }
15795
15796
15797 static PyObject *_wrap_FontData_SetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
15798 PyObject *resultobj = NULL;
15799 wxFontData *arg1 = (wxFontData *) 0 ;
15800 wxFont *arg2 = 0 ;
15801 PyObject * obj0 = 0 ;
15802 PyObject * obj1 = 0 ;
15803 char *kwnames[] = {
15804 (char *) "self",(char *) "font", NULL
15805 };
15806
15807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
15808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15809 if (SWIG_arg_fail(1)) SWIG_fail;
15810 {
15811 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
15812 if (SWIG_arg_fail(2)) SWIG_fail;
15813 if (arg2 == NULL) {
15814 SWIG_null_ref("wxFont");
15815 }
15816 if (SWIG_arg_fail(2)) SWIG_fail;
15817 }
15818 {
15819 PyThreadState* __tstate = wxPyBeginAllowThreads();
15820 (arg1)->SetInitialFont((wxFont const &)*arg2);
15821
15822 wxPyEndAllowThreads(__tstate);
15823 if (PyErr_Occurred()) SWIG_fail;
15824 }
15825 Py_INCREF(Py_None); resultobj = Py_None;
15826 return resultobj;
15827 fail:
15828 return NULL;
15829 }
15830
15831
15832 static PyObject *_wrap_FontData_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
15833 PyObject *resultobj = NULL;
15834 wxFontData *arg1 = (wxFontData *) 0 ;
15835 int arg2 ;
15836 int arg3 ;
15837 PyObject * obj0 = 0 ;
15838 PyObject * obj1 = 0 ;
15839 PyObject * obj2 = 0 ;
15840 char *kwnames[] = {
15841 (char *) "self",(char *) "min",(char *) "max", NULL
15842 };
15843
15844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
15845 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15846 if (SWIG_arg_fail(1)) SWIG_fail;
15847 {
15848 arg2 = static_cast<int >(SWIG_As_int(obj1));
15849 if (SWIG_arg_fail(2)) SWIG_fail;
15850 }
15851 {
15852 arg3 = static_cast<int >(SWIG_As_int(obj2));
15853 if (SWIG_arg_fail(3)) SWIG_fail;
15854 }
15855 {
15856 PyThreadState* __tstate = wxPyBeginAllowThreads();
15857 (arg1)->SetRange(arg2,arg3);
15858
15859 wxPyEndAllowThreads(__tstate);
15860 if (PyErr_Occurred()) SWIG_fail;
15861 }
15862 Py_INCREF(Py_None); resultobj = Py_None;
15863 return resultobj;
15864 fail:
15865 return NULL;
15866 }
15867
15868
15869 static PyObject *_wrap_FontData_SetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
15870 PyObject *resultobj = NULL;
15871 wxFontData *arg1 = (wxFontData *) 0 ;
15872 bool arg2 ;
15873 PyObject * obj0 = 0 ;
15874 PyObject * obj1 = 0 ;
15875 char *kwnames[] = {
15876 (char *) "self",(char *) "showHelp", NULL
15877 };
15878
15879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
15880 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15881 if (SWIG_arg_fail(1)) SWIG_fail;
15882 {
15883 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
15884 if (SWIG_arg_fail(2)) SWIG_fail;
15885 }
15886 {
15887 PyThreadState* __tstate = wxPyBeginAllowThreads();
15888 (arg1)->SetShowHelp(arg2);
15889
15890 wxPyEndAllowThreads(__tstate);
15891 if (PyErr_Occurred()) SWIG_fail;
15892 }
15893 Py_INCREF(Py_None); resultobj = Py_None;
15894 return resultobj;
15895 fail:
15896 return NULL;
15897 }
15898
15899
15900 static PyObject * FontData_swigregister(PyObject *, PyObject *args) {
15901 PyObject *obj;
15902 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15903 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
15904 Py_INCREF(obj);
15905 return Py_BuildValue((char *)"");
15906 }
15907 static PyObject *_wrap_new_FontDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15908 PyObject *resultobj = NULL;
15909 wxWindow *arg1 = (wxWindow *) 0 ;
15910 wxFontData *arg2 = 0 ;
15911 wxFontDialog *result;
15912 PyObject * obj0 = 0 ;
15913 PyObject * obj1 = 0 ;
15914 char *kwnames[] = {
15915 (char *) "parent",(char *) "data", NULL
15916 };
15917
15918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
15919 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15920 if (SWIG_arg_fail(1)) SWIG_fail;
15921 {
15922 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15923 if (SWIG_arg_fail(2)) SWIG_fail;
15924 if (arg2 == NULL) {
15925 SWIG_null_ref("wxFontData");
15926 }
15927 if (SWIG_arg_fail(2)) SWIG_fail;
15928 }
15929 {
15930 if (!wxPyCheckForApp()) SWIG_fail;
15931 PyThreadState* __tstate = wxPyBeginAllowThreads();
15932 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
15933
15934 wxPyEndAllowThreads(__tstate);
15935 if (PyErr_Occurred()) SWIG_fail;
15936 }
15937 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
15938 return resultobj;
15939 fail:
15940 return NULL;
15941 }
15942
15943
15944 static PyObject *_wrap_FontDialog_GetFontData(PyObject *, PyObject *args, PyObject *kwargs) {
15945 PyObject *resultobj = NULL;
15946 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
15947 wxFontData *result;
15948 PyObject * obj0 = 0 ;
15949 char *kwnames[] = {
15950 (char *) "self", NULL
15951 };
15952
15953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
15954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontDialog, SWIG_POINTER_EXCEPTION | 0);
15955 if (SWIG_arg_fail(1)) SWIG_fail;
15956 {
15957 PyThreadState* __tstate = wxPyBeginAllowThreads();
15958 {
15959 wxFontData &_result_ref = (arg1)->GetFontData();
15960 result = (wxFontData *) &_result_ref;
15961 }
15962
15963 wxPyEndAllowThreads(__tstate);
15964 if (PyErr_Occurred()) SWIG_fail;
15965 }
15966 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
15967 return resultobj;
15968 fail:
15969 return NULL;
15970 }
15971
15972
15973 static PyObject * FontDialog_swigregister(PyObject *, PyObject *args) {
15974 PyObject *obj;
15975 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15976 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
15977 Py_INCREF(obj);
15978 return Py_BuildValue((char *)"");
15979 }
15980 static PyObject *_wrap_GetFontFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
15981 PyObject *resultobj = NULL;
15982 wxWindow *arg1 = (wxWindow *) NULL ;
15983 wxFont const &arg2_defvalue = wxNullFont ;
15984 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
15985 wxString const &arg3_defvalue = wxPyEmptyString ;
15986 wxString *arg3 = (wxString *) &arg3_defvalue ;
15987 wxFont result;
15988 bool temp3 = false ;
15989 PyObject * obj0 = 0 ;
15990 PyObject * obj1 = 0 ;
15991 PyObject * obj2 = 0 ;
15992 char *kwnames[] = {
15993 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
15994 };
15995
15996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) goto fail;
15997 if (obj0) {
15998 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15999 if (SWIG_arg_fail(1)) SWIG_fail;
16000 }
16001 if (obj1) {
16002 {
16003 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
16004 if (SWIG_arg_fail(2)) SWIG_fail;
16005 if (arg2 == NULL) {
16006 SWIG_null_ref("wxFont");
16007 }
16008 if (SWIG_arg_fail(2)) SWIG_fail;
16009 }
16010 }
16011 if (obj2) {
16012 {
16013 arg3 = wxString_in_helper(obj2);
16014 if (arg3 == NULL) SWIG_fail;
16015 temp3 = true;
16016 }
16017 }
16018 {
16019 PyThreadState* __tstate = wxPyBeginAllowThreads();
16020 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
16021
16022 wxPyEndAllowThreads(__tstate);
16023 if (PyErr_Occurred()) SWIG_fail;
16024 }
16025 {
16026 wxFont * resultptr;
16027 resultptr = new wxFont(static_cast<wxFont & >(result));
16028 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
16029 }
16030 {
16031 if (temp3)
16032 delete arg3;
16033 }
16034 return resultobj;
16035 fail:
16036 {
16037 if (temp3)
16038 delete arg3;
16039 }
16040 return NULL;
16041 }
16042
16043
16044 static PyObject *_wrap_new_MessageDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16045 PyObject *resultobj = NULL;
16046 wxWindow *arg1 = (wxWindow *) 0 ;
16047 wxString *arg2 = 0 ;
16048 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
16049 wxString *arg3 = (wxString *) &arg3_defvalue ;
16050 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
16051 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16052 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16053 wxMessageDialog *result;
16054 bool temp2 = false ;
16055 bool temp3 = false ;
16056 wxPoint temp5 ;
16057 PyObject * obj0 = 0 ;
16058 PyObject * obj1 = 0 ;
16059 PyObject * obj2 = 0 ;
16060 PyObject * obj3 = 0 ;
16061 PyObject * obj4 = 0 ;
16062 char *kwnames[] = {
16063 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
16064 };
16065
16066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16067 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16068 if (SWIG_arg_fail(1)) SWIG_fail;
16069 {
16070 arg2 = wxString_in_helper(obj1);
16071 if (arg2 == NULL) SWIG_fail;
16072 temp2 = true;
16073 }
16074 if (obj2) {
16075 {
16076 arg3 = wxString_in_helper(obj2);
16077 if (arg3 == NULL) SWIG_fail;
16078 temp3 = true;
16079 }
16080 }
16081 if (obj3) {
16082 {
16083 arg4 = static_cast<long >(SWIG_As_long(obj3));
16084 if (SWIG_arg_fail(4)) SWIG_fail;
16085 }
16086 }
16087 if (obj4) {
16088 {
16089 arg5 = &temp5;
16090 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16091 }
16092 }
16093 {
16094 if (!wxPyCheckForApp()) SWIG_fail;
16095 PyThreadState* __tstate = wxPyBeginAllowThreads();
16096 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
16097
16098 wxPyEndAllowThreads(__tstate);
16099 if (PyErr_Occurred()) SWIG_fail;
16100 }
16101 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
16102 {
16103 if (temp2)
16104 delete arg2;
16105 }
16106 {
16107 if (temp3)
16108 delete arg3;
16109 }
16110 return resultobj;
16111 fail:
16112 {
16113 if (temp2)
16114 delete arg2;
16115 }
16116 {
16117 if (temp3)
16118 delete arg3;
16119 }
16120 return NULL;
16121 }
16122
16123
16124 static PyObject * MessageDialog_swigregister(PyObject *, PyObject *args) {
16125 PyObject *obj;
16126 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16127 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
16128 Py_INCREF(obj);
16129 return Py_BuildValue((char *)"");
16130 }
16131 static PyObject *_wrap_new_ProgressDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16132 PyObject *resultobj = NULL;
16133 wxString *arg1 = 0 ;
16134 wxString *arg2 = 0 ;
16135 int arg3 = (int) 100 ;
16136 wxWindow *arg4 = (wxWindow *) NULL ;
16137 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
16138 wxProgressDialog *result;
16139 bool temp1 = false ;
16140 bool temp2 = false ;
16141 PyObject * obj0 = 0 ;
16142 PyObject * obj1 = 0 ;
16143 PyObject * obj2 = 0 ;
16144 PyObject * obj3 = 0 ;
16145 PyObject * obj4 = 0 ;
16146 char *kwnames[] = {
16147 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
16148 };
16149
16150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16151 {
16152 arg1 = wxString_in_helper(obj0);
16153 if (arg1 == NULL) SWIG_fail;
16154 temp1 = true;
16155 }
16156 {
16157 arg2 = wxString_in_helper(obj1);
16158 if (arg2 == NULL) SWIG_fail;
16159 temp2 = true;
16160 }
16161 if (obj2) {
16162 {
16163 arg3 = static_cast<int >(SWIG_As_int(obj2));
16164 if (SWIG_arg_fail(3)) SWIG_fail;
16165 }
16166 }
16167 if (obj3) {
16168 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16169 if (SWIG_arg_fail(4)) SWIG_fail;
16170 }
16171 if (obj4) {
16172 {
16173 arg5 = static_cast<int >(SWIG_As_int(obj4));
16174 if (SWIG_arg_fail(5)) SWIG_fail;
16175 }
16176 }
16177 {
16178 if (!wxPyCheckForApp()) SWIG_fail;
16179 PyThreadState* __tstate = wxPyBeginAllowThreads();
16180 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
16181
16182 wxPyEndAllowThreads(__tstate);
16183 if (PyErr_Occurred()) SWIG_fail;
16184 }
16185 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
16186 {
16187 if (temp1)
16188 delete arg1;
16189 }
16190 {
16191 if (temp2)
16192 delete arg2;
16193 }
16194 return resultobj;
16195 fail:
16196 {
16197 if (temp1)
16198 delete arg1;
16199 }
16200 {
16201 if (temp2)
16202 delete arg2;
16203 }
16204 return NULL;
16205 }
16206
16207
16208 static PyObject *_wrap_ProgressDialog_Update(PyObject *, PyObject *args, PyObject *kwargs) {
16209 PyObject *resultobj = NULL;
16210 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
16211 int arg2 ;
16212 wxString const &arg3_defvalue = wxPyEmptyString ;
16213 wxString *arg3 = (wxString *) &arg3_defvalue ;
16214 bool result;
16215 bool temp3 = false ;
16216 PyObject * obj0 = 0 ;
16217 PyObject * obj1 = 0 ;
16218 PyObject * obj2 = 0 ;
16219 char *kwnames[] = {
16220 (char *) "self",(char *) "value",(char *) "newmsg", NULL
16221 };
16222
16223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
16224 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0);
16225 if (SWIG_arg_fail(1)) SWIG_fail;
16226 {
16227 arg2 = static_cast<int >(SWIG_As_int(obj1));
16228 if (SWIG_arg_fail(2)) SWIG_fail;
16229 }
16230 if (obj2) {
16231 {
16232 arg3 = wxString_in_helper(obj2);
16233 if (arg3 == NULL) SWIG_fail;
16234 temp3 = true;
16235 }
16236 }
16237 {
16238 PyThreadState* __tstate = wxPyBeginAllowThreads();
16239 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
16240
16241 wxPyEndAllowThreads(__tstate);
16242 if (PyErr_Occurred()) SWIG_fail;
16243 }
16244 {
16245 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16246 }
16247 {
16248 if (temp3)
16249 delete arg3;
16250 }
16251 return resultobj;
16252 fail:
16253 {
16254 if (temp3)
16255 delete arg3;
16256 }
16257 return NULL;
16258 }
16259
16260
16261 static PyObject *_wrap_ProgressDialog_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
16262 PyObject *resultobj = NULL;
16263 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
16264 PyObject * obj0 = 0 ;
16265 char *kwnames[] = {
16266 (char *) "self", NULL
16267 };
16268
16269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
16270 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0);
16271 if (SWIG_arg_fail(1)) SWIG_fail;
16272 {
16273 PyThreadState* __tstate = wxPyBeginAllowThreads();
16274 (arg1)->Resume();
16275
16276 wxPyEndAllowThreads(__tstate);
16277 if (PyErr_Occurred()) SWIG_fail;
16278 }
16279 Py_INCREF(Py_None); resultobj = Py_None;
16280 return resultobj;
16281 fail:
16282 return NULL;
16283 }
16284
16285
16286 static PyObject * ProgressDialog_swigregister(PyObject *, PyObject *args) {
16287 PyObject *obj;
16288 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16289 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
16290 Py_INCREF(obj);
16291 return Py_BuildValue((char *)"");
16292 }
16293 static PyObject *_wrap_new_FindDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) {
16294 PyObject *resultobj = NULL;
16295 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16296 int arg2 = (int) 0 ;
16297 wxFindDialogEvent *result;
16298 PyObject * obj0 = 0 ;
16299 PyObject * obj1 = 0 ;
16300 char *kwnames[] = {
16301 (char *) "commandType",(char *) "id", NULL
16302 };
16303
16304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
16305 if (obj0) {
16306 {
16307 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
16308 if (SWIG_arg_fail(1)) SWIG_fail;
16309 }
16310 }
16311 if (obj1) {
16312 {
16313 arg2 = static_cast<int >(SWIG_As_int(obj1));
16314 if (SWIG_arg_fail(2)) SWIG_fail;
16315 }
16316 }
16317 {
16318 PyThreadState* __tstate = wxPyBeginAllowThreads();
16319 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
16320
16321 wxPyEndAllowThreads(__tstate);
16322 if (PyErr_Occurred()) SWIG_fail;
16323 }
16324 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
16325 return resultobj;
16326 fail:
16327 return NULL;
16328 }
16329
16330
16331 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
16332 PyObject *resultobj = NULL;
16333 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16334 int result;
16335 PyObject * obj0 = 0 ;
16336 char *kwnames[] = {
16337 (char *) "self", NULL
16338 };
16339
16340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
16341 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16342 if (SWIG_arg_fail(1)) SWIG_fail;
16343 {
16344 PyThreadState* __tstate = wxPyBeginAllowThreads();
16345 result = (int)(arg1)->GetFlags();
16346
16347 wxPyEndAllowThreads(__tstate);
16348 if (PyErr_Occurred()) SWIG_fail;
16349 }
16350 {
16351 resultobj = SWIG_From_int(static_cast<int >(result));
16352 }
16353 return resultobj;
16354 fail:
16355 return NULL;
16356 }
16357
16358
16359 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
16360 PyObject *resultobj = NULL;
16361 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16362 wxString *result;
16363 PyObject * obj0 = 0 ;
16364 char *kwnames[] = {
16365 (char *) "self", NULL
16366 };
16367
16368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
16369 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16370 if (SWIG_arg_fail(1)) SWIG_fail;
16371 {
16372 PyThreadState* __tstate = wxPyBeginAllowThreads();
16373 {
16374 wxString const &_result_ref = (arg1)->GetFindString();
16375 result = (wxString *) &_result_ref;
16376 }
16377
16378 wxPyEndAllowThreads(__tstate);
16379 if (PyErr_Occurred()) SWIG_fail;
16380 }
16381 {
16382 #if wxUSE_UNICODE
16383 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16384 #else
16385 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16386 #endif
16387 }
16388 return resultobj;
16389 fail:
16390 return NULL;
16391 }
16392
16393
16394 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
16395 PyObject *resultobj = NULL;
16396 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16397 wxString *result;
16398 PyObject * obj0 = 0 ;
16399 char *kwnames[] = {
16400 (char *) "self", NULL
16401 };
16402
16403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
16404 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16405 if (SWIG_arg_fail(1)) SWIG_fail;
16406 {
16407 PyThreadState* __tstate = wxPyBeginAllowThreads();
16408 {
16409 wxString const &_result_ref = (arg1)->GetReplaceString();
16410 result = (wxString *) &_result_ref;
16411 }
16412
16413 wxPyEndAllowThreads(__tstate);
16414 if (PyErr_Occurred()) SWIG_fail;
16415 }
16416 {
16417 #if wxUSE_UNICODE
16418 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16419 #else
16420 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16421 #endif
16422 }
16423 return resultobj;
16424 fail:
16425 return NULL;
16426 }
16427
16428
16429 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16430 PyObject *resultobj = NULL;
16431 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16432 wxFindReplaceDialog *result;
16433 PyObject * obj0 = 0 ;
16434 char *kwnames[] = {
16435 (char *) "self", NULL
16436 };
16437
16438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
16439 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16440 if (SWIG_arg_fail(1)) SWIG_fail;
16441 {
16442 PyThreadState* __tstate = wxPyBeginAllowThreads();
16443 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
16444
16445 wxPyEndAllowThreads(__tstate);
16446 if (PyErr_Occurred()) SWIG_fail;
16447 }
16448 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
16449 return resultobj;
16450 fail:
16451 return NULL;
16452 }
16453
16454
16455 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
16456 PyObject *resultobj = NULL;
16457 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16458 int arg2 ;
16459 PyObject * obj0 = 0 ;
16460 PyObject * obj1 = 0 ;
16461 char *kwnames[] = {
16462 (char *) "self",(char *) "flags", NULL
16463 };
16464
16465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
16466 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16467 if (SWIG_arg_fail(1)) SWIG_fail;
16468 {
16469 arg2 = static_cast<int >(SWIG_As_int(obj1));
16470 if (SWIG_arg_fail(2)) SWIG_fail;
16471 }
16472 {
16473 PyThreadState* __tstate = wxPyBeginAllowThreads();
16474 (arg1)->SetFlags(arg2);
16475
16476 wxPyEndAllowThreads(__tstate);
16477 if (PyErr_Occurred()) SWIG_fail;
16478 }
16479 Py_INCREF(Py_None); resultobj = Py_None;
16480 return resultobj;
16481 fail:
16482 return NULL;
16483 }
16484
16485
16486 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
16487 PyObject *resultobj = NULL;
16488 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16489 wxString *arg2 = 0 ;
16490 bool temp2 = false ;
16491 PyObject * obj0 = 0 ;
16492 PyObject * obj1 = 0 ;
16493 char *kwnames[] = {
16494 (char *) "self",(char *) "str", NULL
16495 };
16496
16497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
16498 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16499 if (SWIG_arg_fail(1)) SWIG_fail;
16500 {
16501 arg2 = wxString_in_helper(obj1);
16502 if (arg2 == NULL) SWIG_fail;
16503 temp2 = true;
16504 }
16505 {
16506 PyThreadState* __tstate = wxPyBeginAllowThreads();
16507 (arg1)->SetFindString((wxString const &)*arg2);
16508
16509 wxPyEndAllowThreads(__tstate);
16510 if (PyErr_Occurred()) SWIG_fail;
16511 }
16512 Py_INCREF(Py_None); resultobj = Py_None;
16513 {
16514 if (temp2)
16515 delete arg2;
16516 }
16517 return resultobj;
16518 fail:
16519 {
16520 if (temp2)
16521 delete arg2;
16522 }
16523 return NULL;
16524 }
16525
16526
16527 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
16528 PyObject *resultobj = NULL;
16529 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16530 wxString *arg2 = 0 ;
16531 bool temp2 = false ;
16532 PyObject * obj0 = 0 ;
16533 PyObject * obj1 = 0 ;
16534 char *kwnames[] = {
16535 (char *) "self",(char *) "str", NULL
16536 };
16537
16538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
16539 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16540 if (SWIG_arg_fail(1)) SWIG_fail;
16541 {
16542 arg2 = wxString_in_helper(obj1);
16543 if (arg2 == NULL) SWIG_fail;
16544 temp2 = true;
16545 }
16546 {
16547 PyThreadState* __tstate = wxPyBeginAllowThreads();
16548 (arg1)->SetReplaceString((wxString const &)*arg2);
16549
16550 wxPyEndAllowThreads(__tstate);
16551 if (PyErr_Occurred()) SWIG_fail;
16552 }
16553 Py_INCREF(Py_None); resultobj = Py_None;
16554 {
16555 if (temp2)
16556 delete arg2;
16557 }
16558 return resultobj;
16559 fail:
16560 {
16561 if (temp2)
16562 delete arg2;
16563 }
16564 return NULL;
16565 }
16566
16567
16568 static PyObject * FindDialogEvent_swigregister(PyObject *, PyObject *args) {
16569 PyObject *obj;
16570 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16571 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
16572 Py_INCREF(obj);
16573 return Py_BuildValue((char *)"");
16574 }
16575 static PyObject *_wrap_new_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
16576 PyObject *resultobj = NULL;
16577 int arg1 = (int) 0 ;
16578 wxFindReplaceData *result;
16579 PyObject * obj0 = 0 ;
16580 char *kwnames[] = {
16581 (char *) "flags", NULL
16582 };
16583
16584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
16585 if (obj0) {
16586 {
16587 arg1 = static_cast<int >(SWIG_As_int(obj0));
16588 if (SWIG_arg_fail(1)) SWIG_fail;
16589 }
16590 }
16591 {
16592 PyThreadState* __tstate = wxPyBeginAllowThreads();
16593 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
16594
16595 wxPyEndAllowThreads(__tstate);
16596 if (PyErr_Occurred()) SWIG_fail;
16597 }
16598 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
16599 return resultobj;
16600 fail:
16601 return NULL;
16602 }
16603
16604
16605 static PyObject *_wrap_delete_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
16606 PyObject *resultobj = NULL;
16607 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16608 PyObject * obj0 = 0 ;
16609 char *kwnames[] = {
16610 (char *) "self", NULL
16611 };
16612
16613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
16614 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16615 if (SWIG_arg_fail(1)) SWIG_fail;
16616 {
16617 PyThreadState* __tstate = wxPyBeginAllowThreads();
16618 delete arg1;
16619
16620 wxPyEndAllowThreads(__tstate);
16621 if (PyErr_Occurred()) SWIG_fail;
16622 }
16623 Py_INCREF(Py_None); resultobj = Py_None;
16624 return resultobj;
16625 fail:
16626 return NULL;
16627 }
16628
16629
16630 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
16631 PyObject *resultobj = NULL;
16632 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16633 wxString *result;
16634 PyObject * obj0 = 0 ;
16635 char *kwnames[] = {
16636 (char *) "self", NULL
16637 };
16638
16639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
16640 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16641 if (SWIG_arg_fail(1)) SWIG_fail;
16642 {
16643 PyThreadState* __tstate = wxPyBeginAllowThreads();
16644 {
16645 wxString const &_result_ref = (arg1)->GetFindString();
16646 result = (wxString *) &_result_ref;
16647 }
16648
16649 wxPyEndAllowThreads(__tstate);
16650 if (PyErr_Occurred()) SWIG_fail;
16651 }
16652 {
16653 #if wxUSE_UNICODE
16654 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16655 #else
16656 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16657 #endif
16658 }
16659 return resultobj;
16660 fail:
16661 return NULL;
16662 }
16663
16664
16665 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
16666 PyObject *resultobj = NULL;
16667 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16668 wxString *result;
16669 PyObject * obj0 = 0 ;
16670 char *kwnames[] = {
16671 (char *) "self", NULL
16672 };
16673
16674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
16675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16676 if (SWIG_arg_fail(1)) SWIG_fail;
16677 {
16678 PyThreadState* __tstate = wxPyBeginAllowThreads();
16679 {
16680 wxString const &_result_ref = (arg1)->GetReplaceString();
16681 result = (wxString *) &_result_ref;
16682 }
16683
16684 wxPyEndAllowThreads(__tstate);
16685 if (PyErr_Occurred()) SWIG_fail;
16686 }
16687 {
16688 #if wxUSE_UNICODE
16689 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16690 #else
16691 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16692 #endif
16693 }
16694 return resultobj;
16695 fail:
16696 return NULL;
16697 }
16698
16699
16700 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
16701 PyObject *resultobj = NULL;
16702 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16703 int result;
16704 PyObject * obj0 = 0 ;
16705 char *kwnames[] = {
16706 (char *) "self", NULL
16707 };
16708
16709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
16710 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16711 if (SWIG_arg_fail(1)) SWIG_fail;
16712 {
16713 PyThreadState* __tstate = wxPyBeginAllowThreads();
16714 result = (int)(arg1)->GetFlags();
16715
16716 wxPyEndAllowThreads(__tstate);
16717 if (PyErr_Occurred()) SWIG_fail;
16718 }
16719 {
16720 resultobj = SWIG_From_int(static_cast<int >(result));
16721 }
16722 return resultobj;
16723 fail:
16724 return NULL;
16725 }
16726
16727
16728 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
16729 PyObject *resultobj = NULL;
16730 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16731 int arg2 ;
16732 PyObject * obj0 = 0 ;
16733 PyObject * obj1 = 0 ;
16734 char *kwnames[] = {
16735 (char *) "self",(char *) "flags", NULL
16736 };
16737
16738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
16739 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16740 if (SWIG_arg_fail(1)) SWIG_fail;
16741 {
16742 arg2 = static_cast<int >(SWIG_As_int(obj1));
16743 if (SWIG_arg_fail(2)) SWIG_fail;
16744 }
16745 {
16746 PyThreadState* __tstate = wxPyBeginAllowThreads();
16747 (arg1)->SetFlags(arg2);
16748
16749 wxPyEndAllowThreads(__tstate);
16750 if (PyErr_Occurred()) SWIG_fail;
16751 }
16752 Py_INCREF(Py_None); resultobj = Py_None;
16753 return resultobj;
16754 fail:
16755 return NULL;
16756 }
16757
16758
16759 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
16760 PyObject *resultobj = NULL;
16761 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16762 wxString *arg2 = 0 ;
16763 bool temp2 = false ;
16764 PyObject * obj0 = 0 ;
16765 PyObject * obj1 = 0 ;
16766 char *kwnames[] = {
16767 (char *) "self",(char *) "str", NULL
16768 };
16769
16770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
16771 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16772 if (SWIG_arg_fail(1)) SWIG_fail;
16773 {
16774 arg2 = wxString_in_helper(obj1);
16775 if (arg2 == NULL) SWIG_fail;
16776 temp2 = true;
16777 }
16778 {
16779 PyThreadState* __tstate = wxPyBeginAllowThreads();
16780 (arg1)->SetFindString((wxString const &)*arg2);
16781
16782 wxPyEndAllowThreads(__tstate);
16783 if (PyErr_Occurred()) SWIG_fail;
16784 }
16785 Py_INCREF(Py_None); resultobj = Py_None;
16786 {
16787 if (temp2)
16788 delete arg2;
16789 }
16790 return resultobj;
16791 fail:
16792 {
16793 if (temp2)
16794 delete arg2;
16795 }
16796 return NULL;
16797 }
16798
16799
16800 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
16801 PyObject *resultobj = NULL;
16802 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16803 wxString *arg2 = 0 ;
16804 bool temp2 = false ;
16805 PyObject * obj0 = 0 ;
16806 PyObject * obj1 = 0 ;
16807 char *kwnames[] = {
16808 (char *) "self",(char *) "str", NULL
16809 };
16810
16811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
16812 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16813 if (SWIG_arg_fail(1)) SWIG_fail;
16814 {
16815 arg2 = wxString_in_helper(obj1);
16816 if (arg2 == NULL) SWIG_fail;
16817 temp2 = true;
16818 }
16819 {
16820 PyThreadState* __tstate = wxPyBeginAllowThreads();
16821 (arg1)->SetReplaceString((wxString const &)*arg2);
16822
16823 wxPyEndAllowThreads(__tstate);
16824 if (PyErr_Occurred()) SWIG_fail;
16825 }
16826 Py_INCREF(Py_None); resultobj = Py_None;
16827 {
16828 if (temp2)
16829 delete arg2;
16830 }
16831 return resultobj;
16832 fail:
16833 {
16834 if (temp2)
16835 delete arg2;
16836 }
16837 return NULL;
16838 }
16839
16840
16841 static PyObject * FindReplaceData_swigregister(PyObject *, PyObject *args) {
16842 PyObject *obj;
16843 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16844 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
16845 Py_INCREF(obj);
16846 return Py_BuildValue((char *)"");
16847 }
16848 static PyObject *_wrap_new_FindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16849 PyObject *resultobj = NULL;
16850 wxWindow *arg1 = (wxWindow *) 0 ;
16851 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
16852 wxString *arg3 = 0 ;
16853 int arg4 = (int) 0 ;
16854 wxFindReplaceDialog *result;
16855 bool temp3 = false ;
16856 PyObject * obj0 = 0 ;
16857 PyObject * obj1 = 0 ;
16858 PyObject * obj2 = 0 ;
16859 PyObject * obj3 = 0 ;
16860 char *kwnames[] = {
16861 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16862 };
16863
16864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
16865 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16866 if (SWIG_arg_fail(1)) SWIG_fail;
16867 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16868 if (SWIG_arg_fail(2)) SWIG_fail;
16869 {
16870 arg3 = wxString_in_helper(obj2);
16871 if (arg3 == NULL) SWIG_fail;
16872 temp3 = true;
16873 }
16874 if (obj3) {
16875 {
16876 arg4 = static_cast<int >(SWIG_As_int(obj3));
16877 if (SWIG_arg_fail(4)) SWIG_fail;
16878 }
16879 }
16880 {
16881 if (!wxPyCheckForApp()) SWIG_fail;
16882 PyThreadState* __tstate = wxPyBeginAllowThreads();
16883 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
16884
16885 wxPyEndAllowThreads(__tstate);
16886 if (PyErr_Occurred()) SWIG_fail;
16887 }
16888 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
16889 {
16890 if (temp3)
16891 delete arg3;
16892 }
16893 return resultobj;
16894 fail:
16895 {
16896 if (temp3)
16897 delete arg3;
16898 }
16899 return NULL;
16900 }
16901
16902
16903 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16904 PyObject *resultobj = NULL;
16905 wxFindReplaceDialog *result;
16906 char *kwnames[] = {
16907 NULL
16908 };
16909
16910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
16911 {
16912 if (!wxPyCheckForApp()) SWIG_fail;
16913 PyThreadState* __tstate = wxPyBeginAllowThreads();
16914 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
16915
16916 wxPyEndAllowThreads(__tstate);
16917 if (PyErr_Occurred()) SWIG_fail;
16918 }
16919 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
16920 return resultobj;
16921 fail:
16922 return NULL;
16923 }
16924
16925
16926 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
16927 PyObject *resultobj = NULL;
16928 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
16929 wxWindow *arg2 = (wxWindow *) 0 ;
16930 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
16931 wxString *arg4 = 0 ;
16932 int arg5 = (int) 0 ;
16933 bool result;
16934 bool temp4 = false ;
16935 PyObject * obj0 = 0 ;
16936 PyObject * obj1 = 0 ;
16937 PyObject * obj2 = 0 ;
16938 PyObject * obj3 = 0 ;
16939 PyObject * obj4 = 0 ;
16940 char *kwnames[] = {
16941 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16942 };
16943
16944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16945 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
16946 if (SWIG_arg_fail(1)) SWIG_fail;
16947 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16948 if (SWIG_arg_fail(2)) SWIG_fail;
16949 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16950 if (SWIG_arg_fail(3)) SWIG_fail;
16951 {
16952 arg4 = wxString_in_helper(obj3);
16953 if (arg4 == NULL) SWIG_fail;
16954 temp4 = true;
16955 }
16956 if (obj4) {
16957 {
16958 arg5 = static_cast<int >(SWIG_As_int(obj4));
16959 if (SWIG_arg_fail(5)) SWIG_fail;
16960 }
16961 }
16962 {
16963 PyThreadState* __tstate = wxPyBeginAllowThreads();
16964 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
16965
16966 wxPyEndAllowThreads(__tstate);
16967 if (PyErr_Occurred()) SWIG_fail;
16968 }
16969 {
16970 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16971 }
16972 {
16973 if (temp4)
16974 delete arg4;
16975 }
16976 return resultobj;
16977 fail:
16978 {
16979 if (temp4)
16980 delete arg4;
16981 }
16982 return NULL;
16983 }
16984
16985
16986 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
16987 PyObject *resultobj = NULL;
16988 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
16989 wxFindReplaceData *result;
16990 PyObject * obj0 = 0 ;
16991 char *kwnames[] = {
16992 (char *) "self", NULL
16993 };
16994
16995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
16996 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
16997 if (SWIG_arg_fail(1)) SWIG_fail;
16998 {
16999 PyThreadState* __tstate = wxPyBeginAllowThreads();
17000 result = (wxFindReplaceData *)(arg1)->GetData();
17001
17002 wxPyEndAllowThreads(__tstate);
17003 if (PyErr_Occurred()) SWIG_fail;
17004 }
17005 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
17006 return resultobj;
17007 fail:
17008 return NULL;
17009 }
17010
17011
17012 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
17013 PyObject *resultobj = NULL;
17014 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
17015 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
17016 PyObject * obj0 = 0 ;
17017 PyObject * obj1 = 0 ;
17018 char *kwnames[] = {
17019 (char *) "self",(char *) "data", NULL
17020 };
17021
17022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
17023 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
17024 if (SWIG_arg_fail(1)) SWIG_fail;
17025 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
17026 if (SWIG_arg_fail(2)) SWIG_fail;
17027 {
17028 PyThreadState* __tstate = wxPyBeginAllowThreads();
17029 (arg1)->SetData(arg2);
17030
17031 wxPyEndAllowThreads(__tstate);
17032 if (PyErr_Occurred()) SWIG_fail;
17033 }
17034 Py_INCREF(Py_None); resultobj = Py_None;
17035 return resultobj;
17036 fail:
17037 return NULL;
17038 }
17039
17040
17041 static PyObject * FindReplaceDialog_swigregister(PyObject *, PyObject *args) {
17042 PyObject *obj;
17043 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17044 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
17045 Py_INCREF(obj);
17046 return Py_BuildValue((char *)"");
17047 }
17048 static PyObject *_wrap_new_MDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
17049 PyObject *resultobj = NULL;
17050 wxWindow *arg1 = (wxWindow *) 0 ;
17051 int arg2 = (int) (int)-1 ;
17052 wxString const &arg3_defvalue = wxPyEmptyString ;
17053 wxString *arg3 = (wxString *) &arg3_defvalue ;
17054 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17055 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17056 wxSize const &arg5_defvalue = wxDefaultSize ;
17057 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17058 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
17059 wxString const &arg7_defvalue = wxPyFrameNameStr ;
17060 wxString *arg7 = (wxString *) &arg7_defvalue ;
17061 wxMDIParentFrame *result;
17062 bool temp3 = false ;
17063 wxPoint temp4 ;
17064 wxSize temp5 ;
17065 bool temp7 = false ;
17066 PyObject * obj0 = 0 ;
17067 PyObject * obj1 = 0 ;
17068 PyObject * obj2 = 0 ;
17069 PyObject * obj3 = 0 ;
17070 PyObject * obj4 = 0 ;
17071 PyObject * obj5 = 0 ;
17072 PyObject * obj6 = 0 ;
17073 char *kwnames[] = {
17074 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17075 };
17076
17077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17078 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17079 if (SWIG_arg_fail(1)) SWIG_fail;
17080 if (obj1) {
17081 {
17082 arg2 = static_cast<int const >(SWIG_As_int(obj1));
17083 if (SWIG_arg_fail(2)) SWIG_fail;
17084 }
17085 }
17086 if (obj2) {
17087 {
17088 arg3 = wxString_in_helper(obj2);
17089 if (arg3 == NULL) SWIG_fail;
17090 temp3 = true;
17091 }
17092 }
17093 if (obj3) {
17094 {
17095 arg4 = &temp4;
17096 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17097 }
17098 }
17099 if (obj4) {
17100 {
17101 arg5 = &temp5;
17102 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17103 }
17104 }
17105 if (obj5) {
17106 {
17107 arg6 = static_cast<long >(SWIG_As_long(obj5));
17108 if (SWIG_arg_fail(6)) SWIG_fail;
17109 }
17110 }
17111 if (obj6) {
17112 {
17113 arg7 = wxString_in_helper(obj6);
17114 if (arg7 == NULL) SWIG_fail;
17115 temp7 = true;
17116 }
17117 }
17118 {
17119 if (!wxPyCheckForApp()) SWIG_fail;
17120 PyThreadState* __tstate = wxPyBeginAllowThreads();
17121 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17122
17123 wxPyEndAllowThreads(__tstate);
17124 if (PyErr_Occurred()) SWIG_fail;
17125 }
17126 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
17127 {
17128 if (temp3)
17129 delete arg3;
17130 }
17131 {
17132 if (temp7)
17133 delete arg7;
17134 }
17135 return resultobj;
17136 fail:
17137 {
17138 if (temp3)
17139 delete arg3;
17140 }
17141 {
17142 if (temp7)
17143 delete arg7;
17144 }
17145 return NULL;
17146 }
17147
17148
17149 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
17150 PyObject *resultobj = NULL;
17151 wxMDIParentFrame *result;
17152 char *kwnames[] = {
17153 NULL
17154 };
17155
17156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
17157 {
17158 if (!wxPyCheckForApp()) SWIG_fail;
17159 PyThreadState* __tstate = wxPyBeginAllowThreads();
17160 result = (wxMDIParentFrame *)new wxMDIParentFrame();
17161
17162 wxPyEndAllowThreads(__tstate);
17163 if (PyErr_Occurred()) SWIG_fail;
17164 }
17165 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
17166 return resultobj;
17167 fail:
17168 return NULL;
17169 }
17170
17171
17172 static PyObject *_wrap_MDIParentFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17173 PyObject *resultobj = NULL;
17174 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17175 wxWindow *arg2 = (wxWindow *) 0 ;
17176 int arg3 = (int) (int)-1 ;
17177 wxString const &arg4_defvalue = wxPyEmptyString ;
17178 wxString *arg4 = (wxString *) &arg4_defvalue ;
17179 wxPoint const &arg5_defvalue = wxDefaultPosition ;
17180 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
17181 wxSize const &arg6_defvalue = wxDefaultSize ;
17182 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17183 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
17184 wxString const &arg8_defvalue = wxPyFrameNameStr ;
17185 wxString *arg8 = (wxString *) &arg8_defvalue ;
17186 bool result;
17187 bool temp4 = false ;
17188 wxPoint temp5 ;
17189 wxSize temp6 ;
17190 bool temp8 = false ;
17191 PyObject * obj0 = 0 ;
17192 PyObject * obj1 = 0 ;
17193 PyObject * obj2 = 0 ;
17194 PyObject * obj3 = 0 ;
17195 PyObject * obj4 = 0 ;
17196 PyObject * obj5 = 0 ;
17197 PyObject * obj6 = 0 ;
17198 PyObject * obj7 = 0 ;
17199 char *kwnames[] = {
17200 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17201 };
17202
17203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
17204 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17205 if (SWIG_arg_fail(1)) SWIG_fail;
17206 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17207 if (SWIG_arg_fail(2)) SWIG_fail;
17208 if (obj2) {
17209 {
17210 arg3 = static_cast<int const >(SWIG_As_int(obj2));
17211 if (SWIG_arg_fail(3)) SWIG_fail;
17212 }
17213 }
17214 if (obj3) {
17215 {
17216 arg4 = wxString_in_helper(obj3);
17217 if (arg4 == NULL) SWIG_fail;
17218 temp4 = true;
17219 }
17220 }
17221 if (obj4) {
17222 {
17223 arg5 = &temp5;
17224 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
17225 }
17226 }
17227 if (obj5) {
17228 {
17229 arg6 = &temp6;
17230 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
17231 }
17232 }
17233 if (obj6) {
17234 {
17235 arg7 = static_cast<long >(SWIG_As_long(obj6));
17236 if (SWIG_arg_fail(7)) SWIG_fail;
17237 }
17238 }
17239 if (obj7) {
17240 {
17241 arg8 = wxString_in_helper(obj7);
17242 if (arg8 == NULL) SWIG_fail;
17243 temp8 = true;
17244 }
17245 }
17246 {
17247 PyThreadState* __tstate = wxPyBeginAllowThreads();
17248 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
17249
17250 wxPyEndAllowThreads(__tstate);
17251 if (PyErr_Occurred()) SWIG_fail;
17252 }
17253 {
17254 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17255 }
17256 {
17257 if (temp4)
17258 delete arg4;
17259 }
17260 {
17261 if (temp8)
17262 delete arg8;
17263 }
17264 return resultobj;
17265 fail:
17266 {
17267 if (temp4)
17268 delete arg4;
17269 }
17270 {
17271 if (temp8)
17272 delete arg8;
17273 }
17274 return NULL;
17275 }
17276
17277
17278 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *, PyObject *args, PyObject *kwargs) {
17279 PyObject *resultobj = NULL;
17280 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17281 PyObject * obj0 = 0 ;
17282 char *kwnames[] = {
17283 (char *) "self", NULL
17284 };
17285
17286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
17287 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17288 if (SWIG_arg_fail(1)) SWIG_fail;
17289 {
17290 PyThreadState* __tstate = wxPyBeginAllowThreads();
17291 (arg1)->ActivateNext();
17292
17293 wxPyEndAllowThreads(__tstate);
17294 if (PyErr_Occurred()) SWIG_fail;
17295 }
17296 Py_INCREF(Py_None); resultobj = Py_None;
17297 return resultobj;
17298 fail:
17299 return NULL;
17300 }
17301
17302
17303 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *, PyObject *args, PyObject *kwargs) {
17304 PyObject *resultobj = NULL;
17305 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17306 PyObject * obj0 = 0 ;
17307 char *kwnames[] = {
17308 (char *) "self", NULL
17309 };
17310
17311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
17312 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17313 if (SWIG_arg_fail(1)) SWIG_fail;
17314 {
17315 PyThreadState* __tstate = wxPyBeginAllowThreads();
17316 (arg1)->ActivatePrevious();
17317
17318 wxPyEndAllowThreads(__tstate);
17319 if (PyErr_Occurred()) SWIG_fail;
17320 }
17321 Py_INCREF(Py_None); resultobj = Py_None;
17322 return resultobj;
17323 fail:
17324 return NULL;
17325 }
17326
17327
17328 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *, PyObject *args, PyObject *kwargs) {
17329 PyObject *resultobj = NULL;
17330 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17331 PyObject * obj0 = 0 ;
17332 char *kwnames[] = {
17333 (char *) "self", NULL
17334 };
17335
17336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
17337 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17338 if (SWIG_arg_fail(1)) SWIG_fail;
17339 {
17340 PyThreadState* __tstate = wxPyBeginAllowThreads();
17341 (arg1)->ArrangeIcons();
17342
17343 wxPyEndAllowThreads(__tstate);
17344 if (PyErr_Occurred()) SWIG_fail;
17345 }
17346 Py_INCREF(Py_None); resultobj = Py_None;
17347 return resultobj;
17348 fail:
17349 return NULL;
17350 }
17351
17352
17353 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *, PyObject *args, PyObject *kwargs) {
17354 PyObject *resultobj = NULL;
17355 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17356 PyObject * obj0 = 0 ;
17357 char *kwnames[] = {
17358 (char *) "self", NULL
17359 };
17360
17361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
17362 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17363 if (SWIG_arg_fail(1)) SWIG_fail;
17364 {
17365 PyThreadState* __tstate = wxPyBeginAllowThreads();
17366 (arg1)->Cascade();
17367
17368 wxPyEndAllowThreads(__tstate);
17369 if (PyErr_Occurred()) SWIG_fail;
17370 }
17371 Py_INCREF(Py_None); resultobj = Py_None;
17372 return resultobj;
17373 fail:
17374 return NULL;
17375 }
17376
17377
17378 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *, PyObject *args, PyObject *kwargs) {
17379 PyObject *resultobj = NULL;
17380 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17381 wxMDIChildFrame *result;
17382 PyObject * obj0 = 0 ;
17383 char *kwnames[] = {
17384 (char *) "self", NULL
17385 };
17386
17387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
17388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17389 if (SWIG_arg_fail(1)) SWIG_fail;
17390 {
17391 PyThreadState* __tstate = wxPyBeginAllowThreads();
17392 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
17393
17394 wxPyEndAllowThreads(__tstate);
17395 if (PyErr_Occurred()) SWIG_fail;
17396 }
17397 {
17398 resultobj = wxPyMake_wxObject(result, (bool)0);
17399 }
17400 return resultobj;
17401 fail:
17402 return NULL;
17403 }
17404
17405
17406 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17407 PyObject *resultobj = NULL;
17408 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17409 wxMDIClientWindow *result;
17410 PyObject * obj0 = 0 ;
17411 char *kwnames[] = {
17412 (char *) "self", NULL
17413 };
17414
17415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
17416 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17417 if (SWIG_arg_fail(1)) SWIG_fail;
17418 {
17419 PyThreadState* __tstate = wxPyBeginAllowThreads();
17420 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
17421
17422 wxPyEndAllowThreads(__tstate);
17423 if (PyErr_Occurred()) SWIG_fail;
17424 }
17425 {
17426 resultobj = wxPyMake_wxObject(result, (bool)0);
17427 }
17428 return resultobj;
17429 fail:
17430 return NULL;
17431 }
17432
17433
17434 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
17435 PyObject *resultobj = NULL;
17436 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17437 wxWindow *result;
17438 PyObject * obj0 = 0 ;
17439 char *kwnames[] = {
17440 (char *) "self", NULL
17441 };
17442
17443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
17444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17445 if (SWIG_arg_fail(1)) SWIG_fail;
17446 {
17447 PyThreadState* __tstate = wxPyBeginAllowThreads();
17448 result = (wxWindow *)(arg1)->GetToolBar();
17449
17450 wxPyEndAllowThreads(__tstate);
17451 if (PyErr_Occurred()) SWIG_fail;
17452 }
17453 {
17454 resultobj = wxPyMake_wxObject(result, 0);
17455 }
17456 return resultobj;
17457 fail:
17458 return NULL;
17459 }
17460
17461
17462 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *, PyObject *args, PyObject *kwargs) {
17463 PyObject *resultobj = NULL;
17464 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17465 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
17466 PyObject * obj0 = 0 ;
17467 PyObject * obj1 = 0 ;
17468 char *kwnames[] = {
17469 (char *) "self",(char *) "orient", NULL
17470 };
17471
17472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) goto fail;
17473 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17474 if (SWIG_arg_fail(1)) SWIG_fail;
17475 if (obj1) {
17476 {
17477 arg2 = static_cast<wxOrientation >(SWIG_As_int(obj1));
17478 if (SWIG_arg_fail(2)) SWIG_fail;
17479 }
17480 }
17481 {
17482 PyThreadState* __tstate = wxPyBeginAllowThreads();
17483 (arg1)->Tile(arg2);
17484
17485 wxPyEndAllowThreads(__tstate);
17486 if (PyErr_Occurred()) SWIG_fail;
17487 }
17488 Py_INCREF(Py_None); resultobj = Py_None;
17489 return resultobj;
17490 fail:
17491 return NULL;
17492 }
17493
17494
17495 static PyObject * MDIParentFrame_swigregister(PyObject *, PyObject *args) {
17496 PyObject *obj;
17497 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17498 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
17499 Py_INCREF(obj);
17500 return Py_BuildValue((char *)"");
17501 }
17502 static PyObject *_wrap_new_MDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
17503 PyObject *resultobj = NULL;
17504 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17505 int arg2 = (int) (int)-1 ;
17506 wxString const &arg3_defvalue = wxPyEmptyString ;
17507 wxString *arg3 = (wxString *) &arg3_defvalue ;
17508 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17509 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17510 wxSize const &arg5_defvalue = wxDefaultSize ;
17511 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17512 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
17513 wxString const &arg7_defvalue = wxPyFrameNameStr ;
17514 wxString *arg7 = (wxString *) &arg7_defvalue ;
17515 wxMDIChildFrame *result;
17516 bool temp3 = false ;
17517 wxPoint temp4 ;
17518 wxSize temp5 ;
17519 bool temp7 = false ;
17520 PyObject * obj0 = 0 ;
17521 PyObject * obj1 = 0 ;
17522 PyObject * obj2 = 0 ;
17523 PyObject * obj3 = 0 ;
17524 PyObject * obj4 = 0 ;
17525 PyObject * obj5 = 0 ;
17526 PyObject * obj6 = 0 ;
17527 char *kwnames[] = {
17528 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17529 };
17530
17531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17532 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17533 if (SWIG_arg_fail(1)) SWIG_fail;
17534 if (obj1) {
17535 {
17536 arg2 = static_cast<int const >(SWIG_As_int(obj1));
17537 if (SWIG_arg_fail(2)) SWIG_fail;
17538 }
17539 }
17540 if (obj2) {
17541 {
17542 arg3 = wxString_in_helper(obj2);
17543 if (arg3 == NULL) SWIG_fail;
17544 temp3 = true;
17545 }
17546 }
17547 if (obj3) {
17548 {
17549 arg4 = &temp4;
17550 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17551 }
17552 }
17553 if (obj4) {
17554 {
17555 arg5 = &temp5;
17556 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17557 }
17558 }
17559 if (obj5) {
17560 {
17561 arg6 = static_cast<long >(SWIG_As_long(obj5));
17562 if (SWIG_arg_fail(6)) SWIG_fail;
17563 }
17564 }
17565 if (obj6) {
17566 {
17567 arg7 = wxString_in_helper(obj6);
17568 if (arg7 == NULL) SWIG_fail;
17569 temp7 = true;
17570 }
17571 }
17572 {
17573 if (!wxPyCheckForApp()) SWIG_fail;
17574 PyThreadState* __tstate = wxPyBeginAllowThreads();
17575 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17576
17577 wxPyEndAllowThreads(__tstate);
17578 if (PyErr_Occurred()) SWIG_fail;
17579 }
17580 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
17581 {
17582 if (temp3)
17583 delete arg3;
17584 }
17585 {
17586 if (temp7)
17587 delete arg7;
17588 }
17589 return resultobj;
17590 fail:
17591 {
17592 if (temp3)
17593 delete arg3;
17594 }
17595 {
17596 if (temp7)
17597 delete arg7;
17598 }
17599 return NULL;
17600 }
17601
17602
17603 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
17604 PyObject *resultobj = NULL;
17605 wxMDIChildFrame *result;
17606 char *kwnames[] = {
17607 NULL
17608 };
17609
17610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
17611 {
17612 if (!wxPyCheckForApp()) SWIG_fail;
17613 PyThreadState* __tstate = wxPyBeginAllowThreads();
17614 result = (wxMDIChildFrame *)new wxMDIChildFrame();
17615
17616 wxPyEndAllowThreads(__tstate);
17617 if (PyErr_Occurred()) SWIG_fail;
17618 }
17619 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
17620 return resultobj;
17621 fail:
17622 return NULL;
17623 }
17624
17625
17626 static PyObject *_wrap_MDIChildFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17627 PyObject *resultobj = NULL;
17628 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17629 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
17630 int arg3 = (int) (int)-1 ;
17631 wxString const &arg4_defvalue = wxPyEmptyString ;
17632 wxString *arg4 = (wxString *) &arg4_defvalue ;
17633 wxPoint const &arg5_defvalue = wxDefaultPosition ;
17634 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
17635 wxSize const &arg6_defvalue = wxDefaultSize ;
17636 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17637 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
17638 wxString const &arg8_defvalue = wxPyFrameNameStr ;
17639 wxString *arg8 = (wxString *) &arg8_defvalue ;
17640 bool result;
17641 bool temp4 = false ;
17642 wxPoint temp5 ;
17643 wxSize temp6 ;
17644 bool temp8 = false ;
17645 PyObject * obj0 = 0 ;
17646 PyObject * obj1 = 0 ;
17647 PyObject * obj2 = 0 ;
17648 PyObject * obj3 = 0 ;
17649 PyObject * obj4 = 0 ;
17650 PyObject * obj5 = 0 ;
17651 PyObject * obj6 = 0 ;
17652 PyObject * obj7 = 0 ;
17653 char *kwnames[] = {
17654 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17655 };
17656
17657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
17658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17659 if (SWIG_arg_fail(1)) SWIG_fail;
17660 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17661 if (SWIG_arg_fail(2)) SWIG_fail;
17662 if (obj2) {
17663 {
17664 arg3 = static_cast<int const >(SWIG_As_int(obj2));
17665 if (SWIG_arg_fail(3)) SWIG_fail;
17666 }
17667 }
17668 if (obj3) {
17669 {
17670 arg4 = wxString_in_helper(obj3);
17671 if (arg4 == NULL) SWIG_fail;
17672 temp4 = true;
17673 }
17674 }
17675 if (obj4) {
17676 {
17677 arg5 = &temp5;
17678 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
17679 }
17680 }
17681 if (obj5) {
17682 {
17683 arg6 = &temp6;
17684 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
17685 }
17686 }
17687 if (obj6) {
17688 {
17689 arg7 = static_cast<long >(SWIG_As_long(obj6));
17690 if (SWIG_arg_fail(7)) SWIG_fail;
17691 }
17692 }
17693 if (obj7) {
17694 {
17695 arg8 = wxString_in_helper(obj7);
17696 if (arg8 == NULL) SWIG_fail;
17697 temp8 = true;
17698 }
17699 }
17700 {
17701 PyThreadState* __tstate = wxPyBeginAllowThreads();
17702 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
17703
17704 wxPyEndAllowThreads(__tstate);
17705 if (PyErr_Occurred()) SWIG_fail;
17706 }
17707 {
17708 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17709 }
17710 {
17711 if (temp4)
17712 delete arg4;
17713 }
17714 {
17715 if (temp8)
17716 delete arg8;
17717 }
17718 return resultobj;
17719 fail:
17720 {
17721 if (temp4)
17722 delete arg4;
17723 }
17724 {
17725 if (temp8)
17726 delete arg8;
17727 }
17728 return NULL;
17729 }
17730
17731
17732 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *, PyObject *args, PyObject *kwargs) {
17733 PyObject *resultobj = NULL;
17734 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17735 PyObject * obj0 = 0 ;
17736 char *kwnames[] = {
17737 (char *) "self", NULL
17738 };
17739
17740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
17741 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17742 if (SWIG_arg_fail(1)) SWIG_fail;
17743 {
17744 PyThreadState* __tstate = wxPyBeginAllowThreads();
17745 (arg1)->Activate();
17746
17747 wxPyEndAllowThreads(__tstate);
17748 if (PyErr_Occurred()) SWIG_fail;
17749 }
17750 Py_INCREF(Py_None); resultobj = Py_None;
17751 return resultobj;
17752 fail:
17753 return NULL;
17754 }
17755
17756
17757 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
17758 PyObject *resultobj = NULL;
17759 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17760 bool arg2 = (bool) true ;
17761 PyObject * obj0 = 0 ;
17762 PyObject * obj1 = 0 ;
17763 char *kwnames[] = {
17764 (char *) "self",(char *) "maximize", NULL
17765 };
17766
17767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
17768 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17769 if (SWIG_arg_fail(1)) SWIG_fail;
17770 if (obj1) {
17771 {
17772 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
17773 if (SWIG_arg_fail(2)) SWIG_fail;
17774 }
17775 }
17776 {
17777 PyThreadState* __tstate = wxPyBeginAllowThreads();
17778 (arg1)->Maximize(arg2);
17779
17780 wxPyEndAllowThreads(__tstate);
17781 if (PyErr_Occurred()) SWIG_fail;
17782 }
17783 Py_INCREF(Py_None); resultobj = Py_None;
17784 return resultobj;
17785 fail:
17786 return NULL;
17787 }
17788
17789
17790 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
17791 PyObject *resultobj = NULL;
17792 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17793 PyObject * obj0 = 0 ;
17794 char *kwnames[] = {
17795 (char *) "self", NULL
17796 };
17797
17798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
17799 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17800 if (SWIG_arg_fail(1)) SWIG_fail;
17801 {
17802 PyThreadState* __tstate = wxPyBeginAllowThreads();
17803 (arg1)->Restore();
17804
17805 wxPyEndAllowThreads(__tstate);
17806 if (PyErr_Occurred()) SWIG_fail;
17807 }
17808 Py_INCREF(Py_None); resultobj = Py_None;
17809 return resultobj;
17810 fail:
17811 return NULL;
17812 }
17813
17814
17815 static PyObject * MDIChildFrame_swigregister(PyObject *, PyObject *args) {
17816 PyObject *obj;
17817 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17818 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
17819 Py_INCREF(obj);
17820 return Py_BuildValue((char *)"");
17821 }
17822 static PyObject *_wrap_new_MDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17823 PyObject *resultobj = NULL;
17824 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17825 long arg2 = (long) 0 ;
17826 wxMDIClientWindow *result;
17827 PyObject * obj0 = 0 ;
17828 PyObject * obj1 = 0 ;
17829 char *kwnames[] = {
17830 (char *) "parent",(char *) "style", NULL
17831 };
17832
17833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
17834 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17835 if (SWIG_arg_fail(1)) SWIG_fail;
17836 if (obj1) {
17837 {
17838 arg2 = static_cast<long >(SWIG_As_long(obj1));
17839 if (SWIG_arg_fail(2)) SWIG_fail;
17840 }
17841 }
17842 {
17843 if (!wxPyCheckForApp()) SWIG_fail;
17844 PyThreadState* __tstate = wxPyBeginAllowThreads();
17845 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
17846
17847 wxPyEndAllowThreads(__tstate);
17848 if (PyErr_Occurred()) SWIG_fail;
17849 }
17850 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
17851 return resultobj;
17852 fail:
17853 return NULL;
17854 }
17855
17856
17857 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17858 PyObject *resultobj = NULL;
17859 wxMDIClientWindow *result;
17860 char *kwnames[] = {
17861 NULL
17862 };
17863
17864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
17865 {
17866 if (!wxPyCheckForApp()) SWIG_fail;
17867 PyThreadState* __tstate = wxPyBeginAllowThreads();
17868 result = (wxMDIClientWindow *)new wxMDIClientWindow();
17869
17870 wxPyEndAllowThreads(__tstate);
17871 if (PyErr_Occurred()) SWIG_fail;
17872 }
17873 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
17874 return resultobj;
17875 fail:
17876 return NULL;
17877 }
17878
17879
17880 static PyObject *_wrap_MDIClientWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17881 PyObject *resultobj = NULL;
17882 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
17883 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
17884 long arg3 = (long) 0 ;
17885 bool result;
17886 PyObject * obj0 = 0 ;
17887 PyObject * obj1 = 0 ;
17888 PyObject * obj2 = 0 ;
17889 char *kwnames[] = {
17890 (char *) "self",(char *) "parent",(char *) "style", NULL
17891 };
17892
17893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
17894 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_EXCEPTION | 0);
17895 if (SWIG_arg_fail(1)) SWIG_fail;
17896 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17897 if (SWIG_arg_fail(2)) SWIG_fail;
17898 if (obj2) {
17899 {
17900 arg3 = static_cast<long >(SWIG_As_long(obj2));
17901 if (SWIG_arg_fail(3)) SWIG_fail;
17902 }
17903 }
17904 {
17905 PyThreadState* __tstate = wxPyBeginAllowThreads();
17906 result = (bool)(arg1)->Create(arg2,arg3);
17907
17908 wxPyEndAllowThreads(__tstate);
17909 if (PyErr_Occurred()) SWIG_fail;
17910 }
17911 {
17912 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17913 }
17914 return resultobj;
17915 fail:
17916 return NULL;
17917 }
17918
17919
17920 static PyObject * MDIClientWindow_swigregister(PyObject *, PyObject *args) {
17921 PyObject *obj;
17922 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17923 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
17924 Py_INCREF(obj);
17925 return Py_BuildValue((char *)"");
17926 }
17927 static PyObject *_wrap_new_PyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17928 PyObject *resultobj = NULL;
17929 wxWindow *arg1 = (wxWindow *) 0 ;
17930 int arg2 = (int) (int)-1 ;
17931 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17932 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17933 wxSize const &arg4_defvalue = wxDefaultSize ;
17934 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17935 long arg5 = (long) 0 ;
17936 wxString const &arg6_defvalue = wxPyPanelNameStr ;
17937 wxString *arg6 = (wxString *) &arg6_defvalue ;
17938 wxPyWindow *result;
17939 wxPoint temp3 ;
17940 wxSize temp4 ;
17941 bool temp6 = false ;
17942 PyObject * obj0 = 0 ;
17943 PyObject * obj1 = 0 ;
17944 PyObject * obj2 = 0 ;
17945 PyObject * obj3 = 0 ;
17946 PyObject * obj4 = 0 ;
17947 PyObject * obj5 = 0 ;
17948 char *kwnames[] = {
17949 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17950 };
17951
17952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17953 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17954 if (SWIG_arg_fail(1)) SWIG_fail;
17955 if (obj1) {
17956 {
17957 arg2 = static_cast<int const >(SWIG_As_int(obj1));
17958 if (SWIG_arg_fail(2)) SWIG_fail;
17959 }
17960 }
17961 if (obj2) {
17962 {
17963 arg3 = &temp3;
17964 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17965 }
17966 }
17967 if (obj3) {
17968 {
17969 arg4 = &temp4;
17970 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17971 }
17972 }
17973 if (obj4) {
17974 {
17975 arg5 = static_cast<long >(SWIG_As_long(obj4));
17976 if (SWIG_arg_fail(5)) SWIG_fail;
17977 }
17978 }
17979 if (obj5) {
17980 {
17981 arg6 = wxString_in_helper(obj5);
17982 if (arg6 == NULL) SWIG_fail;
17983 temp6 = true;
17984 }
17985 }
17986 {
17987 if (!wxPyCheckForApp()) SWIG_fail;
17988 PyThreadState* __tstate = wxPyBeginAllowThreads();
17989 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17990
17991 wxPyEndAllowThreads(__tstate);
17992 if (PyErr_Occurred()) SWIG_fail;
17993 }
17994 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
17995 {
17996 if (temp6)
17997 delete arg6;
17998 }
17999 return resultobj;
18000 fail:
18001 {
18002 if (temp6)
18003 delete arg6;
18004 }
18005 return NULL;
18006 }
18007
18008
18009 static PyObject *_wrap_new_PrePyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18010 PyObject *resultobj = NULL;
18011 wxPyWindow *result;
18012 char *kwnames[] = {
18013 NULL
18014 };
18015
18016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
18017 {
18018 if (!wxPyCheckForApp()) SWIG_fail;
18019 PyThreadState* __tstate = wxPyBeginAllowThreads();
18020 result = (wxPyWindow *)new wxPyWindow();
18021
18022 wxPyEndAllowThreads(__tstate);
18023 if (PyErr_Occurred()) SWIG_fail;
18024 }
18025 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
18026 return resultobj;
18027 fail:
18028 return NULL;
18029 }
18030
18031
18032 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
18033 PyObject *resultobj = NULL;
18034 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18035 PyObject *arg2 = (PyObject *) 0 ;
18036 PyObject *arg3 = (PyObject *) 0 ;
18037 PyObject * obj0 = 0 ;
18038 PyObject * obj1 = 0 ;
18039 PyObject * obj2 = 0 ;
18040 char *kwnames[] = {
18041 (char *) "self",(char *) "self",(char *) "_class", NULL
18042 };
18043
18044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
18045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18046 if (SWIG_arg_fail(1)) SWIG_fail;
18047 arg2 = obj1;
18048 arg3 = obj2;
18049 {
18050 PyThreadState* __tstate = wxPyBeginAllowThreads();
18051 (arg1)->_setCallbackInfo(arg2,arg3);
18052
18053 wxPyEndAllowThreads(__tstate);
18054 if (PyErr_Occurred()) SWIG_fail;
18055 }
18056 Py_INCREF(Py_None); resultobj = Py_None;
18057 return resultobj;
18058 fail:
18059 return NULL;
18060 }
18061
18062
18063 static PyObject *_wrap_PyWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
18064 PyObject *resultobj = NULL;
18065 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18066 wxSize *arg2 = 0 ;
18067 wxSize temp2 ;
18068 PyObject * obj0 = 0 ;
18069 PyObject * obj1 = 0 ;
18070 char *kwnames[] = {
18071 (char *) "self",(char *) "size", NULL
18072 };
18073
18074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
18075 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18076 if (SWIG_arg_fail(1)) SWIG_fail;
18077 {
18078 arg2 = &temp2;
18079 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18080 }
18081 {
18082 PyThreadState* __tstate = wxPyBeginAllowThreads();
18083 (arg1)->SetBestSize((wxSize const &)*arg2);
18084
18085 wxPyEndAllowThreads(__tstate);
18086 if (PyErr_Occurred()) SWIG_fail;
18087 }
18088 Py_INCREF(Py_None); resultobj = Py_None;
18089 return resultobj;
18090 fail:
18091 return NULL;
18092 }
18093
18094
18095 static PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) {
18096 PyObject *resultobj = NULL;
18097 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18098 wxDC *arg2 = (wxDC *) 0 ;
18099 bool result;
18100 PyObject * obj0 = 0 ;
18101 PyObject * obj1 = 0 ;
18102 char *kwnames[] = {
18103 (char *) "self",(char *) "dc", NULL
18104 };
18105
18106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail;
18107 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18108 if (SWIG_arg_fail(1)) SWIG_fail;
18109 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
18110 if (SWIG_arg_fail(2)) SWIG_fail;
18111 {
18112 PyThreadState* __tstate = wxPyBeginAllowThreads();
18113 result = (bool)(arg1)->DoEraseBackground(arg2);
18114
18115 wxPyEndAllowThreads(__tstate);
18116 if (PyErr_Occurred()) SWIG_fail;
18117 }
18118 {
18119 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18120 }
18121 return resultobj;
18122 fail:
18123 return NULL;
18124 }
18125
18126
18127 static PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18128 PyObject *resultobj = NULL;
18129 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18130 int arg2 ;
18131 int arg3 ;
18132 int arg4 ;
18133 int arg5 ;
18134 PyObject * obj0 = 0 ;
18135 PyObject * obj1 = 0 ;
18136 PyObject * obj2 = 0 ;
18137 PyObject * obj3 = 0 ;
18138 PyObject * obj4 = 0 ;
18139 char *kwnames[] = {
18140 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18141 };
18142
18143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18144 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18145 if (SWIG_arg_fail(1)) SWIG_fail;
18146 {
18147 arg2 = static_cast<int >(SWIG_As_int(obj1));
18148 if (SWIG_arg_fail(2)) SWIG_fail;
18149 }
18150 {
18151 arg3 = static_cast<int >(SWIG_As_int(obj2));
18152 if (SWIG_arg_fail(3)) SWIG_fail;
18153 }
18154 {
18155 arg4 = static_cast<int >(SWIG_As_int(obj3));
18156 if (SWIG_arg_fail(4)) SWIG_fail;
18157 }
18158 {
18159 arg5 = static_cast<int >(SWIG_As_int(obj4));
18160 if (SWIG_arg_fail(5)) SWIG_fail;
18161 }
18162 {
18163 PyThreadState* __tstate = wxPyBeginAllowThreads();
18164 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
18165
18166 wxPyEndAllowThreads(__tstate);
18167 if (PyErr_Occurred()) SWIG_fail;
18168 }
18169 Py_INCREF(Py_None); resultobj = Py_None;
18170 return resultobj;
18171 fail:
18172 return NULL;
18173 }
18174
18175
18176 static PyObject *_wrap_PyWindow_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
18177 PyObject *resultobj = NULL;
18178 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18179 int arg2 ;
18180 int arg3 ;
18181 int arg4 ;
18182 int arg5 ;
18183 int arg6 = (int) wxSIZE_AUTO ;
18184 PyObject * obj0 = 0 ;
18185 PyObject * obj1 = 0 ;
18186 PyObject * obj2 = 0 ;
18187 PyObject * obj3 = 0 ;
18188 PyObject * obj4 = 0 ;
18189 PyObject * obj5 = 0 ;
18190 char *kwnames[] = {
18191 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
18192 };
18193
18194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18195 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18196 if (SWIG_arg_fail(1)) SWIG_fail;
18197 {
18198 arg2 = static_cast<int >(SWIG_As_int(obj1));
18199 if (SWIG_arg_fail(2)) SWIG_fail;
18200 }
18201 {
18202 arg3 = static_cast<int >(SWIG_As_int(obj2));
18203 if (SWIG_arg_fail(3)) SWIG_fail;
18204 }
18205 {
18206 arg4 = static_cast<int >(SWIG_As_int(obj3));
18207 if (SWIG_arg_fail(4)) SWIG_fail;
18208 }
18209 {
18210 arg5 = static_cast<int >(SWIG_As_int(obj4));
18211 if (SWIG_arg_fail(5)) SWIG_fail;
18212 }
18213 if (obj5) {
18214 {
18215 arg6 = static_cast<int >(SWIG_As_int(obj5));
18216 if (SWIG_arg_fail(6)) SWIG_fail;
18217 }
18218 }
18219 {
18220 PyThreadState* __tstate = wxPyBeginAllowThreads();
18221 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
18222
18223 wxPyEndAllowThreads(__tstate);
18224 if (PyErr_Occurred()) SWIG_fail;
18225 }
18226 Py_INCREF(Py_None); resultobj = Py_None;
18227 return resultobj;
18228 fail:
18229 return NULL;
18230 }
18231
18232
18233 static PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
18234 PyObject *resultobj = NULL;
18235 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18236 int arg2 ;
18237 int arg3 ;
18238 PyObject * obj0 = 0 ;
18239 PyObject * obj1 = 0 ;
18240 PyObject * obj2 = 0 ;
18241 char *kwnames[] = {
18242 (char *) "self",(char *) "width",(char *) "height", NULL
18243 };
18244
18245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
18246 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18247 if (SWIG_arg_fail(1)) SWIG_fail;
18248 {
18249 arg2 = static_cast<int >(SWIG_As_int(obj1));
18250 if (SWIG_arg_fail(2)) SWIG_fail;
18251 }
18252 {
18253 arg3 = static_cast<int >(SWIG_As_int(obj2));
18254 if (SWIG_arg_fail(3)) SWIG_fail;
18255 }
18256 {
18257 PyThreadState* __tstate = wxPyBeginAllowThreads();
18258 (arg1)->DoSetClientSize(arg2,arg3);
18259
18260 wxPyEndAllowThreads(__tstate);
18261 if (PyErr_Occurred()) SWIG_fail;
18262 }
18263 Py_INCREF(Py_None); resultobj = Py_None;
18264 return resultobj;
18265 fail:
18266 return NULL;
18267 }
18268
18269
18270 static PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
18271 PyObject *resultobj = NULL;
18272 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18273 int arg2 ;
18274 int arg3 ;
18275 PyObject * obj0 = 0 ;
18276 PyObject * obj1 = 0 ;
18277 PyObject * obj2 = 0 ;
18278 char *kwnames[] = {
18279 (char *) "self",(char *) "x",(char *) "y", NULL
18280 };
18281
18282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
18283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18284 if (SWIG_arg_fail(1)) SWIG_fail;
18285 {
18286 arg2 = static_cast<int >(SWIG_As_int(obj1));
18287 if (SWIG_arg_fail(2)) SWIG_fail;
18288 }
18289 {
18290 arg3 = static_cast<int >(SWIG_As_int(obj2));
18291 if (SWIG_arg_fail(3)) SWIG_fail;
18292 }
18293 {
18294 PyThreadState* __tstate = wxPyBeginAllowThreads();
18295 (arg1)->DoSetVirtualSize(arg2,arg3);
18296
18297 wxPyEndAllowThreads(__tstate);
18298 if (PyErr_Occurred()) SWIG_fail;
18299 }
18300 Py_INCREF(Py_None); resultobj = Py_None;
18301 return resultobj;
18302 fail:
18303 return NULL;
18304 }
18305
18306
18307 static PyObject *_wrap_PyWindow_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
18308 PyObject *resultobj = NULL;
18309 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18310 int *arg2 = (int *) 0 ;
18311 int *arg3 = (int *) 0 ;
18312 int temp2 ;
18313 int res2 = 0 ;
18314 int temp3 ;
18315 int res3 = 0 ;
18316 PyObject * obj0 = 0 ;
18317 char *kwnames[] = {
18318 (char *) "self", NULL
18319 };
18320
18321 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18322 arg3 = &temp3; res3 = SWIG_NEWOBJ;
18323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_DoGetSize",kwnames,&obj0)) goto fail;
18324 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18325 if (SWIG_arg_fail(1)) SWIG_fail;
18326 {
18327 PyThreadState* __tstate = wxPyBeginAllowThreads();
18328 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
18329
18330 wxPyEndAllowThreads(__tstate);
18331 if (PyErr_Occurred()) SWIG_fail;
18332 }
18333 Py_INCREF(Py_None); resultobj = Py_None;
18334 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18335 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18336 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18337 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
18338 return resultobj;
18339 fail:
18340 return NULL;
18341 }
18342
18343
18344 static PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
18345 PyObject *resultobj = NULL;
18346 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18347 int *arg2 = (int *) 0 ;
18348 int *arg3 = (int *) 0 ;
18349 int temp2 ;
18350 int res2 = 0 ;
18351 int temp3 ;
18352 int res3 = 0 ;
18353 PyObject * obj0 = 0 ;
18354 char *kwnames[] = {
18355 (char *) "self", NULL
18356 };
18357
18358 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18359 arg3 = &temp3; res3 = SWIG_NEWOBJ;
18360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_DoGetClientSize",kwnames,&obj0)) goto fail;
18361 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18362 if (SWIG_arg_fail(1)) SWIG_fail;
18363 {
18364 PyThreadState* __tstate = wxPyBeginAllowThreads();
18365 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
18366
18367 wxPyEndAllowThreads(__tstate);
18368 if (PyErr_Occurred()) SWIG_fail;
18369 }
18370 Py_INCREF(Py_None); resultobj = Py_None;
18371 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18372 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18373 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18374 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
18375 return resultobj;
18376 fail:
18377 return NULL;
18378 }
18379
18380
18381 static PyObject *_wrap_PyWindow_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
18382 PyObject *resultobj = NULL;
18383 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18384 int *arg2 = (int *) 0 ;
18385 int *arg3 = (int *) 0 ;
18386 int temp2 ;
18387 int res2 = 0 ;
18388 int temp3 ;
18389 int res3 = 0 ;
18390 PyObject * obj0 = 0 ;
18391 char *kwnames[] = {
18392 (char *) "self", NULL
18393 };
18394
18395 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18396 arg3 = &temp3; res3 = SWIG_NEWOBJ;
18397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_DoGetPosition",kwnames,&obj0)) goto fail;
18398 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18399 if (SWIG_arg_fail(1)) SWIG_fail;
18400 {
18401 PyThreadState* __tstate = wxPyBeginAllowThreads();
18402 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
18403
18404 wxPyEndAllowThreads(__tstate);
18405 if (PyErr_Occurred()) SWIG_fail;
18406 }
18407 Py_INCREF(Py_None); resultobj = Py_None;
18408 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18409 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18410 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18411 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
18412 return resultobj;
18413 fail:
18414 return NULL;
18415 }
18416
18417
18418 static PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
18419 PyObject *resultobj = NULL;
18420 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18421 wxSize result;
18422 PyObject * obj0 = 0 ;
18423 char *kwnames[] = {
18424 (char *) "self", NULL
18425 };
18426
18427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_DoGetVirtualSize",kwnames,&obj0)) goto fail;
18428 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18429 if (SWIG_arg_fail(1)) SWIG_fail;
18430 {
18431 PyThreadState* __tstate = wxPyBeginAllowThreads();
18432 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
18433
18434 wxPyEndAllowThreads(__tstate);
18435 if (PyErr_Occurred()) SWIG_fail;
18436 }
18437 {
18438 wxSize * resultptr;
18439 resultptr = new wxSize(static_cast<wxSize & >(result));
18440 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18441 }
18442 return resultobj;
18443 fail:
18444 return NULL;
18445 }
18446
18447
18448 static PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
18449 PyObject *resultobj = NULL;
18450 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18451 wxSize result;
18452 PyObject * obj0 = 0 ;
18453 char *kwnames[] = {
18454 (char *) "self", NULL
18455 };
18456
18457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_DoGetBestSize",kwnames,&obj0)) goto fail;
18458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18459 if (SWIG_arg_fail(1)) SWIG_fail;
18460 {
18461 PyThreadState* __tstate = wxPyBeginAllowThreads();
18462 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
18463
18464 wxPyEndAllowThreads(__tstate);
18465 if (PyErr_Occurred()) SWIG_fail;
18466 }
18467 {
18468 wxSize * resultptr;
18469 resultptr = new wxSize(static_cast<wxSize & >(result));
18470 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18471 }
18472 return resultobj;
18473 fail:
18474 return NULL;
18475 }
18476
18477
18478 static PyObject *_wrap_PyWindow_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
18479 PyObject *resultobj = NULL;
18480 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18481 PyObject * obj0 = 0 ;
18482 char *kwnames[] = {
18483 (char *) "self", NULL
18484 };
18485
18486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_InitDialog",kwnames,&obj0)) goto fail;
18487 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18488 if (SWIG_arg_fail(1)) SWIG_fail;
18489 {
18490 PyThreadState* __tstate = wxPyBeginAllowThreads();
18491 (arg1)->InitDialog();
18492
18493 wxPyEndAllowThreads(__tstate);
18494 if (PyErr_Occurred()) SWIG_fail;
18495 }
18496 Py_INCREF(Py_None); resultobj = Py_None;
18497 return resultobj;
18498 fail:
18499 return NULL;
18500 }
18501
18502
18503 static PyObject *_wrap_PyWindow_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18504 PyObject *resultobj = NULL;
18505 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18506 bool result;
18507 PyObject * obj0 = 0 ;
18508 char *kwnames[] = {
18509 (char *) "self", NULL
18510 };
18511
18512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_TransferDataToWindow",kwnames,&obj0)) goto fail;
18513 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18514 if (SWIG_arg_fail(1)) SWIG_fail;
18515 {
18516 PyThreadState* __tstate = wxPyBeginAllowThreads();
18517 result = (bool)(arg1)->TransferDataToWindow();
18518
18519 wxPyEndAllowThreads(__tstate);
18520 if (PyErr_Occurred()) SWIG_fail;
18521 }
18522 {
18523 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18524 }
18525 return resultobj;
18526 fail:
18527 return NULL;
18528 }
18529
18530
18531 static PyObject *_wrap_PyWindow_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18532 PyObject *resultobj = NULL;
18533 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18534 bool result;
18535 PyObject * obj0 = 0 ;
18536 char *kwnames[] = {
18537 (char *) "self", NULL
18538 };
18539
18540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_TransferDataFromWindow",kwnames,&obj0)) goto fail;
18541 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18542 if (SWIG_arg_fail(1)) SWIG_fail;
18543 {
18544 PyThreadState* __tstate = wxPyBeginAllowThreads();
18545 result = (bool)(arg1)->TransferDataFromWindow();
18546
18547 wxPyEndAllowThreads(__tstate);
18548 if (PyErr_Occurred()) SWIG_fail;
18549 }
18550 {
18551 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18552 }
18553 return resultobj;
18554 fail:
18555 return NULL;
18556 }
18557
18558
18559 static PyObject *_wrap_PyWindow_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
18560 PyObject *resultobj = NULL;
18561 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18562 bool result;
18563 PyObject * obj0 = 0 ;
18564 char *kwnames[] = {
18565 (char *) "self", NULL
18566 };
18567
18568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_Validate",kwnames,&obj0)) goto fail;
18569 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18570 if (SWIG_arg_fail(1)) SWIG_fail;
18571 {
18572 PyThreadState* __tstate = wxPyBeginAllowThreads();
18573 result = (bool)(arg1)->Validate();
18574
18575 wxPyEndAllowThreads(__tstate);
18576 if (PyErr_Occurred()) SWIG_fail;
18577 }
18578 {
18579 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18580 }
18581 return resultobj;
18582 fail:
18583 return NULL;
18584 }
18585
18586
18587 static PyObject *_wrap_PyWindow_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
18588 PyObject *resultobj = NULL;
18589 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18590 bool result;
18591 PyObject * obj0 = 0 ;
18592 char *kwnames[] = {
18593 (char *) "self", NULL
18594 };
18595
18596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_AcceptsFocus",kwnames,&obj0)) goto fail;
18597 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18598 if (SWIG_arg_fail(1)) SWIG_fail;
18599 {
18600 PyThreadState* __tstate = wxPyBeginAllowThreads();
18601 result = (bool)((wxPyWindow const *)arg1)->AcceptsFocus();
18602
18603 wxPyEndAllowThreads(__tstate);
18604 if (PyErr_Occurred()) SWIG_fail;
18605 }
18606 {
18607 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18608 }
18609 return resultobj;
18610 fail:
18611 return NULL;
18612 }
18613
18614
18615 static PyObject *_wrap_PyWindow_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
18616 PyObject *resultobj = NULL;
18617 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18618 bool result;
18619 PyObject * obj0 = 0 ;
18620 char *kwnames[] = {
18621 (char *) "self", NULL
18622 };
18623
18624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
18625 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18626 if (SWIG_arg_fail(1)) SWIG_fail;
18627 {
18628 PyThreadState* __tstate = wxPyBeginAllowThreads();
18629 result = (bool)((wxPyWindow const *)arg1)->AcceptsFocusFromKeyboard();
18630
18631 wxPyEndAllowThreads(__tstate);
18632 if (PyErr_Occurred()) SWIG_fail;
18633 }
18634 {
18635 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18636 }
18637 return resultobj;
18638 fail:
18639 return NULL;
18640 }
18641
18642
18643 static PyObject *_wrap_PyWindow_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
18644 PyObject *resultobj = NULL;
18645 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18646 wxSize result;
18647 PyObject * obj0 = 0 ;
18648 char *kwnames[] = {
18649 (char *) "self", NULL
18650 };
18651
18652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_GetMaxSize",kwnames,&obj0)) goto fail;
18653 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18654 if (SWIG_arg_fail(1)) SWIG_fail;
18655 {
18656 PyThreadState* __tstate = wxPyBeginAllowThreads();
18657 result = ((wxPyWindow const *)arg1)->GetMaxSize();
18658
18659 wxPyEndAllowThreads(__tstate);
18660 if (PyErr_Occurred()) SWIG_fail;
18661 }
18662 {
18663 wxSize * resultptr;
18664 resultptr = new wxSize(static_cast<wxSize & >(result));
18665 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18666 }
18667 return resultobj;
18668 fail:
18669 return NULL;
18670 }
18671
18672
18673 static PyObject *_wrap_PyWindow_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
18674 PyObject *resultobj = NULL;
18675 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18676 wxWindow *arg2 = (wxWindow *) 0 ;
18677 PyObject * obj0 = 0 ;
18678 PyObject * obj1 = 0 ;
18679 char *kwnames[] = {
18680 (char *) "self",(char *) "child", NULL
18681 };
18682
18683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_AddChild",kwnames,&obj0,&obj1)) goto fail;
18684 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18685 if (SWIG_arg_fail(1)) SWIG_fail;
18686 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18687 if (SWIG_arg_fail(2)) SWIG_fail;
18688 {
18689 PyThreadState* __tstate = wxPyBeginAllowThreads();
18690 (arg1)->AddChild(arg2);
18691
18692 wxPyEndAllowThreads(__tstate);
18693 if (PyErr_Occurred()) SWIG_fail;
18694 }
18695 Py_INCREF(Py_None); resultobj = Py_None;
18696 return resultobj;
18697 fail:
18698 return NULL;
18699 }
18700
18701
18702 static PyObject *_wrap_PyWindow_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
18703 PyObject *resultobj = NULL;
18704 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18705 wxWindow *arg2 = (wxWindow *) 0 ;
18706 PyObject * obj0 = 0 ;
18707 PyObject * obj1 = 0 ;
18708 char *kwnames[] = {
18709 (char *) "self",(char *) "child", NULL
18710 };
18711
18712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
18713 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18714 if (SWIG_arg_fail(1)) SWIG_fail;
18715 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18716 if (SWIG_arg_fail(2)) SWIG_fail;
18717 {
18718 PyThreadState* __tstate = wxPyBeginAllowThreads();
18719 (arg1)->RemoveChild(arg2);
18720
18721 wxPyEndAllowThreads(__tstate);
18722 if (PyErr_Occurred()) SWIG_fail;
18723 }
18724 Py_INCREF(Py_None); resultobj = Py_None;
18725 return resultobj;
18726 fail:
18727 return NULL;
18728 }
18729
18730
18731 static PyObject *_wrap_PyWindow_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
18732 PyObject *resultobj = NULL;
18733 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18734 bool result;
18735 PyObject * obj0 = 0 ;
18736 char *kwnames[] = {
18737 (char *) "self", NULL
18738 };
18739
18740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_ShouldInheritColours",kwnames,&obj0)) goto fail;
18741 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18742 if (SWIG_arg_fail(1)) SWIG_fail;
18743 {
18744 PyThreadState* __tstate = wxPyBeginAllowThreads();
18745 result = (bool)((wxPyWindow const *)arg1)->ShouldInheritColours();
18746
18747 wxPyEndAllowThreads(__tstate);
18748 if (PyErr_Occurred()) SWIG_fail;
18749 }
18750 {
18751 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18752 }
18753 return resultobj;
18754 fail:
18755 return NULL;
18756 }
18757
18758
18759 static PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
18760 PyObject *resultobj = NULL;
18761 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18762 wxVisualAttributes result;
18763 PyObject * obj0 = 0 ;
18764 char *kwnames[] = {
18765 (char *) "self", NULL
18766 };
18767
18768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_GetDefaultAttributes",kwnames,&obj0)) goto fail;
18769 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18770 if (SWIG_arg_fail(1)) SWIG_fail;
18771 {
18772 PyThreadState* __tstate = wxPyBeginAllowThreads();
18773 result = (arg1)->GetDefaultAttributes();
18774
18775 wxPyEndAllowThreads(__tstate);
18776 if (PyErr_Occurred()) SWIG_fail;
18777 }
18778 {
18779 wxVisualAttributes * resultptr;
18780 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
18781 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
18782 }
18783 return resultobj;
18784 fail:
18785 return NULL;
18786 }
18787
18788
18789 static PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) {
18790 PyObject *resultobj = NULL;
18791 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18792 PyObject * obj0 = 0 ;
18793 char *kwnames[] = {
18794 (char *) "self", NULL
18795 };
18796
18797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_OnInternalIdle",kwnames,&obj0)) goto fail;
18798 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18799 if (SWIG_arg_fail(1)) SWIG_fail;
18800 {
18801 PyThreadState* __tstate = wxPyBeginAllowThreads();
18802 (arg1)->OnInternalIdle();
18803
18804 wxPyEndAllowThreads(__tstate);
18805 if (PyErr_Occurred()) SWIG_fail;
18806 }
18807 Py_INCREF(Py_None); resultobj = Py_None;
18808 return resultobj;
18809 fail:
18810 return NULL;
18811 }
18812
18813
18814 static PyObject * PyWindow_swigregister(PyObject *, PyObject *args) {
18815 PyObject *obj;
18816 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18817 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
18818 Py_INCREF(obj);
18819 return Py_BuildValue((char *)"");
18820 }
18821 static PyObject *_wrap_new_PyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
18822 PyObject *resultobj = NULL;
18823 wxWindow *arg1 = (wxWindow *) 0 ;
18824 int arg2 = (int) (int)-1 ;
18825 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18826 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18827 wxSize const &arg4_defvalue = wxDefaultSize ;
18828 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18829 long arg5 = (long) 0 ;
18830 wxString const &arg6_defvalue = wxPyPanelNameStr ;
18831 wxString *arg6 = (wxString *) &arg6_defvalue ;
18832 wxPyPanel *result;
18833 wxPoint temp3 ;
18834 wxSize temp4 ;
18835 bool temp6 = false ;
18836 PyObject * obj0 = 0 ;
18837 PyObject * obj1 = 0 ;
18838 PyObject * obj2 = 0 ;
18839 PyObject * obj3 = 0 ;
18840 PyObject * obj4 = 0 ;
18841 PyObject * obj5 = 0 ;
18842 char *kwnames[] = {
18843 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18844 };
18845
18846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18847 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18848 if (SWIG_arg_fail(1)) SWIG_fail;
18849 if (obj1) {
18850 {
18851 arg2 = static_cast<int const >(SWIG_As_int(obj1));
18852 if (SWIG_arg_fail(2)) SWIG_fail;
18853 }
18854 }
18855 if (obj2) {
18856 {
18857 arg3 = &temp3;
18858 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18859 }
18860 }
18861 if (obj3) {
18862 {
18863 arg4 = &temp4;
18864 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18865 }
18866 }
18867 if (obj4) {
18868 {
18869 arg5 = static_cast<long >(SWIG_As_long(obj4));
18870 if (SWIG_arg_fail(5)) SWIG_fail;
18871 }
18872 }
18873 if (obj5) {
18874 {
18875 arg6 = wxString_in_helper(obj5);
18876 if (arg6 == NULL) SWIG_fail;
18877 temp6 = true;
18878 }
18879 }
18880 {
18881 if (!wxPyCheckForApp()) SWIG_fail;
18882 PyThreadState* __tstate = wxPyBeginAllowThreads();
18883 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18884
18885 wxPyEndAllowThreads(__tstate);
18886 if (PyErr_Occurred()) SWIG_fail;
18887 }
18888 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
18889 {
18890 if (temp6)
18891 delete arg6;
18892 }
18893 return resultobj;
18894 fail:
18895 {
18896 if (temp6)
18897 delete arg6;
18898 }
18899 return NULL;
18900 }
18901
18902
18903 static PyObject *_wrap_new_PrePyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
18904 PyObject *resultobj = NULL;
18905 wxPyPanel *result;
18906 char *kwnames[] = {
18907 NULL
18908 };
18909
18910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
18911 {
18912 if (!wxPyCheckForApp()) SWIG_fail;
18913 PyThreadState* __tstate = wxPyBeginAllowThreads();
18914 result = (wxPyPanel *)new wxPyPanel();
18915
18916 wxPyEndAllowThreads(__tstate);
18917 if (PyErr_Occurred()) SWIG_fail;
18918 }
18919 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
18920 return resultobj;
18921 fail:
18922 return NULL;
18923 }
18924
18925
18926 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
18927 PyObject *resultobj = NULL;
18928 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18929 PyObject *arg2 = (PyObject *) 0 ;
18930 PyObject *arg3 = (PyObject *) 0 ;
18931 PyObject * obj0 = 0 ;
18932 PyObject * obj1 = 0 ;
18933 PyObject * obj2 = 0 ;
18934 char *kwnames[] = {
18935 (char *) "self",(char *) "self",(char *) "_class", NULL
18936 };
18937
18938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
18939 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18940 if (SWIG_arg_fail(1)) SWIG_fail;
18941 arg2 = obj1;
18942 arg3 = obj2;
18943 {
18944 PyThreadState* __tstate = wxPyBeginAllowThreads();
18945 (arg1)->_setCallbackInfo(arg2,arg3);
18946
18947 wxPyEndAllowThreads(__tstate);
18948 if (PyErr_Occurred()) SWIG_fail;
18949 }
18950 Py_INCREF(Py_None); resultobj = Py_None;
18951 return resultobj;
18952 fail:
18953 return NULL;
18954 }
18955
18956
18957 static PyObject *_wrap_PyPanel_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
18958 PyObject *resultobj = NULL;
18959 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18960 wxSize *arg2 = 0 ;
18961 wxSize temp2 ;
18962 PyObject * obj0 = 0 ;
18963 PyObject * obj1 = 0 ;
18964 char *kwnames[] = {
18965 (char *) "self",(char *) "size", NULL
18966 };
18967
18968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
18969 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18970 if (SWIG_arg_fail(1)) SWIG_fail;
18971 {
18972 arg2 = &temp2;
18973 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18974 }
18975 {
18976 PyThreadState* __tstate = wxPyBeginAllowThreads();
18977 (arg1)->SetBestSize((wxSize const &)*arg2);
18978
18979 wxPyEndAllowThreads(__tstate);
18980 if (PyErr_Occurred()) SWIG_fail;
18981 }
18982 Py_INCREF(Py_None); resultobj = Py_None;
18983 return resultobj;
18984 fail:
18985 return NULL;
18986 }
18987
18988
18989 static PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) {
18990 PyObject *resultobj = NULL;
18991 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18992 wxDC *arg2 = (wxDC *) 0 ;
18993 bool result;
18994 PyObject * obj0 = 0 ;
18995 PyObject * obj1 = 0 ;
18996 char *kwnames[] = {
18997 (char *) "self",(char *) "dc", NULL
18998 };
18999
19000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail;
19001 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19002 if (SWIG_arg_fail(1)) SWIG_fail;
19003 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
19004 if (SWIG_arg_fail(2)) SWIG_fail;
19005 {
19006 PyThreadState* __tstate = wxPyBeginAllowThreads();
19007 result = (bool)(arg1)->DoEraseBackground(arg2);
19008
19009 wxPyEndAllowThreads(__tstate);
19010 if (PyErr_Occurred()) SWIG_fail;
19011 }
19012 {
19013 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19014 }
19015 return resultobj;
19016 fail:
19017 return NULL;
19018 }
19019
19020
19021 static PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19022 PyObject *resultobj = NULL;
19023 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19024 int arg2 ;
19025 int arg3 ;
19026 int arg4 ;
19027 int arg5 ;
19028 PyObject * obj0 = 0 ;
19029 PyObject * obj1 = 0 ;
19030 PyObject * obj2 = 0 ;
19031 PyObject * obj3 = 0 ;
19032 PyObject * obj4 = 0 ;
19033 char *kwnames[] = {
19034 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19035 };
19036
19037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
19038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19039 if (SWIG_arg_fail(1)) SWIG_fail;
19040 {
19041 arg2 = static_cast<int >(SWIG_As_int(obj1));
19042 if (SWIG_arg_fail(2)) SWIG_fail;
19043 }
19044 {
19045 arg3 = static_cast<int >(SWIG_As_int(obj2));
19046 if (SWIG_arg_fail(3)) SWIG_fail;
19047 }
19048 {
19049 arg4 = static_cast<int >(SWIG_As_int(obj3));
19050 if (SWIG_arg_fail(4)) SWIG_fail;
19051 }
19052 {
19053 arg5 = static_cast<int >(SWIG_As_int(obj4));
19054 if (SWIG_arg_fail(5)) SWIG_fail;
19055 }
19056 {
19057 PyThreadState* __tstate = wxPyBeginAllowThreads();
19058 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
19059
19060 wxPyEndAllowThreads(__tstate);
19061 if (PyErr_Occurred()) SWIG_fail;
19062 }
19063 Py_INCREF(Py_None); resultobj = Py_None;
19064 return resultobj;
19065 fail:
19066 return NULL;
19067 }
19068
19069
19070 static PyObject *_wrap_PyPanel_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
19071 PyObject *resultobj = NULL;
19072 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19073 int arg2 ;
19074 int arg3 ;
19075 int arg4 ;
19076 int arg5 ;
19077 int arg6 = (int) wxSIZE_AUTO ;
19078 PyObject * obj0 = 0 ;
19079 PyObject * obj1 = 0 ;
19080 PyObject * obj2 = 0 ;
19081 PyObject * obj3 = 0 ;
19082 PyObject * obj4 = 0 ;
19083 PyObject * obj5 = 0 ;
19084 char *kwnames[] = {
19085 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19086 };
19087
19088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
19089 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19090 if (SWIG_arg_fail(1)) SWIG_fail;
19091 {
19092 arg2 = static_cast<int >(SWIG_As_int(obj1));
19093 if (SWIG_arg_fail(2)) SWIG_fail;
19094 }
19095 {
19096 arg3 = static_cast<int >(SWIG_As_int(obj2));
19097 if (SWIG_arg_fail(3)) SWIG_fail;
19098 }
19099 {
19100 arg4 = static_cast<int >(SWIG_As_int(obj3));
19101 if (SWIG_arg_fail(4)) SWIG_fail;
19102 }
19103 {
19104 arg5 = static_cast<int >(SWIG_As_int(obj4));
19105 if (SWIG_arg_fail(5)) SWIG_fail;
19106 }
19107 if (obj5) {
19108 {
19109 arg6 = static_cast<int >(SWIG_As_int(obj5));
19110 if (SWIG_arg_fail(6)) SWIG_fail;
19111 }
19112 }
19113 {
19114 PyThreadState* __tstate = wxPyBeginAllowThreads();
19115 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
19116
19117 wxPyEndAllowThreads(__tstate);
19118 if (PyErr_Occurred()) SWIG_fail;
19119 }
19120 Py_INCREF(Py_None); resultobj = Py_None;
19121 return resultobj;
19122 fail:
19123 return NULL;
19124 }
19125
19126
19127 static PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
19128 PyObject *resultobj = NULL;
19129 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19130 int arg2 ;
19131 int arg3 ;
19132 PyObject * obj0 = 0 ;
19133 PyObject * obj1 = 0 ;
19134 PyObject * obj2 = 0 ;
19135 char *kwnames[] = {
19136 (char *) "self",(char *) "width",(char *) "height", NULL
19137 };
19138
19139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
19140 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19141 if (SWIG_arg_fail(1)) SWIG_fail;
19142 {
19143 arg2 = static_cast<int >(SWIG_As_int(obj1));
19144 if (SWIG_arg_fail(2)) SWIG_fail;
19145 }
19146 {
19147 arg3 = static_cast<int >(SWIG_As_int(obj2));
19148 if (SWIG_arg_fail(3)) SWIG_fail;
19149 }
19150 {
19151 PyThreadState* __tstate = wxPyBeginAllowThreads();
19152 (arg1)->DoSetClientSize(arg2,arg3);
19153
19154 wxPyEndAllowThreads(__tstate);
19155 if (PyErr_Occurred()) SWIG_fail;
19156 }
19157 Py_INCREF(Py_None); resultobj = Py_None;
19158 return resultobj;
19159 fail:
19160 return NULL;
19161 }
19162
19163
19164 static PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
19165 PyObject *resultobj = NULL;
19166 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19167 int arg2 ;
19168 int arg3 ;
19169 PyObject * obj0 = 0 ;
19170 PyObject * obj1 = 0 ;
19171 PyObject * obj2 = 0 ;
19172 char *kwnames[] = {
19173 (char *) "self",(char *) "x",(char *) "y", NULL
19174 };
19175
19176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
19177 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19178 if (SWIG_arg_fail(1)) SWIG_fail;
19179 {
19180 arg2 = static_cast<int >(SWIG_As_int(obj1));
19181 if (SWIG_arg_fail(2)) SWIG_fail;
19182 }
19183 {
19184 arg3 = static_cast<int >(SWIG_As_int(obj2));
19185 if (SWIG_arg_fail(3)) SWIG_fail;
19186 }
19187 {
19188 PyThreadState* __tstate = wxPyBeginAllowThreads();
19189 (arg1)->DoSetVirtualSize(arg2,arg3);
19190
19191 wxPyEndAllowThreads(__tstate);
19192 if (PyErr_Occurred()) SWIG_fail;
19193 }
19194 Py_INCREF(Py_None); resultobj = Py_None;
19195 return resultobj;
19196 fail:
19197 return NULL;
19198 }
19199
19200
19201 static PyObject *_wrap_PyPanel_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
19202 PyObject *resultobj = NULL;
19203 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19204 int *arg2 = (int *) 0 ;
19205 int *arg3 = (int *) 0 ;
19206 int temp2 ;
19207 int res2 = 0 ;
19208 int temp3 ;
19209 int res3 = 0 ;
19210 PyObject * obj0 = 0 ;
19211 char *kwnames[] = {
19212 (char *) "self", NULL
19213 };
19214
19215 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19216 arg3 = &temp3; res3 = SWIG_NEWOBJ;
19217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_DoGetSize",kwnames,&obj0)) goto fail;
19218 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19219 if (SWIG_arg_fail(1)) SWIG_fail;
19220 {
19221 PyThreadState* __tstate = wxPyBeginAllowThreads();
19222 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
19223
19224 wxPyEndAllowThreads(__tstate);
19225 if (PyErr_Occurred()) SWIG_fail;
19226 }
19227 Py_INCREF(Py_None); resultobj = Py_None;
19228 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19229 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19230 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19231 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
19232 return resultobj;
19233 fail:
19234 return NULL;
19235 }
19236
19237
19238 static PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
19239 PyObject *resultobj = NULL;
19240 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19241 int *arg2 = (int *) 0 ;
19242 int *arg3 = (int *) 0 ;
19243 int temp2 ;
19244 int res2 = 0 ;
19245 int temp3 ;
19246 int res3 = 0 ;
19247 PyObject * obj0 = 0 ;
19248 char *kwnames[] = {
19249 (char *) "self", NULL
19250 };
19251
19252 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19253 arg3 = &temp3; res3 = SWIG_NEWOBJ;
19254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_DoGetClientSize",kwnames,&obj0)) goto fail;
19255 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19256 if (SWIG_arg_fail(1)) SWIG_fail;
19257 {
19258 PyThreadState* __tstate = wxPyBeginAllowThreads();
19259 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
19260
19261 wxPyEndAllowThreads(__tstate);
19262 if (PyErr_Occurred()) SWIG_fail;
19263 }
19264 Py_INCREF(Py_None); resultobj = Py_None;
19265 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19266 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19267 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19268 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
19269 return resultobj;
19270 fail:
19271 return NULL;
19272 }
19273
19274
19275 static PyObject *_wrap_PyPanel_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
19276 PyObject *resultobj = NULL;
19277 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19278 int *arg2 = (int *) 0 ;
19279 int *arg3 = (int *) 0 ;
19280 int temp2 ;
19281 int res2 = 0 ;
19282 int temp3 ;
19283 int res3 = 0 ;
19284 PyObject * obj0 = 0 ;
19285 char *kwnames[] = {
19286 (char *) "self", NULL
19287 };
19288
19289 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19290 arg3 = &temp3; res3 = SWIG_NEWOBJ;
19291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_DoGetPosition",kwnames,&obj0)) goto fail;
19292 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19293 if (SWIG_arg_fail(1)) SWIG_fail;
19294 {
19295 PyThreadState* __tstate = wxPyBeginAllowThreads();
19296 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
19297
19298 wxPyEndAllowThreads(__tstate);
19299 if (PyErr_Occurred()) SWIG_fail;
19300 }
19301 Py_INCREF(Py_None); resultobj = Py_None;
19302 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19303 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19304 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19305 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
19306 return resultobj;
19307 fail:
19308 return NULL;
19309 }
19310
19311
19312 static PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
19313 PyObject *resultobj = NULL;
19314 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19315 wxSize result;
19316 PyObject * obj0 = 0 ;
19317 char *kwnames[] = {
19318 (char *) "self", NULL
19319 };
19320
19321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_DoGetVirtualSize",kwnames,&obj0)) goto fail;
19322 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19323 if (SWIG_arg_fail(1)) SWIG_fail;
19324 {
19325 PyThreadState* __tstate = wxPyBeginAllowThreads();
19326 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
19327
19328 wxPyEndAllowThreads(__tstate);
19329 if (PyErr_Occurred()) SWIG_fail;
19330 }
19331 {
19332 wxSize * resultptr;
19333 resultptr = new wxSize(static_cast<wxSize & >(result));
19334 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19335 }
19336 return resultobj;
19337 fail:
19338 return NULL;
19339 }
19340
19341
19342 static PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
19343 PyObject *resultobj = NULL;
19344 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19345 wxSize result;
19346 PyObject * obj0 = 0 ;
19347 char *kwnames[] = {
19348 (char *) "self", NULL
19349 };
19350
19351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_DoGetBestSize",kwnames,&obj0)) goto fail;
19352 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19353 if (SWIG_arg_fail(1)) SWIG_fail;
19354 {
19355 PyThreadState* __tstate = wxPyBeginAllowThreads();
19356 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
19357
19358 wxPyEndAllowThreads(__tstate);
19359 if (PyErr_Occurred()) SWIG_fail;
19360 }
19361 {
19362 wxSize * resultptr;
19363 resultptr = new wxSize(static_cast<wxSize & >(result));
19364 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19365 }
19366 return resultobj;
19367 fail:
19368 return NULL;
19369 }
19370
19371
19372 static PyObject *_wrap_PyPanel_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
19373 PyObject *resultobj = NULL;
19374 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19375 PyObject * obj0 = 0 ;
19376 char *kwnames[] = {
19377 (char *) "self", NULL
19378 };
19379
19380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_InitDialog",kwnames,&obj0)) goto fail;
19381 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19382 if (SWIG_arg_fail(1)) SWIG_fail;
19383 {
19384 PyThreadState* __tstate = wxPyBeginAllowThreads();
19385 (arg1)->InitDialog();
19386
19387 wxPyEndAllowThreads(__tstate);
19388 if (PyErr_Occurred()) SWIG_fail;
19389 }
19390 Py_INCREF(Py_None); resultobj = Py_None;
19391 return resultobj;
19392 fail:
19393 return NULL;
19394 }
19395
19396
19397 static PyObject *_wrap_PyPanel_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19398 PyObject *resultobj = NULL;
19399 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19400 bool result;
19401 PyObject * obj0 = 0 ;
19402 char *kwnames[] = {
19403 (char *) "self", NULL
19404 };
19405
19406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_TransferDataToWindow",kwnames,&obj0)) goto fail;
19407 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19408 if (SWIG_arg_fail(1)) SWIG_fail;
19409 {
19410 PyThreadState* __tstate = wxPyBeginAllowThreads();
19411 result = (bool)(arg1)->TransferDataToWindow();
19412
19413 wxPyEndAllowThreads(__tstate);
19414 if (PyErr_Occurred()) SWIG_fail;
19415 }
19416 {
19417 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19418 }
19419 return resultobj;
19420 fail:
19421 return NULL;
19422 }
19423
19424
19425 static PyObject *_wrap_PyPanel_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19426 PyObject *resultobj = NULL;
19427 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19428 bool result;
19429 PyObject * obj0 = 0 ;
19430 char *kwnames[] = {
19431 (char *) "self", NULL
19432 };
19433
19434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_TransferDataFromWindow",kwnames,&obj0)) goto fail;
19435 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19436 if (SWIG_arg_fail(1)) SWIG_fail;
19437 {
19438 PyThreadState* __tstate = wxPyBeginAllowThreads();
19439 result = (bool)(arg1)->TransferDataFromWindow();
19440
19441 wxPyEndAllowThreads(__tstate);
19442 if (PyErr_Occurred()) SWIG_fail;
19443 }
19444 {
19445 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19446 }
19447 return resultobj;
19448 fail:
19449 return NULL;
19450 }
19451
19452
19453 static PyObject *_wrap_PyPanel_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
19454 PyObject *resultobj = NULL;
19455 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19456 bool result;
19457 PyObject * obj0 = 0 ;
19458 char *kwnames[] = {
19459 (char *) "self", NULL
19460 };
19461
19462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_Validate",kwnames,&obj0)) goto fail;
19463 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19464 if (SWIG_arg_fail(1)) SWIG_fail;
19465 {
19466 PyThreadState* __tstate = wxPyBeginAllowThreads();
19467 result = (bool)(arg1)->Validate();
19468
19469 wxPyEndAllowThreads(__tstate);
19470 if (PyErr_Occurred()) SWIG_fail;
19471 }
19472 {
19473 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19474 }
19475 return resultobj;
19476 fail:
19477 return NULL;
19478 }
19479
19480
19481 static PyObject *_wrap_PyPanel_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
19482 PyObject *resultobj = NULL;
19483 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19484 bool result;
19485 PyObject * obj0 = 0 ;
19486 char *kwnames[] = {
19487 (char *) "self", NULL
19488 };
19489
19490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_AcceptsFocus",kwnames,&obj0)) goto fail;
19491 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19492 if (SWIG_arg_fail(1)) SWIG_fail;
19493 {
19494 PyThreadState* __tstate = wxPyBeginAllowThreads();
19495 result = (bool)((wxPyPanel const *)arg1)->AcceptsFocus();
19496
19497 wxPyEndAllowThreads(__tstate);
19498 if (PyErr_Occurred()) SWIG_fail;
19499 }
19500 {
19501 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19502 }
19503 return resultobj;
19504 fail:
19505 return NULL;
19506 }
19507
19508
19509 static PyObject *_wrap_PyPanel_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
19510 PyObject *resultobj = NULL;
19511 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19512 bool result;
19513 PyObject * obj0 = 0 ;
19514 char *kwnames[] = {
19515 (char *) "self", NULL
19516 };
19517
19518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
19519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19520 if (SWIG_arg_fail(1)) SWIG_fail;
19521 {
19522 PyThreadState* __tstate = wxPyBeginAllowThreads();
19523 result = (bool)((wxPyPanel const *)arg1)->AcceptsFocusFromKeyboard();
19524
19525 wxPyEndAllowThreads(__tstate);
19526 if (PyErr_Occurred()) SWIG_fail;
19527 }
19528 {
19529 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19530 }
19531 return resultobj;
19532 fail:
19533 return NULL;
19534 }
19535
19536
19537 static PyObject *_wrap_PyPanel_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
19538 PyObject *resultobj = NULL;
19539 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19540 wxSize result;
19541 PyObject * obj0 = 0 ;
19542 char *kwnames[] = {
19543 (char *) "self", NULL
19544 };
19545
19546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_GetMaxSize",kwnames,&obj0)) goto fail;
19547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19548 if (SWIG_arg_fail(1)) SWIG_fail;
19549 {
19550 PyThreadState* __tstate = wxPyBeginAllowThreads();
19551 result = ((wxPyPanel const *)arg1)->GetMaxSize();
19552
19553 wxPyEndAllowThreads(__tstate);
19554 if (PyErr_Occurred()) SWIG_fail;
19555 }
19556 {
19557 wxSize * resultptr;
19558 resultptr = new wxSize(static_cast<wxSize & >(result));
19559 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19560 }
19561 return resultobj;
19562 fail:
19563 return NULL;
19564 }
19565
19566
19567 static PyObject *_wrap_PyPanel_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
19568 PyObject *resultobj = NULL;
19569 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19570 wxWindow *arg2 = (wxWindow *) 0 ;
19571 PyObject * obj0 = 0 ;
19572 PyObject * obj1 = 0 ;
19573 char *kwnames[] = {
19574 (char *) "self",(char *) "child", NULL
19575 };
19576
19577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_AddChild",kwnames,&obj0,&obj1)) goto fail;
19578 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19579 if (SWIG_arg_fail(1)) SWIG_fail;
19580 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19581 if (SWIG_arg_fail(2)) SWIG_fail;
19582 {
19583 PyThreadState* __tstate = wxPyBeginAllowThreads();
19584 (arg1)->AddChild(arg2);
19585
19586 wxPyEndAllowThreads(__tstate);
19587 if (PyErr_Occurred()) SWIG_fail;
19588 }
19589 Py_INCREF(Py_None); resultobj = Py_None;
19590 return resultobj;
19591 fail:
19592 return NULL;
19593 }
19594
19595
19596 static PyObject *_wrap_PyPanel_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
19597 PyObject *resultobj = NULL;
19598 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19599 wxWindow *arg2 = (wxWindow *) 0 ;
19600 PyObject * obj0 = 0 ;
19601 PyObject * obj1 = 0 ;
19602 char *kwnames[] = {
19603 (char *) "self",(char *) "child", NULL
19604 };
19605
19606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
19607 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19608 if (SWIG_arg_fail(1)) SWIG_fail;
19609 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19610 if (SWIG_arg_fail(2)) SWIG_fail;
19611 {
19612 PyThreadState* __tstate = wxPyBeginAllowThreads();
19613 (arg1)->RemoveChild(arg2);
19614
19615 wxPyEndAllowThreads(__tstate);
19616 if (PyErr_Occurred()) SWIG_fail;
19617 }
19618 Py_INCREF(Py_None); resultobj = Py_None;
19619 return resultobj;
19620 fail:
19621 return NULL;
19622 }
19623
19624
19625 static PyObject *_wrap_PyPanel_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
19626 PyObject *resultobj = NULL;
19627 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19628 bool result;
19629 PyObject * obj0 = 0 ;
19630 char *kwnames[] = {
19631 (char *) "self", NULL
19632 };
19633
19634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_ShouldInheritColours",kwnames,&obj0)) goto fail;
19635 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19636 if (SWIG_arg_fail(1)) SWIG_fail;
19637 {
19638 PyThreadState* __tstate = wxPyBeginAllowThreads();
19639 result = (bool)((wxPyPanel const *)arg1)->ShouldInheritColours();
19640
19641 wxPyEndAllowThreads(__tstate);
19642 if (PyErr_Occurred()) SWIG_fail;
19643 }
19644 {
19645 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19646 }
19647 return resultobj;
19648 fail:
19649 return NULL;
19650 }
19651
19652
19653 static PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
19654 PyObject *resultobj = NULL;
19655 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19656 wxVisualAttributes result;
19657 PyObject * obj0 = 0 ;
19658 char *kwnames[] = {
19659 (char *) "self", NULL
19660 };
19661
19662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_GetDefaultAttributes",kwnames,&obj0)) goto fail;
19663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19664 if (SWIG_arg_fail(1)) SWIG_fail;
19665 {
19666 PyThreadState* __tstate = wxPyBeginAllowThreads();
19667 result = (arg1)->GetDefaultAttributes();
19668
19669 wxPyEndAllowThreads(__tstate);
19670 if (PyErr_Occurred()) SWIG_fail;
19671 }
19672 {
19673 wxVisualAttributes * resultptr;
19674 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
19675 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
19676 }
19677 return resultobj;
19678 fail:
19679 return NULL;
19680 }
19681
19682
19683 static PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) {
19684 PyObject *resultobj = NULL;
19685 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19686 PyObject * obj0 = 0 ;
19687 char *kwnames[] = {
19688 (char *) "self", NULL
19689 };
19690
19691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_OnInternalIdle",kwnames,&obj0)) goto fail;
19692 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19693 if (SWIG_arg_fail(1)) SWIG_fail;
19694 {
19695 PyThreadState* __tstate = wxPyBeginAllowThreads();
19696 (arg1)->OnInternalIdle();
19697
19698 wxPyEndAllowThreads(__tstate);
19699 if (PyErr_Occurred()) SWIG_fail;
19700 }
19701 Py_INCREF(Py_None); resultobj = Py_None;
19702 return resultobj;
19703 fail:
19704 return NULL;
19705 }
19706
19707
19708 static PyObject * PyPanel_swigregister(PyObject *, PyObject *args) {
19709 PyObject *obj;
19710 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19711 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
19712 Py_INCREF(obj);
19713 return Py_BuildValue((char *)"");
19714 }
19715 static PyObject *_wrap_new_PyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19716 PyObject *resultobj = NULL;
19717 wxWindow *arg1 = (wxWindow *) 0 ;
19718 int arg2 = (int) (int)-1 ;
19719 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19720 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19721 wxSize const &arg4_defvalue = wxDefaultSize ;
19722 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19723 long arg5 = (long) 0 ;
19724 wxString const &arg6_defvalue = wxPyPanelNameStr ;
19725 wxString *arg6 = (wxString *) &arg6_defvalue ;
19726 wxPyScrolledWindow *result;
19727 wxPoint temp3 ;
19728 wxSize temp4 ;
19729 bool temp6 = false ;
19730 PyObject * obj0 = 0 ;
19731 PyObject * obj1 = 0 ;
19732 PyObject * obj2 = 0 ;
19733 PyObject * obj3 = 0 ;
19734 PyObject * obj4 = 0 ;
19735 PyObject * obj5 = 0 ;
19736 char *kwnames[] = {
19737 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19738 };
19739
19740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
19741 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19742 if (SWIG_arg_fail(1)) SWIG_fail;
19743 if (obj1) {
19744 {
19745 arg2 = static_cast<int const >(SWIG_As_int(obj1));
19746 if (SWIG_arg_fail(2)) SWIG_fail;
19747 }
19748 }
19749 if (obj2) {
19750 {
19751 arg3 = &temp3;
19752 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19753 }
19754 }
19755 if (obj3) {
19756 {
19757 arg4 = &temp4;
19758 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19759 }
19760 }
19761 if (obj4) {
19762 {
19763 arg5 = static_cast<long >(SWIG_As_long(obj4));
19764 if (SWIG_arg_fail(5)) SWIG_fail;
19765 }
19766 }
19767 if (obj5) {
19768 {
19769 arg6 = wxString_in_helper(obj5);
19770 if (arg6 == NULL) SWIG_fail;
19771 temp6 = true;
19772 }
19773 }
19774 {
19775 if (!wxPyCheckForApp()) SWIG_fail;
19776 PyThreadState* __tstate = wxPyBeginAllowThreads();
19777 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
19778
19779 wxPyEndAllowThreads(__tstate);
19780 if (PyErr_Occurred()) SWIG_fail;
19781 }
19782 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
19783 {
19784 if (temp6)
19785 delete arg6;
19786 }
19787 return resultobj;
19788 fail:
19789 {
19790 if (temp6)
19791 delete arg6;
19792 }
19793 return NULL;
19794 }
19795
19796
19797 static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19798 PyObject *resultobj = NULL;
19799 wxPyScrolledWindow *result;
19800 char *kwnames[] = {
19801 NULL
19802 };
19803
19804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
19805 {
19806 if (!wxPyCheckForApp()) SWIG_fail;
19807 PyThreadState* __tstate = wxPyBeginAllowThreads();
19808 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
19809
19810 wxPyEndAllowThreads(__tstate);
19811 if (PyErr_Occurred()) SWIG_fail;
19812 }
19813 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
19814 return resultobj;
19815 fail:
19816 return NULL;
19817 }
19818
19819
19820 static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
19821 PyObject *resultobj = NULL;
19822 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19823 PyObject *arg2 = (PyObject *) 0 ;
19824 PyObject *arg3 = (PyObject *) 0 ;
19825 PyObject * obj0 = 0 ;
19826 PyObject * obj1 = 0 ;
19827 PyObject * obj2 = 0 ;
19828 char *kwnames[] = {
19829 (char *) "self",(char *) "self",(char *) "_class", NULL
19830 };
19831
19832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
19833 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19834 if (SWIG_arg_fail(1)) SWIG_fail;
19835 arg2 = obj1;
19836 arg3 = obj2;
19837 {
19838 PyThreadState* __tstate = wxPyBeginAllowThreads();
19839 (arg1)->_setCallbackInfo(arg2,arg3);
19840
19841 wxPyEndAllowThreads(__tstate);
19842 if (PyErr_Occurred()) SWIG_fail;
19843 }
19844 Py_INCREF(Py_None); resultobj = Py_None;
19845 return resultobj;
19846 fail:
19847 return NULL;
19848 }
19849
19850
19851 static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
19852 PyObject *resultobj = NULL;
19853 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19854 wxSize *arg2 = 0 ;
19855 wxSize temp2 ;
19856 PyObject * obj0 = 0 ;
19857 PyObject * obj1 = 0 ;
19858 char *kwnames[] = {
19859 (char *) "self",(char *) "size", NULL
19860 };
19861
19862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
19863 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19864 if (SWIG_arg_fail(1)) SWIG_fail;
19865 {
19866 arg2 = &temp2;
19867 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19868 }
19869 {
19870 PyThreadState* __tstate = wxPyBeginAllowThreads();
19871 (arg1)->SetBestSize((wxSize const &)*arg2);
19872
19873 wxPyEndAllowThreads(__tstate);
19874 if (PyErr_Occurred()) SWIG_fail;
19875 }
19876 Py_INCREF(Py_None); resultobj = Py_None;
19877 return resultobj;
19878 fail:
19879 return NULL;
19880 }
19881
19882
19883 static PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) {
19884 PyObject *resultobj = NULL;
19885 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19886 wxDC *arg2 = (wxDC *) 0 ;
19887 bool result;
19888 PyObject * obj0 = 0 ;
19889 PyObject * obj1 = 0 ;
19890 char *kwnames[] = {
19891 (char *) "self",(char *) "dc", NULL
19892 };
19893
19894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail;
19895 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19896 if (SWIG_arg_fail(1)) SWIG_fail;
19897 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
19898 if (SWIG_arg_fail(2)) SWIG_fail;
19899 {
19900 PyThreadState* __tstate = wxPyBeginAllowThreads();
19901 result = (bool)(arg1)->DoEraseBackground(arg2);
19902
19903 wxPyEndAllowThreads(__tstate);
19904 if (PyErr_Occurred()) SWIG_fail;
19905 }
19906 {
19907 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19908 }
19909 return resultobj;
19910 fail:
19911 return NULL;
19912 }
19913
19914
19915 static PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19916 PyObject *resultobj = NULL;
19917 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19918 int arg2 ;
19919 int arg3 ;
19920 int arg4 ;
19921 int arg5 ;
19922 PyObject * obj0 = 0 ;
19923 PyObject * obj1 = 0 ;
19924 PyObject * obj2 = 0 ;
19925 PyObject * obj3 = 0 ;
19926 PyObject * obj4 = 0 ;
19927 char *kwnames[] = {
19928 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19929 };
19930
19931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
19932 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19933 if (SWIG_arg_fail(1)) SWIG_fail;
19934 {
19935 arg2 = static_cast<int >(SWIG_As_int(obj1));
19936 if (SWIG_arg_fail(2)) SWIG_fail;
19937 }
19938 {
19939 arg3 = static_cast<int >(SWIG_As_int(obj2));
19940 if (SWIG_arg_fail(3)) SWIG_fail;
19941 }
19942 {
19943 arg4 = static_cast<int >(SWIG_As_int(obj3));
19944 if (SWIG_arg_fail(4)) SWIG_fail;
19945 }
19946 {
19947 arg5 = static_cast<int >(SWIG_As_int(obj4));
19948 if (SWIG_arg_fail(5)) SWIG_fail;
19949 }
19950 {
19951 PyThreadState* __tstate = wxPyBeginAllowThreads();
19952 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
19953
19954 wxPyEndAllowThreads(__tstate);
19955 if (PyErr_Occurred()) SWIG_fail;
19956 }
19957 Py_INCREF(Py_None); resultobj = Py_None;
19958 return resultobj;
19959 fail:
19960 return NULL;
19961 }
19962
19963
19964 static PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
19965 PyObject *resultobj = NULL;
19966 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19967 int arg2 ;
19968 int arg3 ;
19969 int arg4 ;
19970 int arg5 ;
19971 int arg6 = (int) wxSIZE_AUTO ;
19972 PyObject * obj0 = 0 ;
19973 PyObject * obj1 = 0 ;
19974 PyObject * obj2 = 0 ;
19975 PyObject * obj3 = 0 ;
19976 PyObject * obj4 = 0 ;
19977 PyObject * obj5 = 0 ;
19978 char *kwnames[] = {
19979 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19980 };
19981
19982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
19983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19984 if (SWIG_arg_fail(1)) SWIG_fail;
19985 {
19986 arg2 = static_cast<int >(SWIG_As_int(obj1));
19987 if (SWIG_arg_fail(2)) SWIG_fail;
19988 }
19989 {
19990 arg3 = static_cast<int >(SWIG_As_int(obj2));
19991 if (SWIG_arg_fail(3)) SWIG_fail;
19992 }
19993 {
19994 arg4 = static_cast<int >(SWIG_As_int(obj3));
19995 if (SWIG_arg_fail(4)) SWIG_fail;
19996 }
19997 {
19998 arg5 = static_cast<int >(SWIG_As_int(obj4));
19999 if (SWIG_arg_fail(5)) SWIG_fail;
20000 }
20001 if (obj5) {
20002 {
20003 arg6 = static_cast<int >(SWIG_As_int(obj5));
20004 if (SWIG_arg_fail(6)) SWIG_fail;
20005 }
20006 }
20007 {
20008 PyThreadState* __tstate = wxPyBeginAllowThreads();
20009 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
20010
20011 wxPyEndAllowThreads(__tstate);
20012 if (PyErr_Occurred()) SWIG_fail;
20013 }
20014 Py_INCREF(Py_None); resultobj = Py_None;
20015 return resultobj;
20016 fail:
20017 return NULL;
20018 }
20019
20020
20021 static PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
20022 PyObject *resultobj = NULL;
20023 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20024 int arg2 ;
20025 int arg3 ;
20026 PyObject * obj0 = 0 ;
20027 PyObject * obj1 = 0 ;
20028 PyObject * obj2 = 0 ;
20029 char *kwnames[] = {
20030 (char *) "self",(char *) "width",(char *) "height", NULL
20031 };
20032
20033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
20034 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20035 if (SWIG_arg_fail(1)) SWIG_fail;
20036 {
20037 arg2 = static_cast<int >(SWIG_As_int(obj1));
20038 if (SWIG_arg_fail(2)) SWIG_fail;
20039 }
20040 {
20041 arg3 = static_cast<int >(SWIG_As_int(obj2));
20042 if (SWIG_arg_fail(3)) SWIG_fail;
20043 }
20044 {
20045 PyThreadState* __tstate = wxPyBeginAllowThreads();
20046 (arg1)->DoSetClientSize(arg2,arg3);
20047
20048 wxPyEndAllowThreads(__tstate);
20049 if (PyErr_Occurred()) SWIG_fail;
20050 }
20051 Py_INCREF(Py_None); resultobj = Py_None;
20052 return resultobj;
20053 fail:
20054 return NULL;
20055 }
20056
20057
20058 static PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
20059 PyObject *resultobj = NULL;
20060 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20061 int arg2 ;
20062 int arg3 ;
20063 PyObject * obj0 = 0 ;
20064 PyObject * obj1 = 0 ;
20065 PyObject * obj2 = 0 ;
20066 char *kwnames[] = {
20067 (char *) "self",(char *) "x",(char *) "y", NULL
20068 };
20069
20070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
20071 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20072 if (SWIG_arg_fail(1)) SWIG_fail;
20073 {
20074 arg2 = static_cast<int >(SWIG_As_int(obj1));
20075 if (SWIG_arg_fail(2)) SWIG_fail;
20076 }
20077 {
20078 arg3 = static_cast<int >(SWIG_As_int(obj2));
20079 if (SWIG_arg_fail(3)) SWIG_fail;
20080 }
20081 {
20082 PyThreadState* __tstate = wxPyBeginAllowThreads();
20083 (arg1)->DoSetVirtualSize(arg2,arg3);
20084
20085 wxPyEndAllowThreads(__tstate);
20086 if (PyErr_Occurred()) SWIG_fail;
20087 }
20088 Py_INCREF(Py_None); resultobj = Py_None;
20089 return resultobj;
20090 fail:
20091 return NULL;
20092 }
20093
20094
20095 static PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
20096 PyObject *resultobj = NULL;
20097 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20098 int *arg2 = (int *) 0 ;
20099 int *arg3 = (int *) 0 ;
20100 int temp2 ;
20101 int res2 = 0 ;
20102 int temp3 ;
20103 int res3 = 0 ;
20104 PyObject * obj0 = 0 ;
20105 char *kwnames[] = {
20106 (char *) "self", NULL
20107 };
20108
20109 arg2 = &temp2; res2 = SWIG_NEWOBJ;
20110 arg3 = &temp3; res3 = SWIG_NEWOBJ;
20111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_DoGetSize",kwnames,&obj0)) goto fail;
20112 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20113 if (SWIG_arg_fail(1)) SWIG_fail;
20114 {
20115 PyThreadState* __tstate = wxPyBeginAllowThreads();
20116 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
20117
20118 wxPyEndAllowThreads(__tstate);
20119 if (PyErr_Occurred()) SWIG_fail;
20120 }
20121 Py_INCREF(Py_None); resultobj = Py_None;
20122 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
20123 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
20124 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
20125 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
20126 return resultobj;
20127 fail:
20128 return NULL;
20129 }
20130
20131
20132 static PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
20133 PyObject *resultobj = NULL;
20134 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20135 int *arg2 = (int *) 0 ;
20136 int *arg3 = (int *) 0 ;
20137 int temp2 ;
20138 int res2 = 0 ;
20139 int temp3 ;
20140 int res3 = 0 ;
20141 PyObject * obj0 = 0 ;
20142 char *kwnames[] = {
20143 (char *) "self", NULL
20144 };
20145
20146 arg2 = &temp2; res2 = SWIG_NEWOBJ;
20147 arg3 = &temp3; res3 = SWIG_NEWOBJ;
20148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_DoGetClientSize",kwnames,&obj0)) goto fail;
20149 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20150 if (SWIG_arg_fail(1)) SWIG_fail;
20151 {
20152 PyThreadState* __tstate = wxPyBeginAllowThreads();
20153 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
20154
20155 wxPyEndAllowThreads(__tstate);
20156 if (PyErr_Occurred()) SWIG_fail;
20157 }
20158 Py_INCREF(Py_None); resultobj = Py_None;
20159 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
20160 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
20161 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
20162 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
20163 return resultobj;
20164 fail:
20165 return NULL;
20166 }
20167
20168
20169 static PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
20170 PyObject *resultobj = NULL;
20171 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20172 int *arg2 = (int *) 0 ;
20173 int *arg3 = (int *) 0 ;
20174 int temp2 ;
20175 int res2 = 0 ;
20176 int temp3 ;
20177 int res3 = 0 ;
20178 PyObject * obj0 = 0 ;
20179 char *kwnames[] = {
20180 (char *) "self", NULL
20181 };
20182
20183 arg2 = &temp2; res2 = SWIG_NEWOBJ;
20184 arg3 = &temp3; res3 = SWIG_NEWOBJ;
20185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_DoGetPosition",kwnames,&obj0)) goto fail;
20186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20187 if (SWIG_arg_fail(1)) SWIG_fail;
20188 {
20189 PyThreadState* __tstate = wxPyBeginAllowThreads();
20190 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
20191
20192 wxPyEndAllowThreads(__tstate);
20193 if (PyErr_Occurred()) SWIG_fail;
20194 }
20195 Py_INCREF(Py_None); resultobj = Py_None;
20196 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
20197 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
20198 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
20199 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
20200 return resultobj;
20201 fail:
20202 return NULL;
20203 }
20204
20205
20206 static PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
20207 PyObject *resultobj = NULL;
20208 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20209 wxSize result;
20210 PyObject * obj0 = 0 ;
20211 char *kwnames[] = {
20212 (char *) "self", NULL
20213 };
20214
20215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_DoGetVirtualSize",kwnames,&obj0)) goto fail;
20216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20217 if (SWIG_arg_fail(1)) SWIG_fail;
20218 {
20219 PyThreadState* __tstate = wxPyBeginAllowThreads();
20220 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
20221
20222 wxPyEndAllowThreads(__tstate);
20223 if (PyErr_Occurred()) SWIG_fail;
20224 }
20225 {
20226 wxSize * resultptr;
20227 resultptr = new wxSize(static_cast<wxSize & >(result));
20228 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20229 }
20230 return resultobj;
20231 fail:
20232 return NULL;
20233 }
20234
20235
20236 static PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
20237 PyObject *resultobj = NULL;
20238 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20239 wxSize result;
20240 PyObject * obj0 = 0 ;
20241 char *kwnames[] = {
20242 (char *) "self", NULL
20243 };
20244
20245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_DoGetBestSize",kwnames,&obj0)) goto fail;
20246 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20247 if (SWIG_arg_fail(1)) SWIG_fail;
20248 {
20249 PyThreadState* __tstate = wxPyBeginAllowThreads();
20250 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
20251
20252 wxPyEndAllowThreads(__tstate);
20253 if (PyErr_Occurred()) SWIG_fail;
20254 }
20255 {
20256 wxSize * resultptr;
20257 resultptr = new wxSize(static_cast<wxSize & >(result));
20258 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20259 }
20260 return resultobj;
20261 fail:
20262 return NULL;
20263 }
20264
20265
20266 static PyObject *_wrap_PyScrolledWindow_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
20267 PyObject *resultobj = NULL;
20268 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20269 PyObject * obj0 = 0 ;
20270 char *kwnames[] = {
20271 (char *) "self", NULL
20272 };
20273
20274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_InitDialog",kwnames,&obj0)) goto fail;
20275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20276 if (SWIG_arg_fail(1)) SWIG_fail;
20277 {
20278 PyThreadState* __tstate = wxPyBeginAllowThreads();
20279 (arg1)->InitDialog();
20280
20281 wxPyEndAllowThreads(__tstate);
20282 if (PyErr_Occurred()) SWIG_fail;
20283 }
20284 Py_INCREF(Py_None); resultobj = Py_None;
20285 return resultobj;
20286 fail:
20287 return NULL;
20288 }
20289
20290
20291 static PyObject *_wrap_PyScrolledWindow_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
20292 PyObject *resultobj = NULL;
20293 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20294 bool result;
20295 PyObject * obj0 = 0 ;
20296 char *kwnames[] = {
20297 (char *) "self", NULL
20298 };
20299
20300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_TransferDataToWindow",kwnames,&obj0)) goto fail;
20301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20302 if (SWIG_arg_fail(1)) SWIG_fail;
20303 {
20304 PyThreadState* __tstate = wxPyBeginAllowThreads();
20305 result = (bool)(arg1)->TransferDataToWindow();
20306
20307 wxPyEndAllowThreads(__tstate);
20308 if (PyErr_Occurred()) SWIG_fail;
20309 }
20310 {
20311 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20312 }
20313 return resultobj;
20314 fail:
20315 return NULL;
20316 }
20317
20318
20319 static PyObject *_wrap_PyScrolledWindow_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
20320 PyObject *resultobj = NULL;
20321 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20322 bool result;
20323 PyObject * obj0 = 0 ;
20324 char *kwnames[] = {
20325 (char *) "self", NULL
20326 };
20327
20328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_TransferDataFromWindow",kwnames,&obj0)) goto fail;
20329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20330 if (SWIG_arg_fail(1)) SWIG_fail;
20331 {
20332 PyThreadState* __tstate = wxPyBeginAllowThreads();
20333 result = (bool)(arg1)->TransferDataFromWindow();
20334
20335 wxPyEndAllowThreads(__tstate);
20336 if (PyErr_Occurred()) SWIG_fail;
20337 }
20338 {
20339 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20340 }
20341 return resultobj;
20342 fail:
20343 return NULL;
20344 }
20345
20346
20347 static PyObject *_wrap_PyScrolledWindow_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
20348 PyObject *resultobj = NULL;
20349 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20350 bool result;
20351 PyObject * obj0 = 0 ;
20352 char *kwnames[] = {
20353 (char *) "self", NULL
20354 };
20355
20356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_Validate",kwnames,&obj0)) goto fail;
20357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20358 if (SWIG_arg_fail(1)) SWIG_fail;
20359 {
20360 PyThreadState* __tstate = wxPyBeginAllowThreads();
20361 result = (bool)(arg1)->Validate();
20362
20363 wxPyEndAllowThreads(__tstate);
20364 if (PyErr_Occurred()) SWIG_fail;
20365 }
20366 {
20367 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20368 }
20369 return resultobj;
20370 fail:
20371 return NULL;
20372 }
20373
20374
20375 static PyObject *_wrap_PyScrolledWindow_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
20376 PyObject *resultobj = NULL;
20377 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20378 bool result;
20379 PyObject * obj0 = 0 ;
20380 char *kwnames[] = {
20381 (char *) "self", NULL
20382 };
20383
20384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_AcceptsFocus",kwnames,&obj0)) goto fail;
20385 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20386 if (SWIG_arg_fail(1)) SWIG_fail;
20387 {
20388 PyThreadState* __tstate = wxPyBeginAllowThreads();
20389 result = (bool)((wxPyScrolledWindow const *)arg1)->AcceptsFocus();
20390
20391 wxPyEndAllowThreads(__tstate);
20392 if (PyErr_Occurred()) SWIG_fail;
20393 }
20394 {
20395 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20396 }
20397 return resultobj;
20398 fail:
20399 return NULL;
20400 }
20401
20402
20403 static PyObject *_wrap_PyScrolledWindow_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
20404 PyObject *resultobj = NULL;
20405 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20406 bool result;
20407 PyObject * obj0 = 0 ;
20408 char *kwnames[] = {
20409 (char *) "self", NULL
20410 };
20411
20412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
20413 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20414 if (SWIG_arg_fail(1)) SWIG_fail;
20415 {
20416 PyThreadState* __tstate = wxPyBeginAllowThreads();
20417 result = (bool)((wxPyScrolledWindow const *)arg1)->AcceptsFocusFromKeyboard();
20418
20419 wxPyEndAllowThreads(__tstate);
20420 if (PyErr_Occurred()) SWIG_fail;
20421 }
20422 {
20423 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20424 }
20425 return resultobj;
20426 fail:
20427 return NULL;
20428 }
20429
20430
20431 static PyObject *_wrap_PyScrolledWindow_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
20432 PyObject *resultobj = NULL;
20433 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20434 wxSize result;
20435 PyObject * obj0 = 0 ;
20436 char *kwnames[] = {
20437 (char *) "self", NULL
20438 };
20439
20440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_GetMaxSize",kwnames,&obj0)) goto fail;
20441 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20442 if (SWIG_arg_fail(1)) SWIG_fail;
20443 {
20444 PyThreadState* __tstate = wxPyBeginAllowThreads();
20445 result = ((wxPyScrolledWindow const *)arg1)->GetMaxSize();
20446
20447 wxPyEndAllowThreads(__tstate);
20448 if (PyErr_Occurred()) SWIG_fail;
20449 }
20450 {
20451 wxSize * resultptr;
20452 resultptr = new wxSize(static_cast<wxSize & >(result));
20453 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20454 }
20455 return resultobj;
20456 fail:
20457 return NULL;
20458 }
20459
20460
20461 static PyObject *_wrap_PyScrolledWindow_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
20462 PyObject *resultobj = NULL;
20463 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20464 wxWindow *arg2 = (wxWindow *) 0 ;
20465 PyObject * obj0 = 0 ;
20466 PyObject * obj1 = 0 ;
20467 char *kwnames[] = {
20468 (char *) "self",(char *) "child", NULL
20469 };
20470
20471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_AddChild",kwnames,&obj0,&obj1)) goto fail;
20472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20473 if (SWIG_arg_fail(1)) SWIG_fail;
20474 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
20475 if (SWIG_arg_fail(2)) SWIG_fail;
20476 {
20477 PyThreadState* __tstate = wxPyBeginAllowThreads();
20478 (arg1)->AddChild(arg2);
20479
20480 wxPyEndAllowThreads(__tstate);
20481 if (PyErr_Occurred()) SWIG_fail;
20482 }
20483 Py_INCREF(Py_None); resultobj = Py_None;
20484 return resultobj;
20485 fail:
20486 return NULL;
20487 }
20488
20489
20490 static PyObject *_wrap_PyScrolledWindow_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
20491 PyObject *resultobj = NULL;
20492 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20493 wxWindow *arg2 = (wxWindow *) 0 ;
20494 PyObject * obj0 = 0 ;
20495 PyObject * obj1 = 0 ;
20496 char *kwnames[] = {
20497 (char *) "self",(char *) "child", NULL
20498 };
20499
20500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
20501 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20502 if (SWIG_arg_fail(1)) SWIG_fail;
20503 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
20504 if (SWIG_arg_fail(2)) SWIG_fail;
20505 {
20506 PyThreadState* __tstate = wxPyBeginAllowThreads();
20507 (arg1)->RemoveChild(arg2);
20508
20509 wxPyEndAllowThreads(__tstate);
20510 if (PyErr_Occurred()) SWIG_fail;
20511 }
20512 Py_INCREF(Py_None); resultobj = Py_None;
20513 return resultobj;
20514 fail:
20515 return NULL;
20516 }
20517
20518
20519 static PyObject *_wrap_PyScrolledWindow_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
20520 PyObject *resultobj = NULL;
20521 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20522 bool result;
20523 PyObject * obj0 = 0 ;
20524 char *kwnames[] = {
20525 (char *) "self", NULL
20526 };
20527
20528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_ShouldInheritColours",kwnames,&obj0)) goto fail;
20529 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20530 if (SWIG_arg_fail(1)) SWIG_fail;
20531 {
20532 PyThreadState* __tstate = wxPyBeginAllowThreads();
20533 result = (bool)((wxPyScrolledWindow const *)arg1)->ShouldInheritColours();
20534
20535 wxPyEndAllowThreads(__tstate);
20536 if (PyErr_Occurred()) SWIG_fail;
20537 }
20538 {
20539 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20540 }
20541 return resultobj;
20542 fail:
20543 return NULL;
20544 }
20545
20546
20547 static PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
20548 PyObject *resultobj = NULL;
20549 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20550 wxVisualAttributes result;
20551 PyObject * obj0 = 0 ;
20552 char *kwnames[] = {
20553 (char *) "self", NULL
20554 };
20555
20556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_GetDefaultAttributes",kwnames,&obj0)) goto fail;
20557 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20558 if (SWIG_arg_fail(1)) SWIG_fail;
20559 {
20560 PyThreadState* __tstate = wxPyBeginAllowThreads();
20561 result = (arg1)->GetDefaultAttributes();
20562
20563 wxPyEndAllowThreads(__tstate);
20564 if (PyErr_Occurred()) SWIG_fail;
20565 }
20566 {
20567 wxVisualAttributes * resultptr;
20568 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
20569 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
20570 }
20571 return resultobj;
20572 fail:
20573 return NULL;
20574 }
20575
20576
20577 static PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) {
20578 PyObject *resultobj = NULL;
20579 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20580 PyObject * obj0 = 0 ;
20581 char *kwnames[] = {
20582 (char *) "self", NULL
20583 };
20584
20585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_OnInternalIdle",kwnames,&obj0)) goto fail;
20586 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20587 if (SWIG_arg_fail(1)) SWIG_fail;
20588 {
20589 PyThreadState* __tstate = wxPyBeginAllowThreads();
20590 (arg1)->OnInternalIdle();
20591
20592 wxPyEndAllowThreads(__tstate);
20593 if (PyErr_Occurred()) SWIG_fail;
20594 }
20595 Py_INCREF(Py_None); resultobj = Py_None;
20596 return resultobj;
20597 fail:
20598 return NULL;
20599 }
20600
20601
20602 static PyObject * PyScrolledWindow_swigregister(PyObject *, PyObject *args) {
20603 PyObject *obj;
20604 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20605 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
20606 Py_INCREF(obj);
20607 return Py_BuildValue((char *)"");
20608 }
20609 static int _wrap_PrintoutTitleStr_set(PyObject *) {
20610 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
20611 return 1;
20612 }
20613
20614
20615 static PyObject *_wrap_PrintoutTitleStr_get(void) {
20616 PyObject *pyobj = NULL;
20617
20618 {
20619 #if wxUSE_UNICODE
20620 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
20621 #else
20622 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
20623 #endif
20624 }
20625 return pyobj;
20626 }
20627
20628
20629 static int _wrap_PreviewCanvasNameStr_set(PyObject *) {
20630 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
20631 return 1;
20632 }
20633
20634
20635 static PyObject *_wrap_PreviewCanvasNameStr_get(void) {
20636 PyObject *pyobj = NULL;
20637
20638 {
20639 #if wxUSE_UNICODE
20640 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
20641 #else
20642 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
20643 #endif
20644 }
20645 return pyobj;
20646 }
20647
20648
20649 static PyObject *_wrap_new_PrintData__SWIG_0(PyObject *, PyObject *args) {
20650 PyObject *resultobj = NULL;
20651 wxPrintData *result;
20652
20653 if(!PyArg_ParseTuple(args,(char *)":new_PrintData")) goto fail;
20654 {
20655 PyThreadState* __tstate = wxPyBeginAllowThreads();
20656 result = (wxPrintData *)new wxPrintData();
20657
20658 wxPyEndAllowThreads(__tstate);
20659 if (PyErr_Occurred()) SWIG_fail;
20660 }
20661 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
20662 return resultobj;
20663 fail:
20664 return NULL;
20665 }
20666
20667
20668 static PyObject *_wrap_new_PrintData__SWIG_1(PyObject *, PyObject *args) {
20669 PyObject *resultobj = NULL;
20670 wxPrintData *arg1 = 0 ;
20671 wxPrintData *result;
20672 PyObject * obj0 = 0 ;
20673
20674 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintData",&obj0)) goto fail;
20675 {
20676 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20677 if (SWIG_arg_fail(1)) SWIG_fail;
20678 if (arg1 == NULL) {
20679 SWIG_null_ref("wxPrintData");
20680 }
20681 if (SWIG_arg_fail(1)) SWIG_fail;
20682 }
20683 {
20684 PyThreadState* __tstate = wxPyBeginAllowThreads();
20685 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
20686
20687 wxPyEndAllowThreads(__tstate);
20688 if (PyErr_Occurred()) SWIG_fail;
20689 }
20690 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
20691 return resultobj;
20692 fail:
20693 return NULL;
20694 }
20695
20696
20697 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
20698 int argc;
20699 PyObject *argv[2];
20700 int ii;
20701
20702 argc = PyObject_Length(args);
20703 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
20704 argv[ii] = PyTuple_GetItem(args,ii);
20705 }
20706 if (argc == 0) {
20707 return _wrap_new_PrintData__SWIG_0(self,args);
20708 }
20709 if (argc == 1) {
20710 int _v;
20711 {
20712 void *ptr = 0;
20713 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
20714 _v = 0;
20715 PyErr_Clear();
20716 } else {
20717 _v = (ptr != 0);
20718 }
20719 }
20720 if (_v) {
20721 return _wrap_new_PrintData__SWIG_1(self,args);
20722 }
20723 }
20724
20725 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
20726 return NULL;
20727 }
20728
20729
20730 static PyObject *_wrap_delete_PrintData(PyObject *, PyObject *args, PyObject *kwargs) {
20731 PyObject *resultobj = NULL;
20732 wxPrintData *arg1 = (wxPrintData *) 0 ;
20733 PyObject * obj0 = 0 ;
20734 char *kwnames[] = {
20735 (char *) "self", NULL
20736 };
20737
20738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
20739 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20740 if (SWIG_arg_fail(1)) SWIG_fail;
20741 {
20742 PyThreadState* __tstate = wxPyBeginAllowThreads();
20743 delete arg1;
20744
20745 wxPyEndAllowThreads(__tstate);
20746 if (PyErr_Occurred()) SWIG_fail;
20747 }
20748 Py_INCREF(Py_None); resultobj = Py_None;
20749 return resultobj;
20750 fail:
20751 return NULL;
20752 }
20753
20754
20755 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
20756 PyObject *resultobj = NULL;
20757 wxPrintData *arg1 = (wxPrintData *) 0 ;
20758 int result;
20759 PyObject * obj0 = 0 ;
20760 char *kwnames[] = {
20761 (char *) "self", NULL
20762 };
20763
20764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
20765 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20766 if (SWIG_arg_fail(1)) SWIG_fail;
20767 {
20768 PyThreadState* __tstate = wxPyBeginAllowThreads();
20769 result = (int)(arg1)->GetNoCopies();
20770
20771 wxPyEndAllowThreads(__tstate);
20772 if (PyErr_Occurred()) SWIG_fail;
20773 }
20774 {
20775 resultobj = SWIG_From_int(static_cast<int >(result));
20776 }
20777 return resultobj;
20778 fail:
20779 return NULL;
20780 }
20781
20782
20783 static PyObject *_wrap_PrintData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
20784 PyObject *resultobj = NULL;
20785 wxPrintData *arg1 = (wxPrintData *) 0 ;
20786 bool result;
20787 PyObject * obj0 = 0 ;
20788 char *kwnames[] = {
20789 (char *) "self", NULL
20790 };
20791
20792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
20793 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20794 if (SWIG_arg_fail(1)) SWIG_fail;
20795 {
20796 PyThreadState* __tstate = wxPyBeginAllowThreads();
20797 result = (bool)(arg1)->GetCollate();
20798
20799 wxPyEndAllowThreads(__tstate);
20800 if (PyErr_Occurred()) SWIG_fail;
20801 }
20802 {
20803 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20804 }
20805 return resultobj;
20806 fail:
20807 return NULL;
20808 }
20809
20810
20811 static PyObject *_wrap_PrintData_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
20812 PyObject *resultobj = NULL;
20813 wxPrintData *arg1 = (wxPrintData *) 0 ;
20814 int result;
20815 PyObject * obj0 = 0 ;
20816 char *kwnames[] = {
20817 (char *) "self", NULL
20818 };
20819
20820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
20821 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20822 if (SWIG_arg_fail(1)) SWIG_fail;
20823 {
20824 PyThreadState* __tstate = wxPyBeginAllowThreads();
20825 result = (int)(arg1)->GetOrientation();
20826
20827 wxPyEndAllowThreads(__tstate);
20828 if (PyErr_Occurred()) SWIG_fail;
20829 }
20830 {
20831 resultobj = SWIG_From_int(static_cast<int >(result));
20832 }
20833 return resultobj;
20834 fail:
20835 return NULL;
20836 }
20837
20838
20839 static PyObject *_wrap_PrintData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
20840 PyObject *resultobj = NULL;
20841 wxPrintData *arg1 = (wxPrintData *) 0 ;
20842 bool result;
20843 PyObject * obj0 = 0 ;
20844 char *kwnames[] = {
20845 (char *) "self", NULL
20846 };
20847
20848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
20849 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20850 if (SWIG_arg_fail(1)) SWIG_fail;
20851 {
20852 PyThreadState* __tstate = wxPyBeginAllowThreads();
20853 result = (bool)(arg1)->Ok();
20854
20855 wxPyEndAllowThreads(__tstate);
20856 if (PyErr_Occurred()) SWIG_fail;
20857 }
20858 {
20859 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20860 }
20861 return resultobj;
20862 fail:
20863 return NULL;
20864 }
20865
20866
20867 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
20868 PyObject *resultobj = NULL;
20869 wxPrintData *arg1 = (wxPrintData *) 0 ;
20870 wxString *result;
20871 PyObject * obj0 = 0 ;
20872 char *kwnames[] = {
20873 (char *) "self", NULL
20874 };
20875
20876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
20877 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20878 if (SWIG_arg_fail(1)) SWIG_fail;
20879 {
20880 PyThreadState* __tstate = wxPyBeginAllowThreads();
20881 {
20882 wxString const &_result_ref = (arg1)->GetPrinterName();
20883 result = (wxString *) &_result_ref;
20884 }
20885
20886 wxPyEndAllowThreads(__tstate);
20887 if (PyErr_Occurred()) SWIG_fail;
20888 }
20889 {
20890 #if wxUSE_UNICODE
20891 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20892 #else
20893 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20894 #endif
20895 }
20896 return resultobj;
20897 fail:
20898 return NULL;
20899 }
20900
20901
20902 static PyObject *_wrap_PrintData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
20903 PyObject *resultobj = NULL;
20904 wxPrintData *arg1 = (wxPrintData *) 0 ;
20905 bool result;
20906 PyObject * obj0 = 0 ;
20907 char *kwnames[] = {
20908 (char *) "self", NULL
20909 };
20910
20911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
20912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20913 if (SWIG_arg_fail(1)) SWIG_fail;
20914 {
20915 PyThreadState* __tstate = wxPyBeginAllowThreads();
20916 result = (bool)(arg1)->GetColour();
20917
20918 wxPyEndAllowThreads(__tstate);
20919 if (PyErr_Occurred()) SWIG_fail;
20920 }
20921 {
20922 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20923 }
20924 return resultobj;
20925 fail:
20926 return NULL;
20927 }
20928
20929
20930 static PyObject *_wrap_PrintData_GetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
20931 PyObject *resultobj = NULL;
20932 wxPrintData *arg1 = (wxPrintData *) 0 ;
20933 wxDuplexMode result;
20934 PyObject * obj0 = 0 ;
20935 char *kwnames[] = {
20936 (char *) "self", NULL
20937 };
20938
20939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
20940 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20941 if (SWIG_arg_fail(1)) SWIG_fail;
20942 {
20943 PyThreadState* __tstate = wxPyBeginAllowThreads();
20944 result = (wxDuplexMode)(arg1)->GetDuplex();
20945
20946 wxPyEndAllowThreads(__tstate);
20947 if (PyErr_Occurred()) SWIG_fail;
20948 }
20949 resultobj = SWIG_From_int((result));
20950 return resultobj;
20951 fail:
20952 return NULL;
20953 }
20954
20955
20956 static PyObject *_wrap_PrintData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
20957 PyObject *resultobj = NULL;
20958 wxPrintData *arg1 = (wxPrintData *) 0 ;
20959 wxPaperSize result;
20960 PyObject * obj0 = 0 ;
20961 char *kwnames[] = {
20962 (char *) "self", NULL
20963 };
20964
20965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
20966 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20967 if (SWIG_arg_fail(1)) SWIG_fail;
20968 {
20969 PyThreadState* __tstate = wxPyBeginAllowThreads();
20970 result = (wxPaperSize)(arg1)->GetPaperId();
20971
20972 wxPyEndAllowThreads(__tstate);
20973 if (PyErr_Occurred()) SWIG_fail;
20974 }
20975 resultobj = SWIG_From_int((result));
20976 return resultobj;
20977 fail:
20978 return NULL;
20979 }
20980
20981
20982 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
20983 PyObject *resultobj = NULL;
20984 wxPrintData *arg1 = (wxPrintData *) 0 ;
20985 wxSize *result;
20986 PyObject * obj0 = 0 ;
20987 char *kwnames[] = {
20988 (char *) "self", NULL
20989 };
20990
20991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
20992 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20993 if (SWIG_arg_fail(1)) SWIG_fail;
20994 {
20995 PyThreadState* __tstate = wxPyBeginAllowThreads();
20996 {
20997 wxSize const &_result_ref = (arg1)->GetPaperSize();
20998 result = (wxSize *) &_result_ref;
20999 }
21000
21001 wxPyEndAllowThreads(__tstate);
21002 if (PyErr_Occurred()) SWIG_fail;
21003 }
21004 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
21005 return resultobj;
21006 fail:
21007 return NULL;
21008 }
21009
21010
21011 static PyObject *_wrap_PrintData_GetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
21012 PyObject *resultobj = NULL;
21013 wxPrintData *arg1 = (wxPrintData *) 0 ;
21014 int result;
21015 PyObject * obj0 = 0 ;
21016 char *kwnames[] = {
21017 (char *) "self", NULL
21018 };
21019
21020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
21021 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21022 if (SWIG_arg_fail(1)) SWIG_fail;
21023 {
21024 PyThreadState* __tstate = wxPyBeginAllowThreads();
21025 result = (int)(arg1)->GetQuality();
21026
21027 wxPyEndAllowThreads(__tstate);
21028 if (PyErr_Occurred()) SWIG_fail;
21029 }
21030 {
21031 resultobj = SWIG_From_int(static_cast<int >(result));
21032 }
21033 return resultobj;
21034 fail:
21035 return NULL;
21036 }
21037
21038
21039 static PyObject *_wrap_PrintData_GetBin(PyObject *, PyObject *args, PyObject *kwargs) {
21040 PyObject *resultobj = NULL;
21041 wxPrintData *arg1 = (wxPrintData *) 0 ;
21042 wxPrintBin result;
21043 PyObject * obj0 = 0 ;
21044 char *kwnames[] = {
21045 (char *) "self", NULL
21046 };
21047
21048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetBin",kwnames,&obj0)) goto fail;
21049 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21050 if (SWIG_arg_fail(1)) SWIG_fail;
21051 {
21052 PyThreadState* __tstate = wxPyBeginAllowThreads();
21053 result = (wxPrintBin)(arg1)->GetBin();
21054
21055 wxPyEndAllowThreads(__tstate);
21056 if (PyErr_Occurred()) SWIG_fail;
21057 }
21058 resultobj = SWIG_From_int((result));
21059 return resultobj;
21060 fail:
21061 return NULL;
21062 }
21063
21064
21065 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
21066 PyObject *resultobj = NULL;
21067 wxPrintData *arg1 = (wxPrintData *) 0 ;
21068 wxPrintMode result;
21069 PyObject * obj0 = 0 ;
21070 char *kwnames[] = {
21071 (char *) "self", NULL
21072 };
21073
21074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
21075 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21076 if (SWIG_arg_fail(1)) SWIG_fail;
21077 {
21078 PyThreadState* __tstate = wxPyBeginAllowThreads();
21079 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
21080
21081 wxPyEndAllowThreads(__tstate);
21082 if (PyErr_Occurred()) SWIG_fail;
21083 }
21084 resultobj = SWIG_From_int((result));
21085 return resultobj;
21086 fail:
21087 return NULL;
21088 }
21089
21090
21091 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
21092 PyObject *resultobj = NULL;
21093 wxPrintData *arg1 = (wxPrintData *) 0 ;
21094 int arg2 ;
21095 PyObject * obj0 = 0 ;
21096 PyObject * obj1 = 0 ;
21097 char *kwnames[] = {
21098 (char *) "self",(char *) "v", NULL
21099 };
21100
21101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
21102 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21103 if (SWIG_arg_fail(1)) SWIG_fail;
21104 {
21105 arg2 = static_cast<int >(SWIG_As_int(obj1));
21106 if (SWIG_arg_fail(2)) SWIG_fail;
21107 }
21108 {
21109 PyThreadState* __tstate = wxPyBeginAllowThreads();
21110 (arg1)->SetNoCopies(arg2);
21111
21112 wxPyEndAllowThreads(__tstate);
21113 if (PyErr_Occurred()) SWIG_fail;
21114 }
21115 Py_INCREF(Py_None); resultobj = Py_None;
21116 return resultobj;
21117 fail:
21118 return NULL;
21119 }
21120
21121
21122 static PyObject *_wrap_PrintData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
21123 PyObject *resultobj = NULL;
21124 wxPrintData *arg1 = (wxPrintData *) 0 ;
21125 bool arg2 ;
21126 PyObject * obj0 = 0 ;
21127 PyObject * obj1 = 0 ;
21128 char *kwnames[] = {
21129 (char *) "self",(char *) "flag", NULL
21130 };
21131
21132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
21133 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21134 if (SWIG_arg_fail(1)) SWIG_fail;
21135 {
21136 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
21137 if (SWIG_arg_fail(2)) SWIG_fail;
21138 }
21139 {
21140 PyThreadState* __tstate = wxPyBeginAllowThreads();
21141 (arg1)->SetCollate(arg2);
21142
21143 wxPyEndAllowThreads(__tstate);
21144 if (PyErr_Occurred()) SWIG_fail;
21145 }
21146 Py_INCREF(Py_None); resultobj = Py_None;
21147 return resultobj;
21148 fail:
21149 return NULL;
21150 }
21151
21152
21153 static PyObject *_wrap_PrintData_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
21154 PyObject *resultobj = NULL;
21155 wxPrintData *arg1 = (wxPrintData *) 0 ;
21156 int arg2 ;
21157 PyObject * obj0 = 0 ;
21158 PyObject * obj1 = 0 ;
21159 char *kwnames[] = {
21160 (char *) "self",(char *) "orient", NULL
21161 };
21162
21163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
21164 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21165 if (SWIG_arg_fail(1)) SWIG_fail;
21166 {
21167 arg2 = static_cast<int >(SWIG_As_int(obj1));
21168 if (SWIG_arg_fail(2)) SWIG_fail;
21169 }
21170 {
21171 PyThreadState* __tstate = wxPyBeginAllowThreads();
21172 (arg1)->SetOrientation(arg2);
21173
21174 wxPyEndAllowThreads(__tstate);
21175 if (PyErr_Occurred()) SWIG_fail;
21176 }
21177 Py_INCREF(Py_None); resultobj = Py_None;
21178 return resultobj;
21179 fail:
21180 return NULL;
21181 }
21182
21183
21184 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
21185 PyObject *resultobj = NULL;
21186 wxPrintData *arg1 = (wxPrintData *) 0 ;
21187 wxString *arg2 = 0 ;
21188 bool temp2 = false ;
21189 PyObject * obj0 = 0 ;
21190 PyObject * obj1 = 0 ;
21191 char *kwnames[] = {
21192 (char *) "self",(char *) "name", NULL
21193 };
21194
21195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
21196 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21197 if (SWIG_arg_fail(1)) SWIG_fail;
21198 {
21199 arg2 = wxString_in_helper(obj1);
21200 if (arg2 == NULL) SWIG_fail;
21201 temp2 = true;
21202 }
21203 {
21204 PyThreadState* __tstate = wxPyBeginAllowThreads();
21205 (arg1)->SetPrinterName((wxString const &)*arg2);
21206
21207 wxPyEndAllowThreads(__tstate);
21208 if (PyErr_Occurred()) SWIG_fail;
21209 }
21210 Py_INCREF(Py_None); resultobj = Py_None;
21211 {
21212 if (temp2)
21213 delete arg2;
21214 }
21215 return resultobj;
21216 fail:
21217 {
21218 if (temp2)
21219 delete arg2;
21220 }
21221 return NULL;
21222 }
21223
21224
21225 static PyObject *_wrap_PrintData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
21226 PyObject *resultobj = NULL;
21227 wxPrintData *arg1 = (wxPrintData *) 0 ;
21228 bool arg2 ;
21229 PyObject * obj0 = 0 ;
21230 PyObject * obj1 = 0 ;
21231 char *kwnames[] = {
21232 (char *) "self",(char *) "colour", NULL
21233 };
21234
21235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
21236 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21237 if (SWIG_arg_fail(1)) SWIG_fail;
21238 {
21239 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
21240 if (SWIG_arg_fail(2)) SWIG_fail;
21241 }
21242 {
21243 PyThreadState* __tstate = wxPyBeginAllowThreads();
21244 (arg1)->SetColour(arg2);
21245
21246 wxPyEndAllowThreads(__tstate);
21247 if (PyErr_Occurred()) SWIG_fail;
21248 }
21249 Py_INCREF(Py_None); resultobj = Py_None;
21250 return resultobj;
21251 fail:
21252 return NULL;
21253 }
21254
21255
21256 static PyObject *_wrap_PrintData_SetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
21257 PyObject *resultobj = NULL;
21258 wxPrintData *arg1 = (wxPrintData *) 0 ;
21259 wxDuplexMode arg2 ;
21260 PyObject * obj0 = 0 ;
21261 PyObject * obj1 = 0 ;
21262 char *kwnames[] = {
21263 (char *) "self",(char *) "duplex", NULL
21264 };
21265
21266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
21267 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21268 if (SWIG_arg_fail(1)) SWIG_fail;
21269 {
21270 arg2 = static_cast<wxDuplexMode >(SWIG_As_int(obj1));
21271 if (SWIG_arg_fail(2)) SWIG_fail;
21272 }
21273 {
21274 PyThreadState* __tstate = wxPyBeginAllowThreads();
21275 (arg1)->SetDuplex(arg2);
21276
21277 wxPyEndAllowThreads(__tstate);
21278 if (PyErr_Occurred()) SWIG_fail;
21279 }
21280 Py_INCREF(Py_None); resultobj = Py_None;
21281 return resultobj;
21282 fail:
21283 return NULL;
21284 }
21285
21286
21287 static PyObject *_wrap_PrintData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
21288 PyObject *resultobj = NULL;
21289 wxPrintData *arg1 = (wxPrintData *) 0 ;
21290 wxPaperSize arg2 ;
21291 PyObject * obj0 = 0 ;
21292 PyObject * obj1 = 0 ;
21293 char *kwnames[] = {
21294 (char *) "self",(char *) "sizeId", NULL
21295 };
21296
21297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
21298 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21299 if (SWIG_arg_fail(1)) SWIG_fail;
21300 {
21301 arg2 = static_cast<wxPaperSize >(SWIG_As_int(obj1));
21302 if (SWIG_arg_fail(2)) SWIG_fail;
21303 }
21304 {
21305 PyThreadState* __tstate = wxPyBeginAllowThreads();
21306 (arg1)->SetPaperId(arg2);
21307
21308 wxPyEndAllowThreads(__tstate);
21309 if (PyErr_Occurred()) SWIG_fail;
21310 }
21311 Py_INCREF(Py_None); resultobj = Py_None;
21312 return resultobj;
21313 fail:
21314 return NULL;
21315 }
21316
21317
21318 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
21319 PyObject *resultobj = NULL;
21320 wxPrintData *arg1 = (wxPrintData *) 0 ;
21321 wxSize *arg2 = 0 ;
21322 wxSize temp2 ;
21323 PyObject * obj0 = 0 ;
21324 PyObject * obj1 = 0 ;
21325 char *kwnames[] = {
21326 (char *) "self",(char *) "sz", NULL
21327 };
21328
21329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
21330 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21331 if (SWIG_arg_fail(1)) SWIG_fail;
21332 {
21333 arg2 = &temp2;
21334 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21335 }
21336 {
21337 PyThreadState* __tstate = wxPyBeginAllowThreads();
21338 (arg1)->SetPaperSize((wxSize const &)*arg2);
21339
21340 wxPyEndAllowThreads(__tstate);
21341 if (PyErr_Occurred()) SWIG_fail;
21342 }
21343 Py_INCREF(Py_None); resultobj = Py_None;
21344 return resultobj;
21345 fail:
21346 return NULL;
21347 }
21348
21349
21350 static PyObject *_wrap_PrintData_SetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
21351 PyObject *resultobj = NULL;
21352 wxPrintData *arg1 = (wxPrintData *) 0 ;
21353 int arg2 ;
21354 PyObject * obj0 = 0 ;
21355 PyObject * obj1 = 0 ;
21356 char *kwnames[] = {
21357 (char *) "self",(char *) "quality", NULL
21358 };
21359
21360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
21361 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21362 if (SWIG_arg_fail(1)) SWIG_fail;
21363 {
21364 arg2 = static_cast<int >(SWIG_As_int(obj1));
21365 if (SWIG_arg_fail(2)) SWIG_fail;
21366 }
21367 {
21368 PyThreadState* __tstate = wxPyBeginAllowThreads();
21369 (arg1)->SetQuality(arg2);
21370
21371 wxPyEndAllowThreads(__tstate);
21372 if (PyErr_Occurred()) SWIG_fail;
21373 }
21374 Py_INCREF(Py_None); resultobj = Py_None;
21375 return resultobj;
21376 fail:
21377 return NULL;
21378 }
21379
21380
21381 static PyObject *_wrap_PrintData_SetBin(PyObject *, PyObject *args, PyObject *kwargs) {
21382 PyObject *resultobj = NULL;
21383 wxPrintData *arg1 = (wxPrintData *) 0 ;
21384 wxPrintBin arg2 ;
21385 PyObject * obj0 = 0 ;
21386 PyObject * obj1 = 0 ;
21387 char *kwnames[] = {
21388 (char *) "self",(char *) "bin", NULL
21389 };
21390
21391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) goto fail;
21392 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21393 if (SWIG_arg_fail(1)) SWIG_fail;
21394 {
21395 arg2 = static_cast<wxPrintBin >(SWIG_As_int(obj1));
21396 if (SWIG_arg_fail(2)) SWIG_fail;
21397 }
21398 {
21399 PyThreadState* __tstate = wxPyBeginAllowThreads();
21400 (arg1)->SetBin(arg2);
21401
21402 wxPyEndAllowThreads(__tstate);
21403 if (PyErr_Occurred()) SWIG_fail;
21404 }
21405 Py_INCREF(Py_None); resultobj = Py_None;
21406 return resultobj;
21407 fail:
21408 return NULL;
21409 }
21410
21411
21412 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
21413 PyObject *resultobj = NULL;
21414 wxPrintData *arg1 = (wxPrintData *) 0 ;
21415 wxPrintMode arg2 ;
21416 PyObject * obj0 = 0 ;
21417 PyObject * obj1 = 0 ;
21418 char *kwnames[] = {
21419 (char *) "self",(char *) "printMode", NULL
21420 };
21421
21422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
21423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21424 if (SWIG_arg_fail(1)) SWIG_fail;
21425 {
21426 arg2 = static_cast<wxPrintMode >(SWIG_As_int(obj1));
21427 if (SWIG_arg_fail(2)) SWIG_fail;
21428 }
21429 {
21430 PyThreadState* __tstate = wxPyBeginAllowThreads();
21431 (arg1)->SetPrintMode(arg2);
21432
21433 wxPyEndAllowThreads(__tstate);
21434 if (PyErr_Occurred()) SWIG_fail;
21435 }
21436 Py_INCREF(Py_None); resultobj = Py_None;
21437 return resultobj;
21438 fail:
21439 return NULL;
21440 }
21441
21442
21443 static PyObject *_wrap_PrintData_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
21444 PyObject *resultobj = NULL;
21445 wxPrintData *arg1 = (wxPrintData *) 0 ;
21446 wxString result;
21447 PyObject * obj0 = 0 ;
21448 char *kwnames[] = {
21449 (char *) "self", NULL
21450 };
21451
21452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
21453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21454 if (SWIG_arg_fail(1)) SWIG_fail;
21455 {
21456 PyThreadState* __tstate = wxPyBeginAllowThreads();
21457 result = ((wxPrintData const *)arg1)->GetFilename();
21458
21459 wxPyEndAllowThreads(__tstate);
21460 if (PyErr_Occurred()) SWIG_fail;
21461 }
21462 {
21463 #if wxUSE_UNICODE
21464 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21465 #else
21466 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21467 #endif
21468 }
21469 return resultobj;
21470 fail:
21471 return NULL;
21472 }
21473
21474
21475 static PyObject *_wrap_PrintData_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
21476 PyObject *resultobj = NULL;
21477 wxPrintData *arg1 = (wxPrintData *) 0 ;
21478 wxString *arg2 = 0 ;
21479 bool temp2 = false ;
21480 PyObject * obj0 = 0 ;
21481 PyObject * obj1 = 0 ;
21482 char *kwnames[] = {
21483 (char *) "self",(char *) "filename", NULL
21484 };
21485
21486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
21487 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21488 if (SWIG_arg_fail(1)) SWIG_fail;
21489 {
21490 arg2 = wxString_in_helper(obj1);
21491 if (arg2 == NULL) SWIG_fail;
21492 temp2 = true;
21493 }
21494 {
21495 PyThreadState* __tstate = wxPyBeginAllowThreads();
21496 (arg1)->SetFilename((wxString const &)*arg2);
21497
21498 wxPyEndAllowThreads(__tstate);
21499 if (PyErr_Occurred()) SWIG_fail;
21500 }
21501 Py_INCREF(Py_None); resultobj = Py_None;
21502 {
21503 if (temp2)
21504 delete arg2;
21505 }
21506 return resultobj;
21507 fail:
21508 {
21509 if (temp2)
21510 delete arg2;
21511 }
21512 return NULL;
21513 }
21514
21515
21516 static PyObject *_wrap_PrintData_GetPrivData(PyObject *, PyObject *args, PyObject *kwargs) {
21517 PyObject *resultobj = NULL;
21518 wxPrintData *arg1 = (wxPrintData *) 0 ;
21519 PyObject *result;
21520 PyObject * obj0 = 0 ;
21521 char *kwnames[] = {
21522 (char *) "self", NULL
21523 };
21524
21525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrivData",kwnames,&obj0)) goto fail;
21526 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21527 if (SWIG_arg_fail(1)) SWIG_fail;
21528 {
21529 PyThreadState* __tstate = wxPyBeginAllowThreads();
21530 result = (PyObject *)wxPrintData_GetPrivData(arg1);
21531
21532 wxPyEndAllowThreads(__tstate);
21533 if (PyErr_Occurred()) SWIG_fail;
21534 }
21535 resultobj = result;
21536 return resultobj;
21537 fail:
21538 return NULL;
21539 }
21540
21541
21542 static PyObject *_wrap_PrintData_SetPrivData(PyObject *, PyObject *args, PyObject *kwargs) {
21543 PyObject *resultobj = NULL;
21544 wxPrintData *arg1 = (wxPrintData *) 0 ;
21545 PyObject *arg2 = (PyObject *) 0 ;
21546 PyObject * obj0 = 0 ;
21547 PyObject * obj1 = 0 ;
21548 char *kwnames[] = {
21549 (char *) "self",(char *) "data", NULL
21550 };
21551
21552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) goto fail;
21553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21554 if (SWIG_arg_fail(1)) SWIG_fail;
21555 arg2 = obj1;
21556 {
21557 PyThreadState* __tstate = wxPyBeginAllowThreads();
21558 wxPrintData_SetPrivData(arg1,arg2);
21559
21560 wxPyEndAllowThreads(__tstate);
21561 if (PyErr_Occurred()) SWIG_fail;
21562 }
21563 Py_INCREF(Py_None); resultobj = Py_None;
21564 return resultobj;
21565 fail:
21566 return NULL;
21567 }
21568
21569
21570 static PyObject * PrintData_swigregister(PyObject *, PyObject *args) {
21571 PyObject *obj;
21572 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21573 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
21574 Py_INCREF(obj);
21575 return Py_BuildValue((char *)"");
21576 }
21577 static PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *, PyObject *args) {
21578 PyObject *resultobj = NULL;
21579 wxPageSetupDialogData *result;
21580
21581 if(!PyArg_ParseTuple(args,(char *)":new_PageSetupDialogData")) goto fail;
21582 {
21583 PyThreadState* __tstate = wxPyBeginAllowThreads();
21584 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
21585
21586 wxPyEndAllowThreads(__tstate);
21587 if (PyErr_Occurred()) SWIG_fail;
21588 }
21589 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
21590 return resultobj;
21591 fail:
21592 return NULL;
21593 }
21594
21595
21596 static PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *, PyObject *args) {
21597 PyObject *resultobj = NULL;
21598 wxPageSetupDialogData *arg1 = 0 ;
21599 wxPageSetupDialogData *result;
21600 PyObject * obj0 = 0 ;
21601
21602 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
21603 {
21604 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21605 if (SWIG_arg_fail(1)) SWIG_fail;
21606 if (arg1 == NULL) {
21607 SWIG_null_ref("wxPageSetupDialogData");
21608 }
21609 if (SWIG_arg_fail(1)) SWIG_fail;
21610 }
21611 {
21612 PyThreadState* __tstate = wxPyBeginAllowThreads();
21613 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
21614
21615 wxPyEndAllowThreads(__tstate);
21616 if (PyErr_Occurred()) SWIG_fail;
21617 }
21618 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
21619 return resultobj;
21620 fail:
21621 return NULL;
21622 }
21623
21624
21625 static PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *, PyObject *args) {
21626 PyObject *resultobj = NULL;
21627 wxPrintData *arg1 = 0 ;
21628 wxPageSetupDialogData *result;
21629 PyObject * obj0 = 0 ;
21630
21631 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
21632 {
21633 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21634 if (SWIG_arg_fail(1)) SWIG_fail;
21635 if (arg1 == NULL) {
21636 SWIG_null_ref("wxPrintData");
21637 }
21638 if (SWIG_arg_fail(1)) SWIG_fail;
21639 }
21640 {
21641 PyThreadState* __tstate = wxPyBeginAllowThreads();
21642 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
21643
21644 wxPyEndAllowThreads(__tstate);
21645 if (PyErr_Occurred()) SWIG_fail;
21646 }
21647 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
21648 return resultobj;
21649 fail:
21650 return NULL;
21651 }
21652
21653
21654 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
21655 int argc;
21656 PyObject *argv[2];
21657 int ii;
21658
21659 argc = PyObject_Length(args);
21660 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
21661 argv[ii] = PyTuple_GetItem(args,ii);
21662 }
21663 if (argc == 0) {
21664 return _wrap_new_PageSetupDialogData__SWIG_0(self,args);
21665 }
21666 if (argc == 1) {
21667 int _v;
21668 {
21669 void *ptr = 0;
21670 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPageSetupDialogData, 0) == -1) {
21671 _v = 0;
21672 PyErr_Clear();
21673 } else {
21674 _v = (ptr != 0);
21675 }
21676 }
21677 if (_v) {
21678 return _wrap_new_PageSetupDialogData__SWIG_1(self,args);
21679 }
21680 }
21681 if (argc == 1) {
21682 int _v;
21683 {
21684 void *ptr = 0;
21685 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
21686 _v = 0;
21687 PyErr_Clear();
21688 } else {
21689 _v = (ptr != 0);
21690 }
21691 }
21692 if (_v) {
21693 return _wrap_new_PageSetupDialogData__SWIG_2(self,args);
21694 }
21695 }
21696
21697 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
21698 return NULL;
21699 }
21700
21701
21702 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
21703 PyObject *resultobj = NULL;
21704 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21705 PyObject * obj0 = 0 ;
21706 char *kwnames[] = {
21707 (char *) "self", NULL
21708 };
21709
21710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
21711 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21712 if (SWIG_arg_fail(1)) SWIG_fail;
21713 {
21714 PyThreadState* __tstate = wxPyBeginAllowThreads();
21715 delete arg1;
21716
21717 wxPyEndAllowThreads(__tstate);
21718 if (PyErr_Occurred()) SWIG_fail;
21719 }
21720 Py_INCREF(Py_None); resultobj = Py_None;
21721 return resultobj;
21722 fail:
21723 return NULL;
21724 }
21725
21726
21727 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
21728 PyObject *resultobj = NULL;
21729 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21730 bool arg2 ;
21731 PyObject * obj0 = 0 ;
21732 PyObject * obj1 = 0 ;
21733 char *kwnames[] = {
21734 (char *) "self",(char *) "flag", NULL
21735 };
21736
21737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
21738 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21739 if (SWIG_arg_fail(1)) SWIG_fail;
21740 {
21741 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
21742 if (SWIG_arg_fail(2)) SWIG_fail;
21743 }
21744 {
21745 PyThreadState* __tstate = wxPyBeginAllowThreads();
21746 (arg1)->EnableHelp(arg2);
21747
21748 wxPyEndAllowThreads(__tstate);
21749 if (PyErr_Occurred()) SWIG_fail;
21750 }
21751 Py_INCREF(Py_None); resultobj = Py_None;
21752 return resultobj;
21753 fail:
21754 return NULL;
21755 }
21756
21757
21758 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
21759 PyObject *resultobj = NULL;
21760 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21761 bool arg2 ;
21762 PyObject * obj0 = 0 ;
21763 PyObject * obj1 = 0 ;
21764 char *kwnames[] = {
21765 (char *) "self",(char *) "flag", NULL
21766 };
21767
21768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
21769 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21770 if (SWIG_arg_fail(1)) SWIG_fail;
21771 {
21772 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
21773 if (SWIG_arg_fail(2)) SWIG_fail;
21774 }
21775 {
21776 PyThreadState* __tstate = wxPyBeginAllowThreads();
21777 (arg1)->EnableMargins(arg2);
21778
21779 wxPyEndAllowThreads(__tstate);
21780 if (PyErr_Occurred()) SWIG_fail;
21781 }
21782 Py_INCREF(Py_None); resultobj = Py_None;
21783 return resultobj;
21784 fail:
21785 return NULL;
21786 }
21787
21788
21789 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
21790 PyObject *resultobj = NULL;
21791 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21792 bool arg2 ;
21793 PyObject * obj0 = 0 ;
21794 PyObject * obj1 = 0 ;
21795 char *kwnames[] = {
21796 (char *) "self",(char *) "flag", NULL
21797 };
21798
21799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
21800 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21801 if (SWIG_arg_fail(1)) SWIG_fail;
21802 {
21803 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
21804 if (SWIG_arg_fail(2)) SWIG_fail;
21805 }
21806 {
21807 PyThreadState* __tstate = wxPyBeginAllowThreads();
21808 (arg1)->EnableOrientation(arg2);
21809
21810 wxPyEndAllowThreads(__tstate);
21811 if (PyErr_Occurred()) SWIG_fail;
21812 }
21813 Py_INCREF(Py_None); resultobj = Py_None;
21814 return resultobj;
21815 fail:
21816 return NULL;
21817 }
21818
21819
21820 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
21821 PyObject *resultobj = NULL;
21822 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21823 bool arg2 ;
21824 PyObject * obj0 = 0 ;
21825 PyObject * obj1 = 0 ;
21826 char *kwnames[] = {
21827 (char *) "self",(char *) "flag", NULL
21828 };
21829
21830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
21831 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21832 if (SWIG_arg_fail(1)) SWIG_fail;
21833 {
21834 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
21835 if (SWIG_arg_fail(2)) SWIG_fail;
21836 }
21837 {
21838 PyThreadState* __tstate = wxPyBeginAllowThreads();
21839 (arg1)->EnablePaper(arg2);
21840
21841 wxPyEndAllowThreads(__tstate);
21842 if (PyErr_Occurred()) SWIG_fail;
21843 }
21844 Py_INCREF(Py_None); resultobj = Py_None;
21845 return resultobj;
21846 fail:
21847 return NULL;
21848 }
21849
21850
21851 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
21852 PyObject *resultobj = NULL;
21853 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21854 bool arg2 ;
21855 PyObject * obj0 = 0 ;
21856 PyObject * obj1 = 0 ;
21857 char *kwnames[] = {
21858 (char *) "self",(char *) "flag", NULL
21859 };
21860
21861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
21862 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21863 if (SWIG_arg_fail(1)) SWIG_fail;
21864 {
21865 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
21866 if (SWIG_arg_fail(2)) SWIG_fail;
21867 }
21868 {
21869 PyThreadState* __tstate = wxPyBeginAllowThreads();
21870 (arg1)->EnablePrinter(arg2);
21871
21872 wxPyEndAllowThreads(__tstate);
21873 if (PyErr_Occurred()) SWIG_fail;
21874 }
21875 Py_INCREF(Py_None); resultobj = Py_None;
21876 return resultobj;
21877 fail:
21878 return NULL;
21879 }
21880
21881
21882 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
21883 PyObject *resultobj = NULL;
21884 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21885 bool result;
21886 PyObject * obj0 = 0 ;
21887 char *kwnames[] = {
21888 (char *) "self", NULL
21889 };
21890
21891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
21892 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21893 if (SWIG_arg_fail(1)) SWIG_fail;
21894 {
21895 PyThreadState* __tstate = wxPyBeginAllowThreads();
21896 result = (bool)(arg1)->GetDefaultMinMargins();
21897
21898 wxPyEndAllowThreads(__tstate);
21899 if (PyErr_Occurred()) SWIG_fail;
21900 }
21901 {
21902 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21903 }
21904 return resultobj;
21905 fail:
21906 return NULL;
21907 }
21908
21909
21910 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
21911 PyObject *resultobj = NULL;
21912 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21913 bool result;
21914 PyObject * obj0 = 0 ;
21915 char *kwnames[] = {
21916 (char *) "self", NULL
21917 };
21918
21919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
21920 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21921 if (SWIG_arg_fail(1)) SWIG_fail;
21922 {
21923 PyThreadState* __tstate = wxPyBeginAllowThreads();
21924 result = (bool)(arg1)->GetEnableMargins();
21925
21926 wxPyEndAllowThreads(__tstate);
21927 if (PyErr_Occurred()) SWIG_fail;
21928 }
21929 {
21930 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21931 }
21932 return resultobj;
21933 fail:
21934 return NULL;
21935 }
21936
21937
21938 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
21939 PyObject *resultobj = NULL;
21940 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21941 bool result;
21942 PyObject * obj0 = 0 ;
21943 char *kwnames[] = {
21944 (char *) "self", NULL
21945 };
21946
21947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
21948 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21949 if (SWIG_arg_fail(1)) SWIG_fail;
21950 {
21951 PyThreadState* __tstate = wxPyBeginAllowThreads();
21952 result = (bool)(arg1)->GetEnableOrientation();
21953
21954 wxPyEndAllowThreads(__tstate);
21955 if (PyErr_Occurred()) SWIG_fail;
21956 }
21957 {
21958 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21959 }
21960 return resultobj;
21961 fail:
21962 return NULL;
21963 }
21964
21965
21966 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
21967 PyObject *resultobj = NULL;
21968 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21969 bool result;
21970 PyObject * obj0 = 0 ;
21971 char *kwnames[] = {
21972 (char *) "self", NULL
21973 };
21974
21975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
21976 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21977 if (SWIG_arg_fail(1)) SWIG_fail;
21978 {
21979 PyThreadState* __tstate = wxPyBeginAllowThreads();
21980 result = (bool)(arg1)->GetEnablePaper();
21981
21982 wxPyEndAllowThreads(__tstate);
21983 if (PyErr_Occurred()) SWIG_fail;
21984 }
21985 {
21986 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21987 }
21988 return resultobj;
21989 fail:
21990 return NULL;
21991 }
21992
21993
21994 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
21995 PyObject *resultobj = NULL;
21996 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21997 bool result;
21998 PyObject * obj0 = 0 ;
21999 char *kwnames[] = {
22000 (char *) "self", NULL
22001 };
22002
22003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
22004 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22005 if (SWIG_arg_fail(1)) SWIG_fail;
22006 {
22007 PyThreadState* __tstate = wxPyBeginAllowThreads();
22008 result = (bool)(arg1)->GetEnablePrinter();
22009
22010 wxPyEndAllowThreads(__tstate);
22011 if (PyErr_Occurred()) SWIG_fail;
22012 }
22013 {
22014 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22015 }
22016 return resultobj;
22017 fail:
22018 return NULL;
22019 }
22020
22021
22022 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
22023 PyObject *resultobj = NULL;
22024 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22025 bool result;
22026 PyObject * obj0 = 0 ;
22027 char *kwnames[] = {
22028 (char *) "self", NULL
22029 };
22030
22031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
22032 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22033 if (SWIG_arg_fail(1)) SWIG_fail;
22034 {
22035 PyThreadState* __tstate = wxPyBeginAllowThreads();
22036 result = (bool)(arg1)->GetEnableHelp();
22037
22038 wxPyEndAllowThreads(__tstate);
22039 if (PyErr_Occurred()) SWIG_fail;
22040 }
22041 {
22042 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22043 }
22044 return resultobj;
22045 fail:
22046 return NULL;
22047 }
22048
22049
22050 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
22051 PyObject *resultobj = NULL;
22052 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22053 bool result;
22054 PyObject * obj0 = 0 ;
22055 char *kwnames[] = {
22056 (char *) "self", NULL
22057 };
22058
22059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
22060 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22061 if (SWIG_arg_fail(1)) SWIG_fail;
22062 {
22063 PyThreadState* __tstate = wxPyBeginAllowThreads();
22064 result = (bool)(arg1)->GetDefaultInfo();
22065
22066 wxPyEndAllowThreads(__tstate);
22067 if (PyErr_Occurred()) SWIG_fail;
22068 }
22069 {
22070 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22071 }
22072 return resultobj;
22073 fail:
22074 return NULL;
22075 }
22076
22077
22078 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
22079 PyObject *resultobj = NULL;
22080 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22081 wxPoint result;
22082 PyObject * obj0 = 0 ;
22083 char *kwnames[] = {
22084 (char *) "self", NULL
22085 };
22086
22087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
22088 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22089 if (SWIG_arg_fail(1)) SWIG_fail;
22090 {
22091 PyThreadState* __tstate = wxPyBeginAllowThreads();
22092 result = (arg1)->GetMarginTopLeft();
22093
22094 wxPyEndAllowThreads(__tstate);
22095 if (PyErr_Occurred()) SWIG_fail;
22096 }
22097 {
22098 wxPoint * resultptr;
22099 resultptr = new wxPoint(static_cast<wxPoint & >(result));
22100 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22101 }
22102 return resultobj;
22103 fail:
22104 return NULL;
22105 }
22106
22107
22108 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
22109 PyObject *resultobj = NULL;
22110 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22111 wxPoint result;
22112 PyObject * obj0 = 0 ;
22113 char *kwnames[] = {
22114 (char *) "self", NULL
22115 };
22116
22117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
22118 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22119 if (SWIG_arg_fail(1)) SWIG_fail;
22120 {
22121 PyThreadState* __tstate = wxPyBeginAllowThreads();
22122 result = (arg1)->GetMarginBottomRight();
22123
22124 wxPyEndAllowThreads(__tstate);
22125 if (PyErr_Occurred()) SWIG_fail;
22126 }
22127 {
22128 wxPoint * resultptr;
22129 resultptr = new wxPoint(static_cast<wxPoint & >(result));
22130 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22131 }
22132 return resultobj;
22133 fail:
22134 return NULL;
22135 }
22136
22137
22138 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
22139 PyObject *resultobj = NULL;
22140 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22141 wxPoint result;
22142 PyObject * obj0 = 0 ;
22143 char *kwnames[] = {
22144 (char *) "self", NULL
22145 };
22146
22147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
22148 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22149 if (SWIG_arg_fail(1)) SWIG_fail;
22150 {
22151 PyThreadState* __tstate = wxPyBeginAllowThreads();
22152 result = (arg1)->GetMinMarginTopLeft();
22153
22154 wxPyEndAllowThreads(__tstate);
22155 if (PyErr_Occurred()) SWIG_fail;
22156 }
22157 {
22158 wxPoint * resultptr;
22159 resultptr = new wxPoint(static_cast<wxPoint & >(result));
22160 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22161 }
22162 return resultobj;
22163 fail:
22164 return NULL;
22165 }
22166
22167
22168 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
22169 PyObject *resultobj = NULL;
22170 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22171 wxPoint result;
22172 PyObject * obj0 = 0 ;
22173 char *kwnames[] = {
22174 (char *) "self", NULL
22175 };
22176
22177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
22178 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22179 if (SWIG_arg_fail(1)) SWIG_fail;
22180 {
22181 PyThreadState* __tstate = wxPyBeginAllowThreads();
22182 result = (arg1)->GetMinMarginBottomRight();
22183
22184 wxPyEndAllowThreads(__tstate);
22185 if (PyErr_Occurred()) SWIG_fail;
22186 }
22187 {
22188 wxPoint * resultptr;
22189 resultptr = new wxPoint(static_cast<wxPoint & >(result));
22190 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22191 }
22192 return resultobj;
22193 fail:
22194 return NULL;
22195 }
22196
22197
22198 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
22199 PyObject *resultobj = NULL;
22200 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22201 wxPaperSize result;
22202 PyObject * obj0 = 0 ;
22203 char *kwnames[] = {
22204 (char *) "self", NULL
22205 };
22206
22207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
22208 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22209 if (SWIG_arg_fail(1)) SWIG_fail;
22210 {
22211 PyThreadState* __tstate = wxPyBeginAllowThreads();
22212 result = (wxPaperSize)(arg1)->GetPaperId();
22213
22214 wxPyEndAllowThreads(__tstate);
22215 if (PyErr_Occurred()) SWIG_fail;
22216 }
22217 resultobj = SWIG_From_int((result));
22218 return resultobj;
22219 fail:
22220 return NULL;
22221 }
22222
22223
22224 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
22225 PyObject *resultobj = NULL;
22226 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22227 wxSize result;
22228 PyObject * obj0 = 0 ;
22229 char *kwnames[] = {
22230 (char *) "self", NULL
22231 };
22232
22233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
22234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22235 if (SWIG_arg_fail(1)) SWIG_fail;
22236 {
22237 PyThreadState* __tstate = wxPyBeginAllowThreads();
22238 result = (arg1)->GetPaperSize();
22239
22240 wxPyEndAllowThreads(__tstate);
22241 if (PyErr_Occurred()) SWIG_fail;
22242 }
22243 {
22244 wxSize * resultptr;
22245 resultptr = new wxSize(static_cast<wxSize & >(result));
22246 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
22247 }
22248 return resultobj;
22249 fail:
22250 return NULL;
22251 }
22252
22253
22254 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
22255 PyObject *resultobj = NULL;
22256 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22257 wxPrintData *result;
22258 PyObject * obj0 = 0 ;
22259 char *kwnames[] = {
22260 (char *) "self", NULL
22261 };
22262
22263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
22264 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22265 if (SWIG_arg_fail(1)) SWIG_fail;
22266 {
22267 PyThreadState* __tstate = wxPyBeginAllowThreads();
22268 {
22269 wxPrintData &_result_ref = (arg1)->GetPrintData();
22270 result = (wxPrintData *) &_result_ref;
22271 }
22272
22273 wxPyEndAllowThreads(__tstate);
22274 if (PyErr_Occurred()) SWIG_fail;
22275 }
22276 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
22277 return resultobj;
22278 fail:
22279 return NULL;
22280 }
22281
22282
22283 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
22284 PyObject *resultobj = NULL;
22285 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22286 bool result;
22287 PyObject * obj0 = 0 ;
22288 char *kwnames[] = {
22289 (char *) "self", NULL
22290 };
22291
22292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
22293 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22294 if (SWIG_arg_fail(1)) SWIG_fail;
22295 {
22296 PyThreadState* __tstate = wxPyBeginAllowThreads();
22297 result = (bool)(arg1)->Ok();
22298
22299 wxPyEndAllowThreads(__tstate);
22300 if (PyErr_Occurred()) SWIG_fail;
22301 }
22302 {
22303 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22304 }
22305 return resultobj;
22306 fail:
22307 return NULL;
22308 }
22309
22310
22311 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
22312 PyObject *resultobj = NULL;
22313 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22314 bool arg2 ;
22315 PyObject * obj0 = 0 ;
22316 PyObject * obj1 = 0 ;
22317 char *kwnames[] = {
22318 (char *) "self",(char *) "flag", NULL
22319 };
22320
22321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
22322 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22323 if (SWIG_arg_fail(1)) SWIG_fail;
22324 {
22325 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
22326 if (SWIG_arg_fail(2)) SWIG_fail;
22327 }
22328 {
22329 PyThreadState* __tstate = wxPyBeginAllowThreads();
22330 (arg1)->SetDefaultInfo(arg2);
22331
22332 wxPyEndAllowThreads(__tstate);
22333 if (PyErr_Occurred()) SWIG_fail;
22334 }
22335 Py_INCREF(Py_None); resultobj = Py_None;
22336 return resultobj;
22337 fail:
22338 return NULL;
22339 }
22340
22341
22342 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
22343 PyObject *resultobj = NULL;
22344 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22345 bool arg2 ;
22346 PyObject * obj0 = 0 ;
22347 PyObject * obj1 = 0 ;
22348 char *kwnames[] = {
22349 (char *) "self",(char *) "flag", NULL
22350 };
22351
22352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
22353 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22354 if (SWIG_arg_fail(1)) SWIG_fail;
22355 {
22356 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
22357 if (SWIG_arg_fail(2)) SWIG_fail;
22358 }
22359 {
22360 PyThreadState* __tstate = wxPyBeginAllowThreads();
22361 (arg1)->SetDefaultMinMargins(arg2);
22362
22363 wxPyEndAllowThreads(__tstate);
22364 if (PyErr_Occurred()) SWIG_fail;
22365 }
22366 Py_INCREF(Py_None); resultobj = Py_None;
22367 return resultobj;
22368 fail:
22369 return NULL;
22370 }
22371
22372
22373 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
22374 PyObject *resultobj = NULL;
22375 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22376 wxPoint *arg2 = 0 ;
22377 wxPoint temp2 ;
22378 PyObject * obj0 = 0 ;
22379 PyObject * obj1 = 0 ;
22380 char *kwnames[] = {
22381 (char *) "self",(char *) "pt", NULL
22382 };
22383
22384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
22385 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22386 if (SWIG_arg_fail(1)) SWIG_fail;
22387 {
22388 arg2 = &temp2;
22389 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22390 }
22391 {
22392 PyThreadState* __tstate = wxPyBeginAllowThreads();
22393 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
22394
22395 wxPyEndAllowThreads(__tstate);
22396 if (PyErr_Occurred()) SWIG_fail;
22397 }
22398 Py_INCREF(Py_None); resultobj = Py_None;
22399 return resultobj;
22400 fail:
22401 return NULL;
22402 }
22403
22404
22405 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
22406 PyObject *resultobj = NULL;
22407 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22408 wxPoint *arg2 = 0 ;
22409 wxPoint temp2 ;
22410 PyObject * obj0 = 0 ;
22411 PyObject * obj1 = 0 ;
22412 char *kwnames[] = {
22413 (char *) "self",(char *) "pt", NULL
22414 };
22415
22416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
22417 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22418 if (SWIG_arg_fail(1)) SWIG_fail;
22419 {
22420 arg2 = &temp2;
22421 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22422 }
22423 {
22424 PyThreadState* __tstate = wxPyBeginAllowThreads();
22425 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
22426
22427 wxPyEndAllowThreads(__tstate);
22428 if (PyErr_Occurred()) SWIG_fail;
22429 }
22430 Py_INCREF(Py_None); resultobj = Py_None;
22431 return resultobj;
22432 fail:
22433 return NULL;
22434 }
22435
22436
22437 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
22438 PyObject *resultobj = NULL;
22439 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22440 wxPoint *arg2 = 0 ;
22441 wxPoint temp2 ;
22442 PyObject * obj0 = 0 ;
22443 PyObject * obj1 = 0 ;
22444 char *kwnames[] = {
22445 (char *) "self",(char *) "pt", NULL
22446 };
22447
22448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
22449 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22450 if (SWIG_arg_fail(1)) SWIG_fail;
22451 {
22452 arg2 = &temp2;
22453 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22454 }
22455 {
22456 PyThreadState* __tstate = wxPyBeginAllowThreads();
22457 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
22458
22459 wxPyEndAllowThreads(__tstate);
22460 if (PyErr_Occurred()) SWIG_fail;
22461 }
22462 Py_INCREF(Py_None); resultobj = Py_None;
22463 return resultobj;
22464 fail:
22465 return NULL;
22466 }
22467
22468
22469 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
22470 PyObject *resultobj = NULL;
22471 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22472 wxPoint *arg2 = 0 ;
22473 wxPoint temp2 ;
22474 PyObject * obj0 = 0 ;
22475 PyObject * obj1 = 0 ;
22476 char *kwnames[] = {
22477 (char *) "self",(char *) "pt", NULL
22478 };
22479
22480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
22481 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22482 if (SWIG_arg_fail(1)) SWIG_fail;
22483 {
22484 arg2 = &temp2;
22485 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22486 }
22487 {
22488 PyThreadState* __tstate = wxPyBeginAllowThreads();
22489 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
22490
22491 wxPyEndAllowThreads(__tstate);
22492 if (PyErr_Occurred()) SWIG_fail;
22493 }
22494 Py_INCREF(Py_None); resultobj = Py_None;
22495 return resultobj;
22496 fail:
22497 return NULL;
22498 }
22499
22500
22501 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
22502 PyObject *resultobj = NULL;
22503 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22504 wxPaperSize arg2 ;
22505 PyObject * obj0 = 0 ;
22506 PyObject * obj1 = 0 ;
22507 char *kwnames[] = {
22508 (char *) "self",(char *) "id", NULL
22509 };
22510
22511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
22512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22513 if (SWIG_arg_fail(1)) SWIG_fail;
22514 {
22515 arg2 = static_cast<wxPaperSize >(SWIG_As_int(obj1));
22516 if (SWIG_arg_fail(2)) SWIG_fail;
22517 }
22518 {
22519 PyThreadState* __tstate = wxPyBeginAllowThreads();
22520 (arg1)->SetPaperId(arg2);
22521
22522 wxPyEndAllowThreads(__tstate);
22523 if (PyErr_Occurred()) SWIG_fail;
22524 }
22525 Py_INCREF(Py_None); resultobj = Py_None;
22526 return resultobj;
22527 fail:
22528 return NULL;
22529 }
22530
22531
22532 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
22533 PyObject *resultobj = NULL;
22534 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22535 wxSize *arg2 = 0 ;
22536 wxSize temp2 ;
22537 PyObject * obj0 = 0 ;
22538 PyObject * obj1 = 0 ;
22539 char *kwnames[] = {
22540 (char *) "self",(char *) "size", NULL
22541 };
22542
22543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
22544 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22545 if (SWIG_arg_fail(1)) SWIG_fail;
22546 {
22547 arg2 = &temp2;
22548 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22549 }
22550 {
22551 PyThreadState* __tstate = wxPyBeginAllowThreads();
22552 (arg1)->SetPaperSize((wxSize const &)*arg2);
22553
22554 wxPyEndAllowThreads(__tstate);
22555 if (PyErr_Occurred()) SWIG_fail;
22556 }
22557 Py_INCREF(Py_None); resultobj = Py_None;
22558 return resultobj;
22559 fail:
22560 return NULL;
22561 }
22562
22563
22564 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
22565 PyObject *resultobj = NULL;
22566 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22567 wxPrintData *arg2 = 0 ;
22568 PyObject * obj0 = 0 ;
22569 PyObject * obj1 = 0 ;
22570 char *kwnames[] = {
22571 (char *) "self",(char *) "printData", NULL
22572 };
22573
22574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
22575 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22576 if (SWIG_arg_fail(1)) SWIG_fail;
22577 {
22578 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
22579 if (SWIG_arg_fail(2)) SWIG_fail;
22580 if (arg2 == NULL) {
22581 SWIG_null_ref("wxPrintData");
22582 }
22583 if (SWIG_arg_fail(2)) SWIG_fail;
22584 }
22585 {
22586 PyThreadState* __tstate = wxPyBeginAllowThreads();
22587 (arg1)->SetPrintData((wxPrintData const &)*arg2);
22588
22589 wxPyEndAllowThreads(__tstate);
22590 if (PyErr_Occurred()) SWIG_fail;
22591 }
22592 Py_INCREF(Py_None); resultobj = Py_None;
22593 return resultobj;
22594 fail:
22595 return NULL;
22596 }
22597
22598
22599 static PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
22600 PyObject *resultobj = NULL;
22601 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22602 PyObject * obj0 = 0 ;
22603 char *kwnames[] = {
22604 (char *) "self", NULL
22605 };
22606
22607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_CalculateIdFromPaperSize",kwnames,&obj0)) goto fail;
22608 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22609 if (SWIG_arg_fail(1)) SWIG_fail;
22610 {
22611 PyThreadState* __tstate = wxPyBeginAllowThreads();
22612 (arg1)->CalculateIdFromPaperSize();
22613
22614 wxPyEndAllowThreads(__tstate);
22615 if (PyErr_Occurred()) SWIG_fail;
22616 }
22617 Py_INCREF(Py_None); resultobj = Py_None;
22618 return resultobj;
22619 fail:
22620 return NULL;
22621 }
22622
22623
22624 static PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *, PyObject *args, PyObject *kwargs) {
22625 PyObject *resultobj = NULL;
22626 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22627 PyObject * obj0 = 0 ;
22628 char *kwnames[] = {
22629 (char *) "self", NULL
22630 };
22631
22632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_CalculatePaperSizeFromId",kwnames,&obj0)) goto fail;
22633 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22634 if (SWIG_arg_fail(1)) SWIG_fail;
22635 {
22636 PyThreadState* __tstate = wxPyBeginAllowThreads();
22637 (arg1)->CalculatePaperSizeFromId();
22638
22639 wxPyEndAllowThreads(__tstate);
22640 if (PyErr_Occurred()) SWIG_fail;
22641 }
22642 Py_INCREF(Py_None); resultobj = Py_None;
22643 return resultobj;
22644 fail:
22645 return NULL;
22646 }
22647
22648
22649 static PyObject * PageSetupDialogData_swigregister(PyObject *, PyObject *args) {
22650 PyObject *obj;
22651 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22652 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
22653 Py_INCREF(obj);
22654 return Py_BuildValue((char *)"");
22655 }
22656 static PyObject *_wrap_new_PageSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
22657 PyObject *resultobj = NULL;
22658 wxWindow *arg1 = (wxWindow *) 0 ;
22659 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
22660 wxPageSetupDialog *result;
22661 PyObject * obj0 = 0 ;
22662 PyObject * obj1 = 0 ;
22663 char *kwnames[] = {
22664 (char *) "parent",(char *) "data", NULL
22665 };
22666
22667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
22668 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
22669 if (SWIG_arg_fail(1)) SWIG_fail;
22670 if (obj1) {
22671 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22672 if (SWIG_arg_fail(2)) SWIG_fail;
22673 }
22674 {
22675 if (!wxPyCheckForApp()) SWIG_fail;
22676 PyThreadState* __tstate = wxPyBeginAllowThreads();
22677 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
22678
22679 wxPyEndAllowThreads(__tstate);
22680 if (PyErr_Occurred()) SWIG_fail;
22681 }
22682 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
22683 return resultobj;
22684 fail:
22685 return NULL;
22686 }
22687
22688
22689 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) {
22690 PyObject *resultobj = NULL;
22691 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
22692 wxPageSetupDialogData *result;
22693 PyObject * obj0 = 0 ;
22694 char *kwnames[] = {
22695 (char *) "self", NULL
22696 };
22697
22698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
22699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
22700 if (SWIG_arg_fail(1)) SWIG_fail;
22701 {
22702 PyThreadState* __tstate = wxPyBeginAllowThreads();
22703 {
22704 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
22705 result = (wxPageSetupDialogData *) &_result_ref;
22706 }
22707
22708 wxPyEndAllowThreads(__tstate);
22709 if (PyErr_Occurred()) SWIG_fail;
22710 }
22711 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
22712 return resultobj;
22713 fail:
22714 return NULL;
22715 }
22716
22717
22718 static PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
22719 PyObject *resultobj = NULL;
22720 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
22721 wxPageSetupDialogData *result;
22722 PyObject * obj0 = 0 ;
22723 char *kwnames[] = {
22724 (char *) "self", NULL
22725 };
22726
22727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames,&obj0)) goto fail;
22728 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
22729 if (SWIG_arg_fail(1)) SWIG_fail;
22730 {
22731 PyThreadState* __tstate = wxPyBeginAllowThreads();
22732 {
22733 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
22734 result = (wxPageSetupDialogData *) &_result_ref;
22735 }
22736
22737 wxPyEndAllowThreads(__tstate);
22738 if (PyErr_Occurred()) SWIG_fail;
22739 }
22740 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
22741 return resultobj;
22742 fail:
22743 return NULL;
22744 }
22745
22746
22747 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
22748 PyObject *resultobj = NULL;
22749 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
22750 int result;
22751 PyObject * obj0 = 0 ;
22752 char *kwnames[] = {
22753 (char *) "self", NULL
22754 };
22755
22756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
22757 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
22758 if (SWIG_arg_fail(1)) SWIG_fail;
22759 {
22760 PyThreadState* __tstate = wxPyBeginAllowThreads();
22761 result = (int)(arg1)->ShowModal();
22762
22763 wxPyEndAllowThreads(__tstate);
22764 if (PyErr_Occurred()) SWIG_fail;
22765 }
22766 {
22767 resultobj = SWIG_From_int(static_cast<int >(result));
22768 }
22769 return resultobj;
22770 fail:
22771 return NULL;
22772 }
22773
22774
22775 static PyObject * PageSetupDialog_swigregister(PyObject *, PyObject *args) {
22776 PyObject *obj;
22777 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22778 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
22779 Py_INCREF(obj);
22780 return Py_BuildValue((char *)"");
22781 }
22782 static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *, PyObject *args) {
22783 PyObject *resultobj = NULL;
22784 wxPrintDialogData *result;
22785
22786 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
22787 {
22788 PyThreadState* __tstate = wxPyBeginAllowThreads();
22789 result = (wxPrintDialogData *)new wxPrintDialogData();
22790
22791 wxPyEndAllowThreads(__tstate);
22792 if (PyErr_Occurred()) SWIG_fail;
22793 }
22794 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
22795 return resultobj;
22796 fail:
22797 return NULL;
22798 }
22799
22800
22801 static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *, PyObject *args) {
22802 PyObject *resultobj = NULL;
22803 wxPrintData *arg1 = 0 ;
22804 wxPrintDialogData *result;
22805 PyObject * obj0 = 0 ;
22806
22807 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
22808 {
22809 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
22810 if (SWIG_arg_fail(1)) SWIG_fail;
22811 if (arg1 == NULL) {
22812 SWIG_null_ref("wxPrintData");
22813 }
22814 if (SWIG_arg_fail(1)) SWIG_fail;
22815 }
22816 {
22817 PyThreadState* __tstate = wxPyBeginAllowThreads();
22818 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
22819
22820 wxPyEndAllowThreads(__tstate);
22821 if (PyErr_Occurred()) SWIG_fail;
22822 }
22823 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
22824 return resultobj;
22825 fail:
22826 return NULL;
22827 }
22828
22829
22830 static PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *, PyObject *args) {
22831 PyObject *resultobj = NULL;
22832 wxPrintDialogData *arg1 = 0 ;
22833 wxPrintDialogData *result;
22834 PyObject * obj0 = 0 ;
22835
22836 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
22837 {
22838 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
22839 if (SWIG_arg_fail(1)) SWIG_fail;
22840 if (arg1 == NULL) {
22841 SWIG_null_ref("wxPrintDialogData");
22842 }
22843 if (SWIG_arg_fail(1)) SWIG_fail;
22844 }
22845 {
22846 PyThreadState* __tstate = wxPyBeginAllowThreads();
22847 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
22848
22849 wxPyEndAllowThreads(__tstate);
22850 if (PyErr_Occurred()) SWIG_fail;
22851 }
22852 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
22853 return resultobj;
22854 fail:
22855 return NULL;
22856 }
22857
22858
22859 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
22860 int argc;
22861 PyObject *argv[2];
22862 int ii;
22863
22864 argc = PyObject_Length(args);
22865 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
22866 argv[ii] = PyTuple_GetItem(args,ii);
22867 }
22868 if (argc == 0) {
22869 return _wrap_new_PrintDialogData__SWIG_0(self,args);
22870 }
22871 if (argc == 1) {
22872 int _v;
22873 {
22874 void *ptr = 0;
22875 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
22876 _v = 0;
22877 PyErr_Clear();
22878 } else {
22879 _v = (ptr != 0);
22880 }
22881 }
22882 if (_v) {
22883 return _wrap_new_PrintDialogData__SWIG_1(self,args);
22884 }
22885 }
22886 if (argc == 1) {
22887 int _v;
22888 {
22889 void *ptr = 0;
22890 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
22891 _v = 0;
22892 PyErr_Clear();
22893 } else {
22894 _v = (ptr != 0);
22895 }
22896 }
22897 if (_v) {
22898 return _wrap_new_PrintDialogData__SWIG_2(self,args);
22899 }
22900 }
22901
22902 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
22903 return NULL;
22904 }
22905
22906
22907 static PyObject *_wrap_delete_PrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
22908 PyObject *resultobj = NULL;
22909 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
22910 PyObject * obj0 = 0 ;
22911 char *kwnames[] = {
22912 (char *) "self", NULL
22913 };
22914
22915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
22916 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
22917 if (SWIG_arg_fail(1)) SWIG_fail;
22918 {
22919 PyThreadState* __tstate = wxPyBeginAllowThreads();
22920 delete arg1;
22921
22922 wxPyEndAllowThreads(__tstate);
22923 if (PyErr_Occurred()) SWIG_fail;
22924 }
22925 Py_INCREF(Py_None); resultobj = Py_None;
22926 return resultobj;
22927 fail:
22928 return NULL;
22929 }
22930
22931
22932 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
22933 PyObject *resultobj = NULL;
22934 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
22935 int result;
22936 PyObject * obj0 = 0 ;
22937 char *kwnames[] = {
22938 (char *) "self", NULL
22939 };
22940
22941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
22942 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
22943 if (SWIG_arg_fail(1)) SWIG_fail;
22944 {
22945 PyThreadState* __tstate = wxPyBeginAllowThreads();
22946 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
22947
22948 wxPyEndAllowThreads(__tstate);
22949 if (PyErr_Occurred()) SWIG_fail;
22950 }
22951 {
22952 resultobj = SWIG_From_int(static_cast<int >(result));
22953 }
22954 return resultobj;
22955 fail:
22956 return NULL;
22957 }
22958
22959
22960 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
22961 PyObject *resultobj = NULL;
22962 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
22963 int result;
22964 PyObject * obj0 = 0 ;
22965 char *kwnames[] = {
22966 (char *) "self", NULL
22967 };
22968
22969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
22970 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
22971 if (SWIG_arg_fail(1)) SWIG_fail;
22972 {
22973 PyThreadState* __tstate = wxPyBeginAllowThreads();
22974 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
22975
22976 wxPyEndAllowThreads(__tstate);
22977 if (PyErr_Occurred()) SWIG_fail;
22978 }
22979 {
22980 resultobj = SWIG_From_int(static_cast<int >(result));
22981 }
22982 return resultobj;
22983 fail:
22984 return NULL;
22985 }
22986
22987
22988 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
22989 PyObject *resultobj = NULL;
22990 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
22991 int result;
22992 PyObject * obj0 = 0 ;
22993 char *kwnames[] = {
22994 (char *) "self", NULL
22995 };
22996
22997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
22998 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
22999 if (SWIG_arg_fail(1)) SWIG_fail;
23000 {
23001 PyThreadState* __tstate = wxPyBeginAllowThreads();
23002 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
23003
23004 wxPyEndAllowThreads(__tstate);
23005 if (PyErr_Occurred()) SWIG_fail;
23006 }
23007 {
23008 resultobj = SWIG_From_int(static_cast<int >(result));
23009 }
23010 return resultobj;
23011 fail:
23012 return NULL;
23013 }
23014
23015
23016 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
23017 PyObject *resultobj = NULL;
23018 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23019 int result;
23020 PyObject * obj0 = 0 ;
23021 char *kwnames[] = {
23022 (char *) "self", NULL
23023 };
23024
23025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
23026 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23027 if (SWIG_arg_fail(1)) SWIG_fail;
23028 {
23029 PyThreadState* __tstate = wxPyBeginAllowThreads();
23030 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
23031
23032 wxPyEndAllowThreads(__tstate);
23033 if (PyErr_Occurred()) SWIG_fail;
23034 }
23035 {
23036 resultobj = SWIG_From_int(static_cast<int >(result));
23037 }
23038 return resultobj;
23039 fail:
23040 return NULL;
23041 }
23042
23043
23044 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
23045 PyObject *resultobj = NULL;
23046 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23047 int result;
23048 PyObject * obj0 = 0 ;
23049 char *kwnames[] = {
23050 (char *) "self", NULL
23051 };
23052
23053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
23054 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23055 if (SWIG_arg_fail(1)) SWIG_fail;
23056 {
23057 PyThreadState* __tstate = wxPyBeginAllowThreads();
23058 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
23059
23060 wxPyEndAllowThreads(__tstate);
23061 if (PyErr_Occurred()) SWIG_fail;
23062 }
23063 {
23064 resultobj = SWIG_From_int(static_cast<int >(result));
23065 }
23066 return resultobj;
23067 fail:
23068 return NULL;
23069 }
23070
23071
23072 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
23073 PyObject *resultobj = NULL;
23074 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23075 bool result;
23076 PyObject * obj0 = 0 ;
23077 char *kwnames[] = {
23078 (char *) "self", NULL
23079 };
23080
23081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
23082 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23083 if (SWIG_arg_fail(1)) SWIG_fail;
23084 {
23085 PyThreadState* __tstate = wxPyBeginAllowThreads();
23086 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
23087
23088 wxPyEndAllowThreads(__tstate);
23089 if (PyErr_Occurred()) SWIG_fail;
23090 }
23091 {
23092 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23093 }
23094 return resultobj;
23095 fail:
23096 return NULL;
23097 }
23098
23099
23100 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
23101 PyObject *resultobj = NULL;
23102 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23103 bool result;
23104 PyObject * obj0 = 0 ;
23105 char *kwnames[] = {
23106 (char *) "self", NULL
23107 };
23108
23109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
23110 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23111 if (SWIG_arg_fail(1)) SWIG_fail;
23112 {
23113 PyThreadState* __tstate = wxPyBeginAllowThreads();
23114 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
23115
23116 wxPyEndAllowThreads(__tstate);
23117 if (PyErr_Occurred()) SWIG_fail;
23118 }
23119 {
23120 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23121 }
23122 return resultobj;
23123 fail:
23124 return NULL;
23125 }
23126
23127
23128 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
23129 PyObject *resultobj = NULL;
23130 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23131 bool result;
23132 PyObject * obj0 = 0 ;
23133 char *kwnames[] = {
23134 (char *) "self", NULL
23135 };
23136
23137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
23138 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23139 if (SWIG_arg_fail(1)) SWIG_fail;
23140 {
23141 PyThreadState* __tstate = wxPyBeginAllowThreads();
23142 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
23143
23144 wxPyEndAllowThreads(__tstate);
23145 if (PyErr_Occurred()) SWIG_fail;
23146 }
23147 {
23148 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23149 }
23150 return resultobj;
23151 fail:
23152 return NULL;
23153 }
23154
23155
23156 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
23157 PyObject *resultobj = NULL;
23158 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23159 bool result;
23160 PyObject * obj0 = 0 ;
23161 char *kwnames[] = {
23162 (char *) "self", NULL
23163 };
23164
23165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
23166 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23167 if (SWIG_arg_fail(1)) SWIG_fail;
23168 {
23169 PyThreadState* __tstate = wxPyBeginAllowThreads();
23170 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
23171
23172 wxPyEndAllowThreads(__tstate);
23173 if (PyErr_Occurred()) SWIG_fail;
23174 }
23175 {
23176 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23177 }
23178 return resultobj;
23179 fail:
23180 return NULL;
23181 }
23182
23183
23184 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
23185 PyObject *resultobj = NULL;
23186 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23187 int arg2 ;
23188 PyObject * obj0 = 0 ;
23189 PyObject * obj1 = 0 ;
23190 char *kwnames[] = {
23191 (char *) "self",(char *) "v", NULL
23192 };
23193
23194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
23195 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23196 if (SWIG_arg_fail(1)) SWIG_fail;
23197 {
23198 arg2 = static_cast<int >(SWIG_As_int(obj1));
23199 if (SWIG_arg_fail(2)) SWIG_fail;
23200 }
23201 {
23202 PyThreadState* __tstate = wxPyBeginAllowThreads();
23203 (arg1)->SetFromPage(arg2);
23204
23205 wxPyEndAllowThreads(__tstate);
23206 if (PyErr_Occurred()) SWIG_fail;
23207 }
23208 Py_INCREF(Py_None); resultobj = Py_None;
23209 return resultobj;
23210 fail:
23211 return NULL;
23212 }
23213
23214
23215 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
23216 PyObject *resultobj = NULL;
23217 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23218 int arg2 ;
23219 PyObject * obj0 = 0 ;
23220 PyObject * obj1 = 0 ;
23221 char *kwnames[] = {
23222 (char *) "self",(char *) "v", NULL
23223 };
23224
23225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
23226 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23227 if (SWIG_arg_fail(1)) SWIG_fail;
23228 {
23229 arg2 = static_cast<int >(SWIG_As_int(obj1));
23230 if (SWIG_arg_fail(2)) SWIG_fail;
23231 }
23232 {
23233 PyThreadState* __tstate = wxPyBeginAllowThreads();
23234 (arg1)->SetToPage(arg2);
23235
23236 wxPyEndAllowThreads(__tstate);
23237 if (PyErr_Occurred()) SWIG_fail;
23238 }
23239 Py_INCREF(Py_None); resultobj = Py_None;
23240 return resultobj;
23241 fail:
23242 return NULL;
23243 }
23244
23245
23246 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
23247 PyObject *resultobj = NULL;
23248 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23249 int arg2 ;
23250 PyObject * obj0 = 0 ;
23251 PyObject * obj1 = 0 ;
23252 char *kwnames[] = {
23253 (char *) "self",(char *) "v", NULL
23254 };
23255
23256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
23257 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23258 if (SWIG_arg_fail(1)) SWIG_fail;
23259 {
23260 arg2 = static_cast<int >(SWIG_As_int(obj1));
23261 if (SWIG_arg_fail(2)) SWIG_fail;
23262 }
23263 {
23264 PyThreadState* __tstate = wxPyBeginAllowThreads();
23265 (arg1)->SetMinPage(arg2);
23266
23267 wxPyEndAllowThreads(__tstate);
23268 if (PyErr_Occurred()) SWIG_fail;
23269 }
23270 Py_INCREF(Py_None); resultobj = Py_None;
23271 return resultobj;
23272 fail:
23273 return NULL;
23274 }
23275
23276
23277 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
23278 PyObject *resultobj = NULL;
23279 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23280 int arg2 ;
23281 PyObject * obj0 = 0 ;
23282 PyObject * obj1 = 0 ;
23283 char *kwnames[] = {
23284 (char *) "self",(char *) "v", NULL
23285 };
23286
23287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
23288 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23289 if (SWIG_arg_fail(1)) SWIG_fail;
23290 {
23291 arg2 = static_cast<int >(SWIG_As_int(obj1));
23292 if (SWIG_arg_fail(2)) SWIG_fail;
23293 }
23294 {
23295 PyThreadState* __tstate = wxPyBeginAllowThreads();
23296 (arg1)->SetMaxPage(arg2);
23297
23298 wxPyEndAllowThreads(__tstate);
23299 if (PyErr_Occurred()) SWIG_fail;
23300 }
23301 Py_INCREF(Py_None); resultobj = Py_None;
23302 return resultobj;
23303 fail:
23304 return NULL;
23305 }
23306
23307
23308 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
23309 PyObject *resultobj = NULL;
23310 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23311 int arg2 ;
23312 PyObject * obj0 = 0 ;
23313 PyObject * obj1 = 0 ;
23314 char *kwnames[] = {
23315 (char *) "self",(char *) "v", NULL
23316 };
23317
23318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
23319 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23320 if (SWIG_arg_fail(1)) SWIG_fail;
23321 {
23322 arg2 = static_cast<int >(SWIG_As_int(obj1));
23323 if (SWIG_arg_fail(2)) SWIG_fail;
23324 }
23325 {
23326 PyThreadState* __tstate = wxPyBeginAllowThreads();
23327 (arg1)->SetNoCopies(arg2);
23328
23329 wxPyEndAllowThreads(__tstate);
23330 if (PyErr_Occurred()) SWIG_fail;
23331 }
23332 Py_INCREF(Py_None); resultobj = Py_None;
23333 return resultobj;
23334 fail:
23335 return NULL;
23336 }
23337
23338
23339 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
23340 PyObject *resultobj = NULL;
23341 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23342 bool arg2 ;
23343 PyObject * obj0 = 0 ;
23344 PyObject * obj1 = 0 ;
23345 char *kwnames[] = {
23346 (char *) "self",(char *) "flag", NULL
23347 };
23348
23349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
23350 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23351 if (SWIG_arg_fail(1)) SWIG_fail;
23352 {
23353 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
23354 if (SWIG_arg_fail(2)) SWIG_fail;
23355 }
23356 {
23357 PyThreadState* __tstate = wxPyBeginAllowThreads();
23358 (arg1)->SetAllPages(arg2);
23359
23360 wxPyEndAllowThreads(__tstate);
23361 if (PyErr_Occurred()) SWIG_fail;
23362 }
23363 Py_INCREF(Py_None); resultobj = Py_None;
23364 return resultobj;
23365 fail:
23366 return NULL;
23367 }
23368
23369
23370 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
23371 PyObject *resultobj = NULL;
23372 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23373 bool arg2 ;
23374 PyObject * obj0 = 0 ;
23375 PyObject * obj1 = 0 ;
23376 char *kwnames[] = {
23377 (char *) "self",(char *) "flag", NULL
23378 };
23379
23380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
23381 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23382 if (SWIG_arg_fail(1)) SWIG_fail;
23383 {
23384 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
23385 if (SWIG_arg_fail(2)) SWIG_fail;
23386 }
23387 {
23388 PyThreadState* __tstate = wxPyBeginAllowThreads();
23389 (arg1)->SetSelection(arg2);
23390
23391 wxPyEndAllowThreads(__tstate);
23392 if (PyErr_Occurred()) SWIG_fail;
23393 }
23394 Py_INCREF(Py_None); resultobj = Py_None;
23395 return resultobj;
23396 fail:
23397 return NULL;
23398 }
23399
23400
23401 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
23402 PyObject *resultobj = NULL;
23403 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23404 bool arg2 ;
23405 PyObject * obj0 = 0 ;
23406 PyObject * obj1 = 0 ;
23407 char *kwnames[] = {
23408 (char *) "self",(char *) "flag", NULL
23409 };
23410
23411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
23412 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23413 if (SWIG_arg_fail(1)) SWIG_fail;
23414 {
23415 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
23416 if (SWIG_arg_fail(2)) SWIG_fail;
23417 }
23418 {
23419 PyThreadState* __tstate = wxPyBeginAllowThreads();
23420 (arg1)->SetCollate(arg2);
23421
23422 wxPyEndAllowThreads(__tstate);
23423 if (PyErr_Occurred()) SWIG_fail;
23424 }
23425 Py_INCREF(Py_None); resultobj = Py_None;
23426 return resultobj;
23427 fail:
23428 return NULL;
23429 }
23430
23431
23432 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
23433 PyObject *resultobj = NULL;
23434 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23435 bool arg2 ;
23436 PyObject * obj0 = 0 ;
23437 PyObject * obj1 = 0 ;
23438 char *kwnames[] = {
23439 (char *) "self",(char *) "flag", NULL
23440 };
23441
23442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
23443 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23444 if (SWIG_arg_fail(1)) SWIG_fail;
23445 {
23446 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
23447 if (SWIG_arg_fail(2)) SWIG_fail;
23448 }
23449 {
23450 PyThreadState* __tstate = wxPyBeginAllowThreads();
23451 (arg1)->SetPrintToFile(arg2);
23452
23453 wxPyEndAllowThreads(__tstate);
23454 if (PyErr_Occurred()) SWIG_fail;
23455 }
23456 Py_INCREF(Py_None); resultobj = Py_None;
23457 return resultobj;
23458 fail:
23459 return NULL;
23460 }
23461
23462
23463 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
23464 PyObject *resultobj = NULL;
23465 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23466 bool arg2 ;
23467 PyObject * obj0 = 0 ;
23468 PyObject * obj1 = 0 ;
23469 char *kwnames[] = {
23470 (char *) "self",(char *) "flag", NULL
23471 };
23472
23473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
23474 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23475 if (SWIG_arg_fail(1)) SWIG_fail;
23476 {
23477 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
23478 if (SWIG_arg_fail(2)) SWIG_fail;
23479 }
23480 {
23481 PyThreadState* __tstate = wxPyBeginAllowThreads();
23482 (arg1)->EnablePrintToFile(arg2);
23483
23484 wxPyEndAllowThreads(__tstate);
23485 if (PyErr_Occurred()) SWIG_fail;
23486 }
23487 Py_INCREF(Py_None); resultobj = Py_None;
23488 return resultobj;
23489 fail:
23490 return NULL;
23491 }
23492
23493
23494 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
23495 PyObject *resultobj = NULL;
23496 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23497 bool arg2 ;
23498 PyObject * obj0 = 0 ;
23499 PyObject * obj1 = 0 ;
23500 char *kwnames[] = {
23501 (char *) "self",(char *) "flag", NULL
23502 };
23503
23504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
23505 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23506 if (SWIG_arg_fail(1)) SWIG_fail;
23507 {
23508 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
23509 if (SWIG_arg_fail(2)) SWIG_fail;
23510 }
23511 {
23512 PyThreadState* __tstate = wxPyBeginAllowThreads();
23513 (arg1)->EnableSelection(arg2);
23514
23515 wxPyEndAllowThreads(__tstate);
23516 if (PyErr_Occurred()) SWIG_fail;
23517 }
23518 Py_INCREF(Py_None); resultobj = Py_None;
23519 return resultobj;
23520 fail:
23521 return NULL;
23522 }
23523
23524
23525 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
23526 PyObject *resultobj = NULL;
23527 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23528 bool arg2 ;
23529 PyObject * obj0 = 0 ;
23530 PyObject * obj1 = 0 ;
23531 char *kwnames[] = {
23532 (char *) "self",(char *) "flag", NULL
23533 };
23534
23535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
23536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23537 if (SWIG_arg_fail(1)) SWIG_fail;
23538 {
23539 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
23540 if (SWIG_arg_fail(2)) SWIG_fail;
23541 }
23542 {
23543 PyThreadState* __tstate = wxPyBeginAllowThreads();
23544 (arg1)->EnablePageNumbers(arg2);
23545
23546 wxPyEndAllowThreads(__tstate);
23547 if (PyErr_Occurred()) SWIG_fail;
23548 }
23549 Py_INCREF(Py_None); resultobj = Py_None;
23550 return resultobj;
23551 fail:
23552 return NULL;
23553 }
23554
23555
23556 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
23557 PyObject *resultobj = NULL;
23558 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23559 bool arg2 ;
23560 PyObject * obj0 = 0 ;
23561 PyObject * obj1 = 0 ;
23562 char *kwnames[] = {
23563 (char *) "self",(char *) "flag", NULL
23564 };
23565
23566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
23567 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23568 if (SWIG_arg_fail(1)) SWIG_fail;
23569 {
23570 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
23571 if (SWIG_arg_fail(2)) SWIG_fail;
23572 }
23573 {
23574 PyThreadState* __tstate = wxPyBeginAllowThreads();
23575 (arg1)->EnableHelp(arg2);
23576
23577 wxPyEndAllowThreads(__tstate);
23578 if (PyErr_Occurred()) SWIG_fail;
23579 }
23580 Py_INCREF(Py_None); resultobj = Py_None;
23581 return resultobj;
23582 fail:
23583 return NULL;
23584 }
23585
23586
23587 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
23588 PyObject *resultobj = NULL;
23589 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23590 bool result;
23591 PyObject * obj0 = 0 ;
23592 char *kwnames[] = {
23593 (char *) "self", NULL
23594 };
23595
23596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
23597 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23598 if (SWIG_arg_fail(1)) SWIG_fail;
23599 {
23600 PyThreadState* __tstate = wxPyBeginAllowThreads();
23601 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
23602
23603 wxPyEndAllowThreads(__tstate);
23604 if (PyErr_Occurred()) SWIG_fail;
23605 }
23606 {
23607 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23608 }
23609 return resultobj;
23610 fail:
23611 return NULL;
23612 }
23613
23614
23615 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
23616 PyObject *resultobj = NULL;
23617 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23618 bool result;
23619 PyObject * obj0 = 0 ;
23620 char *kwnames[] = {
23621 (char *) "self", NULL
23622 };
23623
23624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
23625 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23626 if (SWIG_arg_fail(1)) SWIG_fail;
23627 {
23628 PyThreadState* __tstate = wxPyBeginAllowThreads();
23629 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
23630
23631 wxPyEndAllowThreads(__tstate);
23632 if (PyErr_Occurred()) SWIG_fail;
23633 }
23634 {
23635 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23636 }
23637 return resultobj;
23638 fail:
23639 return NULL;
23640 }
23641
23642
23643 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
23644 PyObject *resultobj = NULL;
23645 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23646 bool result;
23647 PyObject * obj0 = 0 ;
23648 char *kwnames[] = {
23649 (char *) "self", NULL
23650 };
23651
23652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
23653 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23654 if (SWIG_arg_fail(1)) SWIG_fail;
23655 {
23656 PyThreadState* __tstate = wxPyBeginAllowThreads();
23657 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
23658
23659 wxPyEndAllowThreads(__tstate);
23660 if (PyErr_Occurred()) SWIG_fail;
23661 }
23662 {
23663 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23664 }
23665 return resultobj;
23666 fail:
23667 return NULL;
23668 }
23669
23670
23671 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
23672 PyObject *resultobj = NULL;
23673 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23674 bool result;
23675 PyObject * obj0 = 0 ;
23676 char *kwnames[] = {
23677 (char *) "self", NULL
23678 };
23679
23680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
23681 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23682 if (SWIG_arg_fail(1)) SWIG_fail;
23683 {
23684 PyThreadState* __tstate = wxPyBeginAllowThreads();
23685 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
23686
23687 wxPyEndAllowThreads(__tstate);
23688 if (PyErr_Occurred()) SWIG_fail;
23689 }
23690 {
23691 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23692 }
23693 return resultobj;
23694 fail:
23695 return NULL;
23696 }
23697
23698
23699 static PyObject *_wrap_PrintDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
23700 PyObject *resultobj = NULL;
23701 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23702 bool result;
23703 PyObject * obj0 = 0 ;
23704 char *kwnames[] = {
23705 (char *) "self", NULL
23706 };
23707
23708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
23709 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23710 if (SWIG_arg_fail(1)) SWIG_fail;
23711 {
23712 PyThreadState* __tstate = wxPyBeginAllowThreads();
23713 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
23714
23715 wxPyEndAllowThreads(__tstate);
23716 if (PyErr_Occurred()) SWIG_fail;
23717 }
23718 {
23719 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23720 }
23721 return resultobj;
23722 fail:
23723 return NULL;
23724 }
23725
23726
23727 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
23728 PyObject *resultobj = NULL;
23729 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23730 wxPrintData *result;
23731 PyObject * obj0 = 0 ;
23732 char *kwnames[] = {
23733 (char *) "self", NULL
23734 };
23735
23736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
23737 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23738 if (SWIG_arg_fail(1)) SWIG_fail;
23739 {
23740 PyThreadState* __tstate = wxPyBeginAllowThreads();
23741 {
23742 wxPrintData &_result_ref = (arg1)->GetPrintData();
23743 result = (wxPrintData *) &_result_ref;
23744 }
23745
23746 wxPyEndAllowThreads(__tstate);
23747 if (PyErr_Occurred()) SWIG_fail;
23748 }
23749 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
23750 return resultobj;
23751 fail:
23752 return NULL;
23753 }
23754
23755
23756 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
23757 PyObject *resultobj = NULL;
23758 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23759 wxPrintData *arg2 = 0 ;
23760 PyObject * obj0 = 0 ;
23761 PyObject * obj1 = 0 ;
23762 char *kwnames[] = {
23763 (char *) "self",(char *) "printData", NULL
23764 };
23765
23766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
23767 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23768 if (SWIG_arg_fail(1)) SWIG_fail;
23769 {
23770 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
23771 if (SWIG_arg_fail(2)) SWIG_fail;
23772 if (arg2 == NULL) {
23773 SWIG_null_ref("wxPrintData");
23774 }
23775 if (SWIG_arg_fail(2)) SWIG_fail;
23776 }
23777 {
23778 PyThreadState* __tstate = wxPyBeginAllowThreads();
23779 (arg1)->SetPrintData((wxPrintData const &)*arg2);
23780
23781 wxPyEndAllowThreads(__tstate);
23782 if (PyErr_Occurred()) SWIG_fail;
23783 }
23784 Py_INCREF(Py_None); resultobj = Py_None;
23785 return resultobj;
23786 fail:
23787 return NULL;
23788 }
23789
23790
23791 static PyObject * PrintDialogData_swigregister(PyObject *, PyObject *args) {
23792 PyObject *obj;
23793 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23794 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
23795 Py_INCREF(obj);
23796 return Py_BuildValue((char *)"");
23797 }
23798 static PyObject *_wrap_new_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
23799 PyObject *resultobj = NULL;
23800 wxWindow *arg1 = (wxWindow *) 0 ;
23801 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
23802 wxPrintDialog *result;
23803 PyObject * obj0 = 0 ;
23804 PyObject * obj1 = 0 ;
23805 char *kwnames[] = {
23806 (char *) "parent",(char *) "data", NULL
23807 };
23808
23809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
23810 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23811 if (SWIG_arg_fail(1)) SWIG_fail;
23812 if (obj1) {
23813 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23814 if (SWIG_arg_fail(2)) SWIG_fail;
23815 }
23816 {
23817 if (!wxPyCheckForApp()) SWIG_fail;
23818 PyThreadState* __tstate = wxPyBeginAllowThreads();
23819 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
23820
23821 wxPyEndAllowThreads(__tstate);
23822 if (PyErr_Occurred()) SWIG_fail;
23823 }
23824 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
23825 return resultobj;
23826 fail:
23827 return NULL;
23828 }
23829
23830
23831 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
23832 PyObject *resultobj = NULL;
23833 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
23834 int result;
23835 PyObject * obj0 = 0 ;
23836 char *kwnames[] = {
23837 (char *) "self", NULL
23838 };
23839
23840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
23841 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
23842 if (SWIG_arg_fail(1)) SWIG_fail;
23843 {
23844 PyThreadState* __tstate = wxPyBeginAllowThreads();
23845 result = (int)(arg1)->ShowModal();
23846
23847 wxPyEndAllowThreads(__tstate);
23848 if (PyErr_Occurred()) SWIG_fail;
23849 }
23850 {
23851 resultobj = SWIG_From_int(static_cast<int >(result));
23852 }
23853 return resultobj;
23854 fail:
23855 return NULL;
23856 }
23857
23858
23859 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
23860 PyObject *resultobj = NULL;
23861 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
23862 wxPrintDialogData *result;
23863 PyObject * obj0 = 0 ;
23864 char *kwnames[] = {
23865 (char *) "self", NULL
23866 };
23867
23868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
23869 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
23870 if (SWIG_arg_fail(1)) SWIG_fail;
23871 {
23872 PyThreadState* __tstate = wxPyBeginAllowThreads();
23873 {
23874 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
23875 result = (wxPrintDialogData *) &_result_ref;
23876 }
23877
23878 wxPyEndAllowThreads(__tstate);
23879 if (PyErr_Occurred()) SWIG_fail;
23880 }
23881 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
23882 return resultobj;
23883 fail:
23884 return NULL;
23885 }
23886
23887
23888 static PyObject *_wrap_PrintDialog_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
23889 PyObject *resultobj = NULL;
23890 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
23891 wxPrintData *result;
23892 PyObject * obj0 = 0 ;
23893 char *kwnames[] = {
23894 (char *) "self", NULL
23895 };
23896
23897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintData",kwnames,&obj0)) goto fail;
23898 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
23899 if (SWIG_arg_fail(1)) SWIG_fail;
23900 {
23901 PyThreadState* __tstate = wxPyBeginAllowThreads();
23902 {
23903 wxPrintData &_result_ref = (arg1)->GetPrintData();
23904 result = (wxPrintData *) &_result_ref;
23905 }
23906
23907 wxPyEndAllowThreads(__tstate);
23908 if (PyErr_Occurred()) SWIG_fail;
23909 }
23910 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
23911 return resultobj;
23912 fail:
23913 return NULL;
23914 }
23915
23916
23917 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *, PyObject *args, PyObject *kwargs) {
23918 PyObject *resultobj = NULL;
23919 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
23920 wxDC *result;
23921 PyObject * obj0 = 0 ;
23922 char *kwnames[] = {
23923 (char *) "self", NULL
23924 };
23925
23926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
23927 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
23928 if (SWIG_arg_fail(1)) SWIG_fail;
23929 {
23930 PyThreadState* __tstate = wxPyBeginAllowThreads();
23931 result = (wxDC *)(arg1)->GetPrintDC();
23932
23933 wxPyEndAllowThreads(__tstate);
23934 if (PyErr_Occurred()) SWIG_fail;
23935 }
23936 {
23937 resultobj = wxPyMake_wxObject(result, (bool)1);
23938 }
23939 return resultobj;
23940 fail:
23941 return NULL;
23942 }
23943
23944
23945 static PyObject * PrintDialog_swigregister(PyObject *, PyObject *args) {
23946 PyObject *obj;
23947 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23948 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
23949 Py_INCREF(obj);
23950 return Py_BuildValue((char *)"");
23951 }
23952 static PyObject *_wrap_new_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
23953 PyObject *resultobj = NULL;
23954 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
23955 wxPrinter *result;
23956 PyObject * obj0 = 0 ;
23957 char *kwnames[] = {
23958 (char *) "data", NULL
23959 };
23960
23961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
23962 if (obj0) {
23963 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23964 if (SWIG_arg_fail(1)) SWIG_fail;
23965 }
23966 {
23967 if (!wxPyCheckForApp()) SWIG_fail;
23968 PyThreadState* __tstate = wxPyBeginAllowThreads();
23969 result = (wxPrinter *)new wxPrinter(arg1);
23970
23971 wxPyEndAllowThreads(__tstate);
23972 if (PyErr_Occurred()) SWIG_fail;
23973 }
23974 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
23975 return resultobj;
23976 fail:
23977 return NULL;
23978 }
23979
23980
23981 static PyObject *_wrap_delete_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
23982 PyObject *resultobj = NULL;
23983 wxPrinter *arg1 = (wxPrinter *) 0 ;
23984 PyObject * obj0 = 0 ;
23985 char *kwnames[] = {
23986 (char *) "self", NULL
23987 };
23988
23989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
23990 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
23991 if (SWIG_arg_fail(1)) SWIG_fail;
23992 {
23993 PyThreadState* __tstate = wxPyBeginAllowThreads();
23994 delete arg1;
23995
23996 wxPyEndAllowThreads(__tstate);
23997 if (PyErr_Occurred()) SWIG_fail;
23998 }
23999 Py_INCREF(Py_None); resultobj = Py_None;
24000 return resultobj;
24001 fail:
24002 return NULL;
24003 }
24004
24005
24006 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *, PyObject *args, PyObject *kwargs) {
24007 PyObject *resultobj = NULL;
24008 wxPrinter *arg1 = (wxPrinter *) 0 ;
24009 wxWindow *arg2 = (wxWindow *) 0 ;
24010 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
24011 wxWindow *result;
24012 PyObject * obj0 = 0 ;
24013 PyObject * obj1 = 0 ;
24014 PyObject * obj2 = 0 ;
24015 char *kwnames[] = {
24016 (char *) "self",(char *) "parent",(char *) "printout", NULL
24017 };
24018
24019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
24020 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24021 if (SWIG_arg_fail(1)) SWIG_fail;
24022 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24023 if (SWIG_arg_fail(2)) SWIG_fail;
24024 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24025 if (SWIG_arg_fail(3)) SWIG_fail;
24026 {
24027 PyThreadState* __tstate = wxPyBeginAllowThreads();
24028 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
24029
24030 wxPyEndAllowThreads(__tstate);
24031 if (PyErr_Occurred()) SWIG_fail;
24032 }
24033 {
24034 resultobj = wxPyMake_wxObject(result, 0);
24035 }
24036 return resultobj;
24037 fail:
24038 return NULL;
24039 }
24040
24041
24042 static PyObject *_wrap_Printer_ReportError(PyObject *, PyObject *args, PyObject *kwargs) {
24043 PyObject *resultobj = NULL;
24044 wxPrinter *arg1 = (wxPrinter *) 0 ;
24045 wxWindow *arg2 = (wxWindow *) 0 ;
24046 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
24047 wxString *arg4 = 0 ;
24048 bool temp4 = false ;
24049 PyObject * obj0 = 0 ;
24050 PyObject * obj1 = 0 ;
24051 PyObject * obj2 = 0 ;
24052 PyObject * obj3 = 0 ;
24053 char *kwnames[] = {
24054 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
24055 };
24056
24057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24059 if (SWIG_arg_fail(1)) SWIG_fail;
24060 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24061 if (SWIG_arg_fail(2)) SWIG_fail;
24062 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24063 if (SWIG_arg_fail(3)) SWIG_fail;
24064 {
24065 arg4 = wxString_in_helper(obj3);
24066 if (arg4 == NULL) SWIG_fail;
24067 temp4 = true;
24068 }
24069 {
24070 PyThreadState* __tstate = wxPyBeginAllowThreads();
24071 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
24072
24073 wxPyEndAllowThreads(__tstate);
24074 if (PyErr_Occurred()) SWIG_fail;
24075 }
24076 Py_INCREF(Py_None); resultobj = Py_None;
24077 {
24078 if (temp4)
24079 delete arg4;
24080 }
24081 return resultobj;
24082 fail:
24083 {
24084 if (temp4)
24085 delete arg4;
24086 }
24087 return NULL;
24088 }
24089
24090
24091 static PyObject *_wrap_Printer_Setup(PyObject *, PyObject *args, PyObject *kwargs) {
24092 PyObject *resultobj = NULL;
24093 wxPrinter *arg1 = (wxPrinter *) 0 ;
24094 wxWindow *arg2 = (wxWindow *) 0 ;
24095 bool result;
24096 PyObject * obj0 = 0 ;
24097 PyObject * obj1 = 0 ;
24098 char *kwnames[] = {
24099 (char *) "self",(char *) "parent", NULL
24100 };
24101
24102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
24103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24104 if (SWIG_arg_fail(1)) SWIG_fail;
24105 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24106 if (SWIG_arg_fail(2)) SWIG_fail;
24107 {
24108 PyThreadState* __tstate = wxPyBeginAllowThreads();
24109 result = (bool)(arg1)->Setup(arg2);
24110
24111 wxPyEndAllowThreads(__tstate);
24112 if (PyErr_Occurred()) SWIG_fail;
24113 }
24114 {
24115 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24116 }
24117 return resultobj;
24118 fail:
24119 return NULL;
24120 }
24121
24122
24123 static PyObject *_wrap_Printer_Print(PyObject *, PyObject *args, PyObject *kwargs) {
24124 PyObject *resultobj = NULL;
24125 wxPrinter *arg1 = (wxPrinter *) 0 ;
24126 wxWindow *arg2 = (wxWindow *) 0 ;
24127 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
24128 bool arg4 = (bool) true ;
24129 bool result;
24130 PyObject * obj0 = 0 ;
24131 PyObject * obj1 = 0 ;
24132 PyObject * obj2 = 0 ;
24133 PyObject * obj3 = 0 ;
24134 char *kwnames[] = {
24135 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
24136 };
24137
24138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24139 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24140 if (SWIG_arg_fail(1)) SWIG_fail;
24141 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24142 if (SWIG_arg_fail(2)) SWIG_fail;
24143 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24144 if (SWIG_arg_fail(3)) SWIG_fail;
24145 if (obj3) {
24146 {
24147 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
24148 if (SWIG_arg_fail(4)) SWIG_fail;
24149 }
24150 }
24151 {
24152 PyThreadState* __tstate = wxPyBeginAllowThreads();
24153 result = (bool)(arg1)->Print(arg2,arg3,arg4);
24154
24155 wxPyEndAllowThreads(__tstate);
24156 if (PyErr_Occurred()) SWIG_fail;
24157 }
24158 {
24159 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24160 }
24161 return resultobj;
24162 fail:
24163 return NULL;
24164 }
24165
24166
24167 static PyObject *_wrap_Printer_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
24168 PyObject *resultobj = NULL;
24169 wxPrinter *arg1 = (wxPrinter *) 0 ;
24170 wxWindow *arg2 = (wxWindow *) 0 ;
24171 wxDC *result;
24172 PyObject * obj0 = 0 ;
24173 PyObject * obj1 = 0 ;
24174 char *kwnames[] = {
24175 (char *) "self",(char *) "parent", NULL
24176 };
24177
24178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
24179 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24180 if (SWIG_arg_fail(1)) SWIG_fail;
24181 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24182 if (SWIG_arg_fail(2)) SWIG_fail;
24183 {
24184 PyThreadState* __tstate = wxPyBeginAllowThreads();
24185 result = (wxDC *)(arg1)->PrintDialog(arg2);
24186
24187 wxPyEndAllowThreads(__tstate);
24188 if (PyErr_Occurred()) SWIG_fail;
24189 }
24190 {
24191 resultobj = wxPyMake_wxObject(result, (bool)0);
24192 }
24193 return resultobj;
24194 fail:
24195 return NULL;
24196 }
24197
24198
24199 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
24200 PyObject *resultobj = NULL;
24201 wxPrinter *arg1 = (wxPrinter *) 0 ;
24202 wxPrintDialogData *result;
24203 PyObject * obj0 = 0 ;
24204 char *kwnames[] = {
24205 (char *) "self", NULL
24206 };
24207
24208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
24209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24210 if (SWIG_arg_fail(1)) SWIG_fail;
24211 {
24212 PyThreadState* __tstate = wxPyBeginAllowThreads();
24213 {
24214 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
24215 result = (wxPrintDialogData *) &_result_ref;
24216 }
24217
24218 wxPyEndAllowThreads(__tstate);
24219 if (PyErr_Occurred()) SWIG_fail;
24220 }
24221 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
24222 return resultobj;
24223 fail:
24224 return NULL;
24225 }
24226
24227
24228 static PyObject *_wrap_Printer_GetAbort(PyObject *, PyObject *args, PyObject *kwargs) {
24229 PyObject *resultobj = NULL;
24230 wxPrinter *arg1 = (wxPrinter *) 0 ;
24231 bool result;
24232 PyObject * obj0 = 0 ;
24233 char *kwnames[] = {
24234 (char *) "self", NULL
24235 };
24236
24237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
24238 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24239 if (SWIG_arg_fail(1)) SWIG_fail;
24240 {
24241 PyThreadState* __tstate = wxPyBeginAllowThreads();
24242 result = (bool)(arg1)->GetAbort();
24243
24244 wxPyEndAllowThreads(__tstate);
24245 if (PyErr_Occurred()) SWIG_fail;
24246 }
24247 {
24248 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24249 }
24250 return resultobj;
24251 fail:
24252 return NULL;
24253 }
24254
24255
24256 static PyObject *_wrap_Printer_GetLastError(PyObject *, PyObject *args, PyObject *kwargs) {
24257 PyObject *resultobj = NULL;
24258 wxPrinterError result;
24259 char *kwnames[] = {
24260 NULL
24261 };
24262
24263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
24264 {
24265 PyThreadState* __tstate = wxPyBeginAllowThreads();
24266 result = (wxPrinterError)wxPrinter::GetLastError();
24267
24268 wxPyEndAllowThreads(__tstate);
24269 if (PyErr_Occurred()) SWIG_fail;
24270 }
24271 resultobj = SWIG_From_int((result));
24272 return resultobj;
24273 fail:
24274 return NULL;
24275 }
24276
24277
24278 static PyObject * Printer_swigregister(PyObject *, PyObject *args) {
24279 PyObject *obj;
24280 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24281 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
24282 Py_INCREF(obj);
24283 return Py_BuildValue((char *)"");
24284 }
24285 static PyObject *_wrap_new_Printout(PyObject *, PyObject *args, PyObject *kwargs) {
24286 PyObject *resultobj = NULL;
24287 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
24288 wxString *arg1 = (wxString *) &arg1_defvalue ;
24289 wxPyPrintout *result;
24290 bool temp1 = false ;
24291 PyObject * obj0 = 0 ;
24292 char *kwnames[] = {
24293 (char *) "title", NULL
24294 };
24295
24296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
24297 if (obj0) {
24298 {
24299 arg1 = wxString_in_helper(obj0);
24300 if (arg1 == NULL) SWIG_fail;
24301 temp1 = true;
24302 }
24303 }
24304 {
24305 if (!wxPyCheckForApp()) SWIG_fail;
24306 PyThreadState* __tstate = wxPyBeginAllowThreads();
24307 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
24308
24309 wxPyEndAllowThreads(__tstate);
24310 if (PyErr_Occurred()) SWIG_fail;
24311 }
24312 {
24313 resultobj = wxPyMake_wxObject(result, (bool)1);
24314 }
24315 {
24316 if (temp1)
24317 delete arg1;
24318 }
24319 return resultobj;
24320 fail:
24321 {
24322 if (temp1)
24323 delete arg1;
24324 }
24325 return NULL;
24326 }
24327
24328
24329 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
24330 PyObject *resultobj = NULL;
24331 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24332 PyObject *arg2 = (PyObject *) 0 ;
24333 PyObject *arg3 = (PyObject *) 0 ;
24334 PyObject * obj0 = 0 ;
24335 PyObject * obj1 = 0 ;
24336 PyObject * obj2 = 0 ;
24337 char *kwnames[] = {
24338 (char *) "self",(char *) "self",(char *) "_class", NULL
24339 };
24340
24341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24343 if (SWIG_arg_fail(1)) SWIG_fail;
24344 arg2 = obj1;
24345 arg3 = obj2;
24346 {
24347 PyThreadState* __tstate = wxPyBeginAllowThreads();
24348 (arg1)->_setCallbackInfo(arg2,arg3);
24349
24350 wxPyEndAllowThreads(__tstate);
24351 if (PyErr_Occurred()) SWIG_fail;
24352 }
24353 Py_INCREF(Py_None); resultobj = Py_None;
24354 return resultobj;
24355 fail:
24356 return NULL;
24357 }
24358
24359
24360 static PyObject *_wrap_Printout_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
24361 PyObject *resultobj = NULL;
24362 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24363 wxString result;
24364 PyObject * obj0 = 0 ;
24365 char *kwnames[] = {
24366 (char *) "self", NULL
24367 };
24368
24369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
24370 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24371 if (SWIG_arg_fail(1)) SWIG_fail;
24372 {
24373 PyThreadState* __tstate = wxPyBeginAllowThreads();
24374 result = ((wxPyPrintout const *)arg1)->GetTitle();
24375
24376 wxPyEndAllowThreads(__tstate);
24377 if (PyErr_Occurred()) SWIG_fail;
24378 }
24379 {
24380 #if wxUSE_UNICODE
24381 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24382 #else
24383 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24384 #endif
24385 }
24386 return resultobj;
24387 fail:
24388 return NULL;
24389 }
24390
24391
24392 static PyObject *_wrap_Printout_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
24393 PyObject *resultobj = NULL;
24394 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24395 wxDC *result;
24396 PyObject * obj0 = 0 ;
24397 char *kwnames[] = {
24398 (char *) "self", NULL
24399 };
24400
24401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
24402 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24403 if (SWIG_arg_fail(1)) SWIG_fail;
24404 {
24405 PyThreadState* __tstate = wxPyBeginAllowThreads();
24406 result = (wxDC *)(arg1)->GetDC();
24407
24408 wxPyEndAllowThreads(__tstate);
24409 if (PyErr_Occurred()) SWIG_fail;
24410 }
24411 {
24412 resultobj = wxPyMake_wxObject(result, (bool)0);
24413 }
24414 return resultobj;
24415 fail:
24416 return NULL;
24417 }
24418
24419
24420 static PyObject *_wrap_Printout_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
24421 PyObject *resultobj = NULL;
24422 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24423 wxDC *arg2 = (wxDC *) 0 ;
24424 PyObject * obj0 = 0 ;
24425 PyObject * obj1 = 0 ;
24426 char *kwnames[] = {
24427 (char *) "self",(char *) "dc", NULL
24428 };
24429
24430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
24431 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24432 if (SWIG_arg_fail(1)) SWIG_fail;
24433 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
24434 if (SWIG_arg_fail(2)) SWIG_fail;
24435 {
24436 PyThreadState* __tstate = wxPyBeginAllowThreads();
24437 (arg1)->SetDC(arg2);
24438
24439 wxPyEndAllowThreads(__tstate);
24440 if (PyErr_Occurred()) SWIG_fail;
24441 }
24442 Py_INCREF(Py_None); resultobj = Py_None;
24443 return resultobj;
24444 fail:
24445 return NULL;
24446 }
24447
24448
24449 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
24450 PyObject *resultobj = NULL;
24451 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24452 int arg2 ;
24453 int arg3 ;
24454 PyObject * obj0 = 0 ;
24455 PyObject * obj1 = 0 ;
24456 PyObject * obj2 = 0 ;
24457 char *kwnames[] = {
24458 (char *) "self",(char *) "w",(char *) "h", NULL
24459 };
24460
24461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
24462 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24463 if (SWIG_arg_fail(1)) SWIG_fail;
24464 {
24465 arg2 = static_cast<int >(SWIG_As_int(obj1));
24466 if (SWIG_arg_fail(2)) SWIG_fail;
24467 }
24468 {
24469 arg3 = static_cast<int >(SWIG_As_int(obj2));
24470 if (SWIG_arg_fail(3)) SWIG_fail;
24471 }
24472 {
24473 PyThreadState* __tstate = wxPyBeginAllowThreads();
24474 (arg1)->SetPageSizePixels(arg2,arg3);
24475
24476 wxPyEndAllowThreads(__tstate);
24477 if (PyErr_Occurred()) SWIG_fail;
24478 }
24479 Py_INCREF(Py_None); resultobj = Py_None;
24480 return resultobj;
24481 fail:
24482 return NULL;
24483 }
24484
24485
24486 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
24487 PyObject *resultobj = NULL;
24488 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24489 int *arg2 = (int *) 0 ;
24490 int *arg3 = (int *) 0 ;
24491 int temp2 ;
24492 int res2 = 0 ;
24493 int temp3 ;
24494 int res3 = 0 ;
24495 PyObject * obj0 = 0 ;
24496 char *kwnames[] = {
24497 (char *) "self", NULL
24498 };
24499
24500 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24501 arg3 = &temp3; res3 = SWIG_NEWOBJ;
24502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
24503 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24504 if (SWIG_arg_fail(1)) SWIG_fail;
24505 {
24506 PyThreadState* __tstate = wxPyBeginAllowThreads();
24507 (arg1)->GetPageSizePixels(arg2,arg3);
24508
24509 wxPyEndAllowThreads(__tstate);
24510 if (PyErr_Occurred()) SWIG_fail;
24511 }
24512 Py_INCREF(Py_None); resultobj = Py_None;
24513 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24514 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24515 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24516 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
24517 return resultobj;
24518 fail:
24519 return NULL;
24520 }
24521
24522
24523 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
24524 PyObject *resultobj = NULL;
24525 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24526 int arg2 ;
24527 int arg3 ;
24528 PyObject * obj0 = 0 ;
24529 PyObject * obj1 = 0 ;
24530 PyObject * obj2 = 0 ;
24531 char *kwnames[] = {
24532 (char *) "self",(char *) "w",(char *) "h", NULL
24533 };
24534
24535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
24536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24537 if (SWIG_arg_fail(1)) SWIG_fail;
24538 {
24539 arg2 = static_cast<int >(SWIG_As_int(obj1));
24540 if (SWIG_arg_fail(2)) SWIG_fail;
24541 }
24542 {
24543 arg3 = static_cast<int >(SWIG_As_int(obj2));
24544 if (SWIG_arg_fail(3)) SWIG_fail;
24545 }
24546 {
24547 PyThreadState* __tstate = wxPyBeginAllowThreads();
24548 (arg1)->SetPageSizeMM(arg2,arg3);
24549
24550 wxPyEndAllowThreads(__tstate);
24551 if (PyErr_Occurred()) SWIG_fail;
24552 }
24553 Py_INCREF(Py_None); resultobj = Py_None;
24554 return resultobj;
24555 fail:
24556 return NULL;
24557 }
24558
24559
24560 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
24561 PyObject *resultobj = NULL;
24562 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24563 int *arg2 = (int *) 0 ;
24564 int *arg3 = (int *) 0 ;
24565 int temp2 ;
24566 int res2 = 0 ;
24567 int temp3 ;
24568 int res3 = 0 ;
24569 PyObject * obj0 = 0 ;
24570 char *kwnames[] = {
24571 (char *) "self", NULL
24572 };
24573
24574 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24575 arg3 = &temp3; res3 = SWIG_NEWOBJ;
24576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
24577 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24578 if (SWIG_arg_fail(1)) SWIG_fail;
24579 {
24580 PyThreadState* __tstate = wxPyBeginAllowThreads();
24581 (arg1)->GetPageSizeMM(arg2,arg3);
24582
24583 wxPyEndAllowThreads(__tstate);
24584 if (PyErr_Occurred()) SWIG_fail;
24585 }
24586 Py_INCREF(Py_None); resultobj = Py_None;
24587 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24588 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24589 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24590 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
24591 return resultobj;
24592 fail:
24593 return NULL;
24594 }
24595
24596
24597 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
24598 PyObject *resultobj = NULL;
24599 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24600 int arg2 ;
24601 int arg3 ;
24602 PyObject * obj0 = 0 ;
24603 PyObject * obj1 = 0 ;
24604 PyObject * obj2 = 0 ;
24605 char *kwnames[] = {
24606 (char *) "self",(char *) "x",(char *) "y", NULL
24607 };
24608
24609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
24610 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24611 if (SWIG_arg_fail(1)) SWIG_fail;
24612 {
24613 arg2 = static_cast<int >(SWIG_As_int(obj1));
24614 if (SWIG_arg_fail(2)) SWIG_fail;
24615 }
24616 {
24617 arg3 = static_cast<int >(SWIG_As_int(obj2));
24618 if (SWIG_arg_fail(3)) SWIG_fail;
24619 }
24620 {
24621 PyThreadState* __tstate = wxPyBeginAllowThreads();
24622 (arg1)->SetPPIScreen(arg2,arg3);
24623
24624 wxPyEndAllowThreads(__tstate);
24625 if (PyErr_Occurred()) SWIG_fail;
24626 }
24627 Py_INCREF(Py_None); resultobj = Py_None;
24628 return resultobj;
24629 fail:
24630 return NULL;
24631 }
24632
24633
24634 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
24635 PyObject *resultobj = NULL;
24636 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24637 int *arg2 = (int *) 0 ;
24638 int *arg3 = (int *) 0 ;
24639 int temp2 ;
24640 int res2 = 0 ;
24641 int temp3 ;
24642 int res3 = 0 ;
24643 PyObject * obj0 = 0 ;
24644 char *kwnames[] = {
24645 (char *) "self", NULL
24646 };
24647
24648 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24649 arg3 = &temp3; res3 = SWIG_NEWOBJ;
24650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
24651 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24652 if (SWIG_arg_fail(1)) SWIG_fail;
24653 {
24654 PyThreadState* __tstate = wxPyBeginAllowThreads();
24655 (arg1)->GetPPIScreen(arg2,arg3);
24656
24657 wxPyEndAllowThreads(__tstate);
24658 if (PyErr_Occurred()) SWIG_fail;
24659 }
24660 Py_INCREF(Py_None); resultobj = Py_None;
24661 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24662 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24663 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24664 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
24665 return resultobj;
24666 fail:
24667 return NULL;
24668 }
24669
24670
24671 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
24672 PyObject *resultobj = NULL;
24673 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24674 int arg2 ;
24675 int arg3 ;
24676 PyObject * obj0 = 0 ;
24677 PyObject * obj1 = 0 ;
24678 PyObject * obj2 = 0 ;
24679 char *kwnames[] = {
24680 (char *) "self",(char *) "x",(char *) "y", NULL
24681 };
24682
24683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
24684 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24685 if (SWIG_arg_fail(1)) SWIG_fail;
24686 {
24687 arg2 = static_cast<int >(SWIG_As_int(obj1));
24688 if (SWIG_arg_fail(2)) SWIG_fail;
24689 }
24690 {
24691 arg3 = static_cast<int >(SWIG_As_int(obj2));
24692 if (SWIG_arg_fail(3)) SWIG_fail;
24693 }
24694 {
24695 PyThreadState* __tstate = wxPyBeginAllowThreads();
24696 (arg1)->SetPPIPrinter(arg2,arg3);
24697
24698 wxPyEndAllowThreads(__tstate);
24699 if (PyErr_Occurred()) SWIG_fail;
24700 }
24701 Py_INCREF(Py_None); resultobj = Py_None;
24702 return resultobj;
24703 fail:
24704 return NULL;
24705 }
24706
24707
24708 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
24709 PyObject *resultobj = NULL;
24710 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24711 int *arg2 = (int *) 0 ;
24712 int *arg3 = (int *) 0 ;
24713 int temp2 ;
24714 int res2 = 0 ;
24715 int temp3 ;
24716 int res3 = 0 ;
24717 PyObject * obj0 = 0 ;
24718 char *kwnames[] = {
24719 (char *) "self", NULL
24720 };
24721
24722 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24723 arg3 = &temp3; res3 = SWIG_NEWOBJ;
24724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
24725 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24726 if (SWIG_arg_fail(1)) SWIG_fail;
24727 {
24728 PyThreadState* __tstate = wxPyBeginAllowThreads();
24729 (arg1)->GetPPIPrinter(arg2,arg3);
24730
24731 wxPyEndAllowThreads(__tstate);
24732 if (PyErr_Occurred()) SWIG_fail;
24733 }
24734 Py_INCREF(Py_None); resultobj = Py_None;
24735 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24736 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24737 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24738 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
24739 return resultobj;
24740 fail:
24741 return NULL;
24742 }
24743
24744
24745 static PyObject *_wrap_Printout_IsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
24746 PyObject *resultobj = NULL;
24747 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24748 bool result;
24749 PyObject * obj0 = 0 ;
24750 char *kwnames[] = {
24751 (char *) "self", NULL
24752 };
24753
24754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
24755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24756 if (SWIG_arg_fail(1)) SWIG_fail;
24757 {
24758 PyThreadState* __tstate = wxPyBeginAllowThreads();
24759 result = (bool)(arg1)->IsPreview();
24760
24761 wxPyEndAllowThreads(__tstate);
24762 if (PyErr_Occurred()) SWIG_fail;
24763 }
24764 {
24765 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24766 }
24767 return resultobj;
24768 fail:
24769 return NULL;
24770 }
24771
24772
24773 static PyObject *_wrap_Printout_SetIsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
24774 PyObject *resultobj = NULL;
24775 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24776 bool arg2 ;
24777 PyObject * obj0 = 0 ;
24778 PyObject * obj1 = 0 ;
24779 char *kwnames[] = {
24780 (char *) "self",(char *) "p", NULL
24781 };
24782
24783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
24784 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24785 if (SWIG_arg_fail(1)) SWIG_fail;
24786 {
24787 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
24788 if (SWIG_arg_fail(2)) SWIG_fail;
24789 }
24790 {
24791 PyThreadState* __tstate = wxPyBeginAllowThreads();
24792 (arg1)->SetIsPreview(arg2);
24793
24794 wxPyEndAllowThreads(__tstate);
24795 if (PyErr_Occurred()) SWIG_fail;
24796 }
24797 Py_INCREF(Py_None); resultobj = Py_None;
24798 return resultobj;
24799 fail:
24800 return NULL;
24801 }
24802
24803
24804 static PyObject *_wrap_Printout_OnBeginDocument(PyObject *, PyObject *args, PyObject *kwargs) {
24805 PyObject *resultobj = NULL;
24806 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24807 int arg2 ;
24808 int arg3 ;
24809 bool result;
24810 PyObject * obj0 = 0 ;
24811 PyObject * obj1 = 0 ;
24812 PyObject * obj2 = 0 ;
24813 char *kwnames[] = {
24814 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
24815 };
24816
24817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
24818 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24819 if (SWIG_arg_fail(1)) SWIG_fail;
24820 {
24821 arg2 = static_cast<int >(SWIG_As_int(obj1));
24822 if (SWIG_arg_fail(2)) SWIG_fail;
24823 }
24824 {
24825 arg3 = static_cast<int >(SWIG_As_int(obj2));
24826 if (SWIG_arg_fail(3)) SWIG_fail;
24827 }
24828 {
24829 PyThreadState* __tstate = wxPyBeginAllowThreads();
24830 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
24831
24832 wxPyEndAllowThreads(__tstate);
24833 if (PyErr_Occurred()) SWIG_fail;
24834 }
24835 {
24836 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24837 }
24838 return resultobj;
24839 fail:
24840 return NULL;
24841 }
24842
24843
24844 static PyObject *_wrap_Printout_OnEndDocument(PyObject *, PyObject *args, PyObject *kwargs) {
24845 PyObject *resultobj = NULL;
24846 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24847 PyObject * obj0 = 0 ;
24848 char *kwnames[] = {
24849 (char *) "self", NULL
24850 };
24851
24852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_OnEndDocument",kwnames,&obj0)) goto fail;
24853 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24854 if (SWIG_arg_fail(1)) SWIG_fail;
24855 {
24856 PyThreadState* __tstate = wxPyBeginAllowThreads();
24857 (arg1)->OnEndDocument();
24858
24859 wxPyEndAllowThreads(__tstate);
24860 if (PyErr_Occurred()) SWIG_fail;
24861 }
24862 Py_INCREF(Py_None); resultobj = Py_None;
24863 return resultobj;
24864 fail:
24865 return NULL;
24866 }
24867
24868
24869 static PyObject *_wrap_Printout_OnBeginPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
24870 PyObject *resultobj = NULL;
24871 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24872 PyObject * obj0 = 0 ;
24873 char *kwnames[] = {
24874 (char *) "self", NULL
24875 };
24876
24877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_OnBeginPrinting",kwnames,&obj0)) goto fail;
24878 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24879 if (SWIG_arg_fail(1)) SWIG_fail;
24880 {
24881 PyThreadState* __tstate = wxPyBeginAllowThreads();
24882 (arg1)->OnBeginPrinting();
24883
24884 wxPyEndAllowThreads(__tstate);
24885 if (PyErr_Occurred()) SWIG_fail;
24886 }
24887 Py_INCREF(Py_None); resultobj = Py_None;
24888 return resultobj;
24889 fail:
24890 return NULL;
24891 }
24892
24893
24894 static PyObject *_wrap_Printout_OnEndPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
24895 PyObject *resultobj = NULL;
24896 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24897 PyObject * obj0 = 0 ;
24898 char *kwnames[] = {
24899 (char *) "self", NULL
24900 };
24901
24902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_OnEndPrinting",kwnames,&obj0)) goto fail;
24903 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24904 if (SWIG_arg_fail(1)) SWIG_fail;
24905 {
24906 PyThreadState* __tstate = wxPyBeginAllowThreads();
24907 (arg1)->OnEndPrinting();
24908
24909 wxPyEndAllowThreads(__tstate);
24910 if (PyErr_Occurred()) SWIG_fail;
24911 }
24912 Py_INCREF(Py_None); resultobj = Py_None;
24913 return resultobj;
24914 fail:
24915 return NULL;
24916 }
24917
24918
24919 static PyObject *_wrap_Printout_OnPreparePrinting(PyObject *, PyObject *args, PyObject *kwargs) {
24920 PyObject *resultobj = NULL;
24921 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24922 PyObject * obj0 = 0 ;
24923 char *kwnames[] = {
24924 (char *) "self", NULL
24925 };
24926
24927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_OnPreparePrinting",kwnames,&obj0)) goto fail;
24928 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24929 if (SWIG_arg_fail(1)) SWIG_fail;
24930 {
24931 PyThreadState* __tstate = wxPyBeginAllowThreads();
24932 (arg1)->OnPreparePrinting();
24933
24934 wxPyEndAllowThreads(__tstate);
24935 if (PyErr_Occurred()) SWIG_fail;
24936 }
24937 Py_INCREF(Py_None); resultobj = Py_None;
24938 return resultobj;
24939 fail:
24940 return NULL;
24941 }
24942
24943
24944 static PyObject *_wrap_Printout_HasPage(PyObject *, PyObject *args, PyObject *kwargs) {
24945 PyObject *resultobj = NULL;
24946 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24947 int arg2 ;
24948 bool result;
24949 PyObject * obj0 = 0 ;
24950 PyObject * obj1 = 0 ;
24951 char *kwnames[] = {
24952 (char *) "self",(char *) "page", NULL
24953 };
24954
24955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) goto fail;
24956 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24957 if (SWIG_arg_fail(1)) SWIG_fail;
24958 {
24959 arg2 = static_cast<int >(SWIG_As_int(obj1));
24960 if (SWIG_arg_fail(2)) SWIG_fail;
24961 }
24962 {
24963 PyThreadState* __tstate = wxPyBeginAllowThreads();
24964 result = (bool)(arg1)->HasPage(arg2);
24965
24966 wxPyEndAllowThreads(__tstate);
24967 if (PyErr_Occurred()) SWIG_fail;
24968 }
24969 {
24970 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24971 }
24972 return resultobj;
24973 fail:
24974 return NULL;
24975 }
24976
24977
24978 static PyObject *_wrap_Printout_GetPageInfo(PyObject *, PyObject *args, PyObject *kwargs) {
24979 PyObject *resultobj = NULL;
24980 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24981 int *arg2 = (int *) 0 ;
24982 int *arg3 = (int *) 0 ;
24983 int *arg4 = (int *) 0 ;
24984 int *arg5 = (int *) 0 ;
24985 int temp2 ;
24986 int res2 = 0 ;
24987 int temp3 ;
24988 int res3 = 0 ;
24989 int temp4 ;
24990 int res4 = 0 ;
24991 int temp5 ;
24992 int res5 = 0 ;
24993 PyObject * obj0 = 0 ;
24994 char *kwnames[] = {
24995 (char *) "self", NULL
24996 };
24997
24998 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24999 arg3 = &temp3; res3 = SWIG_NEWOBJ;
25000 arg4 = &temp4; res4 = SWIG_NEWOBJ;
25001 arg5 = &temp5; res5 = SWIG_NEWOBJ;
25002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageInfo",kwnames,&obj0)) goto fail;
25003 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25004 if (SWIG_arg_fail(1)) SWIG_fail;
25005 {
25006 PyThreadState* __tstate = wxPyBeginAllowThreads();
25007 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
25008
25009 wxPyEndAllowThreads(__tstate);
25010 if (PyErr_Occurred()) SWIG_fail;
25011 }
25012 Py_INCREF(Py_None); resultobj = Py_None;
25013 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
25014 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
25015 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25016 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
25017 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
25018 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
25019 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
25020 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
25021 return resultobj;
25022 fail:
25023 return NULL;
25024 }
25025
25026
25027 static PyObject * Printout_swigregister(PyObject *, PyObject *args) {
25028 PyObject *obj;
25029 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25030 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
25031 Py_INCREF(obj);
25032 return Py_BuildValue((char *)"");
25033 }
25034 static PyObject *_wrap_new_PreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
25035 PyObject *resultobj = NULL;
25036 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25037 wxWindow *arg2 = (wxWindow *) 0 ;
25038 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25039 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25040 wxSize const &arg4_defvalue = wxDefaultSize ;
25041 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25042 long arg5 = (long) 0 ;
25043 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
25044 wxString *arg6 = (wxString *) &arg6_defvalue ;
25045 wxPreviewCanvas *result;
25046 wxPoint temp3 ;
25047 wxSize temp4 ;
25048 bool temp6 = false ;
25049 PyObject * obj0 = 0 ;
25050 PyObject * obj1 = 0 ;
25051 PyObject * obj2 = 0 ;
25052 PyObject * obj3 = 0 ;
25053 PyObject * obj4 = 0 ;
25054 PyObject * obj5 = 0 ;
25055 char *kwnames[] = {
25056 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25057 };
25058
25059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
25060 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25061 if (SWIG_arg_fail(1)) SWIG_fail;
25062 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25063 if (SWIG_arg_fail(2)) SWIG_fail;
25064 if (obj2) {
25065 {
25066 arg3 = &temp3;
25067 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25068 }
25069 }
25070 if (obj3) {
25071 {
25072 arg4 = &temp4;
25073 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25074 }
25075 }
25076 if (obj4) {
25077 {
25078 arg5 = static_cast<long >(SWIG_As_long(obj4));
25079 if (SWIG_arg_fail(5)) SWIG_fail;
25080 }
25081 }
25082 if (obj5) {
25083 {
25084 arg6 = wxString_in_helper(obj5);
25085 if (arg6 == NULL) SWIG_fail;
25086 temp6 = true;
25087 }
25088 }
25089 {
25090 if (!wxPyCheckForApp()) SWIG_fail;
25091 PyThreadState* __tstate = wxPyBeginAllowThreads();
25092 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
25093
25094 wxPyEndAllowThreads(__tstate);
25095 if (PyErr_Occurred()) SWIG_fail;
25096 }
25097 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
25098 {
25099 if (temp6)
25100 delete arg6;
25101 }
25102 return resultobj;
25103 fail:
25104 {
25105 if (temp6)
25106 delete arg6;
25107 }
25108 return NULL;
25109 }
25110
25111
25112 static PyObject * PreviewCanvas_swigregister(PyObject *, PyObject *args) {
25113 PyObject *obj;
25114 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25115 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
25116 Py_INCREF(obj);
25117 return Py_BuildValue((char *)"");
25118 }
25119 static PyObject *_wrap_new_PreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
25120 PyObject *resultobj = NULL;
25121 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25122 wxFrame *arg2 = (wxFrame *) 0 ;
25123 wxString *arg3 = 0 ;
25124 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25125 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25126 wxSize const &arg5_defvalue = wxDefaultSize ;
25127 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25128 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
25129 wxString const &arg7_defvalue = wxPyFrameNameStr ;
25130 wxString *arg7 = (wxString *) &arg7_defvalue ;
25131 wxPreviewFrame *result;
25132 bool temp3 = false ;
25133 wxPoint temp4 ;
25134 wxSize temp5 ;
25135 bool temp7 = false ;
25136 PyObject * obj0 = 0 ;
25137 PyObject * obj1 = 0 ;
25138 PyObject * obj2 = 0 ;
25139 PyObject * obj3 = 0 ;
25140 PyObject * obj4 = 0 ;
25141 PyObject * obj5 = 0 ;
25142 PyObject * obj6 = 0 ;
25143 char *kwnames[] = {
25144 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25145 };
25146
25147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25148 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25149 if (SWIG_arg_fail(1)) SWIG_fail;
25150 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
25151 if (SWIG_arg_fail(2)) SWIG_fail;
25152 {
25153 arg3 = wxString_in_helper(obj2);
25154 if (arg3 == NULL) SWIG_fail;
25155 temp3 = true;
25156 }
25157 if (obj3) {
25158 {
25159 arg4 = &temp4;
25160 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25161 }
25162 }
25163 if (obj4) {
25164 {
25165 arg5 = &temp5;
25166 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25167 }
25168 }
25169 if (obj5) {
25170 {
25171 arg6 = static_cast<long >(SWIG_As_long(obj5));
25172 if (SWIG_arg_fail(6)) SWIG_fail;
25173 }
25174 }
25175 if (obj6) {
25176 {
25177 arg7 = wxString_in_helper(obj6);
25178 if (arg7 == NULL) SWIG_fail;
25179 temp7 = true;
25180 }
25181 }
25182 {
25183 if (!wxPyCheckForApp()) SWIG_fail;
25184 PyThreadState* __tstate = wxPyBeginAllowThreads();
25185 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25186
25187 wxPyEndAllowThreads(__tstate);
25188 if (PyErr_Occurred()) SWIG_fail;
25189 }
25190 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
25191 {
25192 if (temp3)
25193 delete arg3;
25194 }
25195 {
25196 if (temp7)
25197 delete arg7;
25198 }
25199 return resultobj;
25200 fail:
25201 {
25202 if (temp3)
25203 delete arg3;
25204 }
25205 {
25206 if (temp7)
25207 delete arg7;
25208 }
25209 return NULL;
25210 }
25211
25212
25213 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
25214 PyObject *resultobj = NULL;
25215 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25216 PyObject * obj0 = 0 ;
25217 char *kwnames[] = {
25218 (char *) "self", NULL
25219 };
25220
25221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
25222 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25223 if (SWIG_arg_fail(1)) SWIG_fail;
25224 {
25225 PyThreadState* __tstate = wxPyBeginAllowThreads();
25226 (arg1)->Initialize();
25227
25228 wxPyEndAllowThreads(__tstate);
25229 if (PyErr_Occurred()) SWIG_fail;
25230 }
25231 Py_INCREF(Py_None); resultobj = Py_None;
25232 return resultobj;
25233 fail:
25234 return NULL;
25235 }
25236
25237
25238 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
25239 PyObject *resultobj = NULL;
25240 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25241 PyObject * obj0 = 0 ;
25242 char *kwnames[] = {
25243 (char *) "self", NULL
25244 };
25245
25246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
25247 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25248 if (SWIG_arg_fail(1)) SWIG_fail;
25249 {
25250 PyThreadState* __tstate = wxPyBeginAllowThreads();
25251 (arg1)->CreateControlBar();
25252
25253 wxPyEndAllowThreads(__tstate);
25254 if (PyErr_Occurred()) SWIG_fail;
25255 }
25256 Py_INCREF(Py_None); resultobj = Py_None;
25257 return resultobj;
25258 fail:
25259 return NULL;
25260 }
25261
25262
25263 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
25264 PyObject *resultobj = NULL;
25265 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25266 PyObject * obj0 = 0 ;
25267 char *kwnames[] = {
25268 (char *) "self", NULL
25269 };
25270
25271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
25272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25273 if (SWIG_arg_fail(1)) SWIG_fail;
25274 {
25275 PyThreadState* __tstate = wxPyBeginAllowThreads();
25276 (arg1)->CreateCanvas();
25277
25278 wxPyEndAllowThreads(__tstate);
25279 if (PyErr_Occurred()) SWIG_fail;
25280 }
25281 Py_INCREF(Py_None); resultobj = Py_None;
25282 return resultobj;
25283 fail:
25284 return NULL;
25285 }
25286
25287
25288 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
25289 PyObject *resultobj = NULL;
25290 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25291 wxPreviewControlBar *result;
25292 PyObject * obj0 = 0 ;
25293 char *kwnames[] = {
25294 (char *) "self", NULL
25295 };
25296
25297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
25298 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25299 if (SWIG_arg_fail(1)) SWIG_fail;
25300 {
25301 PyThreadState* __tstate = wxPyBeginAllowThreads();
25302 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
25303
25304 wxPyEndAllowThreads(__tstate);
25305 if (PyErr_Occurred()) SWIG_fail;
25306 }
25307 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
25308 return resultobj;
25309 fail:
25310 return NULL;
25311 }
25312
25313
25314 static PyObject * PreviewFrame_swigregister(PyObject *, PyObject *args) {
25315 PyObject *obj;
25316 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25317 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
25318 Py_INCREF(obj);
25319 return Py_BuildValue((char *)"");
25320 }
25321 static PyObject *_wrap_new_PreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
25322 PyObject *resultobj = NULL;
25323 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25324 long arg2 ;
25325 wxWindow *arg3 = (wxWindow *) 0 ;
25326 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25327 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25328 wxSize const &arg5_defvalue = wxDefaultSize ;
25329 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25330 long arg6 = (long) wxTAB_TRAVERSAL ;
25331 wxString const &arg7_defvalue = wxPyPanelNameStr ;
25332 wxString *arg7 = (wxString *) &arg7_defvalue ;
25333 wxPreviewControlBar *result;
25334 wxPoint temp4 ;
25335 wxSize temp5 ;
25336 bool temp7 = false ;
25337 PyObject * obj0 = 0 ;
25338 PyObject * obj1 = 0 ;
25339 PyObject * obj2 = 0 ;
25340 PyObject * obj3 = 0 ;
25341 PyObject * obj4 = 0 ;
25342 PyObject * obj5 = 0 ;
25343 PyObject * obj6 = 0 ;
25344 char *kwnames[] = {
25345 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25346 };
25347
25348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25349 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25350 if (SWIG_arg_fail(1)) SWIG_fail;
25351 {
25352 arg2 = static_cast<long >(SWIG_As_long(obj1));
25353 if (SWIG_arg_fail(2)) SWIG_fail;
25354 }
25355 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25356 if (SWIG_arg_fail(3)) SWIG_fail;
25357 if (obj3) {
25358 {
25359 arg4 = &temp4;
25360 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25361 }
25362 }
25363 if (obj4) {
25364 {
25365 arg5 = &temp5;
25366 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25367 }
25368 }
25369 if (obj5) {
25370 {
25371 arg6 = static_cast<long >(SWIG_As_long(obj5));
25372 if (SWIG_arg_fail(6)) SWIG_fail;
25373 }
25374 }
25375 if (obj6) {
25376 {
25377 arg7 = wxString_in_helper(obj6);
25378 if (arg7 == NULL) SWIG_fail;
25379 temp7 = true;
25380 }
25381 }
25382 {
25383 if (!wxPyCheckForApp()) SWIG_fail;
25384 PyThreadState* __tstate = wxPyBeginAllowThreads();
25385 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25386
25387 wxPyEndAllowThreads(__tstate);
25388 if (PyErr_Occurred()) SWIG_fail;
25389 }
25390 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
25391 {
25392 if (temp7)
25393 delete arg7;
25394 }
25395 return resultobj;
25396 fail:
25397 {
25398 if (temp7)
25399 delete arg7;
25400 }
25401 return NULL;
25402 }
25403
25404
25405 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
25406 PyObject *resultobj = NULL;
25407 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25408 int result;
25409 PyObject * obj0 = 0 ;
25410 char *kwnames[] = {
25411 (char *) "self", NULL
25412 };
25413
25414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
25415 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25416 if (SWIG_arg_fail(1)) SWIG_fail;
25417 {
25418 PyThreadState* __tstate = wxPyBeginAllowThreads();
25419 result = (int)(arg1)->GetZoomControl();
25420
25421 wxPyEndAllowThreads(__tstate);
25422 if (PyErr_Occurred()) SWIG_fail;
25423 }
25424 {
25425 resultobj = SWIG_From_int(static_cast<int >(result));
25426 }
25427 return resultobj;
25428 fail:
25429 return NULL;
25430 }
25431
25432
25433 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
25434 PyObject *resultobj = NULL;
25435 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25436 int arg2 ;
25437 PyObject * obj0 = 0 ;
25438 PyObject * obj1 = 0 ;
25439 char *kwnames[] = {
25440 (char *) "self",(char *) "zoom", NULL
25441 };
25442
25443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
25444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25445 if (SWIG_arg_fail(1)) SWIG_fail;
25446 {
25447 arg2 = static_cast<int >(SWIG_As_int(obj1));
25448 if (SWIG_arg_fail(2)) SWIG_fail;
25449 }
25450 {
25451 PyThreadState* __tstate = wxPyBeginAllowThreads();
25452 (arg1)->SetZoomControl(arg2);
25453
25454 wxPyEndAllowThreads(__tstate);
25455 if (PyErr_Occurred()) SWIG_fail;
25456 }
25457 Py_INCREF(Py_None); resultobj = Py_None;
25458 return resultobj;
25459 fail:
25460 return NULL;
25461 }
25462
25463
25464 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
25465 PyObject *resultobj = NULL;
25466 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25467 wxPrintPreview *result;
25468 PyObject * obj0 = 0 ;
25469 char *kwnames[] = {
25470 (char *) "self", NULL
25471 };
25472
25473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
25474 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25475 if (SWIG_arg_fail(1)) SWIG_fail;
25476 {
25477 PyThreadState* __tstate = wxPyBeginAllowThreads();
25478 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
25479
25480 wxPyEndAllowThreads(__tstate);
25481 if (PyErr_Occurred()) SWIG_fail;
25482 }
25483 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
25484 return resultobj;
25485 fail:
25486 return NULL;
25487 }
25488
25489
25490 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *, PyObject *args, PyObject *kwargs) {
25491 PyObject *resultobj = NULL;
25492 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25493 PyObject * obj0 = 0 ;
25494 char *kwnames[] = {
25495 (char *) "self", NULL
25496 };
25497
25498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
25499 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25500 if (SWIG_arg_fail(1)) SWIG_fail;
25501 {
25502 PyThreadState* __tstate = wxPyBeginAllowThreads();
25503 (arg1)->OnNext();
25504
25505 wxPyEndAllowThreads(__tstate);
25506 if (PyErr_Occurred()) SWIG_fail;
25507 }
25508 Py_INCREF(Py_None); resultobj = Py_None;
25509 return resultobj;
25510 fail:
25511 return NULL;
25512 }
25513
25514
25515 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *, PyObject *args, PyObject *kwargs) {
25516 PyObject *resultobj = NULL;
25517 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25518 PyObject * obj0 = 0 ;
25519 char *kwnames[] = {
25520 (char *) "self", NULL
25521 };
25522
25523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
25524 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25525 if (SWIG_arg_fail(1)) SWIG_fail;
25526 {
25527 PyThreadState* __tstate = wxPyBeginAllowThreads();
25528 (arg1)->OnPrevious();
25529
25530 wxPyEndAllowThreads(__tstate);
25531 if (PyErr_Occurred()) SWIG_fail;
25532 }
25533 Py_INCREF(Py_None); resultobj = Py_None;
25534 return resultobj;
25535 fail:
25536 return NULL;
25537 }
25538
25539
25540 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *, PyObject *args, PyObject *kwargs) {
25541 PyObject *resultobj = NULL;
25542 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25543 PyObject * obj0 = 0 ;
25544 char *kwnames[] = {
25545 (char *) "self", NULL
25546 };
25547
25548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
25549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25550 if (SWIG_arg_fail(1)) SWIG_fail;
25551 {
25552 PyThreadState* __tstate = wxPyBeginAllowThreads();
25553 (arg1)->OnFirst();
25554
25555 wxPyEndAllowThreads(__tstate);
25556 if (PyErr_Occurred()) SWIG_fail;
25557 }
25558 Py_INCREF(Py_None); resultobj = Py_None;
25559 return resultobj;
25560 fail:
25561 return NULL;
25562 }
25563
25564
25565 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *, PyObject *args, PyObject *kwargs) {
25566 PyObject *resultobj = NULL;
25567 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25568 PyObject * obj0 = 0 ;
25569 char *kwnames[] = {
25570 (char *) "self", NULL
25571 };
25572
25573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
25574 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25575 if (SWIG_arg_fail(1)) SWIG_fail;
25576 {
25577 PyThreadState* __tstate = wxPyBeginAllowThreads();
25578 (arg1)->OnLast();
25579
25580 wxPyEndAllowThreads(__tstate);
25581 if (PyErr_Occurred()) SWIG_fail;
25582 }
25583 Py_INCREF(Py_None); resultobj = Py_None;
25584 return resultobj;
25585 fail:
25586 return NULL;
25587 }
25588
25589
25590 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *, PyObject *args, PyObject *kwargs) {
25591 PyObject *resultobj = NULL;
25592 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25593 PyObject * obj0 = 0 ;
25594 char *kwnames[] = {
25595 (char *) "self", NULL
25596 };
25597
25598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
25599 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25600 if (SWIG_arg_fail(1)) SWIG_fail;
25601 {
25602 PyThreadState* __tstate = wxPyBeginAllowThreads();
25603 (arg1)->OnGoto();
25604
25605 wxPyEndAllowThreads(__tstate);
25606 if (PyErr_Occurred()) SWIG_fail;
25607 }
25608 Py_INCREF(Py_None); resultobj = Py_None;
25609 return resultobj;
25610 fail:
25611 return NULL;
25612 }
25613
25614
25615 static PyObject * PreviewControlBar_swigregister(PyObject *, PyObject *args) {
25616 PyObject *obj;
25617 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25618 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
25619 Py_INCREF(obj);
25620 return Py_BuildValue((char *)"");
25621 }
25622 static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *, PyObject *args) {
25623 PyObject *resultobj = NULL;
25624 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25625 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
25626 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
25627 wxPrintPreview *result;
25628 PyObject * obj0 = 0 ;
25629 PyObject * obj1 = 0 ;
25630 PyObject * obj2 = 0 ;
25631
25632 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
25633 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25634 if (SWIG_arg_fail(1)) SWIG_fail;
25635 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25636 if (SWIG_arg_fail(2)) SWIG_fail;
25637 if (obj2) {
25638 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
25639 if (SWIG_arg_fail(3)) SWIG_fail;
25640 }
25641 {
25642 if (!wxPyCheckForApp()) SWIG_fail;
25643 PyThreadState* __tstate = wxPyBeginAllowThreads();
25644 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
25645
25646 wxPyEndAllowThreads(__tstate);
25647 if (PyErr_Occurred()) SWIG_fail;
25648 }
25649 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
25650 return resultobj;
25651 fail:
25652 return NULL;
25653 }
25654
25655
25656 static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *, PyObject *args) {
25657 PyObject *resultobj = NULL;
25658 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25659 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
25660 wxPrintData *arg3 = (wxPrintData *) 0 ;
25661 wxPrintPreview *result;
25662 PyObject * obj0 = 0 ;
25663 PyObject * obj1 = 0 ;
25664 PyObject * obj2 = 0 ;
25665
25666 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
25667 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25668 if (SWIG_arg_fail(1)) SWIG_fail;
25669 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25670 if (SWIG_arg_fail(2)) SWIG_fail;
25671 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
25672 if (SWIG_arg_fail(3)) SWIG_fail;
25673 {
25674 if (!wxPyCheckForApp()) SWIG_fail;
25675 PyThreadState* __tstate = wxPyBeginAllowThreads();
25676 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
25677
25678 wxPyEndAllowThreads(__tstate);
25679 if (PyErr_Occurred()) SWIG_fail;
25680 }
25681 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
25682 return resultobj;
25683 fail:
25684 return NULL;
25685 }
25686
25687
25688 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
25689 int argc;
25690 PyObject *argv[4];
25691 int ii;
25692
25693 argc = PyObject_Length(args);
25694 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
25695 argv[ii] = PyTuple_GetItem(args,ii);
25696 }
25697 if ((argc >= 2) && (argc <= 3)) {
25698 int _v;
25699 {
25700 void *ptr;
25701 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25702 _v = 0;
25703 PyErr_Clear();
25704 } else {
25705 _v = 1;
25706 }
25707 }
25708 if (_v) {
25709 {
25710 void *ptr;
25711 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25712 _v = 0;
25713 PyErr_Clear();
25714 } else {
25715 _v = 1;
25716 }
25717 }
25718 if (_v) {
25719 if (argc <= 2) {
25720 return _wrap_new_PrintPreview__SWIG_0(self,args);
25721 }
25722 {
25723 void *ptr;
25724 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
25725 _v = 0;
25726 PyErr_Clear();
25727 } else {
25728 _v = 1;
25729 }
25730 }
25731 if (_v) {
25732 return _wrap_new_PrintPreview__SWIG_0(self,args);
25733 }
25734 }
25735 }
25736 }
25737 if (argc == 3) {
25738 int _v;
25739 {
25740 void *ptr;
25741 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25742 _v = 0;
25743 PyErr_Clear();
25744 } else {
25745 _v = 1;
25746 }
25747 }
25748 if (_v) {
25749 {
25750 void *ptr;
25751 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25752 _v = 0;
25753 PyErr_Clear();
25754 } else {
25755 _v = 1;
25756 }
25757 }
25758 if (_v) {
25759 {
25760 void *ptr;
25761 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
25762 _v = 0;
25763 PyErr_Clear();
25764 } else {
25765 _v = 1;
25766 }
25767 }
25768 if (_v) {
25769 return _wrap_new_PrintPreview__SWIG_1(self,args);
25770 }
25771 }
25772 }
25773 }
25774
25775 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
25776 return NULL;
25777 }
25778
25779
25780 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
25781 PyObject *resultobj = NULL;
25782 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25783 int arg2 ;
25784 bool result;
25785 PyObject * obj0 = 0 ;
25786 PyObject * obj1 = 0 ;
25787 char *kwnames[] = {
25788 (char *) "self",(char *) "pageNum", NULL
25789 };
25790
25791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
25792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25793 if (SWIG_arg_fail(1)) SWIG_fail;
25794 {
25795 arg2 = static_cast<int >(SWIG_As_int(obj1));
25796 if (SWIG_arg_fail(2)) SWIG_fail;
25797 }
25798 {
25799 PyThreadState* __tstate = wxPyBeginAllowThreads();
25800 result = (bool)(arg1)->SetCurrentPage(arg2);
25801
25802 wxPyEndAllowThreads(__tstate);
25803 if (PyErr_Occurred()) SWIG_fail;
25804 }
25805 {
25806 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25807 }
25808 return resultobj;
25809 fail:
25810 return NULL;
25811 }
25812
25813
25814 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
25815 PyObject *resultobj = NULL;
25816 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25817 int result;
25818 PyObject * obj0 = 0 ;
25819 char *kwnames[] = {
25820 (char *) "self", NULL
25821 };
25822
25823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
25824 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25825 if (SWIG_arg_fail(1)) SWIG_fail;
25826 {
25827 PyThreadState* __tstate = wxPyBeginAllowThreads();
25828 result = (int)(arg1)->GetCurrentPage();
25829
25830 wxPyEndAllowThreads(__tstate);
25831 if (PyErr_Occurred()) SWIG_fail;
25832 }
25833 {
25834 resultobj = SWIG_From_int(static_cast<int >(result));
25835 }
25836 return resultobj;
25837 fail:
25838 return NULL;
25839 }
25840
25841
25842 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
25843 PyObject *resultobj = NULL;
25844 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25845 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
25846 PyObject * obj0 = 0 ;
25847 PyObject * obj1 = 0 ;
25848 char *kwnames[] = {
25849 (char *) "self",(char *) "printout", NULL
25850 };
25851
25852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
25853 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25854 if (SWIG_arg_fail(1)) SWIG_fail;
25855 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25856 if (SWIG_arg_fail(2)) SWIG_fail;
25857 {
25858 PyThreadState* __tstate = wxPyBeginAllowThreads();
25859 (arg1)->SetPrintout(arg2);
25860
25861 wxPyEndAllowThreads(__tstate);
25862 if (PyErr_Occurred()) SWIG_fail;
25863 }
25864 Py_INCREF(Py_None); resultobj = Py_None;
25865 return resultobj;
25866 fail:
25867 return NULL;
25868 }
25869
25870
25871 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
25872 PyObject *resultobj = NULL;
25873 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25874 wxPyPrintout *result;
25875 PyObject * obj0 = 0 ;
25876 char *kwnames[] = {
25877 (char *) "self", NULL
25878 };
25879
25880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
25881 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25882 if (SWIG_arg_fail(1)) SWIG_fail;
25883 {
25884 PyThreadState* __tstate = wxPyBeginAllowThreads();
25885 result = (wxPyPrintout *)(arg1)->GetPrintout();
25886
25887 wxPyEndAllowThreads(__tstate);
25888 if (PyErr_Occurred()) SWIG_fail;
25889 }
25890 {
25891 resultobj = wxPyMake_wxObject(result, (bool)0);
25892 }
25893 return resultobj;
25894 fail:
25895 return NULL;
25896 }
25897
25898
25899 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
25900 PyObject *resultobj = NULL;
25901 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25902 wxPyPrintout *result;
25903 PyObject * obj0 = 0 ;
25904 char *kwnames[] = {
25905 (char *) "self", NULL
25906 };
25907
25908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
25909 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25910 if (SWIG_arg_fail(1)) SWIG_fail;
25911 {
25912 PyThreadState* __tstate = wxPyBeginAllowThreads();
25913 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
25914
25915 wxPyEndAllowThreads(__tstate);
25916 if (PyErr_Occurred()) SWIG_fail;
25917 }
25918 {
25919 resultobj = wxPyMake_wxObject(result, (bool)0);
25920 }
25921 return resultobj;
25922 fail:
25923 return NULL;
25924 }
25925
25926
25927 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
25928 PyObject *resultobj = NULL;
25929 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25930 wxFrame *arg2 = (wxFrame *) 0 ;
25931 PyObject * obj0 = 0 ;
25932 PyObject * obj1 = 0 ;
25933 char *kwnames[] = {
25934 (char *) "self",(char *) "frame", NULL
25935 };
25936
25937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
25938 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25939 if (SWIG_arg_fail(1)) SWIG_fail;
25940 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
25941 if (SWIG_arg_fail(2)) SWIG_fail;
25942 {
25943 PyThreadState* __tstate = wxPyBeginAllowThreads();
25944 (arg1)->SetFrame(arg2);
25945
25946 wxPyEndAllowThreads(__tstate);
25947 if (PyErr_Occurred()) SWIG_fail;
25948 }
25949 Py_INCREF(Py_None); resultobj = Py_None;
25950 return resultobj;
25951 fail:
25952 return NULL;
25953 }
25954
25955
25956 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
25957 PyObject *resultobj = NULL;
25958 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25959 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
25960 PyObject * obj0 = 0 ;
25961 PyObject * obj1 = 0 ;
25962 char *kwnames[] = {
25963 (char *) "self",(char *) "canvas", NULL
25964 };
25965
25966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
25967 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25968 if (SWIG_arg_fail(1)) SWIG_fail;
25969 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
25970 if (SWIG_arg_fail(2)) SWIG_fail;
25971 {
25972 PyThreadState* __tstate = wxPyBeginAllowThreads();
25973 (arg1)->SetCanvas(arg2);
25974
25975 wxPyEndAllowThreads(__tstate);
25976 if (PyErr_Occurred()) SWIG_fail;
25977 }
25978 Py_INCREF(Py_None); resultobj = Py_None;
25979 return resultobj;
25980 fail:
25981 return NULL;
25982 }
25983
25984
25985 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
25986 PyObject *resultobj = NULL;
25987 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25988 wxFrame *result;
25989 PyObject * obj0 = 0 ;
25990 char *kwnames[] = {
25991 (char *) "self", NULL
25992 };
25993
25994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
25995 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25996 if (SWIG_arg_fail(1)) SWIG_fail;
25997 {
25998 PyThreadState* __tstate = wxPyBeginAllowThreads();
25999 result = (wxFrame *)(arg1)->GetFrame();
26000
26001 wxPyEndAllowThreads(__tstate);
26002 if (PyErr_Occurred()) SWIG_fail;
26003 }
26004 {
26005 resultobj = wxPyMake_wxObject(result, 0);
26006 }
26007 return resultobj;
26008 fail:
26009 return NULL;
26010 }
26011
26012
26013 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
26014 PyObject *resultobj = NULL;
26015 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26016 wxPreviewCanvas *result;
26017 PyObject * obj0 = 0 ;
26018 char *kwnames[] = {
26019 (char *) "self", NULL
26020 };
26021
26022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
26023 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26024 if (SWIG_arg_fail(1)) SWIG_fail;
26025 {
26026 PyThreadState* __tstate = wxPyBeginAllowThreads();
26027 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
26028
26029 wxPyEndAllowThreads(__tstate);
26030 if (PyErr_Occurred()) SWIG_fail;
26031 }
26032 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
26033 return resultobj;
26034 fail:
26035 return NULL;
26036 }
26037
26038
26039 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
26040 PyObject *resultobj = NULL;
26041 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26042 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26043 wxDC *arg3 = 0 ;
26044 bool result;
26045 PyObject * obj0 = 0 ;
26046 PyObject * obj1 = 0 ;
26047 PyObject * obj2 = 0 ;
26048 char *kwnames[] = {
26049 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26050 };
26051
26052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26054 if (SWIG_arg_fail(1)) SWIG_fail;
26055 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26056 if (SWIG_arg_fail(2)) SWIG_fail;
26057 {
26058 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26059 if (SWIG_arg_fail(3)) SWIG_fail;
26060 if (arg3 == NULL) {
26061 SWIG_null_ref("wxDC");
26062 }
26063 if (SWIG_arg_fail(3)) SWIG_fail;
26064 }
26065 {
26066 PyThreadState* __tstate = wxPyBeginAllowThreads();
26067 result = (bool)(arg1)->PaintPage(arg2,*arg3);
26068
26069 wxPyEndAllowThreads(__tstate);
26070 if (PyErr_Occurred()) SWIG_fail;
26071 }
26072 {
26073 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26074 }
26075 return resultobj;
26076 fail:
26077 return NULL;
26078 }
26079
26080
26081 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
26082 PyObject *resultobj = NULL;
26083 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26084 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26085 wxDC *arg3 = 0 ;
26086 bool result;
26087 PyObject * obj0 = 0 ;
26088 PyObject * obj1 = 0 ;
26089 PyObject * obj2 = 0 ;
26090 char *kwnames[] = {
26091 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26092 };
26093
26094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26095 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26096 if (SWIG_arg_fail(1)) SWIG_fail;
26097 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26098 if (SWIG_arg_fail(2)) SWIG_fail;
26099 {
26100 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26101 if (SWIG_arg_fail(3)) SWIG_fail;
26102 if (arg3 == NULL) {
26103 SWIG_null_ref("wxDC");
26104 }
26105 if (SWIG_arg_fail(3)) SWIG_fail;
26106 }
26107 {
26108 PyThreadState* __tstate = wxPyBeginAllowThreads();
26109 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
26110
26111 wxPyEndAllowThreads(__tstate);
26112 if (PyErr_Occurred()) SWIG_fail;
26113 }
26114 {
26115 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26116 }
26117 return resultobj;
26118 fail:
26119 return NULL;
26120 }
26121
26122
26123 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
26124 PyObject *resultobj = NULL;
26125 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26126 int arg2 ;
26127 bool result;
26128 PyObject * obj0 = 0 ;
26129 PyObject * obj1 = 0 ;
26130 char *kwnames[] = {
26131 (char *) "self",(char *) "pageNum", NULL
26132 };
26133
26134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
26135 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26136 if (SWIG_arg_fail(1)) SWIG_fail;
26137 {
26138 arg2 = static_cast<int >(SWIG_As_int(obj1));
26139 if (SWIG_arg_fail(2)) SWIG_fail;
26140 }
26141 {
26142 PyThreadState* __tstate = wxPyBeginAllowThreads();
26143 result = (bool)(arg1)->RenderPage(arg2);
26144
26145 wxPyEndAllowThreads(__tstate);
26146 if (PyErr_Occurred()) SWIG_fail;
26147 }
26148 {
26149 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26150 }
26151 return resultobj;
26152 fail:
26153 return NULL;
26154 }
26155
26156
26157 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
26158 PyObject *resultobj = NULL;
26159 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26160 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26161 PyObject * obj0 = 0 ;
26162 PyObject * obj1 = 0 ;
26163 char *kwnames[] = {
26164 (char *) "self",(char *) "canvas", NULL
26165 };
26166
26167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
26168 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26169 if (SWIG_arg_fail(1)) SWIG_fail;
26170 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26171 if (SWIG_arg_fail(2)) SWIG_fail;
26172 {
26173 PyThreadState* __tstate = wxPyBeginAllowThreads();
26174 (arg1)->AdjustScrollbars(arg2);
26175
26176 wxPyEndAllowThreads(__tstate);
26177 if (PyErr_Occurred()) SWIG_fail;
26178 }
26179 Py_INCREF(Py_None); resultobj = Py_None;
26180 return resultobj;
26181 fail:
26182 return NULL;
26183 }
26184
26185
26186 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
26187 PyObject *resultobj = NULL;
26188 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26189 wxPrintDialogData *result;
26190 PyObject * obj0 = 0 ;
26191 char *kwnames[] = {
26192 (char *) "self", NULL
26193 };
26194
26195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
26196 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26197 if (SWIG_arg_fail(1)) SWIG_fail;
26198 {
26199 PyThreadState* __tstate = wxPyBeginAllowThreads();
26200 {
26201 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
26202 result = (wxPrintDialogData *) &_result_ref;
26203 }
26204
26205 wxPyEndAllowThreads(__tstate);
26206 if (PyErr_Occurred()) SWIG_fail;
26207 }
26208 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
26209 return resultobj;
26210 fail:
26211 return NULL;
26212 }
26213
26214
26215 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
26216 PyObject *resultobj = NULL;
26217 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26218 int arg2 ;
26219 PyObject * obj0 = 0 ;
26220 PyObject * obj1 = 0 ;
26221 char *kwnames[] = {
26222 (char *) "self",(char *) "percent", NULL
26223 };
26224
26225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
26226 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26227 if (SWIG_arg_fail(1)) SWIG_fail;
26228 {
26229 arg2 = static_cast<int >(SWIG_As_int(obj1));
26230 if (SWIG_arg_fail(2)) SWIG_fail;
26231 }
26232 {
26233 PyThreadState* __tstate = wxPyBeginAllowThreads();
26234 (arg1)->SetZoom(arg2);
26235
26236 wxPyEndAllowThreads(__tstate);
26237 if (PyErr_Occurred()) SWIG_fail;
26238 }
26239 Py_INCREF(Py_None); resultobj = Py_None;
26240 return resultobj;
26241 fail:
26242 return NULL;
26243 }
26244
26245
26246 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
26247 PyObject *resultobj = NULL;
26248 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26249 int result;
26250 PyObject * obj0 = 0 ;
26251 char *kwnames[] = {
26252 (char *) "self", NULL
26253 };
26254
26255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
26256 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26257 if (SWIG_arg_fail(1)) SWIG_fail;
26258 {
26259 PyThreadState* __tstate = wxPyBeginAllowThreads();
26260 result = (int)(arg1)->GetZoom();
26261
26262 wxPyEndAllowThreads(__tstate);
26263 if (PyErr_Occurred()) SWIG_fail;
26264 }
26265 {
26266 resultobj = SWIG_From_int(static_cast<int >(result));
26267 }
26268 return resultobj;
26269 fail:
26270 return NULL;
26271 }
26272
26273
26274 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
26275 PyObject *resultobj = NULL;
26276 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26277 int result;
26278 PyObject * obj0 = 0 ;
26279 char *kwnames[] = {
26280 (char *) "self", NULL
26281 };
26282
26283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
26284 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26285 if (SWIG_arg_fail(1)) SWIG_fail;
26286 {
26287 PyThreadState* __tstate = wxPyBeginAllowThreads();
26288 result = (int)(arg1)->GetMaxPage();
26289
26290 wxPyEndAllowThreads(__tstate);
26291 if (PyErr_Occurred()) SWIG_fail;
26292 }
26293 {
26294 resultobj = SWIG_From_int(static_cast<int >(result));
26295 }
26296 return resultobj;
26297 fail:
26298 return NULL;
26299 }
26300
26301
26302 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
26303 PyObject *resultobj = NULL;
26304 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26305 int result;
26306 PyObject * obj0 = 0 ;
26307 char *kwnames[] = {
26308 (char *) "self", NULL
26309 };
26310
26311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
26312 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26313 if (SWIG_arg_fail(1)) SWIG_fail;
26314 {
26315 PyThreadState* __tstate = wxPyBeginAllowThreads();
26316 result = (int)(arg1)->GetMinPage();
26317
26318 wxPyEndAllowThreads(__tstate);
26319 if (PyErr_Occurred()) SWIG_fail;
26320 }
26321 {
26322 resultobj = SWIG_From_int(static_cast<int >(result));
26323 }
26324 return resultobj;
26325 fail:
26326 return NULL;
26327 }
26328
26329
26330 static PyObject *_wrap_PrintPreview_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
26331 PyObject *resultobj = NULL;
26332 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26333 bool result;
26334 PyObject * obj0 = 0 ;
26335 char *kwnames[] = {
26336 (char *) "self", NULL
26337 };
26338
26339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
26340 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26341 if (SWIG_arg_fail(1)) SWIG_fail;
26342 {
26343 PyThreadState* __tstate = wxPyBeginAllowThreads();
26344 result = (bool)(arg1)->Ok();
26345
26346 wxPyEndAllowThreads(__tstate);
26347 if (PyErr_Occurred()) SWIG_fail;
26348 }
26349 {
26350 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26351 }
26352 return resultobj;
26353 fail:
26354 return NULL;
26355 }
26356
26357
26358 static PyObject *_wrap_PrintPreview_SetOk(PyObject *, PyObject *args, PyObject *kwargs) {
26359 PyObject *resultobj = NULL;
26360 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26361 bool arg2 ;
26362 PyObject * obj0 = 0 ;
26363 PyObject * obj1 = 0 ;
26364 char *kwnames[] = {
26365 (char *) "self",(char *) "ok", NULL
26366 };
26367
26368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
26369 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26370 if (SWIG_arg_fail(1)) SWIG_fail;
26371 {
26372 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
26373 if (SWIG_arg_fail(2)) SWIG_fail;
26374 }
26375 {
26376 PyThreadState* __tstate = wxPyBeginAllowThreads();
26377 (arg1)->SetOk(arg2);
26378
26379 wxPyEndAllowThreads(__tstate);
26380 if (PyErr_Occurred()) SWIG_fail;
26381 }
26382 Py_INCREF(Py_None); resultobj = Py_None;
26383 return resultobj;
26384 fail:
26385 return NULL;
26386 }
26387
26388
26389 static PyObject *_wrap_PrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) {
26390 PyObject *resultobj = NULL;
26391 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26392 bool arg2 ;
26393 bool result;
26394 PyObject * obj0 = 0 ;
26395 PyObject * obj1 = 0 ;
26396 char *kwnames[] = {
26397 (char *) "self",(char *) "interactive", NULL
26398 };
26399
26400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
26401 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26402 if (SWIG_arg_fail(1)) SWIG_fail;
26403 {
26404 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
26405 if (SWIG_arg_fail(2)) SWIG_fail;
26406 }
26407 {
26408 PyThreadState* __tstate = wxPyBeginAllowThreads();
26409 result = (bool)(arg1)->Print(arg2);
26410
26411 wxPyEndAllowThreads(__tstate);
26412 if (PyErr_Occurred()) SWIG_fail;
26413 }
26414 {
26415 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26416 }
26417 return resultobj;
26418 fail:
26419 return NULL;
26420 }
26421
26422
26423 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
26424 PyObject *resultobj = NULL;
26425 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26426 PyObject * obj0 = 0 ;
26427 char *kwnames[] = {
26428 (char *) "self", NULL
26429 };
26430
26431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
26432 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26433 if (SWIG_arg_fail(1)) SWIG_fail;
26434 {
26435 PyThreadState* __tstate = wxPyBeginAllowThreads();
26436 (arg1)->DetermineScaling();
26437
26438 wxPyEndAllowThreads(__tstate);
26439 if (PyErr_Occurred()) SWIG_fail;
26440 }
26441 Py_INCREF(Py_None); resultobj = Py_None;
26442 return resultobj;
26443 fail:
26444 return NULL;
26445 }
26446
26447
26448 static PyObject * PrintPreview_swigregister(PyObject *, PyObject *args) {
26449 PyObject *obj;
26450 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26451 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
26452 Py_INCREF(obj);
26453 return Py_BuildValue((char *)"");
26454 }
26455 static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *, PyObject *args) {
26456 PyObject *resultobj = NULL;
26457 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26458 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26459 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
26460 wxPyPrintPreview *result;
26461 PyObject * obj0 = 0 ;
26462 PyObject * obj1 = 0 ;
26463 PyObject * obj2 = 0 ;
26464
26465 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
26466 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26467 if (SWIG_arg_fail(1)) SWIG_fail;
26468 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26469 if (SWIG_arg_fail(2)) SWIG_fail;
26470 if (obj2) {
26471 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
26472 if (SWIG_arg_fail(3)) SWIG_fail;
26473 }
26474 {
26475 if (!wxPyCheckForApp()) SWIG_fail;
26476 PyThreadState* __tstate = wxPyBeginAllowThreads();
26477 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
26478
26479 wxPyEndAllowThreads(__tstate);
26480 if (PyErr_Occurred()) SWIG_fail;
26481 }
26482 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
26483 return resultobj;
26484 fail:
26485 return NULL;
26486 }
26487
26488
26489 static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *, PyObject *args) {
26490 PyObject *resultobj = NULL;
26491 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26492 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26493 wxPrintData *arg3 = (wxPrintData *) 0 ;
26494 wxPyPrintPreview *result;
26495 PyObject * obj0 = 0 ;
26496 PyObject * obj1 = 0 ;
26497 PyObject * obj2 = 0 ;
26498
26499 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
26500 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26501 if (SWIG_arg_fail(1)) SWIG_fail;
26502 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26503 if (SWIG_arg_fail(2)) SWIG_fail;
26504 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
26505 if (SWIG_arg_fail(3)) SWIG_fail;
26506 {
26507 if (!wxPyCheckForApp()) SWIG_fail;
26508 PyThreadState* __tstate = wxPyBeginAllowThreads();
26509 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
26510
26511 wxPyEndAllowThreads(__tstate);
26512 if (PyErr_Occurred()) SWIG_fail;
26513 }
26514 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
26515 return resultobj;
26516 fail:
26517 return NULL;
26518 }
26519
26520
26521 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
26522 int argc;
26523 PyObject *argv[4];
26524 int ii;
26525
26526 argc = PyObject_Length(args);
26527 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
26528 argv[ii] = PyTuple_GetItem(args,ii);
26529 }
26530 if ((argc >= 2) && (argc <= 3)) {
26531 int _v;
26532 {
26533 void *ptr;
26534 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26535 _v = 0;
26536 PyErr_Clear();
26537 } else {
26538 _v = 1;
26539 }
26540 }
26541 if (_v) {
26542 {
26543 void *ptr;
26544 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26545 _v = 0;
26546 PyErr_Clear();
26547 } else {
26548 _v = 1;
26549 }
26550 }
26551 if (_v) {
26552 if (argc <= 2) {
26553 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
26554 }
26555 {
26556 void *ptr;
26557 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
26558 _v = 0;
26559 PyErr_Clear();
26560 } else {
26561 _v = 1;
26562 }
26563 }
26564 if (_v) {
26565 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
26566 }
26567 }
26568 }
26569 }
26570 if (argc == 3) {
26571 int _v;
26572 {
26573 void *ptr;
26574 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26575 _v = 0;
26576 PyErr_Clear();
26577 } else {
26578 _v = 1;
26579 }
26580 }
26581 if (_v) {
26582 {
26583 void *ptr;
26584 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26585 _v = 0;
26586 PyErr_Clear();
26587 } else {
26588 _v = 1;
26589 }
26590 }
26591 if (_v) {
26592 {
26593 void *ptr;
26594 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
26595 _v = 0;
26596 PyErr_Clear();
26597 } else {
26598 _v = 1;
26599 }
26600 }
26601 if (_v) {
26602 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
26603 }
26604 }
26605 }
26606 }
26607
26608 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
26609 return NULL;
26610 }
26611
26612
26613 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
26614 PyObject *resultobj = NULL;
26615 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26616 PyObject *arg2 = (PyObject *) 0 ;
26617 PyObject *arg3 = (PyObject *) 0 ;
26618 PyObject * obj0 = 0 ;
26619 PyObject * obj1 = 0 ;
26620 PyObject * obj2 = 0 ;
26621 char *kwnames[] = {
26622 (char *) "self",(char *) "self",(char *) "_class", NULL
26623 };
26624
26625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
26626 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26627 if (SWIG_arg_fail(1)) SWIG_fail;
26628 arg2 = obj1;
26629 arg3 = obj2;
26630 {
26631 PyThreadState* __tstate = wxPyBeginAllowThreads();
26632 (arg1)->_setCallbackInfo(arg2,arg3);
26633
26634 wxPyEndAllowThreads(__tstate);
26635 if (PyErr_Occurred()) SWIG_fail;
26636 }
26637 Py_INCREF(Py_None); resultobj = Py_None;
26638 return resultobj;
26639 fail:
26640 return NULL;
26641 }
26642
26643
26644 static PyObject *_wrap_PyPrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
26645 PyObject *resultobj = NULL;
26646 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26647 int arg2 ;
26648 bool result;
26649 PyObject * obj0 = 0 ;
26650 PyObject * obj1 = 0 ;
26651 char *kwnames[] = {
26652 (char *) "self",(char *) "pageNum", NULL
26653 };
26654
26655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
26656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26657 if (SWIG_arg_fail(1)) SWIG_fail;
26658 {
26659 arg2 = static_cast<int >(SWIG_As_int(obj1));
26660 if (SWIG_arg_fail(2)) SWIG_fail;
26661 }
26662 {
26663 PyThreadState* __tstate = wxPyBeginAllowThreads();
26664 result = (bool)(arg1)->SetCurrentPage(arg2);
26665
26666 wxPyEndAllowThreads(__tstate);
26667 if (PyErr_Occurred()) SWIG_fail;
26668 }
26669 {
26670 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26671 }
26672 return resultobj;
26673 fail:
26674 return NULL;
26675 }
26676
26677
26678 static PyObject *_wrap_PyPrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
26679 PyObject *resultobj = NULL;
26680 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26681 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26682 wxDC *arg3 = 0 ;
26683 bool result;
26684 PyObject * obj0 = 0 ;
26685 PyObject * obj1 = 0 ;
26686 PyObject * obj2 = 0 ;
26687 char *kwnames[] = {
26688 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26689 };
26690
26691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26692 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26693 if (SWIG_arg_fail(1)) SWIG_fail;
26694 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26695 if (SWIG_arg_fail(2)) SWIG_fail;
26696 {
26697 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26698 if (SWIG_arg_fail(3)) SWIG_fail;
26699 if (arg3 == NULL) {
26700 SWIG_null_ref("wxDC");
26701 }
26702 if (SWIG_arg_fail(3)) SWIG_fail;
26703 }
26704 {
26705 PyThreadState* __tstate = wxPyBeginAllowThreads();
26706 result = (bool)(arg1)->PaintPage(arg2,*arg3);
26707
26708 wxPyEndAllowThreads(__tstate);
26709 if (PyErr_Occurred()) SWIG_fail;
26710 }
26711 {
26712 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26713 }
26714 return resultobj;
26715 fail:
26716 return NULL;
26717 }
26718
26719
26720 static PyObject *_wrap_PyPrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
26721 PyObject *resultobj = NULL;
26722 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26723 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26724 wxDC *arg3 = 0 ;
26725 bool result;
26726 PyObject * obj0 = 0 ;
26727 PyObject * obj1 = 0 ;
26728 PyObject * obj2 = 0 ;
26729 char *kwnames[] = {
26730 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26731 };
26732
26733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26734 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26735 if (SWIG_arg_fail(1)) SWIG_fail;
26736 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26737 if (SWIG_arg_fail(2)) SWIG_fail;
26738 {
26739 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26740 if (SWIG_arg_fail(3)) SWIG_fail;
26741 if (arg3 == NULL) {
26742 SWIG_null_ref("wxDC");
26743 }
26744 if (SWIG_arg_fail(3)) SWIG_fail;
26745 }
26746 {
26747 PyThreadState* __tstate = wxPyBeginAllowThreads();
26748 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
26749
26750 wxPyEndAllowThreads(__tstate);
26751 if (PyErr_Occurred()) SWIG_fail;
26752 }
26753 {
26754 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26755 }
26756 return resultobj;
26757 fail:
26758 return NULL;
26759 }
26760
26761
26762 static PyObject *_wrap_PyPrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
26763 PyObject *resultobj = NULL;
26764 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26765 int arg2 ;
26766 bool result;
26767 PyObject * obj0 = 0 ;
26768 PyObject * obj1 = 0 ;
26769 char *kwnames[] = {
26770 (char *) "self",(char *) "pageNum", NULL
26771 };
26772
26773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
26774 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26775 if (SWIG_arg_fail(1)) SWIG_fail;
26776 {
26777 arg2 = static_cast<int >(SWIG_As_int(obj1));
26778 if (SWIG_arg_fail(2)) SWIG_fail;
26779 }
26780 {
26781 PyThreadState* __tstate = wxPyBeginAllowThreads();
26782 result = (bool)(arg1)->RenderPage(arg2);
26783
26784 wxPyEndAllowThreads(__tstate);
26785 if (PyErr_Occurred()) SWIG_fail;
26786 }
26787 {
26788 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26789 }
26790 return resultobj;
26791 fail:
26792 return NULL;
26793 }
26794
26795
26796 static PyObject *_wrap_PyPrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
26797 PyObject *resultobj = NULL;
26798 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26799 int arg2 ;
26800 PyObject * obj0 = 0 ;
26801 PyObject * obj1 = 0 ;
26802 char *kwnames[] = {
26803 (char *) "self",(char *) "percent", NULL
26804 };
26805
26806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
26807 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26808 if (SWIG_arg_fail(1)) SWIG_fail;
26809 {
26810 arg2 = static_cast<int >(SWIG_As_int(obj1));
26811 if (SWIG_arg_fail(2)) SWIG_fail;
26812 }
26813 {
26814 PyThreadState* __tstate = wxPyBeginAllowThreads();
26815 (arg1)->SetZoom(arg2);
26816
26817 wxPyEndAllowThreads(__tstate);
26818 if (PyErr_Occurred()) SWIG_fail;
26819 }
26820 Py_INCREF(Py_None); resultobj = Py_None;
26821 return resultobj;
26822 fail:
26823 return NULL;
26824 }
26825
26826
26827 static PyObject *_wrap_PyPrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) {
26828 PyObject *resultobj = NULL;
26829 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26830 bool arg2 ;
26831 bool result;
26832 PyObject * obj0 = 0 ;
26833 PyObject * obj1 = 0 ;
26834 char *kwnames[] = {
26835 (char *) "self",(char *) "interactive", NULL
26836 };
26837
26838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
26839 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26840 if (SWIG_arg_fail(1)) SWIG_fail;
26841 {
26842 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
26843 if (SWIG_arg_fail(2)) SWIG_fail;
26844 }
26845 {
26846 PyThreadState* __tstate = wxPyBeginAllowThreads();
26847 result = (bool)(arg1)->Print(arg2);
26848
26849 wxPyEndAllowThreads(__tstate);
26850 if (PyErr_Occurred()) SWIG_fail;
26851 }
26852 {
26853 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26854 }
26855 return resultobj;
26856 fail:
26857 return NULL;
26858 }
26859
26860
26861 static PyObject *_wrap_PyPrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
26862 PyObject *resultobj = NULL;
26863 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26864 PyObject * obj0 = 0 ;
26865 char *kwnames[] = {
26866 (char *) "self", NULL
26867 };
26868
26869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
26870 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26871 if (SWIG_arg_fail(1)) SWIG_fail;
26872 {
26873 PyThreadState* __tstate = wxPyBeginAllowThreads();
26874 (arg1)->DetermineScaling();
26875
26876 wxPyEndAllowThreads(__tstate);
26877 if (PyErr_Occurred()) SWIG_fail;
26878 }
26879 Py_INCREF(Py_None); resultobj = Py_None;
26880 return resultobj;
26881 fail:
26882 return NULL;
26883 }
26884
26885
26886 static PyObject * PyPrintPreview_swigregister(PyObject *, PyObject *args) {
26887 PyObject *obj;
26888 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26889 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
26890 Py_INCREF(obj);
26891 return Py_BuildValue((char *)"");
26892 }
26893 static PyObject *_wrap_new_PyPreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
26894 PyObject *resultobj = NULL;
26895 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26896 wxFrame *arg2 = (wxFrame *) 0 ;
26897 wxString *arg3 = 0 ;
26898 wxPoint const &arg4_defvalue = wxDefaultPosition ;
26899 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
26900 wxSize const &arg5_defvalue = wxDefaultSize ;
26901 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
26902 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
26903 wxString const &arg7_defvalue = wxPyFrameNameStr ;
26904 wxString *arg7 = (wxString *) &arg7_defvalue ;
26905 wxPyPreviewFrame *result;
26906 bool temp3 = false ;
26907 wxPoint temp4 ;
26908 wxSize temp5 ;
26909 bool temp7 = false ;
26910 PyObject * obj0 = 0 ;
26911 PyObject * obj1 = 0 ;
26912 PyObject * obj2 = 0 ;
26913 PyObject * obj3 = 0 ;
26914 PyObject * obj4 = 0 ;
26915 PyObject * obj5 = 0 ;
26916 PyObject * obj6 = 0 ;
26917 char *kwnames[] = {
26918 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
26919 };
26920
26921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
26922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26923 if (SWIG_arg_fail(1)) SWIG_fail;
26924 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
26925 if (SWIG_arg_fail(2)) SWIG_fail;
26926 {
26927 arg3 = wxString_in_helper(obj2);
26928 if (arg3 == NULL) SWIG_fail;
26929 temp3 = true;
26930 }
26931 if (obj3) {
26932 {
26933 arg4 = &temp4;
26934 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
26935 }
26936 }
26937 if (obj4) {
26938 {
26939 arg5 = &temp5;
26940 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
26941 }
26942 }
26943 if (obj5) {
26944 {
26945 arg6 = static_cast<long >(SWIG_As_long(obj5));
26946 if (SWIG_arg_fail(6)) SWIG_fail;
26947 }
26948 }
26949 if (obj6) {
26950 {
26951 arg7 = wxString_in_helper(obj6);
26952 if (arg7 == NULL) SWIG_fail;
26953 temp7 = true;
26954 }
26955 }
26956 {
26957 if (!wxPyCheckForApp()) SWIG_fail;
26958 PyThreadState* __tstate = wxPyBeginAllowThreads();
26959 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
26960
26961 wxPyEndAllowThreads(__tstate);
26962 if (PyErr_Occurred()) SWIG_fail;
26963 }
26964 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
26965 {
26966 if (temp3)
26967 delete arg3;
26968 }
26969 {
26970 if (temp7)
26971 delete arg7;
26972 }
26973 return resultobj;
26974 fail:
26975 {
26976 if (temp3)
26977 delete arg3;
26978 }
26979 {
26980 if (temp7)
26981 delete arg7;
26982 }
26983 return NULL;
26984 }
26985
26986
26987 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
26988 PyObject *resultobj = NULL;
26989 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
26990 PyObject *arg2 = (PyObject *) 0 ;
26991 PyObject *arg3 = (PyObject *) 0 ;
26992 PyObject * obj0 = 0 ;
26993 PyObject * obj1 = 0 ;
26994 PyObject * obj2 = 0 ;
26995 char *kwnames[] = {
26996 (char *) "self",(char *) "self",(char *) "_class", NULL
26997 };
26998
26999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
27000 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27001 if (SWIG_arg_fail(1)) SWIG_fail;
27002 arg2 = obj1;
27003 arg3 = obj2;
27004 {
27005 PyThreadState* __tstate = wxPyBeginAllowThreads();
27006 (arg1)->_setCallbackInfo(arg2,arg3);
27007
27008 wxPyEndAllowThreads(__tstate);
27009 if (PyErr_Occurred()) SWIG_fail;
27010 }
27011 Py_INCREF(Py_None); resultobj = Py_None;
27012 return resultobj;
27013 fail:
27014 return NULL;
27015 }
27016
27017
27018 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
27019 PyObject *resultobj = NULL;
27020 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27021 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
27022 PyObject * obj0 = 0 ;
27023 PyObject * obj1 = 0 ;
27024 char *kwnames[] = {
27025 (char *) "self",(char *) "canvas", NULL
27026 };
27027
27028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
27029 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27030 if (SWIG_arg_fail(1)) SWIG_fail;
27031 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
27032 if (SWIG_arg_fail(2)) SWIG_fail;
27033 {
27034 PyThreadState* __tstate = wxPyBeginAllowThreads();
27035 (arg1)->SetPreviewCanvas(arg2);
27036
27037 wxPyEndAllowThreads(__tstate);
27038 if (PyErr_Occurred()) SWIG_fail;
27039 }
27040 Py_INCREF(Py_None); resultobj = Py_None;
27041 return resultobj;
27042 fail:
27043 return NULL;
27044 }
27045
27046
27047 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
27048 PyObject *resultobj = NULL;
27049 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27050 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
27051 PyObject * obj0 = 0 ;
27052 PyObject * obj1 = 0 ;
27053 char *kwnames[] = {
27054 (char *) "self",(char *) "bar", NULL
27055 };
27056
27057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
27058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27059 if (SWIG_arg_fail(1)) SWIG_fail;
27060 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27061 if (SWIG_arg_fail(2)) SWIG_fail;
27062 {
27063 PyThreadState* __tstate = wxPyBeginAllowThreads();
27064 (arg1)->SetControlBar(arg2);
27065
27066 wxPyEndAllowThreads(__tstate);
27067 if (PyErr_Occurred()) SWIG_fail;
27068 }
27069 Py_INCREF(Py_None); resultobj = Py_None;
27070 return resultobj;
27071 fail:
27072 return NULL;
27073 }
27074
27075
27076 static PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
27077 PyObject *resultobj = NULL;
27078 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27079 PyObject * obj0 = 0 ;
27080 char *kwnames[] = {
27081 (char *) "self", NULL
27082 };
27083
27084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_Initialize",kwnames,&obj0)) goto fail;
27085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27086 if (SWIG_arg_fail(1)) SWIG_fail;
27087 {
27088 PyThreadState* __tstate = wxPyBeginAllowThreads();
27089 (arg1)->Initialize();
27090
27091 wxPyEndAllowThreads(__tstate);
27092 if (PyErr_Occurred()) SWIG_fail;
27093 }
27094 Py_INCREF(Py_None); resultobj = Py_None;
27095 return resultobj;
27096 fail:
27097 return NULL;
27098 }
27099
27100
27101 static PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
27102 PyObject *resultobj = NULL;
27103 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27104 PyObject * obj0 = 0 ;
27105 char *kwnames[] = {
27106 (char *) "self", NULL
27107 };
27108
27109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
27110 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27111 if (SWIG_arg_fail(1)) SWIG_fail;
27112 {
27113 PyThreadState* __tstate = wxPyBeginAllowThreads();
27114 (arg1)->CreateCanvas();
27115
27116 wxPyEndAllowThreads(__tstate);
27117 if (PyErr_Occurred()) SWIG_fail;
27118 }
27119 Py_INCREF(Py_None); resultobj = Py_None;
27120 return resultobj;
27121 fail:
27122 return NULL;
27123 }
27124
27125
27126 static PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
27127 PyObject *resultobj = NULL;
27128 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27129 PyObject * obj0 = 0 ;
27130 char *kwnames[] = {
27131 (char *) "self", NULL
27132 };
27133
27134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
27135 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27136 if (SWIG_arg_fail(1)) SWIG_fail;
27137 {
27138 PyThreadState* __tstate = wxPyBeginAllowThreads();
27139 (arg1)->CreateControlBar();
27140
27141 wxPyEndAllowThreads(__tstate);
27142 if (PyErr_Occurred()) SWIG_fail;
27143 }
27144 Py_INCREF(Py_None); resultobj = Py_None;
27145 return resultobj;
27146 fail:
27147 return NULL;
27148 }
27149
27150
27151 static PyObject * PyPreviewFrame_swigregister(PyObject *, PyObject *args) {
27152 PyObject *obj;
27153 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27154 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
27155 Py_INCREF(obj);
27156 return Py_BuildValue((char *)"");
27157 }
27158 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
27159 PyObject *resultobj = NULL;
27160 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
27161 long arg2 ;
27162 wxWindow *arg3 = (wxWindow *) 0 ;
27163 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27164 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27165 wxSize const &arg5_defvalue = wxDefaultSize ;
27166 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27167 long arg6 = (long) 0 ;
27168 wxString const &arg7_defvalue = wxPyPanelNameStr ;
27169 wxString *arg7 = (wxString *) &arg7_defvalue ;
27170 wxPyPreviewControlBar *result;
27171 wxPoint temp4 ;
27172 wxSize temp5 ;
27173 bool temp7 = false ;
27174 PyObject * obj0 = 0 ;
27175 PyObject * obj1 = 0 ;
27176 PyObject * obj2 = 0 ;
27177 PyObject * obj3 = 0 ;
27178 PyObject * obj4 = 0 ;
27179 PyObject * obj5 = 0 ;
27180 PyObject * obj6 = 0 ;
27181 char *kwnames[] = {
27182 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27183 };
27184
27185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27187 if (SWIG_arg_fail(1)) SWIG_fail;
27188 {
27189 arg2 = static_cast<long >(SWIG_As_long(obj1));
27190 if (SWIG_arg_fail(2)) SWIG_fail;
27191 }
27192 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27193 if (SWIG_arg_fail(3)) SWIG_fail;
27194 if (obj3) {
27195 {
27196 arg4 = &temp4;
27197 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27198 }
27199 }
27200 if (obj4) {
27201 {
27202 arg5 = &temp5;
27203 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27204 }
27205 }
27206 if (obj5) {
27207 {
27208 arg6 = static_cast<long >(SWIG_As_long(obj5));
27209 if (SWIG_arg_fail(6)) SWIG_fail;
27210 }
27211 }
27212 if (obj6) {
27213 {
27214 arg7 = wxString_in_helper(obj6);
27215 if (arg7 == NULL) SWIG_fail;
27216 temp7 = true;
27217 }
27218 }
27219 {
27220 if (!wxPyCheckForApp()) SWIG_fail;
27221 PyThreadState* __tstate = wxPyBeginAllowThreads();
27222 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
27223
27224 wxPyEndAllowThreads(__tstate);
27225 if (PyErr_Occurred()) SWIG_fail;
27226 }
27227 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
27228 {
27229 if (temp7)
27230 delete arg7;
27231 }
27232 return resultobj;
27233 fail:
27234 {
27235 if (temp7)
27236 delete arg7;
27237 }
27238 return NULL;
27239 }
27240
27241
27242 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
27243 PyObject *resultobj = NULL;
27244 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27245 PyObject *arg2 = (PyObject *) 0 ;
27246 PyObject *arg3 = (PyObject *) 0 ;
27247 PyObject * obj0 = 0 ;
27248 PyObject * obj1 = 0 ;
27249 PyObject * obj2 = 0 ;
27250 char *kwnames[] = {
27251 (char *) "self",(char *) "self",(char *) "_class", NULL
27252 };
27253
27254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
27255 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27256 if (SWIG_arg_fail(1)) SWIG_fail;
27257 arg2 = obj1;
27258 arg3 = obj2;
27259 {
27260 PyThreadState* __tstate = wxPyBeginAllowThreads();
27261 (arg1)->_setCallbackInfo(arg2,arg3);
27262
27263 wxPyEndAllowThreads(__tstate);
27264 if (PyErr_Occurred()) SWIG_fail;
27265 }
27266 Py_INCREF(Py_None); resultobj = Py_None;
27267 return resultobj;
27268 fail:
27269 return NULL;
27270 }
27271
27272
27273 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
27274 PyObject *resultobj = NULL;
27275 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27276 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
27277 PyObject * obj0 = 0 ;
27278 PyObject * obj1 = 0 ;
27279 char *kwnames[] = {
27280 (char *) "self",(char *) "preview", NULL
27281 };
27282
27283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
27284 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27285 if (SWIG_arg_fail(1)) SWIG_fail;
27286 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27287 if (SWIG_arg_fail(2)) SWIG_fail;
27288 {
27289 PyThreadState* __tstate = wxPyBeginAllowThreads();
27290 (arg1)->SetPrintPreview(arg2);
27291
27292 wxPyEndAllowThreads(__tstate);
27293 if (PyErr_Occurred()) SWIG_fail;
27294 }
27295 Py_INCREF(Py_None); resultobj = Py_None;
27296 return resultobj;
27297 fail:
27298 return NULL;
27299 }
27300
27301
27302 static PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *, PyObject *args, PyObject *kwargs) {
27303 PyObject *resultobj = NULL;
27304 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27305 PyObject * obj0 = 0 ;
27306 char *kwnames[] = {
27307 (char *) "self", NULL
27308 };
27309
27310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_CreateButtons",kwnames,&obj0)) goto fail;
27311 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27312 if (SWIG_arg_fail(1)) SWIG_fail;
27313 {
27314 PyThreadState* __tstate = wxPyBeginAllowThreads();
27315 (arg1)->CreateButtons();
27316
27317 wxPyEndAllowThreads(__tstate);
27318 if (PyErr_Occurred()) SWIG_fail;
27319 }
27320 Py_INCREF(Py_None); resultobj = Py_None;
27321 return resultobj;
27322 fail:
27323 return NULL;
27324 }
27325
27326
27327 static PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
27328 PyObject *resultobj = NULL;
27329 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27330 int arg2 ;
27331 PyObject * obj0 = 0 ;
27332 PyObject * obj1 = 0 ;
27333 char *kwnames[] = {
27334 (char *) "self",(char *) "zoom", NULL
27335 };
27336
27337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
27338 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27339 if (SWIG_arg_fail(1)) SWIG_fail;
27340 {
27341 arg2 = static_cast<int >(SWIG_As_int(obj1));
27342 if (SWIG_arg_fail(2)) SWIG_fail;
27343 }
27344 {
27345 PyThreadState* __tstate = wxPyBeginAllowThreads();
27346 (arg1)->SetZoomControl(arg2);
27347
27348 wxPyEndAllowThreads(__tstate);
27349 if (PyErr_Occurred()) SWIG_fail;
27350 }
27351 Py_INCREF(Py_None); resultobj = Py_None;
27352 return resultobj;
27353 fail:
27354 return NULL;
27355 }
27356
27357
27358 static PyObject * PyPreviewControlBar_swigregister(PyObject *, PyObject *args) {
27359 PyObject *obj;
27360 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27361 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
27362 Py_INCREF(obj);
27363 return Py_BuildValue((char *)"");
27364 }
27365 static PyMethodDef SwigMethods[] = {
27366 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
27367 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS, NULL},
27368 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27369 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27370 { (char *)"Panel_SetFocus", (PyCFunction) _wrap_Panel_SetFocus, METH_VARARGS | METH_KEYWORDS, NULL},
27371 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction) _wrap_Panel_SetFocusIgnoringChildren, METH_VARARGS | METH_KEYWORDS, NULL},
27372 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27373 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
27374 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27375 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27376 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27377 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
27378 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
27379 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
27380 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
27381 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
27382 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS, NULL},
27383 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
27384 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS, NULL},
27385 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
27386 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS, NULL},
27387 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS, NULL},
27388 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
27389 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
27390 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
27391 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
27392 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27393 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27394 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27395 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27396 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
27397 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27398 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
27399 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
27400 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS, NULL},
27401 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
27402 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS, NULL},
27403 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS, NULL},
27404 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27405 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27406 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
27407 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27408 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27409 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
27410 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
27411 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
27412 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
27413 { (char *)"TopLevelWindow_IsActive", (PyCFunction) _wrap_TopLevelWindow_IsActive, METH_VARARGS | METH_KEYWORDS, NULL},
27414 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
27415 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacGetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
27416 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
27417 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
27418 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27419 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27420 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
27421 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27422 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
27423 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
27424 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
27425 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27426 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27427 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27428 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27429 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
27430 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27431 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27432 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
27433 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
27434 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27435 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27436 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27437 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27438 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
27439 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27440 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
27441 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
27442 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27443 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27444 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
27445 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
27446 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
27447 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
27448 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
27449 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS, NULL},
27450 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
27451 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
27452 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27453 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
27454 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27455 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27456 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27457 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
27458 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27459 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
27460 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
27461 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
27462 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27463 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27464 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27465 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS, NULL},
27466 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
27467 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27468 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27469 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27470 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
27471 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
27472 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27473 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27474 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27475 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27476 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
27477 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
27478 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
27479 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
27480 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS, NULL},
27481 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS, NULL},
27482 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27483 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
27484 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27485 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27486 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27487 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS, NULL},
27488 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS, NULL},
27489 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
27490 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
27491 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
27492 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
27493 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
27494 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
27495 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27496 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS, NULL},
27497 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS, NULL},
27498 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
27499 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27500 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
27501 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27502 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27503 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27504 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
27505 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction) _wrap_SplitterWindow_GetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
27506 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
27507 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
27508 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27509 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL},
27510 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
27511 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
27512 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27513 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
27514 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27515 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27516 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27517 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS, NULL},
27518 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL},
27519 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL},
27520 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
27521 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27522 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27523 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27524 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
27525 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
27526 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
27527 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
27528 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
27529 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27530 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27531 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27532 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27533 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27534 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27535 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27536 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27537 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27538 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27539 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27540 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27541 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27542 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL},
27543 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
27544 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27545 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
27546 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
27547 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
27548 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
27549 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
27550 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
27551 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
27552 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27553 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
27554 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
27555 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27556 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27557 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27558 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27559 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27560 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27561 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27562 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27563 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
27564 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27565 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27566 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27567 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27568 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27569 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
27570 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27571 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27572 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27573 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27574 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27575 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27576 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
27577 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27578 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
27579 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL},
27580 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL},
27581 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27582 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27583 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27584 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
27585 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27586 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27587 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
27588 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27589 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27590 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
27591 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27592 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
27593 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS, NULL},
27594 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
27595 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27596 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27597 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27598 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27599 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
27600 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
27601 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL},
27602 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL},
27603 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
27604 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
27605 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
27606 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27607 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL},
27608 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
27609 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction) _wrap_VScrolledWindow_GetVisibleBegin, METH_VARARGS | METH_KEYWORDS, NULL},
27610 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction) _wrap_VScrolledWindow_GetVisibleEnd, METH_VARARGS | METH_KEYWORDS, NULL},
27611 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
27612 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
27613 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
27614 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
27615 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27616 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27617 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27618 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27619 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
27620 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27621 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27622 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
27623 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
27624 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS, NULL},
27625 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL},
27626 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
27627 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
27628 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
27629 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
27630 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
27631 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27632 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
27633 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
27634 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
27635 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
27636 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
27637 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
27638 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
27639 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
27640 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
27641 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27642 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27643 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27644 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27645 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL},
27646 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
27647 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS, NULL},
27648 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
27649 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27650 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27651 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27652 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
27653 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
27654 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS, NULL},
27655 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27656 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27657 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
27658 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
27659 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27660 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
27661 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS, NULL},
27662 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS, NULL},
27663 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
27664 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27665 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
27666 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
27667 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27668 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
27669 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
27670 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27671 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS, NULL},
27672 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
27673 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
27674 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27675 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27676 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27677 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27678 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27679 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27680 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
27681 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27682 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27683 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27684 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
27685 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
27686 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
27687 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27688 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
27689 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27690 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27691 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
27692 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
27693 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
27694 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27695 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
27696 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL},
27697 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS, NULL},
27698 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
27699 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27700 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
27701 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
27702 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
27703 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27704 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27705 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27706 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27707 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
27708 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27709 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
27710 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
27711 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
27712 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27713 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
27714 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS, NULL},
27715 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS, NULL},
27716 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
27717 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
27718 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27719 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
27720 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
27721 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
27722 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27723 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
27724 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
27725 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27726 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
27727 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
27728 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27729 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
27730 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27731 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS, NULL},
27732 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
27733 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
27734 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27735 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
27736 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27737 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
27738 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS, NULL},
27739 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
27740 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27741 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27742 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27743 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
27744 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27745 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27746 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27747 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
27748 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
27749 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
27750 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
27751 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27752 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
27753 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27754 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27755 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27756 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
27757 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
27758 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27759 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27760 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27761 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
27762 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
27763 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
27764 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27765 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27766 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27767 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS, NULL},
27768 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS, NULL},
27769 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS, NULL},
27770 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS, NULL},
27771 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS, NULL},
27772 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27773 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27774 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
27775 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
27776 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27777 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27778 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27779 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS, NULL},
27780 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
27781 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS, NULL},
27782 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
27783 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27784 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27785 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27786 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
27787 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27788 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27789 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27790 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
27791 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
27792 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27793 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27794 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27795 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27796 { (char *)"PyWindow_DoGetSize", (PyCFunction) _wrap_PyWindow_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27797 { (char *)"PyWindow_DoGetClientSize", (PyCFunction) _wrap_PyWindow_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27798 { (char *)"PyWindow_DoGetPosition", (PyCFunction) _wrap_PyWindow_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27799 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27800 { (char *)"PyWindow_DoGetBestSize", (PyCFunction) _wrap_PyWindow_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
27801 { (char *)"PyWindow_InitDialog", (PyCFunction) _wrap_PyWindow_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27802 { (char *)"PyWindow_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27803 { (char *)"PyWindow_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27804 { (char *)"PyWindow_Validate", (PyCFunction) _wrap_PyWindow_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
27805 { (char *)"PyWindow_AcceptsFocus", (PyCFunction) _wrap_PyWindow_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
27806 { (char *)"PyWindow_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
27807 { (char *)"PyWindow_GetMaxSize", (PyCFunction) _wrap_PyWindow_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
27808 { (char *)"PyWindow_AddChild", (PyCFunction) _wrap_PyWindow_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
27809 { (char *)"PyWindow_RemoveChild", (PyCFunction) _wrap_PyWindow_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
27810 { (char *)"PyWindow_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
27811 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27812 { (char *)"PyWindow_OnInternalIdle", (PyCFunction) _wrap_PyWindow_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL},
27813 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
27814 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
27815 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
27816 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27817 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
27818 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
27819 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27820 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27821 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27822 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27823 { (char *)"PyPanel_DoGetSize", (PyCFunction) _wrap_PyPanel_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27824 { (char *)"PyPanel_DoGetClientSize", (PyCFunction) _wrap_PyPanel_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27825 { (char *)"PyPanel_DoGetPosition", (PyCFunction) _wrap_PyPanel_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27826 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27827 { (char *)"PyPanel_DoGetBestSize", (PyCFunction) _wrap_PyPanel_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
27828 { (char *)"PyPanel_InitDialog", (PyCFunction) _wrap_PyPanel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27829 { (char *)"PyPanel_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27830 { (char *)"PyPanel_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27831 { (char *)"PyPanel_Validate", (PyCFunction) _wrap_PyPanel_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
27832 { (char *)"PyPanel_AcceptsFocus", (PyCFunction) _wrap_PyPanel_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
27833 { (char *)"PyPanel_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
27834 { (char *)"PyPanel_GetMaxSize", (PyCFunction) _wrap_PyPanel_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
27835 { (char *)"PyPanel_AddChild", (PyCFunction) _wrap_PyPanel_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
27836 { (char *)"PyPanel_RemoveChild", (PyCFunction) _wrap_PyPanel_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
27837 { (char *)"PyPanel_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
27838 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27839 { (char *)"PyPanel_OnInternalIdle", (PyCFunction) _wrap_PyPanel_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL},
27840 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
27841 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27842 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27843 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27844 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
27845 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
27846 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27847 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27848 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27849 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27850 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27851 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27852 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27853 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27854 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
27855 { (char *)"PyScrolledWindow_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27856 { (char *)"PyScrolledWindow_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27857 { (char *)"PyScrolledWindow_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27858 { (char *)"PyScrolledWindow_Validate", (PyCFunction) _wrap_PyScrolledWindow_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
27859 { (char *)"PyScrolledWindow_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
27860 { (char *)"PyScrolledWindow_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
27861 { (char *)"PyScrolledWindow_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
27862 { (char *)"PyScrolledWindow_AddChild", (PyCFunction) _wrap_PyScrolledWindow_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
27863 { (char *)"PyScrolledWindow_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
27864 { (char *)"PyScrolledWindow_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
27865 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27866 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction) _wrap_PyScrolledWindow_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL},
27867 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
27868 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
27869 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS, NULL},
27870 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
27871 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
27872 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27873 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
27874 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
27875 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27876 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
27877 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
27878 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
27879 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
27880 { (char *)"PrintData_GetBin", (PyCFunction) _wrap_PrintData_GetBin, METH_VARARGS | METH_KEYWORDS, NULL},
27881 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
27882 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
27883 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
27884 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27885 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
27886 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27887 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
27888 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
27889 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
27890 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
27891 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
27892 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
27893 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
27894 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
27895 { (char *)"PrintData_GetPrivData", (PyCFunction) _wrap_PrintData_GetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
27896 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
27897 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
27898 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
27899 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
27900 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27901 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
27902 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27903 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
27904 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
27905 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
27906 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
27907 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27908 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
27909 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
27910 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27911 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27912 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
27913 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
27914 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
27915 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
27916 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
27917 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
27918 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
27919 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
27920 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27921 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
27922 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
27923 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
27924 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
27925 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
27926 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
27927 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
27928 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
27929 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction) _wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
27930 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction) _wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_VARARGS | METH_KEYWORDS, NULL},
27931 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
27932 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27933 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL},
27934 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
27935 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
27936 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
27937 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
27938 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
27939 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
27940 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
27941 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
27942 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
27943 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
27944 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
27945 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27946 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
27947 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
27948 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
27949 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
27950 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
27951 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
27952 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
27953 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
27954 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27955 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
27956 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
27957 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
27958 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27959 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
27960 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27961 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
27962 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27963 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
27964 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27965 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
27966 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
27967 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
27968 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
27969 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27970 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
27971 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
27972 { (char *)"PrintDialog_GetPrintData", (PyCFunction) _wrap_PrintDialog_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
27973 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS, NULL},
27974 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
27975 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
27976 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
27977 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27978 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
27979 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
27980 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
27981 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27982 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
27983 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS, NULL},
27984 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS, NULL},
27985 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
27986 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
27987 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27988 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
27989 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS, NULL},
27990 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
27991 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
27992 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
27993 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
27994 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
27995 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27996 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27997 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
27998 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
27999 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28000 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28001 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
28002 { (char *)"Printout_OnEndDocument", (PyCFunction) _wrap_Printout_OnEndDocument, METH_VARARGS | METH_KEYWORDS, NULL},
28003 { (char *)"Printout_OnBeginPrinting", (PyCFunction) _wrap_Printout_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28004 { (char *)"Printout_OnEndPrinting", (PyCFunction) _wrap_Printout_OnEndPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28005 { (char *)"Printout_OnPreparePrinting", (PyCFunction) _wrap_Printout_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28006 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
28007 { (char *)"Printout_GetPageInfo", (PyCFunction) _wrap_Printout_GetPageInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28008 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
28009 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28010 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
28011 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28012 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
28013 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28014 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28015 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28016 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
28017 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28018 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28019 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28020 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28021 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS, NULL},
28022 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS, NULL},
28023 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS, NULL},
28024 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS, NULL},
28025 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS, NULL},
28026 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
28027 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
28028 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28029 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28030 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
28031 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
28032 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28033 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28034 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28035 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28036 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28037 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
28038 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
28039 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
28040 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
28041 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28042 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28043 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28044 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28045 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28046 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28047 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
28048 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28049 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL},
28050 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
28051 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
28052 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28053 { (char *)"PyPrintPreview_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28054 { (char *)"PyPrintPreview_PaintPage", (PyCFunction) _wrap_PyPrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
28055 { (char *)"PyPrintPreview_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
28056 { (char *)"PyPrintPreview_RenderPage", (PyCFunction) _wrap_PyPrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
28057 { (char *)"PyPrintPreview_SetZoom", (PyCFunction) _wrap_PyPrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28058 { (char *)"PyPrintPreview_Print", (PyCFunction) _wrap_PyPrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28059 { (char *)"PyPrintPreview_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL},
28060 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
28061 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28062 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28063 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28064 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28065 { (char *)"PyPreviewFrame_Initialize", (PyCFunction) _wrap_PyPreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
28066 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28067 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28068 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
28069 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28070 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28071 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28072 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_CreateButtons, METH_VARARGS | METH_KEYWORDS, NULL},
28073 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28074 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
28075 { NULL, NULL, 0, NULL }
28076 };
28077
28078
28079 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28080
28081 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
28082 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28083 }
28084 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
28085 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
28086 }
28087 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
28088 return (void *)((wxEvent *) ((wxMenuEvent *) x));
28089 }
28090 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
28091 return (void *)((wxEvent *) ((wxCloseEvent *) x));
28092 }
28093 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
28094 return (void *)((wxEvent *) ((wxMouseEvent *) x));
28095 }
28096 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
28097 return (void *)((wxEvent *) ((wxEraseEvent *) x));
28098 }
28099 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
28100 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
28101 }
28102 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
28103 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
28104 }
28105 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
28106 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
28107 }
28108 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
28109 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
28110 }
28111 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
28112 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
28113 }
28114 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
28115 return (void *)((wxEvent *) ((wxPyEvent *) x));
28116 }
28117 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
28118 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
28119 }
28120 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
28121 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
28122 }
28123 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
28124 return (void *)((wxEvent *) ((wxIdleEvent *) x));
28125 }
28126 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
28127 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
28128 }
28129 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
28130 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
28131 }
28132 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
28133 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
28134 }
28135 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
28136 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
28137 }
28138 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
28139 return (void *)((wxEvent *) ((wxActivateEvent *) x));
28140 }
28141 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
28142 return (void *)((wxEvent *) ((wxSizeEvent *) x));
28143 }
28144 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
28145 return (void *)((wxEvent *) ((wxMoveEvent *) x));
28146 }
28147 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
28148 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
28149 }
28150 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
28151 return (void *)((wxEvent *) ((wxPaintEvent *) x));
28152 }
28153 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
28154 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
28155 }
28156 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
28157 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
28158 }
28159 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
28160 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
28161 }
28162 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
28163 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
28164 }
28165 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
28166 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
28167 }
28168 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
28169 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
28170 }
28171 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
28172 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
28173 }
28174 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
28175 return (void *)((wxEvent *) ((wxFocusEvent *) x));
28176 }
28177 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
28178 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
28179 }
28180 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
28181 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
28182 }
28183 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
28184 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
28185 }
28186 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
28187 return (void *)((wxEvent *) ((wxShowEvent *) x));
28188 }
28189 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
28190 return (void *)((wxEvent *) ((wxCommandEvent *) x));
28191 }
28192 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
28193 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
28194 }
28195 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
28196 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28197 }
28198 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
28199 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
28200 }
28201 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
28202 return (void *)((wxEvent *) ((wxKeyEvent *) x));
28203 }
28204 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
28205 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
28206 }
28207 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
28208 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
28209 }
28210 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
28211 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
28212 }
28213 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
28214 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28215 }
28216 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
28217 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
28218 }
28219 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
28220 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
28221 }
28222 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
28223 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
28224 }
28225 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
28226 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
28227 }
28228 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
28229 return (void *)((wxEvtHandler *) ((wxValidator *) x));
28230 }
28231 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
28232 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
28233 }
28234 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
28235 return (void *)((wxEvtHandler *) ((wxMenu *) x));
28236 }
28237 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
28238 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28239 }
28240 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
28241 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
28242 }
28243 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
28244 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
28245 }
28246 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
28247 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
28248 }
28249 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
28250 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
28251 }
28252 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
28253 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
28254 }
28255 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
28256 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
28257 }
28258 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
28259 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
28260 }
28261 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
28262 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
28263 }
28264 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
28265 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
28266 }
28267 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
28268 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
28269 }
28270 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
28271 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
28272 }
28273 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
28274 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28275 }
28276 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
28277 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
28278 }
28279 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
28280 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
28281 }
28282 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
28283 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
28284 }
28285 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
28286 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
28287 }
28288 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
28289 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
28290 }
28291 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
28292 return (void *)((wxEvtHandler *) ((wxWindow *) x));
28293 }
28294 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
28295 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
28296 }
28297 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
28298 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
28299 }
28300 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
28301 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
28302 }
28303 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
28304 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
28305 }
28306 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
28307 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
28308 }
28309 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
28310 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
28311 }
28312 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
28313 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28314 }
28315 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
28316 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
28317 }
28318 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
28319 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
28320 }
28321 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
28322 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
28323 }
28324 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
28325 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
28326 }
28327 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
28328 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
28329 }
28330 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
28331 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
28332 }
28333 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
28334 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28335 }
28336 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
28337 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
28338 }
28339 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
28340 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
28341 }
28342 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
28343 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
28344 }
28345 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
28346 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
28347 }
28348 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
28349 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
28350 }
28351 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
28352 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
28353 }
28354 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
28355 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
28356 }
28357 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
28358 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
28359 }
28360 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
28361 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
28362 }
28363 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
28364 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
28365 }
28366 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
28367 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
28368 }
28369 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
28370 return (void *)((wxFrame *) ((wxProgressDialog *) x));
28371 }
28372 static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
28373 return (void *)((wxFrame *) ((wxTipWindow *) x));
28374 }
28375 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
28376 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
28377 }
28378 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
28379 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28380 }
28381 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
28382 return (void *)((wxFrame *) ((wxMiniFrame *) x));
28383 }
28384 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
28385 return (void *)((wxFrame *) ((wxSplashScreen *) x));
28386 }
28387 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
28388 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
28389 }
28390 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
28391 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
28392 }
28393 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
28394 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
28395 }
28396 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
28397 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
28398 }
28399 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
28400 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28401 }
28402 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
28403 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
28404 }
28405 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
28406 return (void *)((wxObject *) ((wxSizerItem *) x));
28407 }
28408 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
28409 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
28410 }
28411 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
28412 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
28413 }
28414 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
28415 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
28416 }
28417 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
28418 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
28419 }
28420 static void *_p_wxSizerTo_p_wxObject(void *x) {
28421 return (void *)((wxObject *) ((wxSizer *) x));
28422 }
28423 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
28424 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
28425 }
28426 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
28427 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
28428 }
28429 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
28430 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
28431 }
28432 static void *_p_wxEventTo_p_wxObject(void *x) {
28433 return (void *)((wxObject *) ((wxEvent *) x));
28434 }
28435 static void *_p_wxFontDataTo_p_wxObject(void *x) {
28436 return (void *)((wxObject *) ((wxFontData *) x));
28437 }
28438 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
28439 return (void *)((wxObject *) ((wxPrintData *) x));
28440 }
28441 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
28442 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
28443 }
28444 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
28445 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
28446 }
28447 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
28448 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
28449 }
28450 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
28451 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
28452 }
28453 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
28454 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
28455 }
28456 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
28457 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
28458 }
28459 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
28460 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
28461 }
28462 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
28463 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
28464 }
28465 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
28466 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
28467 }
28468 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
28469 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
28470 }
28471 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
28472 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
28473 }
28474 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
28475 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
28476 }
28477 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
28478 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
28479 }
28480 static void *_p_wxControlTo_p_wxObject(void *x) {
28481 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
28482 }
28483 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
28484 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
28485 }
28486 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
28487 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
28488 }
28489 static void *_p_wxFSFileTo_p_wxObject(void *x) {
28490 return (void *)((wxObject *) ((wxFSFile *) x));
28491 }
28492 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
28493 return (void *)((wxObject *) ((wxFindReplaceData *) x));
28494 }
28495 static void *_p_wxPySizerTo_p_wxObject(void *x) {
28496 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
28497 }
28498 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
28499 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
28500 }
28501 static void *_p_wxColourDataTo_p_wxObject(void *x) {
28502 return (void *)((wxObject *) ((wxColourData *) x));
28503 }
28504 static void *_p_wxPyEventTo_p_wxObject(void *x) {
28505 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
28506 }
28507 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
28508 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
28509 }
28510 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
28511 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
28512 }
28513 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
28514 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
28515 }
28516 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
28517 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
28518 }
28519 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
28520 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
28521 }
28522 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
28523 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
28524 }
28525 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
28526 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
28527 }
28528 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
28529 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28530 }
28531 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
28532 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
28533 }
28534 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
28535 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
28536 }
28537 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
28538 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
28539 }
28540 static void *_p_wxShowEventTo_p_wxObject(void *x) {
28541 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
28542 }
28543 static void *_p_wxPrinterTo_p_wxObject(void *x) {
28544 return (void *)((wxObject *) ((wxPrinter *) x));
28545 }
28546 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
28547 return (void *)((wxObject *) ((wxMenuItem *) x));
28548 }
28549 static void *_p_wxDateEventTo_p_wxObject(void *x) {
28550 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
28551 }
28552 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
28553 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
28554 }
28555 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
28556 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
28557 }
28558 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
28559 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
28560 }
28561 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
28562 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
28563 }
28564 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
28565 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
28566 }
28567 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
28568 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
28569 }
28570 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
28571 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
28572 }
28573 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
28574 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
28575 }
28576 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
28577 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
28578 }
28579 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
28580 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
28581 }
28582 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
28583 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
28584 }
28585 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
28586 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
28587 }
28588 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
28589 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
28590 }
28591 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
28592 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
28593 }
28594 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
28595 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
28596 }
28597 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
28598 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
28599 }
28600 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
28601 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
28602 }
28603 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
28604 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
28605 }
28606 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
28607 return (void *)((wxObject *) ((wxImageHandler *) x));
28608 }
28609 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
28610 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
28611 }
28612 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
28613 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
28614 }
28615 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
28616 return (void *)((wxObject *) ((wxEvtHandler *) x));
28617 }
28618 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
28619 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
28620 }
28621 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
28622 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28623 }
28624 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
28625 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
28626 }
28627 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
28628 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
28629 }
28630 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
28631 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
28632 }
28633 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
28634 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
28635 }
28636 static void *_p_wxImageTo_p_wxObject(void *x) {
28637 return (void *)((wxObject *) ((wxImage *) x));
28638 }
28639 static void *_p_wxFrameTo_p_wxObject(void *x) {
28640 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
28641 }
28642 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
28643 return (void *)((wxObject *) ((wxPyPrintout *) x));
28644 }
28645 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
28646 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
28647 }
28648 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
28649 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
28650 }
28651 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
28652 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
28653 }
28654 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
28655 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
28656 }
28657 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
28658 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28659 }
28660 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
28661 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
28662 }
28663 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
28664 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
28665 }
28666 static void *_p_wxWindowTo_p_wxObject(void *x) {
28667 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
28668 }
28669 static void *_p_wxMenuTo_p_wxObject(void *x) {
28670 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
28671 }
28672 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
28673 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
28674 }
28675 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
28676 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
28677 }
28678 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
28679 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
28680 }
28681 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
28682 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
28683 }
28684 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
28685 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
28686 }
28687 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
28688 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
28689 }
28690 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
28691 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
28692 }
28693 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
28694 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
28695 }
28696 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
28697 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28698 }
28699 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
28700 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
28701 }
28702 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
28703 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
28704 }
28705 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
28706 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
28707 }
28708 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
28709 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
28710 }
28711 static void *_p_wxSashEventTo_p_wxObject(void *x) {
28712 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
28713 }
28714 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
28715 return (void *)((wxObject *) ((wxPrintPreview *) x));
28716 }
28717 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
28718 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
28719 }
28720 static void *_p_wxPanelTo_p_wxObject(void *x) {
28721 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
28722 }
28723 static void *_p_wxDialogTo_p_wxObject(void *x) {
28724 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
28725 }
28726 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
28727 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
28728 }
28729 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
28730 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
28731 }
28732 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
28733 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
28734 }
28735 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
28736 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
28737 }
28738 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
28739 return (void *)((wxObject *) ((wxPrintDialog *) x));
28740 }
28741 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
28742 return (void *)((wxObject *) ((wxFileSystem *) x));
28743 }
28744 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
28745 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
28746 }
28747 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
28748 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
28749 }
28750 static void *_p_wxPyAppTo_p_wxObject(void *x) {
28751 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
28752 }
28753 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
28754 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
28755 }
28756 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
28757 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
28758 }
28759 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
28760 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
28761 }
28762 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
28763 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
28764 }
28765 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
28766 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
28767 }
28768 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
28769 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
28770 }
28771 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
28772 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
28773 }
28774 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
28775 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
28776 }
28777 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
28778 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
28779 }
28780 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
28781 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
28782 }
28783 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
28784 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
28785 }
28786 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
28787 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
28788 }
28789 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
28790 return (void *)((wxObject *) ((wxPrintDialogData *) x));
28791 }
28792 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
28793 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
28794 }
28795 static void *_p_wxValidatorTo_p_wxObject(void *x) {
28796 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
28797 }
28798 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
28799 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28800 }
28801 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
28802 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
28803 }
28804 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
28805 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28806 }
28807 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
28808 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
28809 }
28810 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
28811 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
28812 }
28813 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
28814 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
28815 }
28816 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
28817 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
28818 }
28819 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
28820 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
28821 }
28822 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
28823 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
28824 }
28825 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
28826 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
28827 }
28828 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
28829 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
28830 }
28831 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
28832 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
28833 }
28834 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
28835 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
28836 }
28837 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
28838 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
28839 }
28840 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
28841 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
28842 }
28843 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
28844 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28845 }
28846 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
28847 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
28848 }
28849 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
28850 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
28851 }
28852 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
28853 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
28854 }
28855 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
28856 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
28857 }
28858 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
28859 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
28860 }
28861 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
28862 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
28863 }
28864 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
28865 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
28866 }
28867 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
28868 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28869 }
28870 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
28871 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
28872 }
28873 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
28874 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
28875 }
28876 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
28877 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
28878 }
28879 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
28880 return (void *)((wxWindow *) ((wxMenuBar *) x));
28881 }
28882 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
28883 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
28884 }
28885 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
28886 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
28887 }
28888 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
28889 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
28890 }
28891 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
28892 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28893 }
28894 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
28895 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
28896 }
28897 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
28898 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
28899 }
28900 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
28901 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
28902 }
28903 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
28904 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
28905 }
28906 static void *_p_wxPanelTo_p_wxWindow(void *x) {
28907 return (void *)((wxWindow *) ((wxPanel *) x));
28908 }
28909 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
28910 return (void *)((wxWindow *) ((wxStatusBar *) x));
28911 }
28912 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
28913 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
28914 }
28915 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
28916 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
28917 }
28918 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
28919 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28920 }
28921 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
28922 return (void *)((wxWindow *) ((wxPopupWindow *) x));
28923 }
28924 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
28925 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
28926 }
28927 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
28928 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
28929 }
28930 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
28931 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
28932 }
28933 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
28934 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
28935 }
28936 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
28937 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
28938 }
28939 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
28940 return (void *)((wxWindow *) ((wxSashWindow *) x));
28941 }
28942 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
28943 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
28944 }
28945 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
28946 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
28947 }
28948 static void *_p_wxControlTo_p_wxWindow(void *x) {
28949 return (void *)((wxWindow *) ((wxControl *) x));
28950 }
28951 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
28952 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
28953 }
28954 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
28955 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28956 }
28957 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
28958 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
28959 }
28960 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
28961 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
28962 }
28963 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
28964 return (void *)((wxWindow *) ((wxPyWindow *) x));
28965 }
28966 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
28967 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
28968 }
28969 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
28970 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
28971 }
28972 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
28973 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28974 }
28975 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
28976 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
28977 }
28978 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
28979 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
28980 }
28981 static void *_p_wxFrameTo_p_wxWindow(void *x) {
28982 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
28983 }
28984 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
28985 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
28986 }
28987 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
28988 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
28989 }
28990 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
28991 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
28992 }
28993 static void *_p_wxDialogTo_p_wxWindow(void *x) {
28994 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
28995 }
28996 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
28997 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
28998 }
28999 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
29000 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29001 }
29002 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
29003 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
29004 }
29005 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
29006 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
29007 }
29008 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
29009 return (void *)((wxDialog *) ((wxColourDialog *) x));
29010 }
29011 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
29012 return (void *)((wxDialog *) ((wxDirDialog *) x));
29013 }
29014 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
29015 return (void *)((wxDialog *) ((wxFontDialog *) x));
29016 }
29017 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
29018 return (void *)((wxDialog *) ((wxFileDialog *) x));
29019 }
29020 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
29021 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
29022 }
29023 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
29024 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
29025 }
29026 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
29027 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
29028 }
29029 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
29030 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
29031 }
29032 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
29033 return (void *)((wxDialog *) ((wxMessageDialog *) x));
29034 }
29035 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
29036 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
29037 }
29038 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
29039 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
29040 }
29041 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
29042 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
29043 }
29044 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
29045 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29046 }
29047 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
29048 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29049 }
29050 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
29051 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
29052 }
29053 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
29054 return (void *)((wxPanel *) ((wxPyPanel *) x));
29055 }
29056 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
29057 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
29058 }
29059 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
29060 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
29061 }
29062 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
29063 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29064 }
29065 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
29066 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
29067 }
29068 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
29069 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
29070 }
29071 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
29072 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
29073 }
29074 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
29075 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
29076 }
29077 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
29078 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
29079 }
29080 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
29081 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
29082 }
29083 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
29084 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
29085 }
29086 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
29087 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
29088 }
29089 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
29090 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
29091 }
29092 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
29093 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
29094 }
29095 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
29096 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
29097 }
29098 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
29099 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
29100 }
29101 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
29102 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29103 }
29104 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, 0};
29105 static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
29106 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, 0};
29107 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
29108 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
29109 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0};
29110 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, 0};
29111 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
29112 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, 0};
29113 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0};
29114 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, 0};
29115 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, 0};
29116 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0};
29117 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0};
29118 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0};
29119 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
29120 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0};
29121 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
29122 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
29123 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0};
29124 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0};
29125 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, 0};
29126 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, 0};
29127 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, 0};
29128 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
29129 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, 0};
29130 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0};
29131 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0};
29132 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0};
29133 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0};
29134 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0};
29135 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0};
29136 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0};
29137 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0};
29138 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
29139 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0};
29140 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0};
29141 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0};
29142 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0};
29143 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0};
29144 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0};
29145 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0};
29146 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
29147 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
29148 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
29149 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
29150 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0};
29151 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0};
29152 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0};
29153 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
29154 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0};
29155 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
29156 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0};
29157 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0};
29158 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0};
29159 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0};
29160 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0};
29161 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, 0};
29162 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, 0};
29163 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, 0};
29164 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, 0};
29165 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, 0};
29166 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, 0};
29167 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, 0};
29168 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, 0};
29169 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, 0};
29170 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, 0};
29171 static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, 0};
29172 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, 0};
29173 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, 0};
29174 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, 0};
29175 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, 0};
29176 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, 0};
29177 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, 0};
29178 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, 0};
29179 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, 0};
29180 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, 0};
29181 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, 0};
29182 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, 0};
29183 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0};
29184 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0};
29185 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0};
29186 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
29187 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
29188 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0};
29189 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0};
29190 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0};
29191 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0};
29192 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0};
29193 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0};
29194 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0};
29195 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0};
29196 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0};
29197 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0};
29198 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0};
29199 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0};
29200 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0};
29201 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0};
29202 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0};
29203 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0};
29204 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0};
29205 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0};
29206 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0};
29207 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0};
29208 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0};
29209 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0};
29210 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0};
29211 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, 0};
29212 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, 0};
29213 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, 0};
29214 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
29215 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, 0};
29216 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, 0};
29217 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, 0};
29218 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, 0};
29219 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, 0};
29220 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, 0};
29221 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, 0};
29222 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, 0};
29223 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, 0};
29224 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, 0};
29225 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, 0};
29226 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, 0};
29227 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, 0};
29228 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, 0};
29229 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, 0};
29230 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, 0};
29231 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, 0};
29232 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, 0};
29233 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, 0};
29234 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, 0};
29235 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, 0};
29236 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, 0};
29237 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, 0};
29238 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, 0};
29239 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, 0};
29240 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, 0};
29241 static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, 0};
29242 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, 0};
29243 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, 0};
29244 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, 0};
29245 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, 0};
29246 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, 0};
29247 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, 0};
29248 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, 0};
29249 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, 0};
29250 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, 0};
29251 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, 0};
29252 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, 0};
29253 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, 0};
29254 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, 0};
29255 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, 0};
29256 static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, 0};
29257 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, 0};
29258 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, 0};
29259 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, 0};
29260 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, 0};
29261 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, 0};
29262 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, 0};
29263 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, 0};
29264 static swig_type_info _swigt__ptrdiff_t = {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
29265 static swig_type_info _swigt__std__ptrdiff_t = {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
29266 static swig_type_info _swigt__unsigned_int = {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
29267
29268 static swig_type_info *swig_type_initial[] = {
29269 &_swigt__p_char,
29270 &_swigt__p_form_ops_t,
29271 &_swigt__p_int,
29272 &_swigt__p_unsigned_char,
29273 &_swigt__p_unsigned_int,
29274 &_swigt__p_unsigned_long,
29275 &_swigt__p_wxANIHandler,
29276 &_swigt__p_wxAcceleratorTable,
29277 &_swigt__p_wxActivateEvent,
29278 &_swigt__p_wxArrayInt,
29279 &_swigt__p_wxBMPHandler,
29280 &_swigt__p_wxBitmap,
29281 &_swigt__p_wxBoxSizer,
29282 &_swigt__p_wxCURHandler,
29283 &_swigt__p_wxCalculateLayoutEvent,
29284 &_swigt__p_wxChildFocusEvent,
29285 &_swigt__p_wxCloseEvent,
29286 &_swigt__p_wxColour,
29287 &_swigt__p_wxColourData,
29288 &_swigt__p_wxColourDialog,
29289 &_swigt__p_wxCommandEvent,
29290 &_swigt__p_wxContextMenuEvent,
29291 &_swigt__p_wxControl,
29292 &_swigt__p_wxControlWithItems,
29293 &_swigt__p_wxDC,
29294 &_swigt__p_wxDateEvent,
29295 &_swigt__p_wxDialog,
29296 &_swigt__p_wxDirDialog,
29297 &_swigt__p_wxDisplayChangedEvent,
29298 &_swigt__p_wxDropFilesEvent,
29299 &_swigt__p_wxDuplexMode,
29300 &_swigt__p_wxEraseEvent,
29301 &_swigt__p_wxEvent,
29302 &_swigt__p_wxEvtHandler,
29303 &_swigt__p_wxFSFile,
29304 &_swigt__p_wxFileDialog,
29305 &_swigt__p_wxFileSystem,
29306 &_swigt__p_wxFindDialogEvent,
29307 &_swigt__p_wxFindReplaceData,
29308 &_swigt__p_wxFindReplaceDialog,
29309 &_swigt__p_wxFlexGridSizer,
29310 &_swigt__p_wxFocusEvent,
29311 &_swigt__p_wxFont,
29312 &_swigt__p_wxFontData,
29313 &_swigt__p_wxFontDialog,
29314 &_swigt__p_wxFrame,
29315 &_swigt__p_wxGBSizerItem,
29316 &_swigt__p_wxGIFHandler,
29317 &_swigt__p_wxGridBagSizer,
29318 &_swigt__p_wxGridSizer,
29319 &_swigt__p_wxICOHandler,
29320 &_swigt__p_wxIcon,
29321 &_swigt__p_wxIconBundle,
29322 &_swigt__p_wxIconizeEvent,
29323 &_swigt__p_wxIdleEvent,
29324 &_swigt__p_wxImage,
29325 &_swigt__p_wxImageHandler,
29326 &_swigt__p_wxIndividualLayoutConstraint,
29327 &_swigt__p_wxInitDialogEvent,
29328 &_swigt__p_wxJPEGHandler,
29329 &_swigt__p_wxKeyEvent,
29330 &_swigt__p_wxLayoutAlgorithm,
29331 &_swigt__p_wxLayoutConstraints,
29332 &_swigt__p_wxMDIChildFrame,
29333 &_swigt__p_wxMDIClientWindow,
29334 &_swigt__p_wxMDIParentFrame,
29335 &_swigt__p_wxMaximizeEvent,
29336 &_swigt__p_wxMenu,
29337 &_swigt__p_wxMenuBar,
29338 &_swigt__p_wxMenuEvent,
29339 &_swigt__p_wxMenuItem,
29340 &_swigt__p_wxMessageDialog,
29341 &_swigt__p_wxMiniFrame,
29342 &_swigt__p_wxMouseCaptureChangedEvent,
29343 &_swigt__p_wxMouseEvent,
29344 &_swigt__p_wxMoveEvent,
29345 &_swigt__p_wxMultiChoiceDialog,
29346 &_swigt__p_wxNavigationKeyEvent,
29347 &_swigt__p_wxNcPaintEvent,
29348 &_swigt__p_wxNotifyEvent,
29349 &_swigt__p_wxObject,
29350 &_swigt__p_wxPCXHandler,
29351 &_swigt__p_wxPNGHandler,
29352 &_swigt__p_wxPNMHandler,
29353 &_swigt__p_wxPageSetupDialog,
29354 &_swigt__p_wxPageSetupDialogData,
29355 &_swigt__p_wxPaintEvent,
29356 &_swigt__p_wxPaletteChangedEvent,
29357 &_swigt__p_wxPanel,
29358 &_swigt__p_wxPaperSize,
29359 &_swigt__p_wxPasswordEntryDialog,
29360 &_swigt__p_wxPoint,
29361 &_swigt__p_wxPopupWindow,
29362 &_swigt__p_wxPreviewCanvas,
29363 &_swigt__p_wxPreviewControlBar,
29364 &_swigt__p_wxPreviewFrame,
29365 &_swigt__p_wxPrintData,
29366 &_swigt__p_wxPrintDialog,
29367 &_swigt__p_wxPrintDialogData,
29368 &_swigt__p_wxPrintPreview,
29369 &_swigt__p_wxPrinter,
29370 &_swigt__p_wxProgressDialog,
29371 &_swigt__p_wxPyApp,
29372 &_swigt__p_wxPyCommandEvent,
29373 &_swigt__p_wxPyEvent,
29374 &_swigt__p_wxPyHtmlListBox,
29375 &_swigt__p_wxPyImageHandler,
29376 &_swigt__p_wxPyPanel,
29377 &_swigt__p_wxPyPopupTransientWindow,
29378 &_swigt__p_wxPyPreviewControlBar,
29379 &_swigt__p_wxPyPreviewFrame,
29380 &_swigt__p_wxPyPrintPreview,
29381 &_swigt__p_wxPyPrintout,
29382 &_swigt__p_wxPyScrolledWindow,
29383 &_swigt__p_wxPySizer,
29384 &_swigt__p_wxPyTaskBarIcon,
29385 &_swigt__p_wxPyVListBox,
29386 &_swigt__p_wxPyVScrolledWindow,
29387 &_swigt__p_wxPyValidator,
29388 &_swigt__p_wxPyWindow,
29389 &_swigt__p_wxQueryLayoutInfoEvent,
29390 &_swigt__p_wxQueryNewPaletteEvent,
29391 &_swigt__p_wxRect,
29392 &_swigt__p_wxRegion,
29393 &_swigt__p_wxSashEvent,
29394 &_swigt__p_wxSashLayoutWindow,
29395 &_swigt__p_wxSashWindow,
29396 &_swigt__p_wxScrollEvent,
29397 &_swigt__p_wxScrollWinEvent,
29398 &_swigt__p_wxScrolledWindow,
29399 &_swigt__p_wxSetCursorEvent,
29400 &_swigt__p_wxShowEvent,
29401 &_swigt__p_wxSingleChoiceDialog,
29402 &_swigt__p_wxSize,
29403 &_swigt__p_wxSizeEvent,
29404 &_swigt__p_wxSizer,
29405 &_swigt__p_wxSizerItem,
29406 &_swigt__p_wxSplashScreen,
29407 &_swigt__p_wxSplashScreenWindow,
29408 &_swigt__p_wxSplitterEvent,
29409 &_swigt__p_wxSplitterWindow,
29410 &_swigt__p_wxStaticBoxSizer,
29411 &_swigt__p_wxStatusBar,
29412 &_swigt__p_wxStdDialogButtonSizer,
29413 &_swigt__p_wxString,
29414 &_swigt__p_wxSysColourChangedEvent,
29415 &_swigt__p_wxTIFFHandler,
29416 &_swigt__p_wxTaskBarIcon,
29417 &_swigt__p_wxTaskBarIconEvent,
29418 &_swigt__p_wxTextEntryDialog,
29419 &_swigt__p_wxTipWindow,
29420 &_swigt__p_wxToolBar,
29421 &_swigt__p_wxTopLevelWindow,
29422 &_swigt__p_wxUpdateUIEvent,
29423 &_swigt__p_wxValidator,
29424 &_swigt__p_wxVisualAttributes,
29425 &_swigt__p_wxWindow,
29426 &_swigt__p_wxWindowCreateEvent,
29427 &_swigt__p_wxWindowDestroyEvent,
29428 &_swigt__p_wxXPMHandler,
29429 &_swigt__ptrdiff_t,
29430 &_swigt__std__ptrdiff_t,
29431 &_swigt__unsigned_int,
29432 };
29433
29434 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
29435 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
29436 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
29437 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
29438 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
29439 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
29440 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
29441 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
29442 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
29443 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
29444 static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
29445 static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
29446 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
29447 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
29448 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
29449 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
29450 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
29451 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
29452 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
29453 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
29454 static 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}};
29455 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
29456 static 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}};
29457 static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
29458 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
29459 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
29460 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
29461 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
29462 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
29463 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
29464 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
29465 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
29466 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
29467 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
29468 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
29469 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
29470 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
29471 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
29472 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
29473 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
29474 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
29475 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
29476 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
29477 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
29478 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
29479 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
29480 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
29481 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
29482 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
29483 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
29484 static 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}};
29485 static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
29486 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
29487 static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
29488 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
29489 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
29490 static 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}};
29491 static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
29492 static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
29493 static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
29494 static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
29495 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
29496 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
29497 static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
29498 static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
29499 static 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}};
29500 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
29501 static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
29502 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
29503 static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
29504 static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
29505 static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
29506 static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
29507 static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
29508 static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
29509 static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
29510 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
29511 static 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}};
29512 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
29513 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
29514 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
29515 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
29516 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
29517 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
29518 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
29519 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
29520 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
29521 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
29522 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
29523 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
29524 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
29525 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
29526 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
29527 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
29528 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
29529 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
29530 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
29531 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
29532 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
29533 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
29534 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
29535 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
29536 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
29537 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
29538 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
29539 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
29540 static 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}};
29541 static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
29542 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
29543 static 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}};
29544 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
29545 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
29546 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
29547 static 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}};
29548 static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
29549 static 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}};
29550 static 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}};
29551 static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
29552 static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
29553 static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
29554 static 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}};
29555 static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
29556 static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
29557 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
29558 static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
29559 static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = { {&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
29560 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
29561 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
29562 static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
29563 static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
29564 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
29565 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
29566 static 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}};
29567 static 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}};
29568 static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
29569 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
29570 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
29571 static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
29572 static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
29573 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
29574 static 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}};
29575 static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
29576 static 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}};
29577 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
29578 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
29579 static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
29580 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
29581 static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
29582 static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
29583 static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
29584 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
29585 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
29586 static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
29587 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
29588 static 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}};
29589 static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
29590 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
29591 static 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}};
29592 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
29593 static 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}};
29594 static swig_cast_info _swigc__ptrdiff_t[] = { {&_swigt__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
29595 static swig_cast_info _swigc__std__ptrdiff_t[] = { {&_swigt__std__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
29596 static swig_cast_info _swigc__unsigned_int[] = { {&_swigt__unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
29597
29598 static swig_cast_info *swig_cast_initial[] = {
29599 _swigc__p_char,
29600 _swigc__p_form_ops_t,
29601 _swigc__p_int,
29602 _swigc__p_unsigned_char,
29603 _swigc__p_unsigned_int,
29604 _swigc__p_unsigned_long,
29605 _swigc__p_wxANIHandler,
29606 _swigc__p_wxAcceleratorTable,
29607 _swigc__p_wxActivateEvent,
29608 _swigc__p_wxArrayInt,
29609 _swigc__p_wxBMPHandler,
29610 _swigc__p_wxBitmap,
29611 _swigc__p_wxBoxSizer,
29612 _swigc__p_wxCURHandler,
29613 _swigc__p_wxCalculateLayoutEvent,
29614 _swigc__p_wxChildFocusEvent,
29615 _swigc__p_wxCloseEvent,
29616 _swigc__p_wxColour,
29617 _swigc__p_wxColourData,
29618 _swigc__p_wxColourDialog,
29619 _swigc__p_wxCommandEvent,
29620 _swigc__p_wxContextMenuEvent,
29621 _swigc__p_wxControl,
29622 _swigc__p_wxControlWithItems,
29623 _swigc__p_wxDC,
29624 _swigc__p_wxDateEvent,
29625 _swigc__p_wxDialog,
29626 _swigc__p_wxDirDialog,
29627 _swigc__p_wxDisplayChangedEvent,
29628 _swigc__p_wxDropFilesEvent,
29629 _swigc__p_wxDuplexMode,
29630 _swigc__p_wxEraseEvent,
29631 _swigc__p_wxEvent,
29632 _swigc__p_wxEvtHandler,
29633 _swigc__p_wxFSFile,
29634 _swigc__p_wxFileDialog,
29635 _swigc__p_wxFileSystem,
29636 _swigc__p_wxFindDialogEvent,
29637 _swigc__p_wxFindReplaceData,
29638 _swigc__p_wxFindReplaceDialog,
29639 _swigc__p_wxFlexGridSizer,
29640 _swigc__p_wxFocusEvent,
29641 _swigc__p_wxFont,
29642 _swigc__p_wxFontData,
29643 _swigc__p_wxFontDialog,
29644 _swigc__p_wxFrame,
29645 _swigc__p_wxGBSizerItem,
29646 _swigc__p_wxGIFHandler,
29647 _swigc__p_wxGridBagSizer,
29648 _swigc__p_wxGridSizer,
29649 _swigc__p_wxICOHandler,
29650 _swigc__p_wxIcon,
29651 _swigc__p_wxIconBundle,
29652 _swigc__p_wxIconizeEvent,
29653 _swigc__p_wxIdleEvent,
29654 _swigc__p_wxImage,
29655 _swigc__p_wxImageHandler,
29656 _swigc__p_wxIndividualLayoutConstraint,
29657 _swigc__p_wxInitDialogEvent,
29658 _swigc__p_wxJPEGHandler,
29659 _swigc__p_wxKeyEvent,
29660 _swigc__p_wxLayoutAlgorithm,
29661 _swigc__p_wxLayoutConstraints,
29662 _swigc__p_wxMDIChildFrame,
29663 _swigc__p_wxMDIClientWindow,
29664 _swigc__p_wxMDIParentFrame,
29665 _swigc__p_wxMaximizeEvent,
29666 _swigc__p_wxMenu,
29667 _swigc__p_wxMenuBar,
29668 _swigc__p_wxMenuEvent,
29669 _swigc__p_wxMenuItem,
29670 _swigc__p_wxMessageDialog,
29671 _swigc__p_wxMiniFrame,
29672 _swigc__p_wxMouseCaptureChangedEvent,
29673 _swigc__p_wxMouseEvent,
29674 _swigc__p_wxMoveEvent,
29675 _swigc__p_wxMultiChoiceDialog,
29676 _swigc__p_wxNavigationKeyEvent,
29677 _swigc__p_wxNcPaintEvent,
29678 _swigc__p_wxNotifyEvent,
29679 _swigc__p_wxObject,
29680 _swigc__p_wxPCXHandler,
29681 _swigc__p_wxPNGHandler,
29682 _swigc__p_wxPNMHandler,
29683 _swigc__p_wxPageSetupDialog,
29684 _swigc__p_wxPageSetupDialogData,
29685 _swigc__p_wxPaintEvent,
29686 _swigc__p_wxPaletteChangedEvent,
29687 _swigc__p_wxPanel,
29688 _swigc__p_wxPaperSize,
29689 _swigc__p_wxPasswordEntryDialog,
29690 _swigc__p_wxPoint,
29691 _swigc__p_wxPopupWindow,
29692 _swigc__p_wxPreviewCanvas,
29693 _swigc__p_wxPreviewControlBar,
29694 _swigc__p_wxPreviewFrame,
29695 _swigc__p_wxPrintData,
29696 _swigc__p_wxPrintDialog,
29697 _swigc__p_wxPrintDialogData,
29698 _swigc__p_wxPrintPreview,
29699 _swigc__p_wxPrinter,
29700 _swigc__p_wxProgressDialog,
29701 _swigc__p_wxPyApp,
29702 _swigc__p_wxPyCommandEvent,
29703 _swigc__p_wxPyEvent,
29704 _swigc__p_wxPyHtmlListBox,
29705 _swigc__p_wxPyImageHandler,
29706 _swigc__p_wxPyPanel,
29707 _swigc__p_wxPyPopupTransientWindow,
29708 _swigc__p_wxPyPreviewControlBar,
29709 _swigc__p_wxPyPreviewFrame,
29710 _swigc__p_wxPyPrintPreview,
29711 _swigc__p_wxPyPrintout,
29712 _swigc__p_wxPyScrolledWindow,
29713 _swigc__p_wxPySizer,
29714 _swigc__p_wxPyTaskBarIcon,
29715 _swigc__p_wxPyVListBox,
29716 _swigc__p_wxPyVScrolledWindow,
29717 _swigc__p_wxPyValidator,
29718 _swigc__p_wxPyWindow,
29719 _swigc__p_wxQueryLayoutInfoEvent,
29720 _swigc__p_wxQueryNewPaletteEvent,
29721 _swigc__p_wxRect,
29722 _swigc__p_wxRegion,
29723 _swigc__p_wxSashEvent,
29724 _swigc__p_wxSashLayoutWindow,
29725 _swigc__p_wxSashWindow,
29726 _swigc__p_wxScrollEvent,
29727 _swigc__p_wxScrollWinEvent,
29728 _swigc__p_wxScrolledWindow,
29729 _swigc__p_wxSetCursorEvent,
29730 _swigc__p_wxShowEvent,
29731 _swigc__p_wxSingleChoiceDialog,
29732 _swigc__p_wxSize,
29733 _swigc__p_wxSizeEvent,
29734 _swigc__p_wxSizer,
29735 _swigc__p_wxSizerItem,
29736 _swigc__p_wxSplashScreen,
29737 _swigc__p_wxSplashScreenWindow,
29738 _swigc__p_wxSplitterEvent,
29739 _swigc__p_wxSplitterWindow,
29740 _swigc__p_wxStaticBoxSizer,
29741 _swigc__p_wxStatusBar,
29742 _swigc__p_wxStdDialogButtonSizer,
29743 _swigc__p_wxString,
29744 _swigc__p_wxSysColourChangedEvent,
29745 _swigc__p_wxTIFFHandler,
29746 _swigc__p_wxTaskBarIcon,
29747 _swigc__p_wxTaskBarIconEvent,
29748 _swigc__p_wxTextEntryDialog,
29749 _swigc__p_wxTipWindow,
29750 _swigc__p_wxToolBar,
29751 _swigc__p_wxTopLevelWindow,
29752 _swigc__p_wxUpdateUIEvent,
29753 _swigc__p_wxValidator,
29754 _swigc__p_wxVisualAttributes,
29755 _swigc__p_wxWindow,
29756 _swigc__p_wxWindowCreateEvent,
29757 _swigc__p_wxWindowDestroyEvent,
29758 _swigc__p_wxXPMHandler,
29759 _swigc__ptrdiff_t,
29760 _swigc__std__ptrdiff_t,
29761 _swigc__unsigned_int,
29762 };
29763
29764
29765 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29766
29767 static swig_const_info swig_const_table[] = {
29768 {0, 0, 0, 0.0, 0, 0}};
29769
29770 #ifdef __cplusplus
29771 }
29772 #endif
29773 /*************************************************************************
29774 * Type initialization:
29775 * This problem is tough by the requirement that no dynamic
29776 * memory is used. Also, since swig_type_info structures store pointers to
29777 * swig_cast_info structures and swig_cast_info structures store pointers back
29778 * to swig_type_info structures, we need some lookup code at initialization.
29779 * The idea is that swig generates all the structures that are needed.
29780 * The runtime then collects these partially filled structures.
29781 * The SWIG_InitializeModule function takes these initial arrays out of
29782 * swig_module, and does all the lookup, filling in the swig_module.types
29783 * array with the correct data and linking the correct swig_cast_info
29784 * structures together.
29785
29786 * The generated swig_type_info structures are assigned staticly to an initial
29787 * array. We just loop though that array, and handle each type individually.
29788 * First we lookup if this type has been already loaded, and if so, use the
29789 * loaded structure instead of the generated one. Then we have to fill in the
29790 * cast linked list. The cast data is initially stored in something like a
29791 * two-dimensional array. Each row corresponds to a type (there are the same
29792 * number of rows as there are in the swig_type_initial array). Each entry in
29793 * a column is one of the swig_cast_info structures for that type.
29794 * The cast_initial array is actually an array of arrays, because each row has
29795 * a variable number of columns. So to actually build the cast linked list,
29796 * we find the array of casts associated with the type, and loop through it
29797 * adding the casts to the list. The one last trick we need to do is making
29798 * sure the type pointer in the swig_cast_info struct is correct.
29799
29800 * First off, we lookup the cast->type name to see if it is already loaded.
29801 * There are three cases to handle:
29802 * 1) If the cast->type has already been loaded AND the type we are adding
29803 * casting info to has not been loaded (it is in this module), THEN we
29804 * replace the cast->type pointer with the type pointer that has already
29805 * been loaded.
29806 * 2) If BOTH types (the one we are adding casting info to, and the
29807 * cast->type) are loaded, THEN the cast info has already been loaded by
29808 * the previous module so we just ignore it.
29809 * 3) Finally, if cast->type has not already been loaded, then we add that
29810 * swig_cast_info to the linked list (because the cast->type) pointer will
29811 * be correct.
29812 **/
29813
29814 #ifdef __cplusplus
29815 extern "C" {
29816 #if 0
29817 } /* c-mode */
29818 #endif
29819 #endif
29820
29821 #if 0
29822 #define SWIGRUNTIME_DEBUG
29823 #endif
29824
29825 SWIGRUNTIME void
29826 SWIG_InitializeModule(void *clientdata) {
29827 size_t i;
29828 swig_module_info *module_head;
29829 static int init_run = 0;
29830
29831 clientdata = clientdata;
29832
29833 if (init_run) return;
29834 init_run = 1;
29835
29836 /* Initialize the swig_module */
29837 swig_module.type_initial = swig_type_initial;
29838 swig_module.cast_initial = swig_cast_initial;
29839
29840 /* Try and load any already created modules */
29841 module_head = SWIG_GetModule(clientdata);
29842 if (module_head) {
29843 swig_module.next = module_head->next;
29844 module_head->next = &swig_module;
29845 } else {
29846 /* This is the first module loaded */
29847 swig_module.next = &swig_module;
29848 SWIG_SetModule(clientdata, &swig_module);
29849 }
29850
29851 /* Now work on filling in swig_module.types */
29852 #ifdef SWIGRUNTIME_DEBUG
29853 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
29854 #endif
29855 for (i = 0; i < swig_module.size; ++i) {
29856 swig_type_info *type = 0;
29857 swig_type_info *ret;
29858 swig_cast_info *cast;
29859
29860 #ifdef SWIGRUNTIME_DEBUG
29861 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
29862 #endif
29863
29864 /* if there is another module already loaded */
29865 if (swig_module.next != &swig_module) {
29866 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
29867 }
29868 if (type) {
29869 /* Overwrite clientdata field */
29870 #ifdef SWIGRUNTIME_DEBUG
29871 printf("SWIG_InitializeModule: found type %s\n", type->name);
29872 #endif
29873 if (swig_module.type_initial[i]->clientdata) {
29874 type->clientdata = swig_module.type_initial[i]->clientdata;
29875 #ifdef SWIGRUNTIME_DEBUG
29876 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
29877 #endif
29878 }
29879 } else {
29880 type = swig_module.type_initial[i];
29881 }
29882
29883 /* Insert casting types */
29884 cast = swig_module.cast_initial[i];
29885 while (cast->type) {
29886 /* Don't need to add information already in the list */
29887 ret = 0;
29888 #ifdef SWIGRUNTIME_DEBUG
29889 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
29890 #endif
29891 if (swig_module.next != &swig_module) {
29892 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
29893 #ifdef SWIGRUNTIME_DEBUG
29894 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
29895 #endif
29896 }
29897 if (ret) {
29898 if (type == swig_module.type_initial[i]) {
29899 #ifdef SWIGRUNTIME_DEBUG
29900 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
29901 #endif
29902 cast->type = ret;
29903 ret = 0;
29904 } else {
29905 /* Check for casting already in the list */
29906 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
29907 #ifdef SWIGRUNTIME_DEBUG
29908 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
29909 #endif
29910 if (!ocast) ret = 0;
29911 }
29912 }
29913
29914 if (!ret) {
29915 #ifdef SWIGRUNTIME_DEBUG
29916 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
29917 #endif
29918 if (type->cast) {
29919 type->cast->prev = cast;
29920 cast->next = type->cast;
29921 }
29922 type->cast = cast;
29923 }
29924 cast++;
29925 }
29926 /* Set entry in modules->types array equal to the type */
29927 swig_module.types[i] = type;
29928 }
29929 swig_module.types[i] = 0;
29930
29931 #ifdef SWIGRUNTIME_DEBUG
29932 printf("**** SWIG_InitializeModule: Cast List ******\n");
29933 for (i = 0; i < swig_module.size; ++i) {
29934 int j = 0;
29935 swig_cast_info *cast = swig_module.cast_initial[i];
29936 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
29937 while (cast->type) {
29938 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
29939 cast++;
29940 ++j;
29941 }
29942 printf("---- Total casts: %d\n",j);
29943 }
29944 printf("**** SWIG_InitializeModule: Cast List ******\n");
29945 #endif
29946 }
29947
29948 /* This function will propagate the clientdata field of type to
29949 * any new swig_type_info structures that have been added into the list
29950 * of equivalent types. It is like calling
29951 * SWIG_TypeClientData(type, clientdata) a second time.
29952 */
29953 SWIGRUNTIME void
29954 SWIG_PropagateClientData(void) {
29955 size_t i;
29956 swig_cast_info *equiv;
29957 static int init_run = 0;
29958
29959 if (init_run) return;
29960 init_run = 1;
29961
29962 for (i = 0; i < swig_module.size; i++) {
29963 if (swig_module.types[i]->clientdata) {
29964 equiv = swig_module.types[i]->cast;
29965 while (equiv) {
29966 if (!equiv->converter) {
29967 if (equiv->type && !equiv->type->clientdata)
29968 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
29969 }
29970 equiv = equiv->next;
29971 }
29972 }
29973 }
29974 }
29975
29976 #ifdef __cplusplus
29977 #if 0
29978 {
29979 /* c-mode */
29980 #endif
29981 }
29982 #endif
29983
29984
29985
29986 #ifdef __cplusplus
29987 extern "C" {
29988 #endif
29989
29990 /* Python-specific SWIG API */
29991 #define SWIG_newvarlink() SWIG_Python_newvarlink()
29992 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
29993 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
29994
29995 /* -----------------------------------------------------------------------------
29996 * global variable support code.
29997 * ----------------------------------------------------------------------------- */
29998
29999 typedef struct swig_globalvar {
30000 char *name; /* Name of global variable */
30001 PyObject *(*get_attr)(void); /* Return the current value */
30002 int (*set_attr)(PyObject *); /* Set the value */
30003 struct swig_globalvar *next;
30004 } swig_globalvar;
30005
30006 typedef struct swig_varlinkobject {
30007 PyObject_HEAD
30008 swig_globalvar *vars;
30009 } swig_varlinkobject;
30010
30011 SWIGINTERN PyObject *
30012 swig_varlink_repr(swig_varlinkobject *v) {
30013 v = v;
30014 return PyString_FromString("<Swig global variables>");
30015 }
30016
30017 SWIGINTERN int
30018 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
30019 swig_globalvar *var;
30020 flags = flags;
30021 fprintf(fp,"Swig global variables { ");
30022 for (var = v->vars; var; var=var->next) {
30023 fprintf(fp,"%s", var->name);
30024 if (var->next) fprintf(fp,", ");
30025 }
30026 fprintf(fp," }\n");
30027 return 0;
30028 }
30029
30030 SWIGINTERN PyObject *
30031 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
30032 swig_globalvar *var = v->vars;
30033 while (var) {
30034 if (strcmp(var->name,n) == 0) {
30035 return (*var->get_attr)();
30036 }
30037 var = var->next;
30038 }
30039 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
30040 return NULL;
30041 }
30042
30043 SWIGINTERN int
30044 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
30045 swig_globalvar *var = v->vars;
30046 while (var) {
30047 if (strcmp(var->name,n) == 0) {
30048 return (*var->set_attr)(p);
30049 }
30050 var = var->next;
30051 }
30052 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
30053 return 1;
30054 }
30055
30056 SWIGINTERN PyTypeObject*
30057 swig_varlink_type(void) {
30058 static char varlink__doc__[] = "Swig var link object";
30059 static PyTypeObject varlink_type
30060 #if !defined(__cplusplus)
30061 ;
30062 static int type_init = 0;
30063 if (!type_init) {
30064 PyTypeObject tmp
30065 #endif
30066 = {
30067 PyObject_HEAD_INIT(&PyType_Type)
30068 0, /* Number of items in variable part (ob_size) */
30069 (char *)"swigvarlink", /* Type name (tp_name) */
30070 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
30071 0, /* Itemsize (tp_itemsize) */
30072 0, /* Deallocator (tp_dealloc) */
30073 (printfunc) swig_varlink_print, /* Print (tp_print) */
30074 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
30075 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
30076 0, /* tp_compare */
30077 (reprfunc) swig_varlink_repr, /* tp_repr */
30078 0, /* tp_as_number */
30079 0, /* tp_as_sequence */
30080 0, /* tp_as_mapping */
30081 0, /* tp_hash */
30082 0, /* tp_call */
30083 0, /* tp_str */
30084 0, /* tp_getattro */
30085 0, /* tp_setattro */
30086 0, /* tp_as_buffer */
30087 0, /* tp_flags */
30088 varlink__doc__, /* tp_doc */
30089 #if PY_VERSION_HEX >= 0x02000000
30090 0, /* tp_traverse */
30091 0, /* tp_clear */
30092 #endif
30093 #if PY_VERSION_HEX >= 0x02010000
30094 0, /* tp_richcompare */
30095 0, /* tp_weaklistoffset */
30096 #endif
30097 #if PY_VERSION_HEX >= 0x02020000
30098 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
30099 #endif
30100 #if PY_VERSION_HEX >= 0x02030000
30101 0, /* tp_del */
30102 #endif
30103 #ifdef COUNT_ALLOCS
30104 0,0,0,0 /* tp_alloc -> tp_next */
30105 #endif
30106 };
30107 #if !defined(__cplusplus)
30108 varlink_type = tmp;
30109 type_init = 1;
30110 }
30111 #endif
30112 return &varlink_type;
30113 }
30114
30115 /* Create a variable linking object for use later */
30116 SWIGINTERN PyObject *
30117 SWIG_Python_newvarlink(void) {
30118 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
30119 if (result) {
30120 result->vars = 0;
30121 }
30122 return ((PyObject*) result);
30123 }
30124
30125 SWIGINTERN void
30126 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
30127 swig_varlinkobject *v = (swig_varlinkobject *) p;
30128 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
30129 if (gv) {
30130 size_t size = strlen(name)+1;
30131 gv->name = (char *)malloc(size);
30132 if (gv->name) {
30133 strncpy(gv->name,name,size);
30134 gv->get_attr = get_attr;
30135 gv->set_attr = set_attr;
30136 gv->next = v->vars;
30137 }
30138 }
30139 v->vars = gv;
30140 }
30141
30142 /* -----------------------------------------------------------------------------
30143 * constants/methods manipulation
30144 * ----------------------------------------------------------------------------- */
30145
30146 /* Install Constants */
30147 SWIGINTERN void
30148 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
30149 PyObject *obj = 0;
30150 size_t i;
30151 for (i = 0; constants[i].type; ++i) {
30152 switch(constants[i].type) {
30153 case SWIG_PY_INT:
30154 obj = PyInt_FromLong(constants[i].lvalue);
30155 break;
30156 case SWIG_PY_FLOAT:
30157 obj = PyFloat_FromDouble(constants[i].dvalue);
30158 break;
30159 case SWIG_PY_STRING:
30160 if (constants[i].pvalue) {
30161 obj = PyString_FromString((char *) constants[i].pvalue);
30162 } else {
30163 Py_INCREF(Py_None);
30164 obj = Py_None;
30165 }
30166 break;
30167 case SWIG_PY_POINTER:
30168 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
30169 break;
30170 case SWIG_PY_BINARY:
30171 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
30172 break;
30173 default:
30174 obj = 0;
30175 break;
30176 }
30177 if (obj) {
30178 PyDict_SetItemString(d,constants[i].name,obj);
30179 Py_DECREF(obj);
30180 }
30181 }
30182 }
30183
30184 /* -----------------------------------------------------------------------------*/
30185 /* Fix SwigMethods to carry the callback ptrs when needed */
30186 /* -----------------------------------------------------------------------------*/
30187
30188 SWIGINTERN void
30189 SWIG_Python_FixMethods(PyMethodDef *methods,
30190 swig_const_info *const_table,
30191 swig_type_info **types,
30192 swig_type_info **types_initial) {
30193 size_t i;
30194 for (i = 0; methods[i].ml_name; ++i) {
30195 char *c = methods[i].ml_doc;
30196 if (c && (c = strstr(c, "swig_ptr: "))) {
30197 int j;
30198 swig_const_info *ci = 0;
30199 char *name = c + 10;
30200 for (j = 0; const_table[j].type; ++j) {
30201 if (strncmp(const_table[j].name, name,
30202 strlen(const_table[j].name)) == 0) {
30203 ci = &(const_table[j]);
30204 break;
30205 }
30206 }
30207 if (ci) {
30208 size_t shift = (ci->ptype) - types;
30209 swig_type_info *ty = types_initial[shift];
30210 size_t ldoc = (c - methods[i].ml_doc);
30211 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
30212 char *ndoc = (char*)malloc(ldoc + lptr + 10);
30213 if (ndoc) {
30214 char *buff = ndoc;
30215 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
30216 if (ptr) {
30217 strncpy(buff, methods[i].ml_doc, ldoc);
30218 buff += ldoc;
30219 strncpy(buff, "swig_ptr: ", 10);
30220 buff += 10;
30221 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
30222 methods[i].ml_doc = ndoc;
30223 }
30224 }
30225 }
30226 }
30227 }
30228 }
30229
30230 /* -----------------------------------------------------------------------------*
30231 * Initialize type list
30232 * -----------------------------------------------------------------------------*/
30233
30234 #ifdef __cplusplus
30235 }
30236 #endif
30237
30238 /* -----------------------------------------------------------------------------*
30239 * Partial Init method
30240 * -----------------------------------------------------------------------------*/
30241
30242 #ifdef __cplusplus
30243 extern "C"
30244 #endif
30245 SWIGEXPORT void SWIG_init(void) {
30246 static PyObject *SWIG_globals = 0;
30247 PyObject *m, *d;
30248 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
30249
30250 /* Fix SwigMethods to carry the callback ptrs when needed */
30251 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
30252
30253 m = Py_InitModule((char *) SWIG_name, SwigMethods);
30254 d = PyModule_GetDict(m);
30255
30256 SWIG_InitializeModule(0);
30257 SWIG_InstallConstants(d,swig_const_table);
30258
30259 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
30260 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
30261 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
30262 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
30263 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
30264 {
30265 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_From_int(static_cast<int >(wxSTAY_ON_TOP)));
30266 }
30267 {
30268 PyDict_SetItemString(d,"ICONIZE", SWIG_From_int(static_cast<int >(wxICONIZE)));
30269 }
30270 {
30271 PyDict_SetItemString(d,"MINIMIZE", SWIG_From_int(static_cast<int >(wxMINIMIZE)));
30272 }
30273 {
30274 PyDict_SetItemString(d,"MAXIMIZE", SWIG_From_int(static_cast<int >(wxMAXIMIZE)));
30275 }
30276 {
30277 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_From_int(static_cast<int >(wxCLOSE_BOX)));
30278 }
30279 {
30280 PyDict_SetItemString(d,"THICK_FRAME", SWIG_From_int(static_cast<int >(wxTHICK_FRAME)));
30281 }
30282 {
30283 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_From_int(static_cast<int >(wxSYSTEM_MENU)));
30284 }
30285 {
30286 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_From_int(static_cast<int >(wxMINIMIZE_BOX)));
30287 }
30288 {
30289 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_From_int(static_cast<int >(wxMAXIMIZE_BOX)));
30290 }
30291 {
30292 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_From_int(static_cast<int >(wxTINY_CAPTION_HORIZ)));
30293 }
30294 {
30295 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_From_int(static_cast<int >(wxTINY_CAPTION_VERT)));
30296 }
30297 {
30298 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_From_int(static_cast<int >(wxRESIZE_BOX)));
30299 }
30300 {
30301 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_From_int(static_cast<int >(wxRESIZE_BORDER)));
30302 }
30303 {
30304 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_From_int(static_cast<int >(wxDIALOG_NO_PARENT)));
30305 }
30306 {
30307 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_From_int(static_cast<int >(wxDEFAULT_FRAME_STYLE)));
30308 }
30309 {
30310 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_From_int(static_cast<int >(wxDEFAULT_DIALOG_STYLE)));
30311 }
30312 {
30313 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_From_int(static_cast<int >(wxFRAME_TOOL_WINDOW)));
30314 }
30315 {
30316 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_From_int(static_cast<int >(wxFRAME_FLOAT_ON_PARENT)));
30317 }
30318 {
30319 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_From_int(static_cast<int >(wxFRAME_NO_WINDOW_MENU)));
30320 }
30321 {
30322 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_From_int(static_cast<int >(wxFRAME_NO_TASKBAR)));
30323 }
30324 {
30325 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_From_int(static_cast<int >(wxFRAME_SHAPED)));
30326 }
30327 {
30328 PyDict_SetItemString(d,"FRAME_DRAWER", SWIG_From_int(static_cast<int >(wxFRAME_DRAWER)));
30329 }
30330 {
30331 PyDict_SetItemString(d,"FRAME_EX_METAL", SWIG_From_int(static_cast<int >(wxFRAME_EX_METAL)));
30332 }
30333 {
30334 PyDict_SetItemString(d,"DIALOG_EX_METAL", SWIG_From_int(static_cast<int >(wxDIALOG_EX_METAL)));
30335 }
30336 {
30337 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_From_int(static_cast<int >(wxDIALOG_MODAL)));
30338 }
30339 {
30340 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_From_int(static_cast<int >(wxDIALOG_MODELESS)));
30341 }
30342 {
30343 PyDict_SetItemString(d,"USER_COLOURS", SWIG_From_int(static_cast<int >(wxUSER_COLOURS)));
30344 }
30345 {
30346 PyDict_SetItemString(d,"NO_3D", SWIG_From_int(static_cast<int >(wxNO_3D)));
30347 }
30348 {
30349 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOMENUBAR)));
30350 }
30351 {
30352 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOTOOLBAR)));
30353 }
30354 {
30355 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOSTATUSBAR)));
30356 }
30357 {
30358 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOBORDER)));
30359 }
30360 {
30361 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOCAPTION)));
30362 }
30363 {
30364 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_From_int(static_cast<int >(wxFULLSCREEN_ALL)));
30365 }
30366 {
30367 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_From_int(static_cast<int >(wxTOPLEVEL_EX_DIALOG)));
30368 }
30369 {
30370 PyDict_SetItemString(d,"USER_ATTENTION_INFO", SWIG_From_int(static_cast<int >(wxUSER_ATTENTION_INFO)));
30371 }
30372 {
30373 PyDict_SetItemString(d,"USER_ATTENTION_ERROR", SWIG_From_int(static_cast<int >(wxUSER_ATTENTION_ERROR)));
30374 }
30375 {
30376 PyDict_SetItemString(d,"Dialog_ButtonSizerFlags", SWIG_From_int(static_cast<int >(wxDialog::ButtonSizerFlags)));
30377 }
30378 {
30379 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int(static_cast<int >(wxSPLASH_CENTRE_ON_PARENT)));
30380 }
30381 {
30382 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int(static_cast<int >(wxSPLASH_CENTRE_ON_SCREEN)));
30383 }
30384 {
30385 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_From_int(static_cast<int >(wxSPLASH_NO_CENTRE)));
30386 }
30387 {
30388 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_From_int(static_cast<int >(wxSPLASH_TIMEOUT)));
30389 }
30390 {
30391 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_From_int(static_cast<int >(wxSPLASH_NO_TIMEOUT)));
30392 }
30393 {
30394 PyDict_SetItemString(d,"SB_NORMAL", SWIG_From_int(static_cast<int >(wxSB_NORMAL)));
30395 }
30396 {
30397 PyDict_SetItemString(d,"SB_FLAT", SWIG_From_int(static_cast<int >(wxSB_FLAT)));
30398 }
30399 {
30400 PyDict_SetItemString(d,"SB_RAISED", SWIG_From_int(static_cast<int >(wxSB_RAISED)));
30401 }
30402 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
30403 {
30404 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_From_int(static_cast<int >(wxSP_NOBORDER)));
30405 }
30406 {
30407 PyDict_SetItemString(d,"SP_NOSASH", SWIG_From_int(static_cast<int >(wxSP_NOSASH)));
30408 }
30409 {
30410 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_From_int(static_cast<int >(wxSP_PERMIT_UNSPLIT)));
30411 }
30412 {
30413 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_From_int(static_cast<int >(wxSP_LIVE_UPDATE)));
30414 }
30415 {
30416 PyDict_SetItemString(d,"SP_3DSASH", SWIG_From_int(static_cast<int >(wxSP_3DSASH)));
30417 }
30418 {
30419 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_From_int(static_cast<int >(wxSP_3DBORDER)));
30420 }
30421 {
30422 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_From_int(static_cast<int >(wxSP_NO_XP_THEME)));
30423 }
30424 {
30425 PyDict_SetItemString(d,"SP_BORDER", SWIG_From_int(static_cast<int >(wxSP_BORDER)));
30426 }
30427 {
30428 PyDict_SetItemString(d,"SP_3D", SWIG_From_int(static_cast<int >(wxSP_3D)));
30429 }
30430 {
30431 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_From_int(static_cast<int >(wxSPLIT_HORIZONTAL)));
30432 }
30433 {
30434 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_From_int(static_cast<int >(wxSPLIT_VERTICAL)));
30435 }
30436 {
30437 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_From_int(static_cast<int >(wxSPLIT_DRAG_NONE)));
30438 }
30439 {
30440 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_From_int(static_cast<int >(wxSPLIT_DRAG_DRAGGING)));
30441 }
30442 {
30443 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int(static_cast<int >(wxSPLIT_DRAG_LEFT_DOWN)));
30444 }
30445 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
30446 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
30447 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
30448 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
30449 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
30450 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
30451 {
30452 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_From_int(static_cast<int >(wxSASH_DRAG_NONE)));
30453 }
30454 {
30455 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_From_int(static_cast<int >(wxSASH_DRAG_DRAGGING)));
30456 }
30457 {
30458 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_From_int(static_cast<int >(wxSASH_DRAG_LEFT_DOWN)));
30459 }
30460 {
30461 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_From_int(static_cast<int >(wxSW_NOBORDER)));
30462 }
30463 {
30464 PyDict_SetItemString(d,"SW_BORDER", SWIG_From_int(static_cast<int >(wxSW_BORDER)));
30465 }
30466 {
30467 PyDict_SetItemString(d,"SW_3DSASH", SWIG_From_int(static_cast<int >(wxSW_3DSASH)));
30468 }
30469 {
30470 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_From_int(static_cast<int >(wxSW_3DBORDER)));
30471 }
30472 {
30473 PyDict_SetItemString(d,"SW_3D", SWIG_From_int(static_cast<int >(wxSW_3D)));
30474 }
30475 {
30476 PyDict_SetItemString(d,"SASH_TOP", SWIG_From_int(static_cast<int >(wxSASH_TOP)));
30477 }
30478 {
30479 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_From_int(static_cast<int >(wxSASH_RIGHT)));
30480 }
30481 {
30482 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_From_int(static_cast<int >(wxSASH_BOTTOM)));
30483 }
30484 {
30485 PyDict_SetItemString(d,"SASH_LEFT", SWIG_From_int(static_cast<int >(wxSASH_LEFT)));
30486 }
30487 {
30488 PyDict_SetItemString(d,"SASH_NONE", SWIG_From_int(static_cast<int >(wxSASH_NONE)));
30489 }
30490 {
30491 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_From_int(static_cast<int >(wxSASH_STATUS_OK)));
30492 }
30493 {
30494 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int(static_cast<int >(wxSASH_STATUS_OUT_OF_RANGE)));
30495 }
30496 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
30497 {
30498 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_From_int(static_cast<int >(wxLAYOUT_HORIZONTAL)));
30499 }
30500 {
30501 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_From_int(static_cast<int >(wxLAYOUT_VERTICAL)));
30502 }
30503 {
30504 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_From_int(static_cast<int >(wxLAYOUT_NONE)));
30505 }
30506 {
30507 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_From_int(static_cast<int >(wxLAYOUT_TOP)));
30508 }
30509 {
30510 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_From_int(static_cast<int >(wxLAYOUT_LEFT)));
30511 }
30512 {
30513 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_From_int(static_cast<int >(wxLAYOUT_RIGHT)));
30514 }
30515 {
30516 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_From_int(static_cast<int >(wxLAYOUT_BOTTOM)));
30517 }
30518 {
30519 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_From_int(static_cast<int >(wxLAYOUT_LENGTH_Y)));
30520 }
30521 {
30522 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_From_int(static_cast<int >(wxLAYOUT_LENGTH_X)));
30523 }
30524 {
30525 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_From_int(static_cast<int >(wxLAYOUT_MRU_LENGTH)));
30526 }
30527 {
30528 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_From_int(static_cast<int >(wxLAYOUT_QUERY)));
30529 }
30530 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
30531 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
30532 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
30533
30534 // Map renamed classes back to their common name for OOR
30535 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
30536 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
30537 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
30538
30539 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
30540 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
30541 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
30542 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
30543 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
30544 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
30545 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
30546 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
30547 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
30548 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
30549 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
30550 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
30551 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
30552 {
30553 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_From_int(static_cast<int >(wxCHOICEDLG_STYLE)));
30554 }
30555 {
30556 PyDict_SetItemString(d,"TextEntryDialogStyle", SWIG_From_int(static_cast<int >(wxTextEntryDialogStyle)));
30557 }
30558 SWIG_addvarlink(SWIG_globals,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get, _wrap_GetPasswordFromUserPromptStr_set);
30559 {
30560 PyDict_SetItemString(d,"FR_DOWN", SWIG_From_int(static_cast<int >(wxFR_DOWN)));
30561 }
30562 {
30563 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_From_int(static_cast<int >(wxFR_WHOLEWORD)));
30564 }
30565 {
30566 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_From_int(static_cast<int >(wxFR_MATCHCASE)));
30567 }
30568 {
30569 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_From_int(static_cast<int >(wxFR_REPLACEDIALOG)));
30570 }
30571 {
30572 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_From_int(static_cast<int >(wxFR_NOUPDOWN)));
30573 }
30574 {
30575 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_From_int(static_cast<int >(wxFR_NOMATCHCASE)));
30576 }
30577 {
30578 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_From_int(static_cast<int >(wxFR_NOWHOLEWORD)));
30579 }
30580 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
30581 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
30582 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
30583 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
30584 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
30585 {
30586 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_From_int(static_cast<int >(4001)));
30587 }
30588 {
30589 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_From_int(static_cast<int >(4001)));
30590 }
30591 {
30592 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_From_int(static_cast<int >(4002)));
30593 }
30594 {
30595 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_From_int(static_cast<int >(4003)));
30596 }
30597 {
30598 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_From_int(static_cast<int >(4004)));
30599 }
30600 {
30601 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_From_int(static_cast<int >(4005)));
30602 }
30603 {
30604 PyDict_SetItemString(d,"IDM_WINDOWPREV", SWIG_From_int(static_cast<int >(4006)));
30605 }
30606 {
30607 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_From_int(static_cast<int >(4100)));
30608 }
30609 {
30610 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_From_int(static_cast<int >(4600)));
30611 }
30612 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
30613 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
30614 {
30615 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_From_int(static_cast<int >(wxPRINT_MODE_NONE)));
30616 }
30617 {
30618 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_From_int(static_cast<int >(wxPRINT_MODE_PREVIEW)));
30619 }
30620 {
30621 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_From_int(static_cast<int >(wxPRINT_MODE_FILE)));
30622 }
30623 {
30624 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_From_int(static_cast<int >(wxPRINT_MODE_PRINTER)));
30625 }
30626 {
30627 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_From_int(static_cast<int >(wxPRINT_MODE_STREAM)));
30628 }
30629 {
30630 PyDict_SetItemString(d,"PRINTBIN_DEFAULT", SWIG_From_int(static_cast<int >(wxPRINTBIN_DEFAULT)));
30631 }
30632 {
30633 PyDict_SetItemString(d,"PRINTBIN_ONLYONE", SWIG_From_int(static_cast<int >(wxPRINTBIN_ONLYONE)));
30634 }
30635 {
30636 PyDict_SetItemString(d,"PRINTBIN_LOWER", SWIG_From_int(static_cast<int >(wxPRINTBIN_LOWER)));
30637 }
30638 {
30639 PyDict_SetItemString(d,"PRINTBIN_MIDDLE", SWIG_From_int(static_cast<int >(wxPRINTBIN_MIDDLE)));
30640 }
30641 {
30642 PyDict_SetItemString(d,"PRINTBIN_MANUAL", SWIG_From_int(static_cast<int >(wxPRINTBIN_MANUAL)));
30643 }
30644 {
30645 PyDict_SetItemString(d,"PRINTBIN_ENVELOPE", SWIG_From_int(static_cast<int >(wxPRINTBIN_ENVELOPE)));
30646 }
30647 {
30648 PyDict_SetItemString(d,"PRINTBIN_ENVMANUAL", SWIG_From_int(static_cast<int >(wxPRINTBIN_ENVMANUAL)));
30649 }
30650 {
30651 PyDict_SetItemString(d,"PRINTBIN_AUTO", SWIG_From_int(static_cast<int >(wxPRINTBIN_AUTO)));
30652 }
30653 {
30654 PyDict_SetItemString(d,"PRINTBIN_TRACTOR", SWIG_From_int(static_cast<int >(wxPRINTBIN_TRACTOR)));
30655 }
30656 {
30657 PyDict_SetItemString(d,"PRINTBIN_SMALLFMT", SWIG_From_int(static_cast<int >(wxPRINTBIN_SMALLFMT)));
30658 }
30659 {
30660 PyDict_SetItemString(d,"PRINTBIN_LARGEFMT", SWIG_From_int(static_cast<int >(wxPRINTBIN_LARGEFMT)));
30661 }
30662 {
30663 PyDict_SetItemString(d,"PRINTBIN_LARGECAPACITY", SWIG_From_int(static_cast<int >(wxPRINTBIN_LARGECAPACITY)));
30664 }
30665 {
30666 PyDict_SetItemString(d,"PRINTBIN_CASSETTE", SWIG_From_int(static_cast<int >(wxPRINTBIN_CASSETTE)));
30667 }
30668 {
30669 PyDict_SetItemString(d,"PRINTBIN_FORMSOURCE", SWIG_From_int(static_cast<int >(wxPRINTBIN_FORMSOURCE)));
30670 }
30671 {
30672 PyDict_SetItemString(d,"PRINTBIN_USER", SWIG_From_int(static_cast<int >(wxPRINTBIN_USER)));
30673 }
30674 {
30675 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_From_int(static_cast<int >(wxPRINTER_NO_ERROR)));
30676 }
30677 {
30678 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_From_int(static_cast<int >(wxPRINTER_CANCELLED)));
30679 }
30680 {
30681 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_From_int(static_cast<int >(wxPRINTER_ERROR)));
30682 }
30683 {
30684 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_From_int(static_cast<int >(wxPREVIEW_PRINT)));
30685 }
30686 {
30687 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_From_int(static_cast<int >(wxPREVIEW_PREVIOUS)));
30688 }
30689 {
30690 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_From_int(static_cast<int >(wxPREVIEW_NEXT)));
30691 }
30692 {
30693 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_From_int(static_cast<int >(wxPREVIEW_ZOOM)));
30694 }
30695 {
30696 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_From_int(static_cast<int >(wxPREVIEW_FIRST)));
30697 }
30698 {
30699 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_From_int(static_cast<int >(wxPREVIEW_LAST)));
30700 }
30701 {
30702 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_From_int(static_cast<int >(wxPREVIEW_GOTO)));
30703 }
30704 {
30705 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_From_int(static_cast<int >(wxPREVIEW_DEFAULT)));
30706 }
30707 {
30708 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_From_int(static_cast<int >(wxID_PREVIEW_CLOSE)));
30709 }
30710 {
30711 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_From_int(static_cast<int >(wxID_PREVIEW_NEXT)));
30712 }
30713 {
30714 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_From_int(static_cast<int >(wxID_PREVIEW_PREVIOUS)));
30715 }
30716 {
30717 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_From_int(static_cast<int >(wxID_PREVIEW_PRINT)));
30718 }
30719 {
30720 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_From_int(static_cast<int >(wxID_PREVIEW_ZOOM)));
30721 }
30722 {
30723 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_From_int(static_cast<int >(wxID_PREVIEW_FIRST)));
30724 }
30725 {
30726 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_From_int(static_cast<int >(wxID_PREVIEW_LAST)));
30727 }
30728 {
30729 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_From_int(static_cast<int >(wxID_PREVIEW_GOTO)));
30730 }
30731
30732 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
30733
30734 }
30735