1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
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 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1045 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1047 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1051 SWIGRUNTIMEINLINE
void
1052 SWIG_Python_NullRef(const char *type
)
1055 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1057 PyErr_Format(PyExc_TypeError
, "null reference was received");
1062 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1064 if (PyErr_Occurred()) {
1066 PyObject
*value
= 0;
1067 PyObject
*traceback
= 0;
1068 PyErr_Fetch(&type
, &value
, &traceback
);
1070 PyObject
*old_str
= PyObject_Str(value
);
1074 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1076 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1087 SWIG_Python_ArgFail(int argnum
)
1089 if (PyErr_Occurred()) {
1090 /* add information about failing argument */
1092 sprintf(mesg
, "argument number %d:", argnum
);
1093 return SWIG_Python_AddErrMesg(mesg
, 1);
1100 /* -----------------------------------------------------------------------------
1101 * pointers/data manipulation
1102 * ----------------------------------------------------------------------------- */
1104 /* Convert a pointer value */
1106 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1109 static PyObject
*SWIG_this
= 0;
1111 PyObject
*pyobj
= 0;
1115 if (obj
== Py_None
) {
1120 #ifdef SWIG_COBJECT_TYPES
1121 if (!(PySwigObject_Check(obj
))) {
1123 SWIG_this
= PyString_FromString("this");
1125 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1127 if (!obj
) goto type_error
;
1128 if (!PySwigObject_Check(obj
)) {
1133 vptr
= PySwigObject_AsVoidPtr(obj
);
1134 c
= (const char *) PySwigObject_GetDesc(obj
);
1135 if (newref
) { Py_DECREF(obj
); }
1138 if (!(PyString_Check(obj
))) {
1140 SWIG_this
= PyString_FromString("this");
1142 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1144 if (!obj
) goto type_error
;
1145 if (!PyString_Check(obj
)) {
1150 c
= PyString_AS_STRING(obj
);
1151 /* Pointer values must start with leading underscore */
1152 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1153 if (newref
) { Py_DECREF(obj
); }
1154 if (!c
) goto type_error
;
1160 tc
= SWIG_TypeCheck(c
,ty
);
1161 if (!tc
) goto type_error
;
1162 *ptr
= SWIG_TypeCast(tc
,vptr
);
1167 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1168 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1174 if (pyobj
&& !obj
) {
1176 if (PyCFunction_Check(obj
)) {
1177 /* here we get the method pointer for callbacks */
1178 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1179 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1181 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1182 if (!c
) goto type_error
;
1187 if (flags
& SWIG_POINTER_EXCEPTION
) {
1189 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1191 SWIG_Python_TypeError("C/C++ pointer", obj
);
1197 /* Convert a pointer value, signal an exception on a type mismatch */
1199 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1201 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1203 if (flags
& SWIG_POINTER_EXCEPTION
) {
1204 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1205 SWIG_Python_ArgFail(argnum
);
1211 /* Convert a packed value value */
1213 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1217 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1218 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1220 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1221 c
= PyString_AS_STRING(obj
);
1222 /* Pointer values must start with leading underscore */
1223 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1225 if (!c
) goto type_error
;
1227 tc
= SWIG_TypeCheck(c
,ty
);
1228 if (!tc
) goto type_error
;
1234 if (flags
& SWIG_POINTER_EXCEPTION
) {
1236 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1238 SWIG_Python_TypeError("C/C++ packed data", obj
);
1244 /* Create a new array object */
1245 SWIGRUNTIME PyObject
*
1246 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1252 #ifdef SWIG_COBJECT_TYPES
1253 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1256 char result
[SWIG_BUFFER_SIZE
];
1257 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1258 PyString_FromString(result
) : 0;
1261 if (!robj
|| (robj
== Py_None
)) return robj
;
1262 if (type
->clientdata
) {
1264 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1266 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1270 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1278 SWIGRUNTIME PyObject
*
1279 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1285 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1286 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1289 char result
[SWIG_BUFFER_SIZE
];
1290 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1291 PyString_FromString(result
) : 0;
1297 /* -----------------------------------------------------------------------------*
1299 * -----------------------------------------------------------------------------*/
1301 #ifdef SWIG_LINK_RUNTIME
1302 void *SWIG_ReturnGlobalTypeList(void *);
1305 SWIGRUNTIME swig_type_info
**
1306 SWIG_Python_GetTypeListHandle() {
1307 static void *type_pointer
= (void *)0;
1308 /* first check if module already created */
1309 if (!type_pointer
) {
1310 #ifdef SWIG_LINK_RUNTIME
1311 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1313 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1314 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1315 if (PyErr_Occurred()) {
1317 type_pointer
= (void *)0;
1321 return (swig_type_info
**) type_pointer
;
1325 Search for a swig_type_info structure
1327 SWIGRUNTIMEINLINE swig_type_info
*
1328 SWIG_Python_GetTypeList() {
1329 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1330 return tlh
? *tlh
: (swig_type_info
*)0;
1333 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1340 /* -------- TYPES TABLE (BEGIN) -------- */
1342 #define SWIGTYPE_p_wxObject swig_types[0]
1343 #define SWIGTYPE_p_wxDialog swig_types[1]
1344 #define SWIGTYPE_p_unsigned_char swig_types[2]
1345 #define SWIGTYPE_p_wxWizardPageSimple swig_types[3]
1346 #define SWIGTYPE_p_wxWizardPage swig_types[4]
1347 #define SWIGTYPE_p_wxTopLevelWindow swig_types[5]
1348 #define SWIGTYPE_p_wxWindow swig_types[6]
1349 #define SWIGTYPE_p_wxPyWizardPage swig_types[7]
1350 #define SWIGTYPE_p_wxCommandEvent swig_types[8]
1351 #define SWIGTYPE_p_unsigned_long swig_types[9]
1352 #define SWIGTYPE_p_wxWizardEvent swig_types[10]
1353 #define SWIGTYPE_p_wxBitmap swig_types[11]
1354 #define SWIGTYPE_unsigned_int swig_types[12]
1355 #define SWIGTYPE_p_unsigned_int swig_types[13]
1356 #define SWIGTYPE_p_form_ops_t swig_types[14]
1357 #define SWIGTYPE_p_wxDuplexMode swig_types[15]
1358 #define SWIGTYPE_p_wxWizard swig_types[16]
1359 #define SWIGTYPE_p_char swig_types[17]
1360 #define SWIGTYPE_p_wxEvtHandler swig_types[18]
1361 #define SWIGTYPE_p_wxString swig_types[19]
1362 #define SWIGTYPE_std__ptrdiff_t swig_types[20]
1363 #define SWIGTYPE_ptrdiff_t swig_types[21]
1364 #define SWIGTYPE_p_wxNotifyEvent swig_types[22]
1365 #define SWIGTYPE_p_wxPanel swig_types[23]
1366 #define SWIGTYPE_p_wxEvent swig_types[24]
1367 #define SWIGTYPE_p_wxPaperSize swig_types[25]
1368 #define SWIGTYPE_p_wxSize swig_types[26]
1369 #define SWIGTYPE_p_wxChar swig_types[27]
1370 #define SWIGTYPE_p_int swig_types[28]
1371 static swig_type_info
*swig_types
[30];
1373 /* -------- TYPES TABLE (END) -------- */
1376 /*-----------------------------------------------
1377 @(target):= _wizard.so
1378 ------------------------------------------------*/
1379 #define SWIG_init init_wizard
1381 #define SWIG_name "_wizard"
1383 #include "wx/wxPython/wxPython.h"
1384 #include "wx/wxPython/pyclasses.h"
1385 #include "wx/wxPython/printfw.h"
1387 #include <wx/wizard.h>
1390 static const wxString
wxPyEmptyString(wxEmptyString
);
1392 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1393 #define SWIG_From_int PyInt_FromLong
1401 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1404 if (value
< min_value
) {
1406 PyErr_Format(PyExc_OverflowError
,
1407 "value %ld is less than '%s' minimum %ld",
1408 value
, errmsg
, min_value
);
1411 } else if (value
> max_value
) {
1413 PyErr_Format(PyExc_OverflowError
,
1414 "value %ld is greater than '%s' maximum %ld",
1415 value
, errmsg
, max_value
);
1424 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1426 if (PyNumber_Check(obj
)) {
1427 if (val
) *val
= PyInt_AsLong(obj
);
1431 SWIG_type_error("number", obj
);
1437 #if INT_MAX != LONG_MAX
1439 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1441 const char* errmsg
= val
? "int" : (char*)0;
1443 if (SWIG_AsVal_long(obj
, &v
)) {
1444 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1445 if (val
) *val
= (int)(v
);
1454 SWIG_type_error(errmsg
, obj
);
1460 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1462 return SWIG_AsVal_long(obj
,(long*)val
);
1468 SWIG_As_int(PyObject
* obj
)
1471 if (!SWIG_AsVal_int(obj
, &v
)) {
1473 this is needed to make valgrind/purify happier.
1475 memset((void*)&v
, 0, sizeof(int));
1482 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1484 if (obj
== Py_True
) {
1485 if (val
) *val
= true;
1488 if (obj
== Py_False
) {
1489 if (val
) *val
= false;
1493 if (SWIG_AsVal_int(obj
, &res
)) {
1494 if (val
) *val
= res
? true : false;
1500 SWIG_type_error("bool", obj
);
1506 SWIGINTERNSHORT
bool
1507 SWIG_As_bool(PyObject
* obj
)
1510 if (!SWIG_AsVal_bool(obj
, &v
)) {
1512 this is needed to make valgrind/purify happier.
1514 memset((void*)&v
, 0, sizeof(bool));
1521 SWIG_Check_int(PyObject
* obj
)
1523 return SWIG_AsVal_int(obj
, (int*)0);
1528 SWIG_Check_bool(PyObject
* obj
)
1530 return SWIG_AsVal_bool(obj
, (bool*)0);
1533 static bool wxWizardPage_Create(wxWizardPage
*self
,wxWizard
*parent
,wxBitmap
const &bitmap
=wxNullBitmap
,wxString
const &resource
=wxPyEmptyString
){
1535 if (resource
.Length())
1536 res
= (wxChar
*)resource
.c_str();
1537 return self
->Create(parent
, bitmap
, res
);
1539 // C++ Version of a Python aware class
1540 class wxPyWizardPage
: public wxWizardPage
{
1541 DECLARE_ABSTRACT_CLASS(wxPyWizardPage
);
1543 wxPyWizardPage() : wxWizardPage() {}
1544 wxPyWizardPage(wxWizard
*parent
,
1545 const wxBitmap
& bitmap
= wxNullBitmap
,
1546 const wxChar
* resource
= NULL
)
1547 : wxWizardPage(parent
, bitmap
, resource
) {}
1549 DEC_PYCALLBACK_WIZPG__pure(GetPrev
);
1550 DEC_PYCALLBACK_WIZPG__pure(GetNext
);
1551 DEC_PYCALLBACK_BITMAP__pure(GetBitmap
);
1553 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1554 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1555 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1556 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1558 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1559 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1560 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1562 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1563 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1565 DEC_PYCALLBACK__(InitDialog
);
1566 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1567 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1568 DEC_PYCALLBACK_BOOL_(Validate
);
1570 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1571 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1572 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1574 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1575 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1581 IMPLEMENT_ABSTRACT_CLASS(wxPyWizardPage
, wxWizardPage
);
1583 IMP_PYCALLBACK_WIZPG__pure(wxPyWizardPage
, wxWizardPage
, GetPrev
);
1584 IMP_PYCALLBACK_WIZPG__pure(wxPyWizardPage
, wxWizardPage
, GetNext
);
1585 IMP_PYCALLBACK_BITMAP__pure(wxPyWizardPage
, wxWizardPage
, GetBitmap
);
1587 IMP_PYCALLBACK_VOID_INT4(wxPyWizardPage
, wxWizardPage
, DoMoveWindow
);
1588 IMP_PYCALLBACK_VOID_INT5(wxPyWizardPage
, wxWizardPage
, DoSetSize
);
1589 IMP_PYCALLBACK_VOID_INTINT(wxPyWizardPage
, wxWizardPage
, DoSetClientSize
);
1590 IMP_PYCALLBACK_VOID_INTINT(wxPyWizardPage
, wxWizardPage
, DoSetVirtualSize
);
1592 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWizardPage
, wxWizardPage
, DoGetSize
);
1593 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWizardPage
, wxWizardPage
, DoGetClientSize
);
1594 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWizardPage
, wxWizardPage
, DoGetPosition
);
1596 IMP_PYCALLBACK_SIZE_const(wxPyWizardPage
, wxWizardPage
, DoGetVirtualSize
);
1597 IMP_PYCALLBACK_SIZE_const(wxPyWizardPage
, wxWizardPage
, DoGetBestSize
);
1599 IMP_PYCALLBACK__(wxPyWizardPage
, wxWizardPage
, InitDialog
);
1600 IMP_PYCALLBACK_BOOL_(wxPyWizardPage
, wxWizardPage
, TransferDataFromWindow
);
1601 IMP_PYCALLBACK_BOOL_(wxPyWizardPage
, wxWizardPage
, TransferDataToWindow
);
1602 IMP_PYCALLBACK_BOOL_(wxPyWizardPage
, wxWizardPage
, Validate
);
1604 IMP_PYCALLBACK_BOOL_const(wxPyWizardPage
, wxWizardPage
, AcceptsFocus
);
1605 IMP_PYCALLBACK_BOOL_const(wxPyWizardPage
, wxWizardPage
, AcceptsFocusFromKeyboard
);
1606 IMP_PYCALLBACK_SIZE_const(wxPyWizardPage
, wxWizardPage
, GetMaxSize
);
1608 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWizardPage
, wxWizardPage
, AddChild
);
1609 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWizardPage
, wxWizardPage
, RemoveChild
);
1612 static wxPyWizardPage
*new_wxPyWizardPage(wxWizard
*parent
,wxBitmap
const *bitmap
=&wxNullBitmap
,wxString
const *resource
=&wxPyEmptyString
){
1614 if (resource
->Length())
1615 res
= (wxChar
*)resource
->c_str();
1616 return new wxPyWizardPage(parent
, *bitmap
, res
);
1618 static bool wxPyWizardPage_Create(wxPyWizardPage
*self
,wxWizard
*parent
,wxBitmap
const &bitmap
=wxNullBitmap
,wxString
const &resource
=wxPyEmptyString
){
1620 if (resource
.Length())
1621 res
= (wxChar
*)resource
.c_str();
1622 return self
->Create(parent
, bitmap
, res
);
1625 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1631 } else if (target
== Py_None
) {
1635 if (!PyTuple_Check(target
)) {
1637 target
= PyTuple_New(1);
1638 PyTuple_SetItem(target
, 0, o2
);
1640 o3
= PyTuple_New(1);
1641 PyTuple_SetItem(o3
, 0, o
);
1644 target
= PySequence_Concat(o2
, o3
);
1653 SWIGINTERNSHORT
long
1654 SWIG_As_long(PyObject
* obj
)
1657 if (!SWIG_AsVal_long(obj
, &v
)) {
1659 this is needed to make valgrind/purify happier.
1661 memset((void*)&v
, 0, sizeof(long));
1668 SWIG_Check_long(PyObject
* obj
)
1670 return SWIG_AsVal_long(obj
, (long*)0);
1676 static PyObject
*_wrap_new_WizardEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1677 PyObject
*resultobj
;
1678 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
1679 int arg2
= (int) -1 ;
1680 bool arg3
= (bool) true ;
1681 wxWizardPage
*arg4
= (wxWizardPage
*) NULL
;
1682 wxWizardEvent
*result
;
1683 PyObject
* obj0
= 0 ;
1684 PyObject
* obj1
= 0 ;
1685 PyObject
* obj2
= 0 ;
1686 PyObject
* obj3
= 0 ;
1688 (char *) "type",(char *) "id",(char *) "direction",(char *) "page", NULL
1691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_WizardEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1694 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
1695 if (SWIG_arg_fail(1)) SWIG_fail
;
1700 arg2
= (int)(SWIG_As_int(obj1
));
1701 if (SWIG_arg_fail(2)) SWIG_fail
;
1706 arg3
= (bool)(SWIG_As_bool(obj2
));
1707 if (SWIG_arg_fail(3)) SWIG_fail
;
1711 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
1712 if (SWIG_arg_fail(4)) SWIG_fail
;
1715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1716 result
= (wxWizardEvent
*)new wxWizardEvent(arg1
,arg2
,arg3
,arg4
);
1718 wxPyEndAllowThreads(__tstate
);
1719 if (PyErr_Occurred()) SWIG_fail
;
1721 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWizardEvent
, 1);
1728 static PyObject
*_wrap_WizardEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1729 PyObject
*resultobj
;
1730 wxWizardEvent
*arg1
= (wxWizardEvent
*) 0 ;
1732 PyObject
* obj0
= 0 ;
1734 (char *) "self", NULL
1737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WizardEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
1738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWizardEvent
, SWIG_POINTER_EXCEPTION
| 0);
1739 if (SWIG_arg_fail(1)) SWIG_fail
;
1741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1742 result
= (bool)((wxWizardEvent
const *)arg1
)->GetDirection();
1744 wxPyEndAllowThreads(__tstate
);
1745 if (PyErr_Occurred()) SWIG_fail
;
1748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1756 static PyObject
*_wrap_WizardEvent_GetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1757 PyObject
*resultobj
;
1758 wxWizardEvent
*arg1
= (wxWizardEvent
*) 0 ;
1759 wxWizardPage
*result
;
1760 PyObject
* obj0
= 0 ;
1762 (char *) "self", NULL
1765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WizardEvent_GetPage",kwnames
,&obj0
)) goto fail
;
1766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWizardEvent
, SWIG_POINTER_EXCEPTION
| 0);
1767 if (SWIG_arg_fail(1)) SWIG_fail
;
1769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1770 result
= (wxWizardPage
*)((wxWizardEvent
const *)arg1
)->GetPage();
1772 wxPyEndAllowThreads(__tstate
);
1773 if (PyErr_Occurred()) SWIG_fail
;
1776 resultobj
= wxPyMake_wxObject(result
, 0);
1784 static PyObject
* WizardEvent_swigregister(PyObject
*, PyObject
*args
) {
1786 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1787 SWIG_TypeClientData(SWIGTYPE_p_wxWizardEvent
, obj
);
1789 return Py_BuildValue((char *)"");
1791 static PyObject
*_wrap_WizardPage_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1792 PyObject
*resultobj
;
1793 wxWizardPage
*arg1
= (wxWizardPage
*) 0 ;
1794 wxWizard
*arg2
= (wxWizard
*) 0 ;
1795 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
1796 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
1797 wxString
const &arg4_defvalue
= wxPyEmptyString
;
1798 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
1800 bool temp4
= false ;
1801 PyObject
* obj0
= 0 ;
1802 PyObject
* obj1
= 0 ;
1803 PyObject
* obj2
= 0 ;
1804 PyObject
* obj3
= 0 ;
1806 (char *) "self",(char *) "parent",(char *) "bitmap",(char *) "resource", NULL
1809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:WizardPage_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
1811 if (SWIG_arg_fail(1)) SWIG_fail
;
1812 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWizard
, SWIG_POINTER_EXCEPTION
| 0);
1813 if (SWIG_arg_fail(2)) SWIG_fail
;
1816 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
1817 if (SWIG_arg_fail(3)) SWIG_fail
;
1819 SWIG_null_ref("wxBitmap");
1821 if (SWIG_arg_fail(3)) SWIG_fail
;
1826 arg4
= wxString_in_helper(obj3
);
1827 if (arg4
== NULL
) SWIG_fail
;
1832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1833 result
= (bool)wxWizardPage_Create(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxString
const &)*arg4
);
1835 wxPyEndAllowThreads(__tstate
);
1836 if (PyErr_Occurred()) SWIG_fail
;
1839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1855 static PyObject
*_wrap_WizardPage_GetPrev(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1856 PyObject
*resultobj
;
1857 wxWizardPage
*arg1
= (wxWizardPage
*) 0 ;
1858 wxWizardPage
*result
;
1859 PyObject
* obj0
= 0 ;
1861 (char *) "self", NULL
1864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WizardPage_GetPrev",kwnames
,&obj0
)) goto fail
;
1865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
1866 if (SWIG_arg_fail(1)) SWIG_fail
;
1868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1869 result
= (wxWizardPage
*)((wxWizardPage
const *)arg1
)->GetPrev();
1871 wxPyEndAllowThreads(__tstate
);
1872 if (PyErr_Occurred()) SWIG_fail
;
1875 resultobj
= wxPyMake_wxObject(result
, 0);
1883 static PyObject
*_wrap_WizardPage_GetNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1884 PyObject
*resultobj
;
1885 wxWizardPage
*arg1
= (wxWizardPage
*) 0 ;
1886 wxWizardPage
*result
;
1887 PyObject
* obj0
= 0 ;
1889 (char *) "self", NULL
1892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WizardPage_GetNext",kwnames
,&obj0
)) goto fail
;
1893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
1894 if (SWIG_arg_fail(1)) SWIG_fail
;
1896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1897 result
= (wxWizardPage
*)((wxWizardPage
const *)arg1
)->GetNext();
1899 wxPyEndAllowThreads(__tstate
);
1900 if (PyErr_Occurred()) SWIG_fail
;
1903 resultobj
= wxPyMake_wxObject(result
, 0);
1911 static PyObject
*_wrap_WizardPage_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1912 PyObject
*resultobj
;
1913 wxWizardPage
*arg1
= (wxWizardPage
*) 0 ;
1915 PyObject
* obj0
= 0 ;
1917 (char *) "self", NULL
1920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WizardPage_GetBitmap",kwnames
,&obj0
)) goto fail
;
1921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
1922 if (SWIG_arg_fail(1)) SWIG_fail
;
1924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1925 result
= ((wxWizardPage
const *)arg1
)->GetBitmap();
1927 wxPyEndAllowThreads(__tstate
);
1928 if (PyErr_Occurred()) SWIG_fail
;
1931 wxBitmap
* resultptr
;
1932 resultptr
= new wxBitmap((wxBitmap
&)(result
));
1933 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1941 static PyObject
* WizardPage_swigregister(PyObject
*, PyObject
*args
) {
1943 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1944 SWIG_TypeClientData(SWIGTYPE_p_wxWizardPage
, obj
);
1946 return Py_BuildValue((char *)"");
1948 static PyObject
*_wrap_new_PyWizardPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1949 PyObject
*resultobj
;
1950 wxWizard
*arg1
= (wxWizard
*) 0 ;
1951 wxBitmap
*arg2
= (wxBitmap
*) &wxNullBitmap
;
1952 wxString
*arg3
= (wxString
*) &wxPyEmptyString
;
1953 wxPyWizardPage
*result
;
1954 bool temp3
= false ;
1955 PyObject
* obj0
= 0 ;
1956 PyObject
* obj1
= 0 ;
1957 PyObject
* obj2
= 0 ;
1959 (char *) "parent",(char *) "bitmap",(char *) "resource", NULL
1962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_PyWizardPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWizard
, SWIG_POINTER_EXCEPTION
| 0);
1964 if (SWIG_arg_fail(1)) SWIG_fail
;
1966 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
1967 if (SWIG_arg_fail(2)) SWIG_fail
;
1971 arg3
= wxString_in_helper(obj2
);
1972 if (arg3
== NULL
) SWIG_fail
;
1977 if (!wxPyCheckForApp()) SWIG_fail
;
1978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1979 result
= (wxPyWizardPage
*)new_wxPyWizardPage(arg1
,(wxBitmap
const *)arg2
,(wxString
const *)arg3
);
1981 wxPyEndAllowThreads(__tstate
);
1982 if (PyErr_Occurred()) SWIG_fail
;
1984 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWizardPage
, 1);
1999 static PyObject
*_wrap_new_PrePyWizardPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2000 PyObject
*resultobj
;
2001 wxPyWizardPage
*result
;
2006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWizardPage",kwnames
)) goto fail
;
2008 if (!wxPyCheckForApp()) SWIG_fail
;
2009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2010 result
= (wxPyWizardPage
*)new wxPyWizardPage();
2012 wxPyEndAllowThreads(__tstate
);
2013 if (PyErr_Occurred()) SWIG_fail
;
2015 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWizardPage
, 1);
2022 static PyObject
*_wrap_PyWizardPage_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2023 PyObject
*resultobj
;
2024 wxPyWizardPage
*arg1
= (wxPyWizardPage
*) 0 ;
2025 wxWizard
*arg2
= (wxWizard
*) 0 ;
2026 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
2027 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
2028 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2029 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2031 bool temp4
= false ;
2032 PyObject
* obj0
= 0 ;
2033 PyObject
* obj1
= 0 ;
2034 PyObject
* obj2
= 0 ;
2035 PyObject
* obj3
= 0 ;
2037 (char *) "self",(char *) "parent",(char *) "bitmap",(char *) "resource", NULL
2040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PyWizardPage_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
2042 if (SWIG_arg_fail(1)) SWIG_fail
;
2043 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWizard
, SWIG_POINTER_EXCEPTION
| 0);
2044 if (SWIG_arg_fail(2)) SWIG_fail
;
2047 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2048 if (SWIG_arg_fail(3)) SWIG_fail
;
2050 SWIG_null_ref("wxBitmap");
2052 if (SWIG_arg_fail(3)) SWIG_fail
;
2057 arg4
= wxString_in_helper(obj3
);
2058 if (arg4
== NULL
) SWIG_fail
;
2063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2064 result
= (bool)wxPyWizardPage_Create(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxString
const &)*arg4
);
2066 wxPyEndAllowThreads(__tstate
);
2067 if (PyErr_Occurred()) SWIG_fail
;
2070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2086 static PyObject
*_wrap_PyWizardPage__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2087 PyObject
*resultobj
;
2088 wxPyWizardPage
*arg1
= (wxPyWizardPage
*) 0 ;
2089 PyObject
*arg2
= (PyObject
*) 0 ;
2090 PyObject
*arg3
= (PyObject
*) 0 ;
2091 PyObject
* obj0
= 0 ;
2092 PyObject
* obj1
= 0 ;
2093 PyObject
* obj2
= 0 ;
2095 (char *) "self",(char *) "self",(char *) "_class", NULL
2098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWizardPage__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
2100 if (SWIG_arg_fail(1)) SWIG_fail
;
2104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2105 (arg1
)->_setCallbackInfo(arg2
,arg3
);
2107 wxPyEndAllowThreads(__tstate
);
2108 if (PyErr_Occurred()) SWIG_fail
;
2110 Py_INCREF(Py_None
); resultobj
= Py_None
;
2117 static PyObject
*_wrap_PyWizardPage_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2118 PyObject
*resultobj
;
2119 wxPyWizardPage
*arg1
= (wxPyWizardPage
*) 0 ;
2124 PyObject
* obj0
= 0 ;
2125 PyObject
* obj1
= 0 ;
2126 PyObject
* obj2
= 0 ;
2127 PyObject
* obj3
= 0 ;
2128 PyObject
* obj4
= 0 ;
2130 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
2133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWizardPage_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
2135 if (SWIG_arg_fail(1)) SWIG_fail
;
2137 arg2
= (int)(SWIG_As_int(obj1
));
2138 if (SWIG_arg_fail(2)) SWIG_fail
;
2141 arg3
= (int)(SWIG_As_int(obj2
));
2142 if (SWIG_arg_fail(3)) SWIG_fail
;
2145 arg4
= (int)(SWIG_As_int(obj3
));
2146 if (SWIG_arg_fail(4)) SWIG_fail
;
2149 arg5
= (int)(SWIG_As_int(obj4
));
2150 if (SWIG_arg_fail(5)) SWIG_fail
;
2153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2154 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
2156 wxPyEndAllowThreads(__tstate
);
2157 if (PyErr_Occurred()) SWIG_fail
;
2159 Py_INCREF(Py_None
); resultobj
= Py_None
;
2166 static PyObject
*_wrap_PyWizardPage_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2167 PyObject
*resultobj
;
2168 wxPyWizardPage
*arg1
= (wxPyWizardPage
*) 0 ;
2173 int arg6
= (int) wxSIZE_AUTO
;
2174 PyObject
* obj0
= 0 ;
2175 PyObject
* obj1
= 0 ;
2176 PyObject
* obj2
= 0 ;
2177 PyObject
* obj3
= 0 ;
2178 PyObject
* obj4
= 0 ;
2179 PyObject
* obj5
= 0 ;
2181 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
2184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWizardPage_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
2186 if (SWIG_arg_fail(1)) SWIG_fail
;
2188 arg2
= (int)(SWIG_As_int(obj1
));
2189 if (SWIG_arg_fail(2)) SWIG_fail
;
2192 arg3
= (int)(SWIG_As_int(obj2
));
2193 if (SWIG_arg_fail(3)) SWIG_fail
;
2196 arg4
= (int)(SWIG_As_int(obj3
));
2197 if (SWIG_arg_fail(4)) SWIG_fail
;
2200 arg5
= (int)(SWIG_As_int(obj4
));
2201 if (SWIG_arg_fail(5)) SWIG_fail
;
2205 arg6
= (int)(SWIG_As_int(obj5
));
2206 if (SWIG_arg_fail(6)) SWIG_fail
;
2210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2211 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
2213 wxPyEndAllowThreads(__tstate
);
2214 if (PyErr_Occurred()) SWIG_fail
;
2216 Py_INCREF(Py_None
); resultobj
= Py_None
;
2223 static PyObject
*_wrap_PyWizardPage_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2224 PyObject
*resultobj
;
2225 wxPyWizardPage
*arg1
= (wxPyWizardPage
*) 0 ;
2228 PyObject
* obj0
= 0 ;
2229 PyObject
* obj1
= 0 ;
2230 PyObject
* obj2
= 0 ;
2232 (char *) "self",(char *) "width",(char *) "height", NULL
2235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWizardPage_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
2237 if (SWIG_arg_fail(1)) SWIG_fail
;
2239 arg2
= (int)(SWIG_As_int(obj1
));
2240 if (SWIG_arg_fail(2)) SWIG_fail
;
2243 arg3
= (int)(SWIG_As_int(obj2
));
2244 if (SWIG_arg_fail(3)) SWIG_fail
;
2247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2248 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
2250 wxPyEndAllowThreads(__tstate
);
2251 if (PyErr_Occurred()) SWIG_fail
;
2253 Py_INCREF(Py_None
); resultobj
= Py_None
;
2260 static PyObject
*_wrap_PyWizardPage_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2261 PyObject
*resultobj
;
2262 wxPyWizardPage
*arg1
= (wxPyWizardPage
*) 0 ;
2265 PyObject
* obj0
= 0 ;
2266 PyObject
* obj1
= 0 ;
2267 PyObject
* obj2
= 0 ;
2269 (char *) "self",(char *) "x",(char *) "y", NULL
2272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWizardPage_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
2274 if (SWIG_arg_fail(1)) SWIG_fail
;
2276 arg2
= (int)(SWIG_As_int(obj1
));
2277 if (SWIG_arg_fail(2)) SWIG_fail
;
2280 arg3
= (int)(SWIG_As_int(obj2
));
2281 if (SWIG_arg_fail(3)) SWIG_fail
;
2284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2285 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
2287 wxPyEndAllowThreads(__tstate
);
2288 if (PyErr_Occurred()) SWIG_fail
;
2290 Py_INCREF(Py_None
); resultobj
= Py_None
;
2297 static PyObject
*_wrap_PyWizardPage_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2298 PyObject
*resultobj
;
2299 wxPyWizardPage
*arg1
= (wxPyWizardPage
*) 0 ;
2300 int *arg2
= (int *) 0 ;
2301 int *arg3
= (int *) 0 ;
2306 PyObject
* obj0
= 0 ;
2308 (char *) "self", NULL
2311 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2312 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
2313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWizardPage_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
2314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
2315 if (SWIG_arg_fail(1)) SWIG_fail
;
2317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2318 ((wxPyWizardPage
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
2320 wxPyEndAllowThreads(__tstate
);
2321 if (PyErr_Occurred()) SWIG_fail
;
2323 Py_INCREF(Py_None
); resultobj
= Py_None
;
2324 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2325 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2326 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
2327 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
2334 static PyObject
*_wrap_PyWizardPage_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2335 PyObject
*resultobj
;
2336 wxPyWizardPage
*arg1
= (wxPyWizardPage
*) 0 ;
2337 int *arg2
= (int *) 0 ;
2338 int *arg3
= (int *) 0 ;
2343 PyObject
* obj0
= 0 ;
2345 (char *) "self", NULL
2348 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2349 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
2350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWizardPage_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
2351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
2352 if (SWIG_arg_fail(1)) SWIG_fail
;
2354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2355 ((wxPyWizardPage
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
2357 wxPyEndAllowThreads(__tstate
);
2358 if (PyErr_Occurred()) SWIG_fail
;
2360 Py_INCREF(Py_None
); resultobj
= Py_None
;
2361 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2362 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2363 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
2364 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
2371 static PyObject
*_wrap_PyWizardPage_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2372 PyObject
*resultobj
;
2373 wxPyWizardPage
*arg1
= (wxPyWizardPage
*) 0 ;
2374 int *arg2
= (int *) 0 ;
2375 int *arg3
= (int *) 0 ;
2380 PyObject
* obj0
= 0 ;
2382 (char *) "self", NULL
2385 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2386 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
2387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWizardPage_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
2388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
2389 if (SWIG_arg_fail(1)) SWIG_fail
;
2391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2392 ((wxPyWizardPage
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
2394 wxPyEndAllowThreads(__tstate
);
2395 if (PyErr_Occurred()) SWIG_fail
;
2397 Py_INCREF(Py_None
); resultobj
= Py_None
;
2398 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2399 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2400 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
2401 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
2408 static PyObject
*_wrap_PyWizardPage_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2409 PyObject
*resultobj
;
2410 wxPyWizardPage
*arg1
= (wxPyWizardPage
*) 0 ;
2412 PyObject
* obj0
= 0 ;
2414 (char *) "self", NULL
2417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWizardPage_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
2418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
2419 if (SWIG_arg_fail(1)) SWIG_fail
;
2421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2422 result
= ((wxPyWizardPage
const *)arg1
)->base_DoGetVirtualSize();
2424 wxPyEndAllowThreads(__tstate
);
2425 if (PyErr_Occurred()) SWIG_fail
;
2429 resultptr
= new wxSize((wxSize
&)(result
));
2430 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2438 static PyObject
*_wrap_PyWizardPage_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2439 PyObject
*resultobj
;
2440 wxPyWizardPage
*arg1
= (wxPyWizardPage
*) 0 ;
2442 PyObject
* obj0
= 0 ;
2444 (char *) "self", NULL
2447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWizardPage_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
2448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
2449 if (SWIG_arg_fail(1)) SWIG_fail
;
2451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2452 result
= ((wxPyWizardPage
const *)arg1
)->base_DoGetBestSize();
2454 wxPyEndAllowThreads(__tstate
);
2455 if (PyErr_Occurred()) SWIG_fail
;
2459 resultptr
= new wxSize((wxSize
&)(result
));
2460 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2468 static PyObject
*_wrap_PyWizardPage_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2469 PyObject
*resultobj
;
2470 wxPyWizardPage
*arg1
= (wxPyWizardPage
*) 0 ;
2471 PyObject
* obj0
= 0 ;
2473 (char *) "self", NULL
2476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWizardPage_base_InitDialog",kwnames
,&obj0
)) goto fail
;
2477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
2478 if (SWIG_arg_fail(1)) SWIG_fail
;
2480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2481 (arg1
)->base_InitDialog();
2483 wxPyEndAllowThreads(__tstate
);
2484 if (PyErr_Occurred()) SWIG_fail
;
2486 Py_INCREF(Py_None
); resultobj
= Py_None
;
2493 static PyObject
*_wrap_PyWizardPage_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2494 PyObject
*resultobj
;
2495 wxPyWizardPage
*arg1
= (wxPyWizardPage
*) 0 ;
2497 PyObject
* obj0
= 0 ;
2499 (char *) "self", NULL
2502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWizardPage_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
2503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
2504 if (SWIG_arg_fail(1)) SWIG_fail
;
2506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2507 result
= (bool)(arg1
)->base_TransferDataToWindow();
2509 wxPyEndAllowThreads(__tstate
);
2510 if (PyErr_Occurred()) SWIG_fail
;
2513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2521 static PyObject
*_wrap_PyWizardPage_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2522 PyObject
*resultobj
;
2523 wxPyWizardPage
*arg1
= (wxPyWizardPage
*) 0 ;
2525 PyObject
* obj0
= 0 ;
2527 (char *) "self", NULL
2530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWizardPage_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
2531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
2532 if (SWIG_arg_fail(1)) SWIG_fail
;
2534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2535 result
= (bool)(arg1
)->base_TransferDataFromWindow();
2537 wxPyEndAllowThreads(__tstate
);
2538 if (PyErr_Occurred()) SWIG_fail
;
2541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2549 static PyObject
*_wrap_PyWizardPage_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2550 PyObject
*resultobj
;
2551 wxPyWizardPage
*arg1
= (wxPyWizardPage
*) 0 ;
2553 PyObject
* obj0
= 0 ;
2555 (char *) "self", NULL
2558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWizardPage_base_Validate",kwnames
,&obj0
)) goto fail
;
2559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
2560 if (SWIG_arg_fail(1)) SWIG_fail
;
2562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2563 result
= (bool)(arg1
)->base_Validate();
2565 wxPyEndAllowThreads(__tstate
);
2566 if (PyErr_Occurred()) SWIG_fail
;
2569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2577 static PyObject
*_wrap_PyWizardPage_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2578 PyObject
*resultobj
;
2579 wxPyWizardPage
*arg1
= (wxPyWizardPage
*) 0 ;
2581 PyObject
* obj0
= 0 ;
2583 (char *) "self", NULL
2586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWizardPage_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
2587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
2588 if (SWIG_arg_fail(1)) SWIG_fail
;
2590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2591 result
= (bool)((wxPyWizardPage
const *)arg1
)->base_AcceptsFocus();
2593 wxPyEndAllowThreads(__tstate
);
2594 if (PyErr_Occurred()) SWIG_fail
;
2597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2605 static PyObject
*_wrap_PyWizardPage_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2606 PyObject
*resultobj
;
2607 wxPyWizardPage
*arg1
= (wxPyWizardPage
*) 0 ;
2609 PyObject
* obj0
= 0 ;
2611 (char *) "self", NULL
2614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWizardPage_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
2615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
2616 if (SWIG_arg_fail(1)) SWIG_fail
;
2618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2619 result
= (bool)((wxPyWizardPage
const *)arg1
)->base_AcceptsFocusFromKeyboard();
2621 wxPyEndAllowThreads(__tstate
);
2622 if (PyErr_Occurred()) SWIG_fail
;
2625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2633 static PyObject
*_wrap_PyWizardPage_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2634 PyObject
*resultobj
;
2635 wxPyWizardPage
*arg1
= (wxPyWizardPage
*) 0 ;
2637 PyObject
* obj0
= 0 ;
2639 (char *) "self", NULL
2642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWizardPage_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
2643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
2644 if (SWIG_arg_fail(1)) SWIG_fail
;
2646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2647 result
= ((wxPyWizardPage
const *)arg1
)->base_GetMaxSize();
2649 wxPyEndAllowThreads(__tstate
);
2650 if (PyErr_Occurred()) SWIG_fail
;
2654 resultptr
= new wxSize((wxSize
&)(result
));
2655 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2663 static PyObject
*_wrap_PyWizardPage_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2664 PyObject
*resultobj
;
2665 wxPyWizardPage
*arg1
= (wxPyWizardPage
*) 0 ;
2666 wxWindow
*arg2
= (wxWindow
*) 0 ;
2667 PyObject
* obj0
= 0 ;
2668 PyObject
* obj1
= 0 ;
2670 (char *) "self",(char *) "child", NULL
2673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWizardPage_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
2674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
2675 if (SWIG_arg_fail(1)) SWIG_fail
;
2676 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2677 if (SWIG_arg_fail(2)) SWIG_fail
;
2679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2680 (arg1
)->base_AddChild(arg2
);
2682 wxPyEndAllowThreads(__tstate
);
2683 if (PyErr_Occurred()) SWIG_fail
;
2685 Py_INCREF(Py_None
); resultobj
= Py_None
;
2692 static PyObject
*_wrap_PyWizardPage_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2693 PyObject
*resultobj
;
2694 wxPyWizardPage
*arg1
= (wxPyWizardPage
*) 0 ;
2695 wxWindow
*arg2
= (wxWindow
*) 0 ;
2696 PyObject
* obj0
= 0 ;
2697 PyObject
* obj1
= 0 ;
2699 (char *) "self",(char *) "child", NULL
2702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWizardPage_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
2703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
2704 if (SWIG_arg_fail(1)) SWIG_fail
;
2705 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2706 if (SWIG_arg_fail(2)) SWIG_fail
;
2708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2709 (arg1
)->base_RemoveChild(arg2
);
2711 wxPyEndAllowThreads(__tstate
);
2712 if (PyErr_Occurred()) SWIG_fail
;
2714 Py_INCREF(Py_None
); resultobj
= Py_None
;
2721 static PyObject
* PyWizardPage_swigregister(PyObject
*, PyObject
*args
) {
2723 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2724 SWIG_TypeClientData(SWIGTYPE_p_wxPyWizardPage
, obj
);
2726 return Py_BuildValue((char *)"");
2728 static PyObject
*_wrap_new_WizardPageSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2729 PyObject
*resultobj
;
2730 wxWizard
*arg1
= (wxWizard
*) 0 ;
2731 wxWizardPage
*arg2
= (wxWizardPage
*) NULL
;
2732 wxWizardPage
*arg3
= (wxWizardPage
*) NULL
;
2733 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
2734 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
2735 wxChar
*arg5
= (wxChar
*) NULL
;
2736 wxWizardPageSimple
*result
;
2737 PyObject
* obj0
= 0 ;
2738 PyObject
* obj1
= 0 ;
2739 PyObject
* obj2
= 0 ;
2740 PyObject
* obj3
= 0 ;
2741 PyObject
* obj4
= 0 ;
2743 (char *) "parent",(char *) "prev",(char *) "next",(char *) "bitmap",(char *) "resource", NULL
2746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_WizardPageSimple",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWizard
, SWIG_POINTER_EXCEPTION
| 0);
2748 if (SWIG_arg_fail(1)) SWIG_fail
;
2750 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
2751 if (SWIG_arg_fail(2)) SWIG_fail
;
2754 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
2755 if (SWIG_arg_fail(3)) SWIG_fail
;
2759 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2760 if (SWIG_arg_fail(4)) SWIG_fail
;
2762 SWIG_null_ref("wxBitmap");
2764 if (SWIG_arg_fail(4)) SWIG_fail
;
2768 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
2769 if (SWIG_arg_fail(5)) SWIG_fail
;
2772 if (!wxPyCheckForApp()) SWIG_fail
;
2773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2774 result
= (wxWizardPageSimple
*)new wxWizardPageSimple(arg1
,arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxChar
const *)arg5
);
2776 wxPyEndAllowThreads(__tstate
);
2777 if (PyErr_Occurred()) SWIG_fail
;
2779 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWizardPageSimple
, 1);
2786 static PyObject
*_wrap_new_PreWizardPageSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2787 PyObject
*resultobj
;
2788 wxWizardPageSimple
*result
;
2793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWizardPageSimple",kwnames
)) goto fail
;
2795 if (!wxPyCheckForApp()) SWIG_fail
;
2796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2797 result
= (wxWizardPageSimple
*)new wxWizardPageSimple();
2799 wxPyEndAllowThreads(__tstate
);
2800 if (PyErr_Occurred()) SWIG_fail
;
2802 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWizardPageSimple
, 1);
2809 static PyObject
*_wrap_WizardPageSimple_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2810 PyObject
*resultobj
;
2811 wxWizardPageSimple
*arg1
= (wxWizardPageSimple
*) 0 ;
2812 wxWizard
*arg2
= (wxWizard
*) NULL
;
2813 wxWizardPage
*arg3
= (wxWizardPage
*) NULL
;
2814 wxWizardPage
*arg4
= (wxWizardPage
*) NULL
;
2815 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
2816 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
2817 wxChar
*arg6
= (wxChar
*) NULL
;
2819 PyObject
* obj0
= 0 ;
2820 PyObject
* obj1
= 0 ;
2821 PyObject
* obj2
= 0 ;
2822 PyObject
* obj3
= 0 ;
2823 PyObject
* obj4
= 0 ;
2824 PyObject
* obj5
= 0 ;
2826 (char *) "self",(char *) "parent",(char *) "prev",(char *) "next",(char *) "bitmap",(char *) "resource", NULL
2829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:WizardPageSimple_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWizardPageSimple
, SWIG_POINTER_EXCEPTION
| 0);
2831 if (SWIG_arg_fail(1)) SWIG_fail
;
2833 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWizard
, SWIG_POINTER_EXCEPTION
| 0);
2834 if (SWIG_arg_fail(2)) SWIG_fail
;
2837 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
2838 if (SWIG_arg_fail(3)) SWIG_fail
;
2841 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
2842 if (SWIG_arg_fail(4)) SWIG_fail
;
2846 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2847 if (SWIG_arg_fail(5)) SWIG_fail
;
2849 SWIG_null_ref("wxBitmap");
2851 if (SWIG_arg_fail(5)) SWIG_fail
;
2855 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
2856 if (SWIG_arg_fail(6)) SWIG_fail
;
2859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2860 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxBitmap
const &)*arg5
,(wxChar
const *)arg6
);
2862 wxPyEndAllowThreads(__tstate
);
2863 if (PyErr_Occurred()) SWIG_fail
;
2866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2874 static PyObject
*_wrap_WizardPageSimple_SetPrev(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2875 PyObject
*resultobj
;
2876 wxWizardPageSimple
*arg1
= (wxWizardPageSimple
*) 0 ;
2877 wxWizardPage
*arg2
= (wxWizardPage
*) 0 ;
2878 PyObject
* obj0
= 0 ;
2879 PyObject
* obj1
= 0 ;
2881 (char *) "self",(char *) "prev", NULL
2884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:WizardPageSimple_SetPrev",kwnames
,&obj0
,&obj1
)) goto fail
;
2885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWizardPageSimple
, SWIG_POINTER_EXCEPTION
| 0);
2886 if (SWIG_arg_fail(1)) SWIG_fail
;
2887 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
2888 if (SWIG_arg_fail(2)) SWIG_fail
;
2890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2891 (arg1
)->SetPrev(arg2
);
2893 wxPyEndAllowThreads(__tstate
);
2894 if (PyErr_Occurred()) SWIG_fail
;
2896 Py_INCREF(Py_None
); resultobj
= Py_None
;
2903 static PyObject
*_wrap_WizardPageSimple_SetNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2904 PyObject
*resultobj
;
2905 wxWizardPageSimple
*arg1
= (wxWizardPageSimple
*) 0 ;
2906 wxWizardPage
*arg2
= (wxWizardPage
*) 0 ;
2907 PyObject
* obj0
= 0 ;
2908 PyObject
* obj1
= 0 ;
2910 (char *) "self",(char *) "next", NULL
2913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:WizardPageSimple_SetNext",kwnames
,&obj0
,&obj1
)) goto fail
;
2914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWizardPageSimple
, SWIG_POINTER_EXCEPTION
| 0);
2915 if (SWIG_arg_fail(1)) SWIG_fail
;
2916 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
2917 if (SWIG_arg_fail(2)) SWIG_fail
;
2919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2920 (arg1
)->SetNext(arg2
);
2922 wxPyEndAllowThreads(__tstate
);
2923 if (PyErr_Occurred()) SWIG_fail
;
2925 Py_INCREF(Py_None
); resultobj
= Py_None
;
2932 static PyObject
*_wrap_WizardPageSimple_Chain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2933 PyObject
*resultobj
;
2934 wxWizardPageSimple
*arg1
= (wxWizardPageSimple
*) 0 ;
2935 wxWizardPageSimple
*arg2
= (wxWizardPageSimple
*) 0 ;
2936 PyObject
* obj0
= 0 ;
2937 PyObject
* obj1
= 0 ;
2939 (char *) "first",(char *) "second", NULL
2942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:WizardPageSimple_Chain",kwnames
,&obj0
,&obj1
)) goto fail
;
2943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWizardPageSimple
, SWIG_POINTER_EXCEPTION
| 0);
2944 if (SWIG_arg_fail(1)) SWIG_fail
;
2945 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWizardPageSimple
, SWIG_POINTER_EXCEPTION
| 0);
2946 if (SWIG_arg_fail(2)) SWIG_fail
;
2948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2949 wxWizardPageSimple::Chain(arg1
,arg2
);
2951 wxPyEndAllowThreads(__tstate
);
2952 if (PyErr_Occurred()) SWIG_fail
;
2954 Py_INCREF(Py_None
); resultobj
= Py_None
;
2961 static PyObject
* WizardPageSimple_swigregister(PyObject
*, PyObject
*args
) {
2963 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2964 SWIG_TypeClientData(SWIGTYPE_p_wxWizardPageSimple
, obj
);
2966 return Py_BuildValue((char *)"");
2968 static PyObject
*_wrap_new_Wizard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2969 PyObject
*resultobj
;
2970 wxWindow
*arg1
= (wxWindow
*) 0 ;
2971 int arg2
= (int) -1 ;
2972 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2973 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2974 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
2975 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
2976 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2977 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2978 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
2980 bool temp3
= false ;
2982 PyObject
* obj0
= 0 ;
2983 PyObject
* obj1
= 0 ;
2984 PyObject
* obj2
= 0 ;
2985 PyObject
* obj3
= 0 ;
2986 PyObject
* obj4
= 0 ;
2987 PyObject
* obj5
= 0 ;
2989 (char *) "parent",(char *) "id",(char *) "title",(char *) "bitmap",(char *) "pos",(char *) "style", NULL
2992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Wizard",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2994 if (SWIG_arg_fail(1)) SWIG_fail
;
2997 arg2
= (int)(SWIG_As_int(obj1
));
2998 if (SWIG_arg_fail(2)) SWIG_fail
;
3003 arg3
= wxString_in_helper(obj2
);
3004 if (arg3
== NULL
) SWIG_fail
;
3010 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3011 if (SWIG_arg_fail(4)) SWIG_fail
;
3013 SWIG_null_ref("wxBitmap");
3015 if (SWIG_arg_fail(4)) SWIG_fail
;
3021 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3026 arg6
= (long)(SWIG_As_long(obj5
));
3027 if (SWIG_arg_fail(6)) SWIG_fail
;
3031 if (!wxPyCheckForApp()) SWIG_fail
;
3032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3033 result
= (wxWizard
*)new wxWizard(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,arg6
);
3035 wxPyEndAllowThreads(__tstate
);
3036 if (PyErr_Occurred()) SWIG_fail
;
3038 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWizard
, 1);
3053 static PyObject
*_wrap_new_PreWizard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3054 PyObject
*resultobj
;
3060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWizard",kwnames
)) goto fail
;
3062 if (!wxPyCheckForApp()) SWIG_fail
;
3063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3064 result
= (wxWizard
*)new wxWizard();
3066 wxPyEndAllowThreads(__tstate
);
3067 if (PyErr_Occurred()) SWIG_fail
;
3069 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWizard
, 1);
3076 static PyObject
*_wrap_Wizard_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3077 PyObject
*resultobj
;
3078 wxWizard
*arg1
= (wxWizard
*) 0 ;
3079 wxWindow
*arg2
= (wxWindow
*) 0 ;
3080 int arg3
= (int) -1 ;
3081 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3082 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3083 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
3084 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
3085 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
3086 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
3088 bool temp4
= false ;
3090 PyObject
* obj0
= 0 ;
3091 PyObject
* obj1
= 0 ;
3092 PyObject
* obj2
= 0 ;
3093 PyObject
* obj3
= 0 ;
3094 PyObject
* obj4
= 0 ;
3095 PyObject
* obj5
= 0 ;
3097 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "bitmap",(char *) "pos", NULL
3100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Wizard_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWizard
, SWIG_POINTER_EXCEPTION
| 0);
3102 if (SWIG_arg_fail(1)) SWIG_fail
;
3103 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3104 if (SWIG_arg_fail(2)) SWIG_fail
;
3107 arg3
= (int)(SWIG_As_int(obj2
));
3108 if (SWIG_arg_fail(3)) SWIG_fail
;
3113 arg4
= wxString_in_helper(obj3
);
3114 if (arg4
== NULL
) SWIG_fail
;
3120 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3121 if (SWIG_arg_fail(5)) SWIG_fail
;
3123 SWIG_null_ref("wxBitmap");
3125 if (SWIG_arg_fail(5)) SWIG_fail
;
3131 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
3135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3136 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxPoint
const &)*arg6
);
3138 wxPyEndAllowThreads(__tstate
);
3139 if (PyErr_Occurred()) SWIG_fail
;
3142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3158 static PyObject
*_wrap_Wizard_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3159 PyObject
*resultobj
;
3160 wxWizard
*arg1
= (wxWizard
*) 0 ;
3161 PyObject
* obj0
= 0 ;
3163 (char *) "self", NULL
3166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Wizard_Init",kwnames
,&obj0
)) goto fail
;
3167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWizard
, SWIG_POINTER_EXCEPTION
| 0);
3168 if (SWIG_arg_fail(1)) SWIG_fail
;
3170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3173 wxPyEndAllowThreads(__tstate
);
3174 if (PyErr_Occurred()) SWIG_fail
;
3176 Py_INCREF(Py_None
); resultobj
= Py_None
;
3183 static PyObject
*_wrap_Wizard_RunWizard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3184 PyObject
*resultobj
;
3185 wxWizard
*arg1
= (wxWizard
*) 0 ;
3186 wxWizardPage
*arg2
= (wxWizardPage
*) 0 ;
3188 PyObject
* obj0
= 0 ;
3189 PyObject
* obj1
= 0 ;
3191 (char *) "self",(char *) "firstPage", NULL
3194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Wizard_RunWizard",kwnames
,&obj0
,&obj1
)) goto fail
;
3195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWizard
, SWIG_POINTER_EXCEPTION
| 0);
3196 if (SWIG_arg_fail(1)) SWIG_fail
;
3197 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
3198 if (SWIG_arg_fail(2)) SWIG_fail
;
3200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3201 result
= (bool)(arg1
)->RunWizard(arg2
);
3203 wxPyEndAllowThreads(__tstate
);
3204 if (PyErr_Occurred()) SWIG_fail
;
3207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3215 static PyObject
*_wrap_Wizard_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3216 PyObject
*resultobj
;
3217 wxWizard
*arg1
= (wxWizard
*) 0 ;
3218 wxWizardPage
*result
;
3219 PyObject
* obj0
= 0 ;
3221 (char *) "self", NULL
3224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Wizard_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
3225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWizard
, SWIG_POINTER_EXCEPTION
| 0);
3226 if (SWIG_arg_fail(1)) SWIG_fail
;
3228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3229 result
= (wxWizardPage
*)((wxWizard
const *)arg1
)->GetCurrentPage();
3231 wxPyEndAllowThreads(__tstate
);
3232 if (PyErr_Occurred()) SWIG_fail
;
3235 resultobj
= wxPyMake_wxObject(result
, 0);
3243 static PyObject
*_wrap_Wizard_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3244 PyObject
*resultobj
;
3245 wxWizard
*arg1
= (wxWizard
*) 0 ;
3248 PyObject
* obj0
= 0 ;
3249 PyObject
* obj1
= 0 ;
3251 (char *) "self",(char *) "size", NULL
3254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Wizard_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWizard
, SWIG_POINTER_EXCEPTION
| 0);
3256 if (SWIG_arg_fail(1)) SWIG_fail
;
3259 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3263 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
3265 wxPyEndAllowThreads(__tstate
);
3266 if (PyErr_Occurred()) SWIG_fail
;
3268 Py_INCREF(Py_None
); resultobj
= Py_None
;
3275 static PyObject
*_wrap_Wizard_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3276 PyObject
*resultobj
;
3277 wxWizard
*arg1
= (wxWizard
*) 0 ;
3279 PyObject
* obj0
= 0 ;
3281 (char *) "self", NULL
3284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Wizard_GetPageSize",kwnames
,&obj0
)) goto fail
;
3285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWizard
, SWIG_POINTER_EXCEPTION
| 0);
3286 if (SWIG_arg_fail(1)) SWIG_fail
;
3288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3289 result
= ((wxWizard
const *)arg1
)->GetPageSize();
3291 wxPyEndAllowThreads(__tstate
);
3292 if (PyErr_Occurred()) SWIG_fail
;
3296 resultptr
= new wxSize((wxSize
&)(result
));
3297 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3305 static PyObject
*_wrap_Wizard_FitToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3306 PyObject
*resultobj
;
3307 wxWizard
*arg1
= (wxWizard
*) 0 ;
3308 wxWizardPage
*arg2
= (wxWizardPage
*) 0 ;
3309 PyObject
* obj0
= 0 ;
3310 PyObject
* obj1
= 0 ;
3312 (char *) "self",(char *) "firstPage", NULL
3315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Wizard_FitToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
3316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWizard
, SWIG_POINTER_EXCEPTION
| 0);
3317 if (SWIG_arg_fail(1)) SWIG_fail
;
3318 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
3319 if (SWIG_arg_fail(2)) SWIG_fail
;
3321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3322 (arg1
)->FitToPage((wxWizardPage
const *)arg2
);
3324 wxPyEndAllowThreads(__tstate
);
3325 if (PyErr_Occurred()) SWIG_fail
;
3327 Py_INCREF(Py_None
); resultobj
= Py_None
;
3334 static PyObject
*_wrap_Wizard_GetPageAreaSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3335 PyObject
*resultobj
;
3336 wxWizard
*arg1
= (wxWizard
*) 0 ;
3338 PyObject
* obj0
= 0 ;
3340 (char *) "self", NULL
3343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Wizard_GetPageAreaSizer",kwnames
,&obj0
)) goto fail
;
3344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWizard
, SWIG_POINTER_EXCEPTION
| 0);
3345 if (SWIG_arg_fail(1)) SWIG_fail
;
3347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3348 result
= (wxSizer
*)((wxWizard
const *)arg1
)->GetPageAreaSizer();
3350 wxPyEndAllowThreads(__tstate
);
3351 if (PyErr_Occurred()) SWIG_fail
;
3354 resultobj
= wxPyMake_wxSizer(result
, 0);
3362 static PyObject
*_wrap_Wizard_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3363 PyObject
*resultobj
;
3364 wxWizard
*arg1
= (wxWizard
*) 0 ;
3366 PyObject
* obj0
= 0 ;
3367 PyObject
* obj1
= 0 ;
3369 (char *) "self",(char *) "border", NULL
3372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Wizard_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
3373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWizard
, SWIG_POINTER_EXCEPTION
| 0);
3374 if (SWIG_arg_fail(1)) SWIG_fail
;
3376 arg2
= (int)(SWIG_As_int(obj1
));
3377 if (SWIG_arg_fail(2)) SWIG_fail
;
3380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3381 (arg1
)->SetBorder(arg2
);
3383 wxPyEndAllowThreads(__tstate
);
3384 if (PyErr_Occurred()) SWIG_fail
;
3386 Py_INCREF(Py_None
); resultobj
= Py_None
;
3393 static PyObject
*_wrap_Wizard_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3394 PyObject
*resultobj
;
3395 wxWizard
*arg1
= (wxWizard
*) 0 ;
3397 PyObject
* obj0
= 0 ;
3399 (char *) "self", NULL
3402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Wizard_IsRunning",kwnames
,&obj0
)) goto fail
;
3403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWizard
, SWIG_POINTER_EXCEPTION
| 0);
3404 if (SWIG_arg_fail(1)) SWIG_fail
;
3406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3407 result
= (bool)((wxWizard
const *)arg1
)->IsRunning();
3409 wxPyEndAllowThreads(__tstate
);
3410 if (PyErr_Occurred()) SWIG_fail
;
3413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3421 static PyObject
*_wrap_Wizard_ShowPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3422 PyObject
*resultobj
;
3423 wxWizard
*arg1
= (wxWizard
*) 0 ;
3424 wxWizardPage
*arg2
= (wxWizardPage
*) 0 ;
3425 bool arg3
= (bool) true ;
3427 PyObject
* obj0
= 0 ;
3428 PyObject
* obj1
= 0 ;
3429 PyObject
* obj2
= 0 ;
3431 (char *) "self",(char *) "page",(char *) "goingForward", NULL
3434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Wizard_ShowPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWizard
, SWIG_POINTER_EXCEPTION
| 0);
3436 if (SWIG_arg_fail(1)) SWIG_fail
;
3437 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
3438 if (SWIG_arg_fail(2)) SWIG_fail
;
3441 arg3
= (bool)(SWIG_As_bool(obj2
));
3442 if (SWIG_arg_fail(3)) SWIG_fail
;
3446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3447 result
= (bool)(arg1
)->ShowPage(arg2
,arg3
);
3449 wxPyEndAllowThreads(__tstate
);
3450 if (PyErr_Occurred()) SWIG_fail
;
3453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3461 static PyObject
*_wrap_Wizard_HasNextPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3462 PyObject
*resultobj
;
3463 wxWizard
*arg1
= (wxWizard
*) 0 ;
3464 wxWizardPage
*arg2
= (wxWizardPage
*) 0 ;
3466 PyObject
* obj0
= 0 ;
3467 PyObject
* obj1
= 0 ;
3469 (char *) "self",(char *) "page", NULL
3472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Wizard_HasNextPage",kwnames
,&obj0
,&obj1
)) goto fail
;
3473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWizard
, SWIG_POINTER_EXCEPTION
| 0);
3474 if (SWIG_arg_fail(1)) SWIG_fail
;
3475 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
3476 if (SWIG_arg_fail(2)) SWIG_fail
;
3478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3479 result
= (bool)(arg1
)->HasNextPage(arg2
);
3481 wxPyEndAllowThreads(__tstate
);
3482 if (PyErr_Occurred()) SWIG_fail
;
3485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3493 static PyObject
*_wrap_Wizard_HasPrevPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3494 PyObject
*resultobj
;
3495 wxWizard
*arg1
= (wxWizard
*) 0 ;
3496 wxWizardPage
*arg2
= (wxWizardPage
*) 0 ;
3498 PyObject
* obj0
= 0 ;
3499 PyObject
* obj1
= 0 ;
3501 (char *) "self",(char *) "page", NULL
3504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Wizard_HasPrevPage",kwnames
,&obj0
,&obj1
)) goto fail
;
3505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWizard
, SWIG_POINTER_EXCEPTION
| 0);
3506 if (SWIG_arg_fail(1)) SWIG_fail
;
3507 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
3508 if (SWIG_arg_fail(2)) SWIG_fail
;
3510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3511 result
= (bool)(arg1
)->HasPrevPage(arg2
);
3513 wxPyEndAllowThreads(__tstate
);
3514 if (PyErr_Occurred()) SWIG_fail
;
3517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3525 static PyObject
* Wizard_swigregister(PyObject
*, PyObject
*args
) {
3527 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3528 SWIG_TypeClientData(SWIGTYPE_p_wxWizard
, obj
);
3530 return Py_BuildValue((char *)"");
3532 static PyMethodDef SwigMethods
[] = {
3533 { (char *)"new_WizardEvent", (PyCFunction
) _wrap_new_WizardEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3534 { (char *)"WizardEvent_GetDirection", (PyCFunction
) _wrap_WizardEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3535 { (char *)"WizardEvent_GetPage", (PyCFunction
) _wrap_WizardEvent_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3536 { (char *)"WizardEvent_swigregister", WizardEvent_swigregister
, METH_VARARGS
, NULL
},
3537 { (char *)"WizardPage_Create", (PyCFunction
) _wrap_WizardPage_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3538 { (char *)"WizardPage_GetPrev", (PyCFunction
) _wrap_WizardPage_GetPrev
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3539 { (char *)"WizardPage_GetNext", (PyCFunction
) _wrap_WizardPage_GetNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3540 { (char *)"WizardPage_GetBitmap", (PyCFunction
) _wrap_WizardPage_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3541 { (char *)"WizardPage_swigregister", WizardPage_swigregister
, METH_VARARGS
, NULL
},
3542 { (char *)"new_PyWizardPage", (PyCFunction
) _wrap_new_PyWizardPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3543 { (char *)"new_PrePyWizardPage", (PyCFunction
) _wrap_new_PrePyWizardPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3544 { (char *)"PyWizardPage_Create", (PyCFunction
) _wrap_PyWizardPage_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3545 { (char *)"PyWizardPage__setCallbackInfo", (PyCFunction
) _wrap_PyWizardPage__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3546 { (char *)"PyWizardPage_base_DoMoveWindow", (PyCFunction
) _wrap_PyWizardPage_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3547 { (char *)"PyWizardPage_base_DoSetSize", (PyCFunction
) _wrap_PyWizardPage_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3548 { (char *)"PyWizardPage_base_DoSetClientSize", (PyCFunction
) _wrap_PyWizardPage_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3549 { (char *)"PyWizardPage_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWizardPage_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3550 { (char *)"PyWizardPage_base_DoGetSize", (PyCFunction
) _wrap_PyWizardPage_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3551 { (char *)"PyWizardPage_base_DoGetClientSize", (PyCFunction
) _wrap_PyWizardPage_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3552 { (char *)"PyWizardPage_base_DoGetPosition", (PyCFunction
) _wrap_PyWizardPage_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3553 { (char *)"PyWizardPage_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWizardPage_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3554 { (char *)"PyWizardPage_base_DoGetBestSize", (PyCFunction
) _wrap_PyWizardPage_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3555 { (char *)"PyWizardPage_base_InitDialog", (PyCFunction
) _wrap_PyWizardPage_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3556 { (char *)"PyWizardPage_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWizardPage_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3557 { (char *)"PyWizardPage_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWizardPage_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3558 { (char *)"PyWizardPage_base_Validate", (PyCFunction
) _wrap_PyWizardPage_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3559 { (char *)"PyWizardPage_base_AcceptsFocus", (PyCFunction
) _wrap_PyWizardPage_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3560 { (char *)"PyWizardPage_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWizardPage_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3561 { (char *)"PyWizardPage_base_GetMaxSize", (PyCFunction
) _wrap_PyWizardPage_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3562 { (char *)"PyWizardPage_base_AddChild", (PyCFunction
) _wrap_PyWizardPage_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3563 { (char *)"PyWizardPage_base_RemoveChild", (PyCFunction
) _wrap_PyWizardPage_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3564 { (char *)"PyWizardPage_swigregister", PyWizardPage_swigregister
, METH_VARARGS
, NULL
},
3565 { (char *)"new_WizardPageSimple", (PyCFunction
) _wrap_new_WizardPageSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3566 { (char *)"new_PreWizardPageSimple", (PyCFunction
) _wrap_new_PreWizardPageSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3567 { (char *)"WizardPageSimple_Create", (PyCFunction
) _wrap_WizardPageSimple_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3568 { (char *)"WizardPageSimple_SetPrev", (PyCFunction
) _wrap_WizardPageSimple_SetPrev
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3569 { (char *)"WizardPageSimple_SetNext", (PyCFunction
) _wrap_WizardPageSimple_SetNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3570 { (char *)"WizardPageSimple_Chain", (PyCFunction
) _wrap_WizardPageSimple_Chain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3571 { (char *)"WizardPageSimple_swigregister", WizardPageSimple_swigregister
, METH_VARARGS
, NULL
},
3572 { (char *)"new_Wizard", (PyCFunction
) _wrap_new_Wizard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3573 { (char *)"new_PreWizard", (PyCFunction
) _wrap_new_PreWizard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3574 { (char *)"Wizard_Create", (PyCFunction
) _wrap_Wizard_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3575 { (char *)"Wizard_Init", (PyCFunction
) _wrap_Wizard_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3576 { (char *)"Wizard_RunWizard", (PyCFunction
) _wrap_Wizard_RunWizard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3577 { (char *)"Wizard_GetCurrentPage", (PyCFunction
) _wrap_Wizard_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3578 { (char *)"Wizard_SetPageSize", (PyCFunction
) _wrap_Wizard_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3579 { (char *)"Wizard_GetPageSize", (PyCFunction
) _wrap_Wizard_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3580 { (char *)"Wizard_FitToPage", (PyCFunction
) _wrap_Wizard_FitToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3581 { (char *)"Wizard_GetPageAreaSizer", (PyCFunction
) _wrap_Wizard_GetPageAreaSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3582 { (char *)"Wizard_SetBorder", (PyCFunction
) _wrap_Wizard_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3583 { (char *)"Wizard_IsRunning", (PyCFunction
) _wrap_Wizard_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3584 { (char *)"Wizard_ShowPage", (PyCFunction
) _wrap_Wizard_ShowPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3585 { (char *)"Wizard_HasNextPage", (PyCFunction
) _wrap_Wizard_HasNextPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3586 { (char *)"Wizard_HasPrevPage", (PyCFunction
) _wrap_Wizard_HasPrevPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3587 { (char *)"Wizard_swigregister", Wizard_swigregister
, METH_VARARGS
, NULL
},
3588 { NULL
, NULL
, 0, NULL
}
3592 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
3594 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
3595 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
3597 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
3598 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
3600 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
3601 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
3603 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
3604 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
3606 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
3607 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
3609 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
3610 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
3612 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
3613 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
3615 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
3616 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
3618 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
3619 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
3621 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
3622 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
3624 static void *_p_wxSizerTo_p_wxObject(void *x
) {
3625 return (void *)((wxObject
*) ((wxSizer
*) x
));
3627 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
3628 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
3630 static void *_p_wxWizardPageTo_p_wxObject(void *x
) {
3631 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxWizardPage
*) x
));
3633 static void *_p_wxPyWizardPageTo_p_wxObject(void *x
) {
3634 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxWizardPage
*) ((wxPyWizardPage
*) x
));
3636 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
3637 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
3639 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
3640 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
3642 static void *_p_wxEventTo_p_wxObject(void *x
) {
3643 return (void *)((wxObject
*) ((wxEvent
*) x
));
3645 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
3646 return (void *)((wxObject
*) ((wxFontData
*) x
));
3648 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
3649 return (void *)((wxObject
*) ((wxPrintData
*) x
));
3651 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
3652 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
3654 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
3655 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
3657 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
3658 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
3660 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
3661 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
3663 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
3664 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
3666 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
3667 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
3669 static void *_p_wxWizardPageSimpleTo_p_wxObject(void *x
) {
3670 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxWizardPage
*) ((wxWizardPageSimple
*) x
));
3672 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
3673 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
3675 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
3676 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
3678 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
3679 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
3681 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
3682 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
3684 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
3685 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
3687 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
3688 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
3690 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
3691 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
3693 static void *_p_wxControlTo_p_wxObject(void *x
) {
3694 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
3696 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
3697 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
3699 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
3700 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
3702 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
3703 return (void *)((wxObject
*) ((wxFSFile
*) x
));
3705 static void *_p_wxWizardTo_p_wxObject(void *x
) {
3706 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxWizard
*) x
));
3708 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
3709 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
3711 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
3712 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
3714 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
3715 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
3717 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
3718 return (void *)((wxObject
*) ((wxColourData
*) x
));
3720 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
3721 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
3723 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
3724 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
3726 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
3727 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
3729 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
3730 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
3732 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
3733 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
3735 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
3736 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
3738 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
3739 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
3741 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
3742 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
3744 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
3745 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
3747 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
3748 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
3750 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
3751 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
3753 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
3754 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
3756 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
3757 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
3759 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
3760 return (void *)((wxObject
*) ((wxPrinter
*) x
));
3762 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
3763 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
3765 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
3766 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
3768 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
3769 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
3771 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
3772 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
3774 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
3775 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
3777 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
3778 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
3780 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
3781 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
3783 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
3784 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
3786 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
3787 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
3789 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
3790 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
3792 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
3793 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
3795 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
3796 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
3798 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
3799 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
3801 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
3802 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
3804 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
3805 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
3807 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
3808 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
3810 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
3811 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
3813 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
3814 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
3816 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
3817 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
3819 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
3820 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
3822 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
3823 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
3825 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
3826 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
3828 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
3829 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
3831 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
3832 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
3834 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
3835 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
3837 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
3838 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
3840 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
3841 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
3843 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
3844 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
3846 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
3847 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
3849 static void *_p_wxImageTo_p_wxObject(void *x
) {
3850 return (void *)((wxObject
*) ((wxImage
*) x
));
3852 static void *_p_wxFrameTo_p_wxObject(void *x
) {
3853 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
3855 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
3856 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
3858 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
3859 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
3861 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
3862 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
3864 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
3865 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
3867 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
3868 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
3870 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
3871 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
3873 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
3874 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
3876 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
3877 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
3879 static void *_p_wxWindowTo_p_wxObject(void *x
) {
3880 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
3882 static void *_p_wxMenuTo_p_wxObject(void *x
) {
3883 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
3885 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
3886 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
3888 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
3889 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
3891 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
3892 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
3894 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
3895 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
3897 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
3898 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
3900 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
3901 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
3903 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
3904 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
3906 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
3907 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
3909 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
3910 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
3912 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
3913 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
3915 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
3916 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
3918 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
3919 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
3921 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
3922 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
3924 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
3925 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
3927 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
3928 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
3930 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
3931 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
3933 static void *_p_wxPanelTo_p_wxObject(void *x
) {
3934 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
3936 static void *_p_wxDialogTo_p_wxObject(void *x
) {
3937 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
3939 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
3940 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
3942 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
3943 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
3945 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
3946 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
3948 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
3949 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
3951 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
3952 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
3954 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
3955 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
3957 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
3958 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
3960 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
3961 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
3963 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
3964 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
3966 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
3967 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
3969 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
3970 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
3972 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
3973 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
3975 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
3976 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
3978 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
3979 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
3981 static void *_p_wxWizardEventTo_p_wxObject(void *x
) {
3982 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxWizardEvent
*) x
));
3984 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
3985 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
3987 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
3988 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
3990 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
3991 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
3993 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
3994 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
3996 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
3997 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
3999 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
4000 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
4002 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
4003 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
4005 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
4006 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
4008 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
4009 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
4011 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
4012 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
4014 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
4015 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
4017 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
4018 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
4020 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
4021 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
4023 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
4024 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
4026 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
4027 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
4029 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
4030 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
4032 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
4033 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
4035 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
4036 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
4038 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
4039 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
4041 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
4042 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
4044 static void *_p_wxWizardTo_p_wxDialog(void *x
) {
4045 return (void *)((wxDialog
*) ((wxWizard
*) x
));
4047 static void *_p_wxWizardPageSimpleTo_p_wxWizardPage(void *x
) {
4048 return (void *)((wxWizardPage
*) ((wxWizardPageSimple
*) x
));
4050 static void *_p_wxPyWizardPageTo_p_wxWizardPage(void *x
) {
4051 return (void *)((wxWizardPage
*) ((wxPyWizardPage
*) x
));
4053 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
4054 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
4056 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
4057 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
4059 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
4060 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
4062 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
4063 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
4065 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
4066 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
4068 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
4069 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
4071 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
4072 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
4074 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
4075 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
4077 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
4078 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
4080 static void *_p_wxWizardTo_p_wxTopLevelWindow(void *x
) {
4081 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxWizard
*) x
));
4083 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
4084 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
4086 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
4087 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
4089 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
4090 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
4092 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
4093 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
4095 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
4096 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
4098 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
4099 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
4101 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
4102 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
4104 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
4105 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
4107 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
4108 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
4110 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
4111 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
4113 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
4114 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
4116 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
4117 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
4119 static void *_p_wxWizardPageTo_p_wxWindow(void *x
) {
4120 return (void *)((wxWindow
*) (wxPanel
*) ((wxWizardPage
*) x
));
4122 static void *_p_wxPyWizardPageTo_p_wxWindow(void *x
) {
4123 return (void *)((wxWindow
*) (wxPanel
*)(wxWizardPage
*) ((wxPyWizardPage
*) x
));
4125 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
4126 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
4128 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
4129 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
4131 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
4132 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
4134 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
4135 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
4137 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
4138 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
4140 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
4141 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
4143 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
4144 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
4146 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
4147 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
4149 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
4150 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
4152 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
4153 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
4155 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
4156 return (void *)((wxWindow
*) ((wxPanel
*) x
));
4158 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
4159 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
4161 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
4162 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
4164 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
4165 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
4167 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
4168 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
4170 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
4171 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
4173 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
4174 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
4176 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
4177 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
4179 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
4180 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
4182 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
4183 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
4185 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
4186 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
4188 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
4189 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
4191 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
4192 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
4194 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
4195 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
4197 static void *_p_wxControlTo_p_wxWindow(void *x
) {
4198 return (void *)((wxWindow
*) ((wxControl
*) x
));
4200 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
4201 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
4203 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
4204 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
4206 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
4207 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
4209 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
4210 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
4212 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
4213 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
4215 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
4216 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
4218 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
4219 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
4221 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
4222 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
4224 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
4225 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
4227 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
4228 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
4230 static void *_p_wxWizardTo_p_wxWindow(void *x
) {
4231 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxWizard
*) x
));
4233 static void *_p_wxWizardPageSimpleTo_p_wxWindow(void *x
) {
4234 return (void *)((wxWindow
*) (wxPanel
*)(wxWizardPage
*) ((wxWizardPageSimple
*) x
));
4236 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
4237 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
4239 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
4240 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
4242 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
4243 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
4245 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
4246 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
4248 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
4249 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
4251 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
4252 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
4254 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
4255 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
4257 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
4258 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
4260 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
4261 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
4263 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
4264 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
4266 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
4267 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
4269 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
4270 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
4272 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
4273 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
4275 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
4276 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
4278 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
4279 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
4281 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
4282 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
4284 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
4285 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
4287 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
4288 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
4290 static void *_p_wxWizardEventTo_p_wxCommandEvent(void *x
) {
4291 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxWizardEvent
*) x
));
4293 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
4294 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
4296 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
4297 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
4299 static void *_p_wxWizardPageTo_p_wxEvtHandler(void *x
) {
4300 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxWizardPage
*) x
));
4302 static void *_p_wxPyWizardPageTo_p_wxEvtHandler(void *x
) {
4303 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxWizardPage
*) ((wxPyWizardPage
*) x
));
4305 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
4306 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
4308 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
4309 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
4311 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
4312 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
4314 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
4315 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
4317 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
4318 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
4320 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
4321 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
4323 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
4324 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
4326 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
4327 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
4329 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
4330 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
4332 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
4333 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
4335 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
4336 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
4338 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
4339 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
4341 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
4342 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
4344 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
4345 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
4347 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
4348 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
4350 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
4351 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
4353 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
4354 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
4356 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
4357 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
4359 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
4360 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
4362 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
4363 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
4365 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
4366 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
4368 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
4369 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
4371 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
4372 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
4374 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
4375 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
4377 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
4378 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
4380 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
4381 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
4383 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
4384 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
4386 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
4387 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
4389 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
4390 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
4392 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
4393 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
4395 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
4396 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
4398 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
4399 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
4401 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
4402 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
4404 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
4405 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
4407 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
4408 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
4410 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
4411 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
4413 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
4414 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
4416 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
4417 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
4419 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
4420 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
4422 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
4423 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
4425 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
4426 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
4428 static void *_p_wxWizardTo_p_wxEvtHandler(void *x
) {
4429 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxWizard
*) x
));
4431 static void *_p_wxWizardPageSimpleTo_p_wxEvtHandler(void *x
) {
4432 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxWizardPage
*) ((wxWizardPageSimple
*) x
));
4434 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
4435 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
4437 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
4438 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
4440 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
4441 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
4443 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
4444 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
4446 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
4447 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
4449 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
4450 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
4452 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
4453 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
4455 static void *_p_wxWizardEventTo_p_wxNotifyEvent(void *x
) {
4456 return (void *)((wxNotifyEvent
*) ((wxWizardEvent
*) x
));
4458 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
4459 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
4461 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
4462 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
4464 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
4465 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
4467 static void *_p_wxWizardPageSimpleTo_p_wxPanel(void *x
) {
4468 return (void *)((wxPanel
*) (wxWizardPage
*) ((wxWizardPageSimple
*) x
));
4470 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
4471 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
4473 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
4474 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
4476 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
4477 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
4479 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
4480 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
4482 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
4483 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
4485 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
4486 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
4488 static void *_p_wxWizardPageTo_p_wxPanel(void *x
) {
4489 return (void *)((wxPanel
*) ((wxWizardPage
*) x
));
4491 static void *_p_wxPyWizardPageTo_p_wxPanel(void *x
) {
4492 return (void *)((wxPanel
*) (wxWizardPage
*) ((wxPyWizardPage
*) x
));
4494 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
4495 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
4497 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
4498 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
4500 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
4501 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
4503 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
4504 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
4506 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
4507 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
4509 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
4510 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
4512 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
4513 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
4515 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
4516 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
4518 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
4519 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
4521 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
4522 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
4524 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
4525 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
4527 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
4528 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
4530 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
4531 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
4533 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
4534 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
4536 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
4537 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
4539 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
4540 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
4542 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
4543 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
4545 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
4546 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
4548 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
4549 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
4551 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
4552 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
4554 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
4555 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
4557 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
4558 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
4560 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
4561 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
4563 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
4564 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
4566 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
4567 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
4569 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
4570 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
4572 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
4573 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
4575 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
4576 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
4578 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
4579 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
4581 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
4582 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
4584 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
4585 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
4587 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
4588 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
4590 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
4591 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
4593 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
4594 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
4596 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
4597 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
4599 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
4600 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
4602 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
4603 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
4605 static void *_p_wxWizardEventTo_p_wxEvent(void *x
) {
4606 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxWizardEvent
*) x
));
4608 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
4609 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
4611 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
4612 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
4614 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
4615 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
4617 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
4618 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
4620 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
4621 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
4623 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWizardPage", _p_wxWizardPageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyWizardPage", _p_wxPyWizardPageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWizardPageSimple", _p_wxWizardPageSimpleTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWizard", _p_wxWizardTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWizardEvent", _p_wxWizardEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
4624 static swig_type_info _swigt__p_wxDialog
[] = {{"_p_wxDialog", 0, "wxDialog *", 0, 0, 0, 0},{"_p_wxDialog", 0, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxWizard", _p_wxWizardTo_p_wxDialog
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
4625 static swig_type_info _swigt__p_unsigned_char
[] = {{"_p_unsigned_char", 0, "unsigned char *|byte *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
4626 static swig_type_info _swigt__p_wxWizardPageSimple
[] = {{"_p_wxWizardPageSimple", 0, "wxWizardPageSimple *", 0, 0, 0, 0},{"_p_wxWizardPageSimple", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
4627 static swig_type_info _swigt__p_wxWizardPage
[] = {{"_p_wxWizardPage", 0, "wxWizardPage *", 0, 0, 0, 0},{"_p_wxWizardPageSimple", _p_wxWizardPageSimpleTo_p_wxWizardPage
, 0, 0, 0, 0, 0},{"_p_wxWizardPage", 0, 0, 0, 0, 0, 0},{"_p_wxPyWizardPage", _p_wxPyWizardPageTo_p_wxWizardPage
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
4628 static swig_type_info _swigt__p_wxTopLevelWindow
[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", 0, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxWizard", _p_wxWizardTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
4629 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxWizardPage", _p_wxWizardPageTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyWizardPage", _p_wxPyWizardPageTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWizard", _p_wxWizardTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWizardPageSimple", _p_wxWizardPageSimpleTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
4630 static swig_type_info _swigt__p_wxPyWizardPage
[] = {{"_p_wxPyWizardPage", 0, "wxPyWizardPage *", 0, 0, 0, 0},{"_p_wxPyWizardPage", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
4631 static swig_type_info _swigt__p_wxCommandEvent
[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWizardEvent", _p_wxWizardEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
4632 static swig_type_info _swigt__p_unsigned_long
[] = {{"_p_unsigned_long", 0, "unsigned long *|wxUIntPtr *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
4633 static swig_type_info _swigt__p_wxWizardEvent
[] = {{"_p_wxWizardEvent", 0, "wxWizardEvent *", 0, 0, 0, 0},{"_p_wxWizardEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
4634 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
4635 static swig_type_info _swigt__unsigned_int
[] = {{"_unsigned_int", 0, "unsigned int|std::size_t", 0, 0, 0, 0},{"_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
4636 static swig_type_info _swigt__p_unsigned_int
[] = {{"_p_unsigned_int", 0, "unsigned int *|time_t *", 0, 0, 0, 0},{"_p_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
4637 static swig_type_info _swigt__p_form_ops_t
[] = {{"_p_form_ops_t", 0, "enum form_ops_t *|form_ops_t *", 0, 0, 0, 0},{"_p_form_ops_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
4638 static swig_type_info _swigt__p_wxDuplexMode
[] = {{"_p_wxDuplexMode", 0, "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0, 0},{"_p_wxDuplexMode", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
4639 static swig_type_info _swigt__p_wxWizard
[] = {{"_p_wxWizard", 0, "wxWizard *", 0, 0, 0, 0},{"_p_wxWizard", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
4640 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
4641 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxWizardPage", _p_wxWizardPageTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyWizardPage", _p_wxPyWizardPageTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxWizard", _p_wxWizardTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxWizardPageSimple", _p_wxWizardPageSimpleTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
4642 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0, 0, 0, 0},{"_p_wxString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
4643 static swig_type_info _swigt__std__ptrdiff_t
[] = {{"_std__ptrdiff_t", 0, "std::ptrdiff_t", 0, 0, 0, 0},{"_std__ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
4644 static swig_type_info _swigt__ptrdiff_t
[] = {{"_ptrdiff_t", 0, "ptrdiff_t", 0, 0, 0, 0},{"_ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
4645 static swig_type_info _swigt__p_wxNotifyEvent
[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{"_p_wxWizardEvent", _p_wxWizardEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
4646 static swig_type_info _swigt__p_wxPanel
[] = {{"_p_wxPanel", 0, "wxPanel *", 0, 0, 0, 0},{"_p_wxPanel", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxWizardPageSimple", _p_wxWizardPageSimpleTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxWizardPage", _p_wxWizardPageTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyWizardPage", _p_wxPyWizardPageTo_p_wxPanel
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
4647 static swig_type_info _swigt__p_wxEvent
[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWizardEvent", _p_wxWizardEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
4648 static swig_type_info _swigt__p_wxPaperSize
[] = {{"_p_wxPaperSize", 0, "enum wxPaperSize *|wxPaperSize *", 0, 0, 0, 0},{"_p_wxPaperSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
4649 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0, 0, 0, 0},{"_p_wxSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
4650 static swig_type_info _swigt__p_wxChar
[] = {{"_p_wxChar", 0, "wxChar *", 0, 0, 0, 0},{"_p_wxChar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
4651 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
4653 static swig_type_info
*swig_types_initial
[] = {
4656 _swigt__p_unsigned_char
,
4657 _swigt__p_wxWizardPageSimple
,
4658 _swigt__p_wxWizardPage
,
4659 _swigt__p_wxTopLevelWindow
,
4661 _swigt__p_wxPyWizardPage
,
4662 _swigt__p_wxCommandEvent
,
4663 _swigt__p_unsigned_long
,
4664 _swigt__p_wxWizardEvent
,
4666 _swigt__unsigned_int
,
4667 _swigt__p_unsigned_int
,
4668 _swigt__p_form_ops_t
,
4669 _swigt__p_wxDuplexMode
,
4672 _swigt__p_wxEvtHandler
,
4674 _swigt__std__ptrdiff_t
,
4676 _swigt__p_wxNotifyEvent
,
4679 _swigt__p_wxPaperSize
,
4687 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
4689 static swig_const_info swig_const_table
[] = {
4690 {0, 0, 0, 0.0, 0, 0}};
4701 /* Python-specific SWIG API */
4702 #define SWIG_newvarlink() SWIG_Python_newvarlink()
4703 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
4704 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
4706 /* -----------------------------------------------------------------------------
4707 * global variable support code.
4708 * ----------------------------------------------------------------------------- */
4710 typedef struct swig_globalvar
{
4711 char *name
; /* Name of global variable */
4712 PyObject
*(*get_attr
)(); /* Return the current value */
4713 int (*set_attr
)(PyObject
*); /* Set the value */
4714 struct swig_globalvar
*next
;
4717 typedef struct swig_varlinkobject
{
4719 swig_globalvar
*vars
;
4720 } swig_varlinkobject
;
4723 swig_varlink_repr(swig_varlinkobject
*v
) {
4725 return PyString_FromString("<Swig global variables>");
4729 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
4730 swig_globalvar
*var
;
4732 fprintf(fp
,"Swig global variables { ");
4733 for (var
= v
->vars
; var
; var
=var
->next
) {
4734 fprintf(fp
,"%s", var
->name
);
4735 if (var
->next
) fprintf(fp
,", ");
4742 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
4743 swig_globalvar
*var
= v
->vars
;
4745 if (strcmp(var
->name
,n
) == 0) {
4746 return (*var
->get_attr
)();
4750 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
4755 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
4756 swig_globalvar
*var
= v
->vars
;
4758 if (strcmp(var
->name
,n
) == 0) {
4759 return (*var
->set_attr
)(p
);
4763 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
4767 static PyTypeObject varlinktype
= {
4768 PyObject_HEAD_INIT(0)
4769 0, /* Number of items in variable part (ob_size) */
4770 (char *)"swigvarlink", /* Type name (tp_name) */
4771 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
4772 0, /* Itemsize (tp_itemsize) */
4773 0, /* Deallocator (tp_dealloc) */
4774 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
4775 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
4776 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
4778 (reprfunc
) swig_varlink_repr
, /* tp_repr */
4779 0, /* tp_as_number */
4780 0, /* tp_as_sequence */
4781 0, /* tp_as_mapping */
4785 0, /* tp_getattro */
4786 0, /* tp_setattro */
4787 0, /* tp_as_buffer */
4790 #if PY_VERSION_HEX >= 0x02000000
4791 0, /* tp_traverse */
4794 #if PY_VERSION_HEX >= 0x02010000
4795 0, /* tp_richcompare */
4796 0, /* tp_weaklistoffset */
4798 #if PY_VERSION_HEX >= 0x02020000
4799 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
4801 #if PY_VERSION_HEX >= 0x02030000
4805 0,0,0,0 /* tp_alloc -> tp_next */
4809 /* Create a variable linking object for use later */
4811 SWIG_Python_newvarlink(void) {
4812 swig_varlinkobject
*result
= 0;
4813 result
= PyMem_NEW(swig_varlinkobject
,1);
4814 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
4815 result
->ob_type
= &varlinktype
;
4817 result
->ob_refcnt
= 0;
4818 Py_XINCREF((PyObject
*) result
);
4819 return ((PyObject
*) result
);
4823 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
4824 swig_varlinkobject
*v
;
4826 v
= (swig_varlinkobject
*) p
;
4827 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
4828 gv
->name
= (char *) malloc(strlen(name
)+1);
4829 strcpy(gv
->name
,name
);
4830 gv
->get_attr
= get_attr
;
4831 gv
->set_attr
= set_attr
;
4836 /* -----------------------------------------------------------------------------
4837 * constants/methods manipulation
4838 * ----------------------------------------------------------------------------- */
4840 /* Install Constants */
4842 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
4845 for (i
= 0; constants
[i
].type
; i
++) {
4846 switch(constants
[i
].type
) {
4848 obj
= PyInt_FromLong(constants
[i
].lvalue
);
4851 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
4853 case SWIG_PY_STRING
:
4854 if (constants
[i
].pvalue
) {
4855 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
4861 case SWIG_PY_POINTER
:
4862 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
4864 case SWIG_PY_BINARY
:
4865 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
4872 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
4878 /* -----------------------------------------------------------------------------*/
4879 /* Fix SwigMethods to carry the callback ptrs when needed */
4880 /* -----------------------------------------------------------------------------*/
4883 SWIG_Python_FixMethods(PyMethodDef
*methods
,
4884 swig_const_info
*const_table
,
4885 swig_type_info
**types
,
4886 swig_type_info
**types_initial
) {
4888 for (i
= 0; methods
[i
].ml_name
; ++i
) {
4889 char *c
= methods
[i
].ml_doc
;
4890 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
4892 swig_const_info
*ci
= 0;
4893 char *name
= c
+ 10;
4894 for (j
= 0; const_table
[j
].type
; j
++) {
4895 if (strncmp(const_table
[j
].name
, name
,
4896 strlen(const_table
[j
].name
)) == 0) {
4897 ci
= &(const_table
[j
]);
4902 size_t shift
= (ci
->ptype
) - types
;
4903 swig_type_info
*ty
= types_initial
[shift
];
4904 size_t ldoc
= (c
- methods
[i
].ml_doc
);
4905 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
4906 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
4908 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
4909 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
4911 strncpy(buff
, "swig_ptr: ", 10);
4913 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
4914 methods
[i
].ml_doc
= ndoc
;
4920 /* -----------------------------------------------------------------------------*
4921 * Initialize type list
4922 * -----------------------------------------------------------------------------*/
4924 #if PY_MAJOR_VERSION < 2
4925 /* PyModule_AddObject function was introduced in Python 2.0. The following function
4926 is copied out of Python/modsupport.c in python version 2.3.4 */
4928 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
4931 if (!PyModule_Check(m
)) {
4932 PyErr_SetString(PyExc_TypeError
,
4933 "PyModule_AddObject() needs module as first arg");
4937 PyErr_SetString(PyExc_TypeError
,
4938 "PyModule_AddObject() needs non-NULL value");
4942 dict
= PyModule_GetDict(m
);
4944 /* Internal error -- modules must have a dict! */
4945 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
4946 PyModule_GetName(m
));
4949 if (PyDict_SetItemString(dict
, name
, o
))
4956 static swig_type_info
**
4957 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
4958 static PyMethodDef swig_empty_runtime_method_table
[] = {
4964 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
4965 swig_empty_runtime_method_table
);
4966 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
4967 if (pointer
&& module) {
4968 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
4970 return type_list_handle
;
4973 static swig_type_info
**
4974 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
4975 swig_type_info
**type_pointer
;
4977 /* first check if module already created */
4978 type_pointer
= SWIG_Python_GetTypeListHandle();
4980 return type_pointer
;
4982 /* create a new module and variable */
4983 return SWIG_Python_SetTypeListHandle(type_list_handle
);
4991 /* -----------------------------------------------------------------------------*
4992 * Partial Init method
4993 * -----------------------------------------------------------------------------*/
4995 #ifdef SWIG_LINK_RUNTIME
4999 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
5005 SWIGEXPORT(void) SWIG_init(void) {
5006 static PyObject
*SWIG_globals
= 0;
5007 static int typeinit
= 0;
5010 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
5012 /* Fix SwigMethods to carry the callback ptrs when needed */
5013 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
5015 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
5016 d
= PyModule_GetDict(m
);
5019 #ifdef SWIG_LINK_RUNTIME
5020 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
5022 # ifndef SWIG_STATIC_RUNTIME
5023 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
5026 for (i
= 0; swig_types_initial
[i
]; i
++) {
5027 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
5031 SWIG_InstallConstants(d
,swig_const_table
);
5034 PyDict_SetItemString(d
,"WIZARD_EX_HELPBUTTON", SWIG_From_int((int)(wxWIZARD_EX_HELPBUTTON
)));
5036 PyDict_SetItemString(d
, "wxEVT_WIZARD_PAGE_CHANGED", PyInt_FromLong(wxEVT_WIZARD_PAGE_CHANGED
));
5037 PyDict_SetItemString(d
, "wxEVT_WIZARD_PAGE_CHANGING", PyInt_FromLong(wxEVT_WIZARD_PAGE_CHANGING
));
5038 PyDict_SetItemString(d
, "wxEVT_WIZARD_CANCEL", PyInt_FromLong(wxEVT_WIZARD_CANCEL
));
5039 PyDict_SetItemString(d
, "wxEVT_WIZARD_HELP", PyInt_FromLong(wxEVT_WIZARD_HELP
));
5040 PyDict_SetItemString(d
, "wxEVT_WIZARD_FINISHED", PyInt_FromLong(wxEVT_WIZARD_FINISHED
));