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",
1044 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1046 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1050 SWIGRUNTIMEINLINE
void
1051 SWIG_Python_NullRef(const char *type
)
1054 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1056 PyErr_Format(PyExc_TypeError
, "null reference was received");
1061 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1063 if (PyErr_Occurred()) {
1065 PyObject
*value
= 0;
1066 PyObject
*traceback
= 0;
1067 PyErr_Fetch(&type
, &value
, &traceback
);
1069 PyObject
*old_str
= PyObject_Str(value
);
1073 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1075 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1086 SWIG_Python_ArgFail(int argnum
)
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1091 sprintf(mesg
, "argument number %d:", argnum
);
1092 return SWIG_Python_AddErrMesg(mesg
, 1);
1099 /* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
1103 /* Convert a pointer value */
1105 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1108 static PyObject
*SWIG_this
= 0;
1110 PyObject
*pyobj
= 0;
1114 if (obj
== Py_None
) {
1119 #ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj
))) {
1122 SWIG_this
= PyString_FromString("this");
1124 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1126 if (!obj
) goto type_error
;
1127 if (!PySwigObject_Check(obj
)) {
1132 vptr
= PySwigObject_AsVoidPtr(obj
);
1133 c
= (const char *) PySwigObject_GetDesc(obj
);
1134 if (newref
) { Py_DECREF(obj
); }
1137 if (!(PyString_Check(obj
))) {
1139 SWIG_this
= PyString_FromString("this");
1141 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1143 if (!obj
) goto type_error
;
1144 if (!PyString_Check(obj
)) {
1149 c
= PyString_AS_STRING(obj
);
1150 /* Pointer values must start with leading underscore */
1151 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1152 if (newref
) { Py_DECREF(obj
); }
1153 if (!c
) goto type_error
;
1159 tc
= SWIG_TypeCheck(c
,ty
);
1160 if (!tc
) goto type_error
;
1161 *ptr
= SWIG_TypeCast(tc
,vptr
);
1166 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1167 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1173 if (pyobj
&& !obj
) {
1175 if (PyCFunction_Check(obj
)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1178 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1180 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1181 if (!c
) goto type_error
;
1186 if (flags
& SWIG_POINTER_EXCEPTION
) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1190 SWIG_Python_TypeError("C/C++ pointer", obj
);
1196 /* Convert a pointer value, signal an exception on a type mismatch */
1198 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1200 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1202 if (flags
& SWIG_POINTER_EXCEPTION
) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1204 SWIG_Python_ArgFail(argnum
);
1210 /* Convert a packed value value */
1212 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1216 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1219 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1220 c
= PyString_AS_STRING(obj
);
1221 /* Pointer values must start with leading underscore */
1222 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1224 if (!c
) goto type_error
;
1226 tc
= SWIG_TypeCheck(c
,ty
);
1227 if (!tc
) goto type_error
;
1233 if (flags
& SWIG_POINTER_EXCEPTION
) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1237 SWIG_Python_TypeError("C/C++ packed data", obj
);
1243 /* Create a new array object */
1244 SWIGRUNTIME PyObject
*
1245 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1251 #ifdef SWIG_COBJECT_TYPES
1252 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1255 char result
[SWIG_BUFFER_SIZE
];
1256 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1257 PyString_FromString(result
) : 0;
1260 if (!robj
|| (robj
== Py_None
)) return robj
;
1261 if (type
->clientdata
) {
1263 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1265 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1269 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1277 SWIGRUNTIME PyObject
*
1278 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1284 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1288 char result
[SWIG_BUFFER_SIZE
];
1289 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1290 PyString_FromString(result
) : 0;
1296 /* -----------------------------------------------------------------------------*
1298 * -----------------------------------------------------------------------------*/
1300 #ifdef SWIG_LINK_RUNTIME
1301 void *SWIG_ReturnGlobalTypeList(void *);
1304 SWIGRUNTIME swig_type_info
**
1305 SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer
= (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer
) {
1309 #ifdef SWIG_LINK_RUNTIME
1310 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1312 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1314 if (PyErr_Occurred()) {
1316 type_pointer
= (void *)0;
1320 return (swig_type_info
**) type_pointer
;
1324 Search for a swig_type_info structure
1326 SWIGRUNTIMEINLINE swig_type_info
*
1327 SWIG_Python_GetTypeList() {
1328 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1329 return tlh
? *tlh
: (swig_type_info
*)0;
1332 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1339 /* -------- TYPES TABLE (BEGIN) -------- */
1341 #define SWIGTYPE_p_wxObject swig_types[0]
1342 #define SWIGTYPE_p_wxDialog swig_types[1]
1343 #define SWIGTYPE_p_unsigned_char swig_types[2]
1344 #define SWIGTYPE_p_wxWizardPageSimple swig_types[3]
1345 #define SWIGTYPE_p_wxWizardPage swig_types[4]
1346 #define SWIGTYPE_p_wxTopLevelWindow swig_types[5]
1347 #define SWIGTYPE_p_wxWindow swig_types[6]
1348 #define SWIGTYPE_p_wxPyWizardPage swig_types[7]
1349 #define SWIGTYPE_p_wxCommandEvent swig_types[8]
1350 #define SWIGTYPE_p_unsigned_long swig_types[9]
1351 #define SWIGTYPE_p_wxWizardEvent swig_types[10]
1352 #define SWIGTYPE_p_wxBitmap swig_types[11]
1353 #define SWIGTYPE_unsigned_int swig_types[12]
1354 #define SWIGTYPE_p_unsigned_int swig_types[13]
1355 #define SWIGTYPE_p_form_ops_t swig_types[14]
1356 #define SWIGTYPE_p_wxDuplexMode swig_types[15]
1357 #define SWIGTYPE_p_wxWizard swig_types[16]
1358 #define SWIGTYPE_p_char swig_types[17]
1359 #define SWIGTYPE_p_wxEvtHandler swig_types[18]
1360 #define SWIGTYPE_p_wxString swig_types[19]
1361 #define SWIGTYPE_std__ptrdiff_t swig_types[20]
1362 #define SWIGTYPE_ptrdiff_t swig_types[21]
1363 #define SWIGTYPE_p_wxNotifyEvent swig_types[22]
1364 #define SWIGTYPE_p_wxPanel swig_types[23]
1365 #define SWIGTYPE_p_wxEvent swig_types[24]
1366 #define SWIGTYPE_p_wxPaperSize swig_types[25]
1367 #define SWIGTYPE_p_wxSize swig_types[26]
1368 #define SWIGTYPE_p_wxChar swig_types[27]
1369 #define SWIGTYPE_p_int swig_types[28]
1370 static swig_type_info
*swig_types
[30];
1372 /* -------- TYPES TABLE (END) -------- */
1375 /*-----------------------------------------------
1376 @(target):= _wizard.so
1377 ------------------------------------------------*/
1378 #define SWIG_init init_wizard
1380 #define SWIG_name "_wizard"
1382 #include "wx/wxPython/wxPython.h"
1383 #include "wx/wxPython/pyclasses.h"
1384 #include "wx/wxPython/printfw.h"
1386 #include <wx/wizard.h>
1389 static const wxString
wxPyEmptyString(wxEmptyString
);
1391 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1392 #define SWIG_From_int PyInt_FromLong
1400 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1403 if (value
< min_value
) {
1405 PyErr_Format(PyExc_OverflowError
,
1406 "value %ld is less than '%s' minimum %ld",
1407 value
, errmsg
, min_value
);
1410 } else if (value
> max_value
) {
1412 PyErr_Format(PyExc_OverflowError
,
1413 "value %ld is greater than '%s' maximum %ld",
1414 value
, errmsg
, max_value
);
1423 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1425 if (PyNumber_Check(obj
)) {
1426 if (val
) *val
= PyInt_AsLong(obj
);
1430 SWIG_type_error("number", obj
);
1436 #if INT_MAX != LONG_MAX
1438 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1440 const char* errmsg
= val
? "int" : (char*)0;
1442 if (SWIG_AsVal_long(obj
, &v
)) {
1443 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1444 if (val
) *val
= (int)(v
);
1453 SWIG_type_error(errmsg
, obj
);
1459 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1461 return SWIG_AsVal_long(obj
,(long*)val
);
1467 SWIG_As_int(PyObject
* obj
)
1470 if (!SWIG_AsVal_int(obj
, &v
)) {
1472 this is needed to make valgrind/purify happier.
1474 memset((void*)&v
, 0, sizeof(int));
1481 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1483 if (obj
== Py_True
) {
1484 if (val
) *val
= true;
1487 if (obj
== Py_False
) {
1488 if (val
) *val
= false;
1492 if (SWIG_AsVal_int(obj
, &res
)) {
1493 if (val
) *val
= res
? true : false;
1499 SWIG_type_error("bool", obj
);
1505 SWIGINTERNSHORT
bool
1506 SWIG_As_bool(PyObject
* obj
)
1509 if (!SWIG_AsVal_bool(obj
, &v
)) {
1511 this is needed to make valgrind/purify happier.
1513 memset((void*)&v
, 0, sizeof(bool));
1520 SWIG_Check_int(PyObject
* obj
)
1522 return SWIG_AsVal_int(obj
, (int*)0);
1527 SWIG_Check_bool(PyObject
* obj
)
1529 return SWIG_AsVal_bool(obj
, (bool*)0);
1532 static bool wxWizardPage_Create(wxWizardPage
*self
,wxWizard
*parent
,wxBitmap
const &bitmap
=wxNullBitmap
,wxString
const &resource
=wxPyEmptyString
){
1534 if (resource
.Length())
1535 res
= (wxChar
*)resource
.c_str();
1536 return self
->Create(parent
, bitmap
, res
);
1538 // C++ Version of a Python aware class
1539 class wxPyWizardPage
: public wxWizardPage
{
1540 DECLARE_ABSTRACT_CLASS(wxPyWizardPage
);
1542 wxPyWizardPage() : wxWizardPage() {}
1543 wxPyWizardPage(wxWizard
*parent
,
1544 const wxBitmap
& bitmap
= wxNullBitmap
,
1545 const wxChar
* resource
= NULL
)
1546 : wxWizardPage(parent
, bitmap
, resource
) {}
1548 DEC_PYCALLBACK_WIZPG__pure(GetPrev
);
1549 DEC_PYCALLBACK_WIZPG__pure(GetNext
);
1550 DEC_PYCALLBACK_BITMAP__pure(GetBitmap
);
1552 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1553 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1554 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1555 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1557 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1558 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1559 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1561 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1562 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1564 DEC_PYCALLBACK__(InitDialog
);
1565 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1566 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1567 DEC_PYCALLBACK_BOOL_(Validate
);
1569 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1570 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1571 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1573 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1574 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1580 IMPLEMENT_ABSTRACT_CLASS(wxPyWizardPage
, wxWizardPage
);
1582 IMP_PYCALLBACK_WIZPG__pure(wxPyWizardPage
, wxWizardPage
, GetPrev
);
1583 IMP_PYCALLBACK_WIZPG__pure(wxPyWizardPage
, wxWizardPage
, GetNext
);
1584 IMP_PYCALLBACK_BITMAP__pure(wxPyWizardPage
, wxWizardPage
, GetBitmap
);
1586 IMP_PYCALLBACK_VOID_INT4(wxPyWizardPage
, wxWizardPage
, DoMoveWindow
);
1587 IMP_PYCALLBACK_VOID_INT5(wxPyWizardPage
, wxWizardPage
, DoSetSize
);
1588 IMP_PYCALLBACK_VOID_INTINT(wxPyWizardPage
, wxWizardPage
, DoSetClientSize
);
1589 IMP_PYCALLBACK_VOID_INTINT(wxPyWizardPage
, wxWizardPage
, DoSetVirtualSize
);
1591 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWizardPage
, wxWizardPage
, DoGetSize
);
1592 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWizardPage
, wxWizardPage
, DoGetClientSize
);
1593 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWizardPage
, wxWizardPage
, DoGetPosition
);
1595 IMP_PYCALLBACK_SIZE_const(wxPyWizardPage
, wxWizardPage
, DoGetVirtualSize
);
1596 IMP_PYCALLBACK_SIZE_const(wxPyWizardPage
, wxWizardPage
, DoGetBestSize
);
1598 IMP_PYCALLBACK__(wxPyWizardPage
, wxWizardPage
, InitDialog
);
1599 IMP_PYCALLBACK_BOOL_(wxPyWizardPage
, wxWizardPage
, TransferDataFromWindow
);
1600 IMP_PYCALLBACK_BOOL_(wxPyWizardPage
, wxWizardPage
, TransferDataToWindow
);
1601 IMP_PYCALLBACK_BOOL_(wxPyWizardPage
, wxWizardPage
, Validate
);
1603 IMP_PYCALLBACK_BOOL_const(wxPyWizardPage
, wxWizardPage
, AcceptsFocus
);
1604 IMP_PYCALLBACK_BOOL_const(wxPyWizardPage
, wxWizardPage
, AcceptsFocusFromKeyboard
);
1605 IMP_PYCALLBACK_SIZE_const(wxPyWizardPage
, wxWizardPage
, GetMaxSize
);
1607 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWizardPage
, wxWizardPage
, AddChild
);
1608 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWizardPage
, wxWizardPage
, RemoveChild
);
1611 static wxPyWizardPage
*new_wxPyWizardPage(wxWizard
*parent
,wxBitmap
const *bitmap
=&wxNullBitmap
,wxString
const *resource
=&wxPyEmptyString
){
1613 if (resource
->Length())
1614 res
= (wxChar
*)resource
->c_str();
1615 return new wxPyWizardPage(parent
, *bitmap
, res
);
1617 static bool wxPyWizardPage_Create(wxPyWizardPage
*self
,wxWizard
*parent
,wxBitmap
const &bitmap
=wxNullBitmap
,wxString
const &resource
=wxPyEmptyString
){
1619 if (resource
.Length())
1620 res
= (wxChar
*)resource
.c_str();
1621 return self
->Create(parent
, bitmap
, res
);
1624 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1630 } else if (target
== Py_None
) {
1634 if (!PyTuple_Check(target
)) {
1636 target
= PyTuple_New(1);
1637 PyTuple_SetItem(target
, 0, o2
);
1639 o3
= PyTuple_New(1);
1640 PyTuple_SetItem(o3
, 0, o
);
1643 target
= PySequence_Concat(o2
, o3
);
1652 SWIGINTERNSHORT
long
1653 SWIG_As_long(PyObject
* obj
)
1656 if (!SWIG_AsVal_long(obj
, &v
)) {
1658 this is needed to make valgrind/purify happier.
1660 memset((void*)&v
, 0, sizeof(long));
1667 SWIG_Check_long(PyObject
* obj
)
1669 return SWIG_AsVal_long(obj
, (long*)0);
1675 static PyObject
*_wrap_new_WizardEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1676 PyObject
*resultobj
;
1677 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
1678 int arg2
= (int) -1 ;
1679 bool arg3
= (bool) true ;
1680 wxWizardPage
*arg4
= (wxWizardPage
*) NULL
;
1681 wxWizardEvent
*result
;
1682 PyObject
* obj0
= 0 ;
1683 PyObject
* obj1
= 0 ;
1684 PyObject
* obj2
= 0 ;
1685 PyObject
* obj3
= 0 ;
1687 (char *) "type",(char *) "id",(char *) "direction",(char *) "page", NULL
1690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_WizardEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1693 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
1694 if (SWIG_arg_fail(1)) SWIG_fail
;
1699 arg2
= (int)(SWIG_As_int(obj1
));
1700 if (SWIG_arg_fail(2)) SWIG_fail
;
1705 arg3
= (bool)(SWIG_As_bool(obj2
));
1706 if (SWIG_arg_fail(3)) SWIG_fail
;
1710 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
1711 if (SWIG_arg_fail(4)) SWIG_fail
;
1714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1715 result
= (wxWizardEvent
*)new wxWizardEvent(arg1
,arg2
,arg3
,arg4
);
1717 wxPyEndAllowThreads(__tstate
);
1718 if (PyErr_Occurred()) SWIG_fail
;
1720 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWizardEvent
, 1);
1727 static PyObject
*_wrap_WizardEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1728 PyObject
*resultobj
;
1729 wxWizardEvent
*arg1
= (wxWizardEvent
*) 0 ;
1731 PyObject
* obj0
= 0 ;
1733 (char *) "self", NULL
1736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WizardEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
1737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWizardEvent
, SWIG_POINTER_EXCEPTION
| 0);
1738 if (SWIG_arg_fail(1)) SWIG_fail
;
1740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1741 result
= (bool)((wxWizardEvent
const *)arg1
)->GetDirection();
1743 wxPyEndAllowThreads(__tstate
);
1744 if (PyErr_Occurred()) SWIG_fail
;
1747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1755 static PyObject
*_wrap_WizardEvent_GetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1756 PyObject
*resultobj
;
1757 wxWizardEvent
*arg1
= (wxWizardEvent
*) 0 ;
1758 wxWizardPage
*result
;
1759 PyObject
* obj0
= 0 ;
1761 (char *) "self", NULL
1764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WizardEvent_GetPage",kwnames
,&obj0
)) goto fail
;
1765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWizardEvent
, SWIG_POINTER_EXCEPTION
| 0);
1766 if (SWIG_arg_fail(1)) SWIG_fail
;
1768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1769 result
= (wxWizardPage
*)((wxWizardEvent
const *)arg1
)->GetPage();
1771 wxPyEndAllowThreads(__tstate
);
1772 if (PyErr_Occurred()) SWIG_fail
;
1775 resultobj
= wxPyMake_wxObject(result
, 0);
1783 static PyObject
* WizardEvent_swigregister(PyObject
*, PyObject
*args
) {
1785 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1786 SWIG_TypeClientData(SWIGTYPE_p_wxWizardEvent
, obj
);
1788 return Py_BuildValue((char *)"");
1790 static PyObject
*_wrap_WizardPage_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1791 PyObject
*resultobj
;
1792 wxWizardPage
*arg1
= (wxWizardPage
*) 0 ;
1793 wxWizard
*arg2
= (wxWizard
*) 0 ;
1794 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
1795 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
1796 wxString
const &arg4_defvalue
= wxPyEmptyString
;
1797 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
1799 bool temp4
= false ;
1800 PyObject
* obj0
= 0 ;
1801 PyObject
* obj1
= 0 ;
1802 PyObject
* obj2
= 0 ;
1803 PyObject
* obj3
= 0 ;
1805 (char *) "self",(char *) "parent",(char *) "bitmap",(char *) "resource", NULL
1808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:WizardPage_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
1810 if (SWIG_arg_fail(1)) SWIG_fail
;
1811 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWizard
, SWIG_POINTER_EXCEPTION
| 0);
1812 if (SWIG_arg_fail(2)) SWIG_fail
;
1815 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
1816 if (SWIG_arg_fail(3)) SWIG_fail
;
1818 SWIG_null_ref("wxBitmap");
1820 if (SWIG_arg_fail(3)) SWIG_fail
;
1825 arg4
= wxString_in_helper(obj3
);
1826 if (arg4
== NULL
) SWIG_fail
;
1831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1832 result
= (bool)wxWizardPage_Create(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxString
const &)*arg4
);
1834 wxPyEndAllowThreads(__tstate
);
1835 if (PyErr_Occurred()) SWIG_fail
;
1838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1854 static PyObject
*_wrap_WizardPage_GetPrev(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1855 PyObject
*resultobj
;
1856 wxWizardPage
*arg1
= (wxWizardPage
*) 0 ;
1857 wxWizardPage
*result
;
1858 PyObject
* obj0
= 0 ;
1860 (char *) "self", NULL
1863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WizardPage_GetPrev",kwnames
,&obj0
)) goto fail
;
1864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
1865 if (SWIG_arg_fail(1)) SWIG_fail
;
1867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1868 result
= (wxWizardPage
*)((wxWizardPage
const *)arg1
)->GetPrev();
1870 wxPyEndAllowThreads(__tstate
);
1871 if (PyErr_Occurred()) SWIG_fail
;
1874 resultobj
= wxPyMake_wxObject(result
, 0);
1882 static PyObject
*_wrap_WizardPage_GetNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1883 PyObject
*resultobj
;
1884 wxWizardPage
*arg1
= (wxWizardPage
*) 0 ;
1885 wxWizardPage
*result
;
1886 PyObject
* obj0
= 0 ;
1888 (char *) "self", NULL
1891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WizardPage_GetNext",kwnames
,&obj0
)) goto fail
;
1892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
1893 if (SWIG_arg_fail(1)) SWIG_fail
;
1895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1896 result
= (wxWizardPage
*)((wxWizardPage
const *)arg1
)->GetNext();
1898 wxPyEndAllowThreads(__tstate
);
1899 if (PyErr_Occurred()) SWIG_fail
;
1902 resultobj
= wxPyMake_wxObject(result
, 0);
1910 static PyObject
*_wrap_WizardPage_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1911 PyObject
*resultobj
;
1912 wxWizardPage
*arg1
= (wxWizardPage
*) 0 ;
1914 PyObject
* obj0
= 0 ;
1916 (char *) "self", NULL
1919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WizardPage_GetBitmap",kwnames
,&obj0
)) goto fail
;
1920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
1921 if (SWIG_arg_fail(1)) SWIG_fail
;
1923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1924 result
= ((wxWizardPage
const *)arg1
)->GetBitmap();
1926 wxPyEndAllowThreads(__tstate
);
1927 if (PyErr_Occurred()) SWIG_fail
;
1930 wxBitmap
* resultptr
;
1931 resultptr
= new wxBitmap((wxBitmap
&)(result
));
1932 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1940 static PyObject
* WizardPage_swigregister(PyObject
*, PyObject
*args
) {
1942 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1943 SWIG_TypeClientData(SWIGTYPE_p_wxWizardPage
, obj
);
1945 return Py_BuildValue((char *)"");
1947 static PyObject
*_wrap_new_PyWizardPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1948 PyObject
*resultobj
;
1949 wxWizard
*arg1
= (wxWizard
*) 0 ;
1950 wxBitmap
*arg2
= (wxBitmap
*) &wxNullBitmap
;
1951 wxString
*arg3
= (wxString
*) &wxPyEmptyString
;
1952 wxPyWizardPage
*result
;
1953 bool temp3
= false ;
1954 PyObject
* obj0
= 0 ;
1955 PyObject
* obj1
= 0 ;
1956 PyObject
* obj2
= 0 ;
1958 (char *) "parent",(char *) "bitmap",(char *) "resource", NULL
1961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_PyWizardPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWizard
, SWIG_POINTER_EXCEPTION
| 0);
1963 if (SWIG_arg_fail(1)) SWIG_fail
;
1965 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
1966 if (SWIG_arg_fail(2)) SWIG_fail
;
1970 arg3
= wxString_in_helper(obj2
);
1971 if (arg3
== NULL
) SWIG_fail
;
1976 if (!wxPyCheckForApp()) SWIG_fail
;
1977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1978 result
= (wxPyWizardPage
*)new_wxPyWizardPage(arg1
,(wxBitmap
const *)arg2
,(wxString
const *)arg3
);
1980 wxPyEndAllowThreads(__tstate
);
1981 if (PyErr_Occurred()) SWIG_fail
;
1983 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWizardPage
, 1);
1998 static PyObject
*_wrap_new_PrePyWizardPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1999 PyObject
*resultobj
;
2000 wxPyWizardPage
*result
;
2005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWizardPage",kwnames
)) goto fail
;
2007 if (!wxPyCheckForApp()) SWIG_fail
;
2008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2009 result
= (wxPyWizardPage
*)new wxPyWizardPage();
2011 wxPyEndAllowThreads(__tstate
);
2012 if (PyErr_Occurred()) SWIG_fail
;
2014 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWizardPage
, 1);
2021 static PyObject
*_wrap_PyWizardPage_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2022 PyObject
*resultobj
;
2023 wxPyWizardPage
*arg1
= (wxPyWizardPage
*) 0 ;
2024 wxWizard
*arg2
= (wxWizard
*) 0 ;
2025 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
2026 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
2027 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2028 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2030 bool temp4
= false ;
2031 PyObject
* obj0
= 0 ;
2032 PyObject
* obj1
= 0 ;
2033 PyObject
* obj2
= 0 ;
2034 PyObject
* obj3
= 0 ;
2036 (char *) "self",(char *) "parent",(char *) "bitmap",(char *) "resource", NULL
2039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PyWizardPage_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
2041 if (SWIG_arg_fail(1)) SWIG_fail
;
2042 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWizard
, SWIG_POINTER_EXCEPTION
| 0);
2043 if (SWIG_arg_fail(2)) SWIG_fail
;
2046 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2047 if (SWIG_arg_fail(3)) SWIG_fail
;
2049 SWIG_null_ref("wxBitmap");
2051 if (SWIG_arg_fail(3)) SWIG_fail
;
2056 arg4
= wxString_in_helper(obj3
);
2057 if (arg4
== NULL
) SWIG_fail
;
2062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2063 result
= (bool)wxPyWizardPage_Create(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxString
const &)*arg4
);
2065 wxPyEndAllowThreads(__tstate
);
2066 if (PyErr_Occurred()) SWIG_fail
;
2069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2085 static PyObject
*_wrap_PyWizardPage__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2086 PyObject
*resultobj
;
2087 wxPyWizardPage
*arg1
= (wxPyWizardPage
*) 0 ;
2088 PyObject
*arg2
= (PyObject
*) 0 ;
2089 PyObject
*arg3
= (PyObject
*) 0 ;
2090 PyObject
* obj0
= 0 ;
2091 PyObject
* obj1
= 0 ;
2092 PyObject
* obj2
= 0 ;
2094 (char *) "self",(char *) "self",(char *) "_class", NULL
2097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWizardPage__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
2099 if (SWIG_arg_fail(1)) SWIG_fail
;
2103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2104 (arg1
)->_setCallbackInfo(arg2
,arg3
);
2106 wxPyEndAllowThreads(__tstate
);
2107 if (PyErr_Occurred()) SWIG_fail
;
2109 Py_INCREF(Py_None
); resultobj
= Py_None
;
2116 static PyObject
*_wrap_PyWizardPage_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2117 PyObject
*resultobj
;
2118 wxPyWizardPage
*arg1
= (wxPyWizardPage
*) 0 ;
2123 PyObject
* obj0
= 0 ;
2124 PyObject
* obj1
= 0 ;
2125 PyObject
* obj2
= 0 ;
2126 PyObject
* obj3
= 0 ;
2127 PyObject
* obj4
= 0 ;
2129 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
2132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWizardPage_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
2134 if (SWIG_arg_fail(1)) SWIG_fail
;
2136 arg2
= (int)(SWIG_As_int(obj1
));
2137 if (SWIG_arg_fail(2)) SWIG_fail
;
2140 arg3
= (int)(SWIG_As_int(obj2
));
2141 if (SWIG_arg_fail(3)) SWIG_fail
;
2144 arg4
= (int)(SWIG_As_int(obj3
));
2145 if (SWIG_arg_fail(4)) SWIG_fail
;
2148 arg5
= (int)(SWIG_As_int(obj4
));
2149 if (SWIG_arg_fail(5)) SWIG_fail
;
2152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2153 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
2155 wxPyEndAllowThreads(__tstate
);
2156 if (PyErr_Occurred()) SWIG_fail
;
2158 Py_INCREF(Py_None
); resultobj
= Py_None
;
2165 static PyObject
*_wrap_PyWizardPage_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2166 PyObject
*resultobj
;
2167 wxPyWizardPage
*arg1
= (wxPyWizardPage
*) 0 ;
2172 int arg6
= (int) wxSIZE_AUTO
;
2173 PyObject
* obj0
= 0 ;
2174 PyObject
* obj1
= 0 ;
2175 PyObject
* obj2
= 0 ;
2176 PyObject
* obj3
= 0 ;
2177 PyObject
* obj4
= 0 ;
2178 PyObject
* obj5
= 0 ;
2180 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
2183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWizardPage_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
2185 if (SWIG_arg_fail(1)) SWIG_fail
;
2187 arg2
= (int)(SWIG_As_int(obj1
));
2188 if (SWIG_arg_fail(2)) SWIG_fail
;
2191 arg3
= (int)(SWIG_As_int(obj2
));
2192 if (SWIG_arg_fail(3)) SWIG_fail
;
2195 arg4
= (int)(SWIG_As_int(obj3
));
2196 if (SWIG_arg_fail(4)) SWIG_fail
;
2199 arg5
= (int)(SWIG_As_int(obj4
));
2200 if (SWIG_arg_fail(5)) SWIG_fail
;
2204 arg6
= (int)(SWIG_As_int(obj5
));
2205 if (SWIG_arg_fail(6)) SWIG_fail
;
2209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2210 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
2212 wxPyEndAllowThreads(__tstate
);
2213 if (PyErr_Occurred()) SWIG_fail
;
2215 Py_INCREF(Py_None
); resultobj
= Py_None
;
2222 static PyObject
*_wrap_PyWizardPage_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2223 PyObject
*resultobj
;
2224 wxPyWizardPage
*arg1
= (wxPyWizardPage
*) 0 ;
2227 PyObject
* obj0
= 0 ;
2228 PyObject
* obj1
= 0 ;
2229 PyObject
* obj2
= 0 ;
2231 (char *) "self",(char *) "width",(char *) "height", NULL
2234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWizardPage_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
2236 if (SWIG_arg_fail(1)) SWIG_fail
;
2238 arg2
= (int)(SWIG_As_int(obj1
));
2239 if (SWIG_arg_fail(2)) SWIG_fail
;
2242 arg3
= (int)(SWIG_As_int(obj2
));
2243 if (SWIG_arg_fail(3)) SWIG_fail
;
2246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2247 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
2249 wxPyEndAllowThreads(__tstate
);
2250 if (PyErr_Occurred()) SWIG_fail
;
2252 Py_INCREF(Py_None
); resultobj
= Py_None
;
2259 static PyObject
*_wrap_PyWizardPage_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2260 PyObject
*resultobj
;
2261 wxPyWizardPage
*arg1
= (wxPyWizardPage
*) 0 ;
2264 PyObject
* obj0
= 0 ;
2265 PyObject
* obj1
= 0 ;
2266 PyObject
* obj2
= 0 ;
2268 (char *) "self",(char *) "x",(char *) "y", NULL
2271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWizardPage_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
2273 if (SWIG_arg_fail(1)) SWIG_fail
;
2275 arg2
= (int)(SWIG_As_int(obj1
));
2276 if (SWIG_arg_fail(2)) SWIG_fail
;
2279 arg3
= (int)(SWIG_As_int(obj2
));
2280 if (SWIG_arg_fail(3)) SWIG_fail
;
2283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2284 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
2286 wxPyEndAllowThreads(__tstate
);
2287 if (PyErr_Occurred()) SWIG_fail
;
2289 Py_INCREF(Py_None
); resultobj
= Py_None
;
2296 static PyObject
*_wrap_PyWizardPage_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2297 PyObject
*resultobj
;
2298 wxPyWizardPage
*arg1
= (wxPyWizardPage
*) 0 ;
2299 int *arg2
= (int *) 0 ;
2300 int *arg3
= (int *) 0 ;
2305 PyObject
* obj0
= 0 ;
2307 (char *) "self", NULL
2310 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2311 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
2312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWizardPage_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
2313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
2314 if (SWIG_arg_fail(1)) SWIG_fail
;
2316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2317 ((wxPyWizardPage
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
2319 wxPyEndAllowThreads(__tstate
);
2320 if (PyErr_Occurred()) SWIG_fail
;
2322 Py_INCREF(Py_None
); resultobj
= Py_None
;
2323 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2324 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2325 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
2326 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
2333 static PyObject
*_wrap_PyWizardPage_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2334 PyObject
*resultobj
;
2335 wxPyWizardPage
*arg1
= (wxPyWizardPage
*) 0 ;
2336 int *arg2
= (int *) 0 ;
2337 int *arg3
= (int *) 0 ;
2342 PyObject
* obj0
= 0 ;
2344 (char *) "self", NULL
2347 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2348 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
2349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWizardPage_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
2350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
2351 if (SWIG_arg_fail(1)) SWIG_fail
;
2353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2354 ((wxPyWizardPage
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
2356 wxPyEndAllowThreads(__tstate
);
2357 if (PyErr_Occurred()) SWIG_fail
;
2359 Py_INCREF(Py_None
); resultobj
= Py_None
;
2360 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2361 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2362 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
2363 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
2370 static PyObject
*_wrap_PyWizardPage_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2371 PyObject
*resultobj
;
2372 wxPyWizardPage
*arg1
= (wxPyWizardPage
*) 0 ;
2373 int *arg2
= (int *) 0 ;
2374 int *arg3
= (int *) 0 ;
2379 PyObject
* obj0
= 0 ;
2381 (char *) "self", NULL
2384 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2385 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
2386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWizardPage_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
2387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
2388 if (SWIG_arg_fail(1)) SWIG_fail
;
2390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2391 ((wxPyWizardPage
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
2393 wxPyEndAllowThreads(__tstate
);
2394 if (PyErr_Occurred()) SWIG_fail
;
2396 Py_INCREF(Py_None
); resultobj
= Py_None
;
2397 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2398 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2399 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
2400 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
2407 static PyObject
*_wrap_PyWizardPage_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2408 PyObject
*resultobj
;
2409 wxPyWizardPage
*arg1
= (wxPyWizardPage
*) 0 ;
2411 PyObject
* obj0
= 0 ;
2413 (char *) "self", NULL
2416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWizardPage_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
2417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
2418 if (SWIG_arg_fail(1)) SWIG_fail
;
2420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2421 result
= ((wxPyWizardPage
const *)arg1
)->base_DoGetVirtualSize();
2423 wxPyEndAllowThreads(__tstate
);
2424 if (PyErr_Occurred()) SWIG_fail
;
2428 resultptr
= new wxSize((wxSize
&)(result
));
2429 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2437 static PyObject
*_wrap_PyWizardPage_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2438 PyObject
*resultobj
;
2439 wxPyWizardPage
*arg1
= (wxPyWizardPage
*) 0 ;
2441 PyObject
* obj0
= 0 ;
2443 (char *) "self", NULL
2446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWizardPage_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
2447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
2448 if (SWIG_arg_fail(1)) SWIG_fail
;
2450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2451 result
= ((wxPyWizardPage
const *)arg1
)->base_DoGetBestSize();
2453 wxPyEndAllowThreads(__tstate
);
2454 if (PyErr_Occurred()) SWIG_fail
;
2458 resultptr
= new wxSize((wxSize
&)(result
));
2459 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2467 static PyObject
*_wrap_PyWizardPage_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2468 PyObject
*resultobj
;
2469 wxPyWizardPage
*arg1
= (wxPyWizardPage
*) 0 ;
2470 PyObject
* obj0
= 0 ;
2472 (char *) "self", NULL
2475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWizardPage_base_InitDialog",kwnames
,&obj0
)) goto fail
;
2476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
2477 if (SWIG_arg_fail(1)) SWIG_fail
;
2479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2480 (arg1
)->base_InitDialog();
2482 wxPyEndAllowThreads(__tstate
);
2483 if (PyErr_Occurred()) SWIG_fail
;
2485 Py_INCREF(Py_None
); resultobj
= Py_None
;
2492 static PyObject
*_wrap_PyWizardPage_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2493 PyObject
*resultobj
;
2494 wxPyWizardPage
*arg1
= (wxPyWizardPage
*) 0 ;
2496 PyObject
* obj0
= 0 ;
2498 (char *) "self", NULL
2501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWizardPage_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
2502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
2503 if (SWIG_arg_fail(1)) SWIG_fail
;
2505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2506 result
= (bool)(arg1
)->base_TransferDataToWindow();
2508 wxPyEndAllowThreads(__tstate
);
2509 if (PyErr_Occurred()) SWIG_fail
;
2512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2520 static PyObject
*_wrap_PyWizardPage_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2521 PyObject
*resultobj
;
2522 wxPyWizardPage
*arg1
= (wxPyWizardPage
*) 0 ;
2524 PyObject
* obj0
= 0 ;
2526 (char *) "self", NULL
2529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWizardPage_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
2530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
2531 if (SWIG_arg_fail(1)) SWIG_fail
;
2533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2534 result
= (bool)(arg1
)->base_TransferDataFromWindow();
2536 wxPyEndAllowThreads(__tstate
);
2537 if (PyErr_Occurred()) SWIG_fail
;
2540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2548 static PyObject
*_wrap_PyWizardPage_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2549 PyObject
*resultobj
;
2550 wxPyWizardPage
*arg1
= (wxPyWizardPage
*) 0 ;
2552 PyObject
* obj0
= 0 ;
2554 (char *) "self", NULL
2557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWizardPage_base_Validate",kwnames
,&obj0
)) goto fail
;
2558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
2559 if (SWIG_arg_fail(1)) SWIG_fail
;
2561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2562 result
= (bool)(arg1
)->base_Validate();
2564 wxPyEndAllowThreads(__tstate
);
2565 if (PyErr_Occurred()) SWIG_fail
;
2568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2576 static PyObject
*_wrap_PyWizardPage_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2577 PyObject
*resultobj
;
2578 wxPyWizardPage
*arg1
= (wxPyWizardPage
*) 0 ;
2580 PyObject
* obj0
= 0 ;
2582 (char *) "self", NULL
2585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWizardPage_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
2586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
2587 if (SWIG_arg_fail(1)) SWIG_fail
;
2589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2590 result
= (bool)((wxPyWizardPage
const *)arg1
)->base_AcceptsFocus();
2592 wxPyEndAllowThreads(__tstate
);
2593 if (PyErr_Occurred()) SWIG_fail
;
2596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2604 static PyObject
*_wrap_PyWizardPage_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2605 PyObject
*resultobj
;
2606 wxPyWizardPage
*arg1
= (wxPyWizardPage
*) 0 ;
2608 PyObject
* obj0
= 0 ;
2610 (char *) "self", NULL
2613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWizardPage_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
2614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
2615 if (SWIG_arg_fail(1)) SWIG_fail
;
2617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2618 result
= (bool)((wxPyWizardPage
const *)arg1
)->base_AcceptsFocusFromKeyboard();
2620 wxPyEndAllowThreads(__tstate
);
2621 if (PyErr_Occurred()) SWIG_fail
;
2624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2632 static PyObject
*_wrap_PyWizardPage_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2633 PyObject
*resultobj
;
2634 wxPyWizardPage
*arg1
= (wxPyWizardPage
*) 0 ;
2636 PyObject
* obj0
= 0 ;
2638 (char *) "self", NULL
2641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWizardPage_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
2642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
2643 if (SWIG_arg_fail(1)) SWIG_fail
;
2645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2646 result
= ((wxPyWizardPage
const *)arg1
)->base_GetMaxSize();
2648 wxPyEndAllowThreads(__tstate
);
2649 if (PyErr_Occurred()) SWIG_fail
;
2653 resultptr
= new wxSize((wxSize
&)(result
));
2654 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2662 static PyObject
*_wrap_PyWizardPage_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2663 PyObject
*resultobj
;
2664 wxPyWizardPage
*arg1
= (wxPyWizardPage
*) 0 ;
2665 wxWindow
*arg2
= (wxWindow
*) 0 ;
2666 PyObject
* obj0
= 0 ;
2667 PyObject
* obj1
= 0 ;
2669 (char *) "self",(char *) "child", NULL
2672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWizardPage_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
2673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
2674 if (SWIG_arg_fail(1)) SWIG_fail
;
2675 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2676 if (SWIG_arg_fail(2)) SWIG_fail
;
2678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2679 (arg1
)->base_AddChild(arg2
);
2681 wxPyEndAllowThreads(__tstate
);
2682 if (PyErr_Occurred()) SWIG_fail
;
2684 Py_INCREF(Py_None
); resultobj
= Py_None
;
2691 static PyObject
*_wrap_PyWizardPage_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2692 PyObject
*resultobj
;
2693 wxPyWizardPage
*arg1
= (wxPyWizardPage
*) 0 ;
2694 wxWindow
*arg2
= (wxWindow
*) 0 ;
2695 PyObject
* obj0
= 0 ;
2696 PyObject
* obj1
= 0 ;
2698 (char *) "self",(char *) "child", NULL
2701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWizardPage_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
2702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
2703 if (SWIG_arg_fail(1)) SWIG_fail
;
2704 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2705 if (SWIG_arg_fail(2)) SWIG_fail
;
2707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2708 (arg1
)->base_RemoveChild(arg2
);
2710 wxPyEndAllowThreads(__tstate
);
2711 if (PyErr_Occurred()) SWIG_fail
;
2713 Py_INCREF(Py_None
); resultobj
= Py_None
;
2720 static PyObject
* PyWizardPage_swigregister(PyObject
*, PyObject
*args
) {
2722 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2723 SWIG_TypeClientData(SWIGTYPE_p_wxPyWizardPage
, obj
);
2725 return Py_BuildValue((char *)"");
2727 static PyObject
*_wrap_new_WizardPageSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2728 PyObject
*resultobj
;
2729 wxWizard
*arg1
= (wxWizard
*) 0 ;
2730 wxWizardPage
*arg2
= (wxWizardPage
*) NULL
;
2731 wxWizardPage
*arg3
= (wxWizardPage
*) NULL
;
2732 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
2733 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
2734 wxChar
*arg5
= (wxChar
*) NULL
;
2735 wxWizardPageSimple
*result
;
2736 PyObject
* obj0
= 0 ;
2737 PyObject
* obj1
= 0 ;
2738 PyObject
* obj2
= 0 ;
2739 PyObject
* obj3
= 0 ;
2740 PyObject
* obj4
= 0 ;
2742 (char *) "parent",(char *) "prev",(char *) "next",(char *) "bitmap",(char *) "resource", NULL
2745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_WizardPageSimple",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWizard
, SWIG_POINTER_EXCEPTION
| 0);
2747 if (SWIG_arg_fail(1)) SWIG_fail
;
2749 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
2750 if (SWIG_arg_fail(2)) SWIG_fail
;
2753 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
2754 if (SWIG_arg_fail(3)) SWIG_fail
;
2758 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2759 if (SWIG_arg_fail(4)) SWIG_fail
;
2761 SWIG_null_ref("wxBitmap");
2763 if (SWIG_arg_fail(4)) SWIG_fail
;
2767 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
2768 if (SWIG_arg_fail(5)) SWIG_fail
;
2771 if (!wxPyCheckForApp()) SWIG_fail
;
2772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2773 result
= (wxWizardPageSimple
*)new wxWizardPageSimple(arg1
,arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxChar
const *)arg5
);
2775 wxPyEndAllowThreads(__tstate
);
2776 if (PyErr_Occurred()) SWIG_fail
;
2778 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWizardPageSimple
, 1);
2785 static PyObject
*_wrap_new_PreWizardPageSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2786 PyObject
*resultobj
;
2787 wxWizardPageSimple
*result
;
2792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWizardPageSimple",kwnames
)) goto fail
;
2794 if (!wxPyCheckForApp()) SWIG_fail
;
2795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2796 result
= (wxWizardPageSimple
*)new wxWizardPageSimple();
2798 wxPyEndAllowThreads(__tstate
);
2799 if (PyErr_Occurred()) SWIG_fail
;
2801 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWizardPageSimple
, 1);
2808 static PyObject
*_wrap_WizardPageSimple_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2809 PyObject
*resultobj
;
2810 wxWizardPageSimple
*arg1
= (wxWizardPageSimple
*) 0 ;
2811 wxWizard
*arg2
= (wxWizard
*) NULL
;
2812 wxWizardPage
*arg3
= (wxWizardPage
*) NULL
;
2813 wxWizardPage
*arg4
= (wxWizardPage
*) NULL
;
2814 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
2815 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
2816 wxChar
*arg6
= (wxChar
*) NULL
;
2818 PyObject
* obj0
= 0 ;
2819 PyObject
* obj1
= 0 ;
2820 PyObject
* obj2
= 0 ;
2821 PyObject
* obj3
= 0 ;
2822 PyObject
* obj4
= 0 ;
2823 PyObject
* obj5
= 0 ;
2825 (char *) "self",(char *) "parent",(char *) "prev",(char *) "next",(char *) "bitmap",(char *) "resource", NULL
2828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:WizardPageSimple_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWizardPageSimple
, SWIG_POINTER_EXCEPTION
| 0);
2830 if (SWIG_arg_fail(1)) SWIG_fail
;
2832 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWizard
, SWIG_POINTER_EXCEPTION
| 0);
2833 if (SWIG_arg_fail(2)) SWIG_fail
;
2836 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
2837 if (SWIG_arg_fail(3)) SWIG_fail
;
2840 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
2841 if (SWIG_arg_fail(4)) SWIG_fail
;
2845 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2846 if (SWIG_arg_fail(5)) SWIG_fail
;
2848 SWIG_null_ref("wxBitmap");
2850 if (SWIG_arg_fail(5)) SWIG_fail
;
2854 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
2855 if (SWIG_arg_fail(6)) SWIG_fail
;
2858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2859 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxBitmap
const &)*arg5
,(wxChar
const *)arg6
);
2861 wxPyEndAllowThreads(__tstate
);
2862 if (PyErr_Occurred()) SWIG_fail
;
2865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2873 static PyObject
*_wrap_WizardPageSimple_SetPrev(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2874 PyObject
*resultobj
;
2875 wxWizardPageSimple
*arg1
= (wxWizardPageSimple
*) 0 ;
2876 wxWizardPage
*arg2
= (wxWizardPage
*) 0 ;
2877 PyObject
* obj0
= 0 ;
2878 PyObject
* obj1
= 0 ;
2880 (char *) "self",(char *) "prev", NULL
2883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:WizardPageSimple_SetPrev",kwnames
,&obj0
,&obj1
)) goto fail
;
2884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWizardPageSimple
, SWIG_POINTER_EXCEPTION
| 0);
2885 if (SWIG_arg_fail(1)) SWIG_fail
;
2886 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
2887 if (SWIG_arg_fail(2)) SWIG_fail
;
2889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2890 (arg1
)->SetPrev(arg2
);
2892 wxPyEndAllowThreads(__tstate
);
2893 if (PyErr_Occurred()) SWIG_fail
;
2895 Py_INCREF(Py_None
); resultobj
= Py_None
;
2902 static PyObject
*_wrap_WizardPageSimple_SetNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2903 PyObject
*resultobj
;
2904 wxWizardPageSimple
*arg1
= (wxWizardPageSimple
*) 0 ;
2905 wxWizardPage
*arg2
= (wxWizardPage
*) 0 ;
2906 PyObject
* obj0
= 0 ;
2907 PyObject
* obj1
= 0 ;
2909 (char *) "self",(char *) "next", NULL
2912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:WizardPageSimple_SetNext",kwnames
,&obj0
,&obj1
)) goto fail
;
2913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWizardPageSimple
, SWIG_POINTER_EXCEPTION
| 0);
2914 if (SWIG_arg_fail(1)) SWIG_fail
;
2915 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
2916 if (SWIG_arg_fail(2)) SWIG_fail
;
2918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2919 (arg1
)->SetNext(arg2
);
2921 wxPyEndAllowThreads(__tstate
);
2922 if (PyErr_Occurred()) SWIG_fail
;
2924 Py_INCREF(Py_None
); resultobj
= Py_None
;
2931 static PyObject
*_wrap_WizardPageSimple_Chain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2932 PyObject
*resultobj
;
2933 wxWizardPageSimple
*arg1
= (wxWizardPageSimple
*) 0 ;
2934 wxWizardPageSimple
*arg2
= (wxWizardPageSimple
*) 0 ;
2935 PyObject
* obj0
= 0 ;
2936 PyObject
* obj1
= 0 ;
2938 (char *) "first",(char *) "second", NULL
2941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:WizardPageSimple_Chain",kwnames
,&obj0
,&obj1
)) goto fail
;
2942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWizardPageSimple
, SWIG_POINTER_EXCEPTION
| 0);
2943 if (SWIG_arg_fail(1)) SWIG_fail
;
2944 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWizardPageSimple
, SWIG_POINTER_EXCEPTION
| 0);
2945 if (SWIG_arg_fail(2)) SWIG_fail
;
2947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2948 wxWizardPageSimple::Chain(arg1
,arg2
);
2950 wxPyEndAllowThreads(__tstate
);
2951 if (PyErr_Occurred()) SWIG_fail
;
2953 Py_INCREF(Py_None
); resultobj
= Py_None
;
2960 static PyObject
* WizardPageSimple_swigregister(PyObject
*, PyObject
*args
) {
2962 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2963 SWIG_TypeClientData(SWIGTYPE_p_wxWizardPageSimple
, obj
);
2965 return Py_BuildValue((char *)"");
2967 static PyObject
*_wrap_new_Wizard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2968 PyObject
*resultobj
;
2969 wxWindow
*arg1
= (wxWindow
*) 0 ;
2970 int arg2
= (int) -1 ;
2971 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2972 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2973 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
2974 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
2975 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2976 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2977 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
2979 bool temp3
= false ;
2981 PyObject
* obj0
= 0 ;
2982 PyObject
* obj1
= 0 ;
2983 PyObject
* obj2
= 0 ;
2984 PyObject
* obj3
= 0 ;
2985 PyObject
* obj4
= 0 ;
2986 PyObject
* obj5
= 0 ;
2988 (char *) "parent",(char *) "id",(char *) "title",(char *) "bitmap",(char *) "pos",(char *) "style", NULL
2991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Wizard",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2993 if (SWIG_arg_fail(1)) SWIG_fail
;
2996 arg2
= (int)(SWIG_As_int(obj1
));
2997 if (SWIG_arg_fail(2)) SWIG_fail
;
3002 arg3
= wxString_in_helper(obj2
);
3003 if (arg3
== NULL
) SWIG_fail
;
3009 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3010 if (SWIG_arg_fail(4)) SWIG_fail
;
3012 SWIG_null_ref("wxBitmap");
3014 if (SWIG_arg_fail(4)) SWIG_fail
;
3020 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3025 arg6
= (long)(SWIG_As_long(obj5
));
3026 if (SWIG_arg_fail(6)) SWIG_fail
;
3030 if (!wxPyCheckForApp()) SWIG_fail
;
3031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3032 result
= (wxWizard
*)new wxWizard(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,arg6
);
3034 wxPyEndAllowThreads(__tstate
);
3035 if (PyErr_Occurred()) SWIG_fail
;
3037 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWizard
, 1);
3052 static PyObject
*_wrap_new_PreWizard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3053 PyObject
*resultobj
;
3059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWizard",kwnames
)) goto fail
;
3061 if (!wxPyCheckForApp()) SWIG_fail
;
3062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3063 result
= (wxWizard
*)new wxWizard();
3065 wxPyEndAllowThreads(__tstate
);
3066 if (PyErr_Occurred()) SWIG_fail
;
3068 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWizard
, 1);
3075 static PyObject
*_wrap_Wizard_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3076 PyObject
*resultobj
;
3077 wxWizard
*arg1
= (wxWizard
*) 0 ;
3078 wxWindow
*arg2
= (wxWindow
*) 0 ;
3079 int arg3
= (int) -1 ;
3080 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3081 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3082 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
3083 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
3084 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
3085 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
3087 bool temp4
= false ;
3089 PyObject
* obj0
= 0 ;
3090 PyObject
* obj1
= 0 ;
3091 PyObject
* obj2
= 0 ;
3092 PyObject
* obj3
= 0 ;
3093 PyObject
* obj4
= 0 ;
3094 PyObject
* obj5
= 0 ;
3096 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "bitmap",(char *) "pos", NULL
3099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Wizard_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWizard
, SWIG_POINTER_EXCEPTION
| 0);
3101 if (SWIG_arg_fail(1)) SWIG_fail
;
3102 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3103 if (SWIG_arg_fail(2)) SWIG_fail
;
3106 arg3
= (int)(SWIG_As_int(obj2
));
3107 if (SWIG_arg_fail(3)) SWIG_fail
;
3112 arg4
= wxString_in_helper(obj3
);
3113 if (arg4
== NULL
) SWIG_fail
;
3119 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3120 if (SWIG_arg_fail(5)) SWIG_fail
;
3122 SWIG_null_ref("wxBitmap");
3124 if (SWIG_arg_fail(5)) SWIG_fail
;
3130 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
3134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3135 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxPoint
const &)*arg6
);
3137 wxPyEndAllowThreads(__tstate
);
3138 if (PyErr_Occurred()) SWIG_fail
;
3141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3157 static PyObject
*_wrap_Wizard_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3158 PyObject
*resultobj
;
3159 wxWizard
*arg1
= (wxWizard
*) 0 ;
3160 PyObject
* obj0
= 0 ;
3162 (char *) "self", NULL
3165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Wizard_Init",kwnames
,&obj0
)) goto fail
;
3166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWizard
, SWIG_POINTER_EXCEPTION
| 0);
3167 if (SWIG_arg_fail(1)) SWIG_fail
;
3169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3172 wxPyEndAllowThreads(__tstate
);
3173 if (PyErr_Occurred()) SWIG_fail
;
3175 Py_INCREF(Py_None
); resultobj
= Py_None
;
3182 static PyObject
*_wrap_Wizard_RunWizard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3183 PyObject
*resultobj
;
3184 wxWizard
*arg1
= (wxWizard
*) 0 ;
3185 wxWizardPage
*arg2
= (wxWizardPage
*) 0 ;
3187 PyObject
* obj0
= 0 ;
3188 PyObject
* obj1
= 0 ;
3190 (char *) "self",(char *) "firstPage", NULL
3193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Wizard_RunWizard",kwnames
,&obj0
,&obj1
)) goto fail
;
3194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWizard
, SWIG_POINTER_EXCEPTION
| 0);
3195 if (SWIG_arg_fail(1)) SWIG_fail
;
3196 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
3197 if (SWIG_arg_fail(2)) SWIG_fail
;
3199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3200 result
= (bool)(arg1
)->RunWizard(arg2
);
3202 wxPyEndAllowThreads(__tstate
);
3203 if (PyErr_Occurred()) SWIG_fail
;
3206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3214 static PyObject
*_wrap_Wizard_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3215 PyObject
*resultobj
;
3216 wxWizard
*arg1
= (wxWizard
*) 0 ;
3217 wxWizardPage
*result
;
3218 PyObject
* obj0
= 0 ;
3220 (char *) "self", NULL
3223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Wizard_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
3224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWizard
, SWIG_POINTER_EXCEPTION
| 0);
3225 if (SWIG_arg_fail(1)) SWIG_fail
;
3227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3228 result
= (wxWizardPage
*)((wxWizard
const *)arg1
)->GetCurrentPage();
3230 wxPyEndAllowThreads(__tstate
);
3231 if (PyErr_Occurred()) SWIG_fail
;
3234 resultobj
= wxPyMake_wxObject(result
, 0);
3242 static PyObject
*_wrap_Wizard_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3243 PyObject
*resultobj
;
3244 wxWizard
*arg1
= (wxWizard
*) 0 ;
3247 PyObject
* obj0
= 0 ;
3248 PyObject
* obj1
= 0 ;
3250 (char *) "self",(char *) "size", NULL
3253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Wizard_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWizard
, SWIG_POINTER_EXCEPTION
| 0);
3255 if (SWIG_arg_fail(1)) SWIG_fail
;
3258 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3262 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
3264 wxPyEndAllowThreads(__tstate
);
3265 if (PyErr_Occurred()) SWIG_fail
;
3267 Py_INCREF(Py_None
); resultobj
= Py_None
;
3274 static PyObject
*_wrap_Wizard_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3275 PyObject
*resultobj
;
3276 wxWizard
*arg1
= (wxWizard
*) 0 ;
3278 PyObject
* obj0
= 0 ;
3280 (char *) "self", NULL
3283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Wizard_GetPageSize",kwnames
,&obj0
)) goto fail
;
3284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWizard
, SWIG_POINTER_EXCEPTION
| 0);
3285 if (SWIG_arg_fail(1)) SWIG_fail
;
3287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3288 result
= ((wxWizard
const *)arg1
)->GetPageSize();
3290 wxPyEndAllowThreads(__tstate
);
3291 if (PyErr_Occurred()) SWIG_fail
;
3295 resultptr
= new wxSize((wxSize
&)(result
));
3296 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3304 static PyObject
*_wrap_Wizard_FitToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3305 PyObject
*resultobj
;
3306 wxWizard
*arg1
= (wxWizard
*) 0 ;
3307 wxWizardPage
*arg2
= (wxWizardPage
*) 0 ;
3308 PyObject
* obj0
= 0 ;
3309 PyObject
* obj1
= 0 ;
3311 (char *) "self",(char *) "firstPage", NULL
3314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Wizard_FitToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
3315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWizard
, SWIG_POINTER_EXCEPTION
| 0);
3316 if (SWIG_arg_fail(1)) SWIG_fail
;
3317 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
3318 if (SWIG_arg_fail(2)) SWIG_fail
;
3320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3321 (arg1
)->FitToPage((wxWizardPage
const *)arg2
);
3323 wxPyEndAllowThreads(__tstate
);
3324 if (PyErr_Occurred()) SWIG_fail
;
3326 Py_INCREF(Py_None
); resultobj
= Py_None
;
3333 static PyObject
*_wrap_Wizard_GetPageAreaSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3334 PyObject
*resultobj
;
3335 wxWizard
*arg1
= (wxWizard
*) 0 ;
3337 PyObject
* obj0
= 0 ;
3339 (char *) "self", NULL
3342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Wizard_GetPageAreaSizer",kwnames
,&obj0
)) goto fail
;
3343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWizard
, SWIG_POINTER_EXCEPTION
| 0);
3344 if (SWIG_arg_fail(1)) SWIG_fail
;
3346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3347 result
= (wxSizer
*)((wxWizard
const *)arg1
)->GetPageAreaSizer();
3349 wxPyEndAllowThreads(__tstate
);
3350 if (PyErr_Occurred()) SWIG_fail
;
3353 resultobj
= wxPyMake_wxSizer(result
, 0);
3361 static PyObject
*_wrap_Wizard_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3362 PyObject
*resultobj
;
3363 wxWizard
*arg1
= (wxWizard
*) 0 ;
3365 PyObject
* obj0
= 0 ;
3366 PyObject
* obj1
= 0 ;
3368 (char *) "self",(char *) "border", NULL
3371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Wizard_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
3372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWizard
, SWIG_POINTER_EXCEPTION
| 0);
3373 if (SWIG_arg_fail(1)) SWIG_fail
;
3375 arg2
= (int)(SWIG_As_int(obj1
));
3376 if (SWIG_arg_fail(2)) SWIG_fail
;
3379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3380 (arg1
)->SetBorder(arg2
);
3382 wxPyEndAllowThreads(__tstate
);
3383 if (PyErr_Occurred()) SWIG_fail
;
3385 Py_INCREF(Py_None
); resultobj
= Py_None
;
3392 static PyObject
*_wrap_Wizard_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3393 PyObject
*resultobj
;
3394 wxWizard
*arg1
= (wxWizard
*) 0 ;
3396 PyObject
* obj0
= 0 ;
3398 (char *) "self", NULL
3401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Wizard_IsRunning",kwnames
,&obj0
)) goto fail
;
3402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWizard
, SWIG_POINTER_EXCEPTION
| 0);
3403 if (SWIG_arg_fail(1)) SWIG_fail
;
3405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3406 result
= (bool)((wxWizard
const *)arg1
)->IsRunning();
3408 wxPyEndAllowThreads(__tstate
);
3409 if (PyErr_Occurred()) SWIG_fail
;
3412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3420 static PyObject
*_wrap_Wizard_ShowPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3421 PyObject
*resultobj
;
3422 wxWizard
*arg1
= (wxWizard
*) 0 ;
3423 wxWizardPage
*arg2
= (wxWizardPage
*) 0 ;
3424 bool arg3
= (bool) true ;
3426 PyObject
* obj0
= 0 ;
3427 PyObject
* obj1
= 0 ;
3428 PyObject
* obj2
= 0 ;
3430 (char *) "self",(char *) "page",(char *) "goingForward", NULL
3433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Wizard_ShowPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWizard
, SWIG_POINTER_EXCEPTION
| 0);
3435 if (SWIG_arg_fail(1)) SWIG_fail
;
3436 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
3437 if (SWIG_arg_fail(2)) SWIG_fail
;
3440 arg3
= (bool)(SWIG_As_bool(obj2
));
3441 if (SWIG_arg_fail(3)) SWIG_fail
;
3445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3446 result
= (bool)(arg1
)->ShowPage(arg2
,arg3
);
3448 wxPyEndAllowThreads(__tstate
);
3449 if (PyErr_Occurred()) SWIG_fail
;
3452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3460 static PyObject
*_wrap_Wizard_HasNextPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3461 PyObject
*resultobj
;
3462 wxWizard
*arg1
= (wxWizard
*) 0 ;
3463 wxWizardPage
*arg2
= (wxWizardPage
*) 0 ;
3465 PyObject
* obj0
= 0 ;
3466 PyObject
* obj1
= 0 ;
3468 (char *) "self",(char *) "page", NULL
3471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Wizard_HasNextPage",kwnames
,&obj0
,&obj1
)) goto fail
;
3472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWizard
, SWIG_POINTER_EXCEPTION
| 0);
3473 if (SWIG_arg_fail(1)) SWIG_fail
;
3474 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
3475 if (SWIG_arg_fail(2)) SWIG_fail
;
3477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3478 result
= (bool)(arg1
)->HasNextPage(arg2
);
3480 wxPyEndAllowThreads(__tstate
);
3481 if (PyErr_Occurred()) SWIG_fail
;
3484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3492 static PyObject
*_wrap_Wizard_HasPrevPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3493 PyObject
*resultobj
;
3494 wxWizard
*arg1
= (wxWizard
*) 0 ;
3495 wxWizardPage
*arg2
= (wxWizardPage
*) 0 ;
3497 PyObject
* obj0
= 0 ;
3498 PyObject
* obj1
= 0 ;
3500 (char *) "self",(char *) "page", NULL
3503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Wizard_HasPrevPage",kwnames
,&obj0
,&obj1
)) goto fail
;
3504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWizard
, SWIG_POINTER_EXCEPTION
| 0);
3505 if (SWIG_arg_fail(1)) SWIG_fail
;
3506 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWizardPage
, SWIG_POINTER_EXCEPTION
| 0);
3507 if (SWIG_arg_fail(2)) SWIG_fail
;
3509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3510 result
= (bool)(arg1
)->HasPrevPage(arg2
);
3512 wxPyEndAllowThreads(__tstate
);
3513 if (PyErr_Occurred()) SWIG_fail
;
3516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3524 static PyObject
* Wizard_swigregister(PyObject
*, PyObject
*args
) {
3526 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3527 SWIG_TypeClientData(SWIGTYPE_p_wxWizard
, obj
);
3529 return Py_BuildValue((char *)"");
3531 static PyMethodDef SwigMethods
[] = {
3532 { (char *)"new_WizardEvent", (PyCFunction
) _wrap_new_WizardEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3533 { (char *)"WizardEvent_GetDirection", (PyCFunction
) _wrap_WizardEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3534 { (char *)"WizardEvent_GetPage", (PyCFunction
) _wrap_WizardEvent_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3535 { (char *)"WizardEvent_swigregister", WizardEvent_swigregister
, METH_VARARGS
, NULL
},
3536 { (char *)"WizardPage_Create", (PyCFunction
) _wrap_WizardPage_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3537 { (char *)"WizardPage_GetPrev", (PyCFunction
) _wrap_WizardPage_GetPrev
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3538 { (char *)"WizardPage_GetNext", (PyCFunction
) _wrap_WizardPage_GetNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3539 { (char *)"WizardPage_GetBitmap", (PyCFunction
) _wrap_WizardPage_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3540 { (char *)"WizardPage_swigregister", WizardPage_swigregister
, METH_VARARGS
, NULL
},
3541 { (char *)"new_PyWizardPage", (PyCFunction
) _wrap_new_PyWizardPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3542 { (char *)"new_PrePyWizardPage", (PyCFunction
) _wrap_new_PrePyWizardPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3543 { (char *)"PyWizardPage_Create", (PyCFunction
) _wrap_PyWizardPage_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3544 { (char *)"PyWizardPage__setCallbackInfo", (PyCFunction
) _wrap_PyWizardPage__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3545 { (char *)"PyWizardPage_base_DoMoveWindow", (PyCFunction
) _wrap_PyWizardPage_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3546 { (char *)"PyWizardPage_base_DoSetSize", (PyCFunction
) _wrap_PyWizardPage_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3547 { (char *)"PyWizardPage_base_DoSetClientSize", (PyCFunction
) _wrap_PyWizardPage_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3548 { (char *)"PyWizardPage_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWizardPage_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3549 { (char *)"PyWizardPage_base_DoGetSize", (PyCFunction
) _wrap_PyWizardPage_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3550 { (char *)"PyWizardPage_base_DoGetClientSize", (PyCFunction
) _wrap_PyWizardPage_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3551 { (char *)"PyWizardPage_base_DoGetPosition", (PyCFunction
) _wrap_PyWizardPage_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3552 { (char *)"PyWizardPage_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWizardPage_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3553 { (char *)"PyWizardPage_base_DoGetBestSize", (PyCFunction
) _wrap_PyWizardPage_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3554 { (char *)"PyWizardPage_base_InitDialog", (PyCFunction
) _wrap_PyWizardPage_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3555 { (char *)"PyWizardPage_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWizardPage_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3556 { (char *)"PyWizardPage_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWizardPage_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3557 { (char *)"PyWizardPage_base_Validate", (PyCFunction
) _wrap_PyWizardPage_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3558 { (char *)"PyWizardPage_base_AcceptsFocus", (PyCFunction
) _wrap_PyWizardPage_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3559 { (char *)"PyWizardPage_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWizardPage_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3560 { (char *)"PyWizardPage_base_GetMaxSize", (PyCFunction
) _wrap_PyWizardPage_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3561 { (char *)"PyWizardPage_base_AddChild", (PyCFunction
) _wrap_PyWizardPage_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3562 { (char *)"PyWizardPage_base_RemoveChild", (PyCFunction
) _wrap_PyWizardPage_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3563 { (char *)"PyWizardPage_swigregister", PyWizardPage_swigregister
, METH_VARARGS
, NULL
},
3564 { (char *)"new_WizardPageSimple", (PyCFunction
) _wrap_new_WizardPageSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3565 { (char *)"new_PreWizardPageSimple", (PyCFunction
) _wrap_new_PreWizardPageSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3566 { (char *)"WizardPageSimple_Create", (PyCFunction
) _wrap_WizardPageSimple_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3567 { (char *)"WizardPageSimple_SetPrev", (PyCFunction
) _wrap_WizardPageSimple_SetPrev
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3568 { (char *)"WizardPageSimple_SetNext", (PyCFunction
) _wrap_WizardPageSimple_SetNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3569 { (char *)"WizardPageSimple_Chain", (PyCFunction
) _wrap_WizardPageSimple_Chain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3570 { (char *)"WizardPageSimple_swigregister", WizardPageSimple_swigregister
, METH_VARARGS
, NULL
},
3571 { (char *)"new_Wizard", (PyCFunction
) _wrap_new_Wizard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3572 { (char *)"new_PreWizard", (PyCFunction
) _wrap_new_PreWizard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3573 { (char *)"Wizard_Create", (PyCFunction
) _wrap_Wizard_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3574 { (char *)"Wizard_Init", (PyCFunction
) _wrap_Wizard_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3575 { (char *)"Wizard_RunWizard", (PyCFunction
) _wrap_Wizard_RunWizard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3576 { (char *)"Wizard_GetCurrentPage", (PyCFunction
) _wrap_Wizard_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3577 { (char *)"Wizard_SetPageSize", (PyCFunction
) _wrap_Wizard_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3578 { (char *)"Wizard_GetPageSize", (PyCFunction
) _wrap_Wizard_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3579 { (char *)"Wizard_FitToPage", (PyCFunction
) _wrap_Wizard_FitToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3580 { (char *)"Wizard_GetPageAreaSizer", (PyCFunction
) _wrap_Wizard_GetPageAreaSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3581 { (char *)"Wizard_SetBorder", (PyCFunction
) _wrap_Wizard_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3582 { (char *)"Wizard_IsRunning", (PyCFunction
) _wrap_Wizard_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3583 { (char *)"Wizard_ShowPage", (PyCFunction
) _wrap_Wizard_ShowPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3584 { (char *)"Wizard_HasNextPage", (PyCFunction
) _wrap_Wizard_HasNextPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3585 { (char *)"Wizard_HasPrevPage", (PyCFunction
) _wrap_Wizard_HasPrevPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
3586 { (char *)"Wizard_swigregister", Wizard_swigregister
, METH_VARARGS
, NULL
},
3587 { NULL
, NULL
, 0, NULL
}
3591 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
3593 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
3594 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
3596 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
3597 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
3599 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
3600 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
3602 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
3603 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
3605 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
3606 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
3608 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
3609 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
3611 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
3612 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
3614 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
3615 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
3617 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
3618 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
3620 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
3621 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
3623 static void *_p_wxSizerTo_p_wxObject(void *x
) {
3624 return (void *)((wxObject
*) ((wxSizer
*) x
));
3626 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
3627 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
3629 static void *_p_wxWizardPageTo_p_wxObject(void *x
) {
3630 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxWizardPage
*) x
));
3632 static void *_p_wxPyWizardPageTo_p_wxObject(void *x
) {
3633 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxWizardPage
*) ((wxPyWizardPage
*) x
));
3635 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
3636 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
3638 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
3639 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
3641 static void *_p_wxEventTo_p_wxObject(void *x
) {
3642 return (void *)((wxObject
*) ((wxEvent
*) x
));
3644 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
3645 return (void *)((wxObject
*) ((wxFontData
*) x
));
3647 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
3648 return (void *)((wxObject
*) ((wxPrintData
*) x
));
3650 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
3651 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
3653 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
3654 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
3656 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
3657 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
3659 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
3660 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
3662 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
3663 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
3665 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
3666 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
3668 static void *_p_wxWizardPageSimpleTo_p_wxObject(void *x
) {
3669 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxWizardPage
*) ((wxWizardPageSimple
*) x
));
3671 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
3672 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
3674 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
3675 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
3677 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
3678 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
3680 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
3681 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
3683 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
3684 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
3686 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
3687 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
3689 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
3690 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
3692 static void *_p_wxControlTo_p_wxObject(void *x
) {
3693 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
3695 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
3696 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
3698 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
3699 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
3701 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
3702 return (void *)((wxObject
*) ((wxFSFile
*) x
));
3704 static void *_p_wxWizardTo_p_wxObject(void *x
) {
3705 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxWizard
*) x
));
3707 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
3708 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
3710 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
3711 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
3713 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
3714 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
3716 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
3717 return (void *)((wxObject
*) ((wxColourData
*) x
));
3719 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
3720 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
3722 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
3723 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
3725 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
3726 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
3728 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
3729 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
3731 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
3732 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
3734 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
3735 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
3737 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
3738 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
3740 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
3741 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
3743 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
3744 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
3746 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
3747 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
3749 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
3750 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
3752 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
3753 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
3755 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
3756 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
3758 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
3759 return (void *)((wxObject
*) ((wxPrinter
*) x
));
3761 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
3762 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
3764 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
3765 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
3767 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
3768 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
3770 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
3771 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
3773 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
3774 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
3776 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
3777 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
3779 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
3780 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
3782 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
3783 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
3785 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
3786 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
3788 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
3789 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
3791 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
3792 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
3794 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
3795 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
3797 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
3798 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
3800 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
3801 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
3803 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
3804 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
3806 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
3807 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
3809 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
3810 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
3812 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
3813 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
3815 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
3816 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
3818 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
3819 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
3821 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
3822 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
3824 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
3825 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
3827 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
3828 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
3830 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
3831 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
3833 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
3834 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
3836 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
3837 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
3839 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
3840 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
3842 static void *_p_wxImageTo_p_wxObject(void *x
) {
3843 return (void *)((wxObject
*) ((wxImage
*) x
));
3845 static void *_p_wxFrameTo_p_wxObject(void *x
) {
3846 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
3848 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
3849 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
3851 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
3852 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
3854 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
3855 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
3857 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
3858 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
3860 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
3861 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
3863 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
3864 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
3866 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
3867 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
3869 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
3870 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
3872 static void *_p_wxWindowTo_p_wxObject(void *x
) {
3873 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
3875 static void *_p_wxMenuTo_p_wxObject(void *x
) {
3876 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
3878 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
3879 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
3881 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
3882 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
3884 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
3885 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
3887 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
3888 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
3890 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
3891 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
3893 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
3894 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
3896 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
3897 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
3899 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
3900 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
3902 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
3903 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
3905 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
3906 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
3908 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
3909 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
3911 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
3912 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
3914 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
3915 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
3917 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
3918 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
3920 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
3921 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
3923 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
3924 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
3926 static void *_p_wxPanelTo_p_wxObject(void *x
) {
3927 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
3929 static void *_p_wxDialogTo_p_wxObject(void *x
) {
3930 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
3932 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
3933 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
3935 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
3936 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
3938 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
3939 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
3941 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
3942 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
3944 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
3945 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
3947 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
3948 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
3950 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
3951 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
3953 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
3954 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
3956 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
3957 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
3959 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
3960 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
3962 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
3963 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
3965 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
3966 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
3968 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
3969 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
3971 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
3972 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
3974 static void *_p_wxWizardEventTo_p_wxObject(void *x
) {
3975 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxWizardEvent
*) x
));
3977 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
3978 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
3980 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
3981 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
3983 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
3984 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
3986 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
3987 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
3989 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
3990 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
3992 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
3993 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
3995 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
3996 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
3998 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
3999 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
4001 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
4002 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
4004 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
4005 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
4007 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
4008 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
4010 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
4011 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
4013 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
4014 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
4016 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
4017 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
4019 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
4020 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
4022 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
4023 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
4025 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
4026 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
4028 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
4029 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
4031 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
4032 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
4034 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
4035 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
4037 static void *_p_wxWizardTo_p_wxDialog(void *x
) {
4038 return (void *)((wxDialog
*) ((wxWizard
*) x
));
4040 static void *_p_wxWizardPageSimpleTo_p_wxWizardPage(void *x
) {
4041 return (void *)((wxWizardPage
*) ((wxWizardPageSimple
*) x
));
4043 static void *_p_wxPyWizardPageTo_p_wxWizardPage(void *x
) {
4044 return (void *)((wxWizardPage
*) ((wxPyWizardPage
*) x
));
4046 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
4047 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
4049 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
4050 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
4052 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
4053 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
4055 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
4056 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
4058 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
4059 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
4061 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
4062 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
4064 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
4065 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
4067 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
4068 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
4070 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
4071 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
4073 static void *_p_wxWizardTo_p_wxTopLevelWindow(void *x
) {
4074 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxWizard
*) x
));
4076 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
4077 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
4079 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
4080 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
4082 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
4083 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
4085 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
4086 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
4088 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
4089 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
4091 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
4092 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
4094 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
4095 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
4097 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
4098 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
4100 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
4101 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
4103 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
4104 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
4106 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
4107 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
4109 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
4110 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
4112 static void *_p_wxWizardPageTo_p_wxWindow(void *x
) {
4113 return (void *)((wxWindow
*) (wxPanel
*) ((wxWizardPage
*) x
));
4115 static void *_p_wxPyWizardPageTo_p_wxWindow(void *x
) {
4116 return (void *)((wxWindow
*) (wxPanel
*)(wxWizardPage
*) ((wxPyWizardPage
*) x
));
4118 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
4119 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
4121 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
4122 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
4124 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
4125 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
4127 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
4128 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
4130 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
4131 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
4133 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
4134 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
4136 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
4137 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
4139 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
4140 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
4142 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
4143 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
4145 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
4146 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
4148 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
4149 return (void *)((wxWindow
*) ((wxPanel
*) x
));
4151 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
4152 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
4154 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
4155 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
4157 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
4158 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
4160 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
4161 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
4163 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
4164 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
4166 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
4167 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
4169 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
4170 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
4172 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
4173 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
4175 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
4176 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
4178 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
4179 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
4181 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
4182 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
4184 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
4185 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
4187 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
4188 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
4190 static void *_p_wxControlTo_p_wxWindow(void *x
) {
4191 return (void *)((wxWindow
*) ((wxControl
*) x
));
4193 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
4194 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
4196 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
4197 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
4199 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
4200 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
4202 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
4203 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
4205 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
4206 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
4208 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
4209 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
4211 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
4212 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
4214 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
4215 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
4217 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
4218 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
4220 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
4221 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
4223 static void *_p_wxWizardTo_p_wxWindow(void *x
) {
4224 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxWizard
*) x
));
4226 static void *_p_wxWizardPageSimpleTo_p_wxWindow(void *x
) {
4227 return (void *)((wxWindow
*) (wxPanel
*)(wxWizardPage
*) ((wxWizardPageSimple
*) x
));
4229 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
4230 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
4232 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
4233 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
4235 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
4236 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
4238 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
4239 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
4241 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
4242 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
4244 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
4245 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
4247 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
4248 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
4250 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
4251 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
4253 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
4254 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
4256 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
4257 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
4259 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
4260 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
4262 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
4263 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
4265 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
4266 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
4268 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
4269 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
4271 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
4272 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
4274 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
4275 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
4277 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
4278 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
4280 static void *_p_wxWizardEventTo_p_wxCommandEvent(void *x
) {
4281 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxWizardEvent
*) x
));
4283 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
4284 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
4286 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
4287 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
4289 static void *_p_wxWizardPageTo_p_wxEvtHandler(void *x
) {
4290 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxWizardPage
*) x
));
4292 static void *_p_wxPyWizardPageTo_p_wxEvtHandler(void *x
) {
4293 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxWizardPage
*) ((wxPyWizardPage
*) x
));
4295 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
4296 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
4298 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
4299 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
4301 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
4302 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
4304 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
4305 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
4307 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
4308 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
4310 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
4311 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
4313 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
4314 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
4316 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
4317 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
4319 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
4320 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
4322 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
4323 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
4325 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
4326 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
4328 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
4329 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
4331 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
4332 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
4334 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
4335 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
4337 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
4338 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
4340 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
4341 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
4343 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
4344 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
4346 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
4347 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
4349 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
4350 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
4352 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
4353 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
4355 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
4356 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
4358 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
4359 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
4361 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
4362 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
4364 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
4365 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
4367 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
4368 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
4370 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
4371 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
4373 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
4374 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
4376 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
4377 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
4379 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
4380 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
4382 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
4383 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
4385 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
4386 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
4388 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
4389 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
4391 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
4392 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
4394 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
4395 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
4397 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
4398 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
4400 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
4401 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
4403 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
4404 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
4406 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
4407 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
4409 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
4410 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
4412 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
4413 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
4415 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
4416 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
4418 static void *_p_wxWizardTo_p_wxEvtHandler(void *x
) {
4419 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxWizard
*) x
));
4421 static void *_p_wxWizardPageSimpleTo_p_wxEvtHandler(void *x
) {
4422 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxWizardPage
*) ((wxWizardPageSimple
*) x
));
4424 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
4425 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
4427 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
4428 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
4430 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
4431 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
4433 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
4434 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
4436 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
4437 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
4439 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
4440 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
4442 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
4443 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
4445 static void *_p_wxWizardEventTo_p_wxNotifyEvent(void *x
) {
4446 return (void *)((wxNotifyEvent
*) ((wxWizardEvent
*) x
));
4448 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
4449 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
4451 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
4452 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
4454 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
4455 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
4457 static void *_p_wxWizardPageSimpleTo_p_wxPanel(void *x
) {
4458 return (void *)((wxPanel
*) (wxWizardPage
*) ((wxWizardPageSimple
*) x
));
4460 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
4461 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
4463 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
4464 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
4466 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
4467 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
4469 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
4470 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
4472 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
4473 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
4475 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
4476 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
4478 static void *_p_wxWizardPageTo_p_wxPanel(void *x
) {
4479 return (void *)((wxPanel
*) ((wxWizardPage
*) x
));
4481 static void *_p_wxPyWizardPageTo_p_wxPanel(void *x
) {
4482 return (void *)((wxPanel
*) (wxWizardPage
*) ((wxPyWizardPage
*) x
));
4484 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
4485 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
4487 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
4488 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
4490 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
4491 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
4493 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
4494 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
4496 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
4497 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
4499 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
4500 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
4502 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
4503 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
4505 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
4506 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
4508 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
4509 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
4511 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
4512 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
4514 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
4515 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
4517 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
4518 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
4520 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
4521 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
4523 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
4524 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
4526 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
4527 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
4529 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
4530 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
4532 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
4533 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
4535 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
4536 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
4538 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
4539 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
4541 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
4542 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
4544 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
4545 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
4547 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
4548 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
4550 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
4551 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
4553 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
4554 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
4556 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
4557 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
4559 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
4560 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
4562 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
4563 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
4565 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
4566 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
4568 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
4569 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
4571 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
4572 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
4574 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
4575 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
4577 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
4578 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
4580 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
4581 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
4583 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
4584 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
4586 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
4587 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
4589 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
4590 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
4592 static void *_p_wxWizardEventTo_p_wxEvent(void *x
) {
4593 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxWizardEvent
*) x
));
4595 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
4596 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
4598 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
4599 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
4601 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
4602 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
4604 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
4605 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
4607 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
4608 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
4610 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_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_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_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_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}};
4611 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}};
4612 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}};
4613 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}};
4614 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}};
4615 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}};
4616 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}};
4617 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}};
4618 static swig_type_info _swigt__p_wxCommandEvent
[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWizardEvent", _p_wxWizardEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
4619 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}};
4620 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}};
4621 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}};
4622 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}};
4623 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}};
4624 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}};
4625 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}};
4626 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}};
4627 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}};
4628 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}};
4629 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}};
4630 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}};
4631 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}};
4632 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}};
4633 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}};
4634 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_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}};
4635 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}};
4636 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}};
4637 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}};
4638 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}};
4640 static swig_type_info
*swig_types_initial
[] = {
4643 _swigt__p_unsigned_char
,
4644 _swigt__p_wxWizardPageSimple
,
4645 _swigt__p_wxWizardPage
,
4646 _swigt__p_wxTopLevelWindow
,
4648 _swigt__p_wxPyWizardPage
,
4649 _swigt__p_wxCommandEvent
,
4650 _swigt__p_unsigned_long
,
4651 _swigt__p_wxWizardEvent
,
4653 _swigt__unsigned_int
,
4654 _swigt__p_unsigned_int
,
4655 _swigt__p_form_ops_t
,
4656 _swigt__p_wxDuplexMode
,
4659 _swigt__p_wxEvtHandler
,
4661 _swigt__std__ptrdiff_t
,
4663 _swigt__p_wxNotifyEvent
,
4666 _swigt__p_wxPaperSize
,
4674 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
4676 static swig_const_info swig_const_table
[] = {
4677 {0, 0, 0, 0.0, 0, 0}};
4688 /* Python-specific SWIG API */
4689 #define SWIG_newvarlink() SWIG_Python_newvarlink()
4690 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
4691 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
4693 /* -----------------------------------------------------------------------------
4694 * global variable support code.
4695 * ----------------------------------------------------------------------------- */
4697 typedef struct swig_globalvar
{
4698 char *name
; /* Name of global variable */
4699 PyObject
*(*get_attr
)(); /* Return the current value */
4700 int (*set_attr
)(PyObject
*); /* Set the value */
4701 struct swig_globalvar
*next
;
4704 typedef struct swig_varlinkobject
{
4706 swig_globalvar
*vars
;
4707 } swig_varlinkobject
;
4710 swig_varlink_repr(swig_varlinkobject
*v
) {
4712 return PyString_FromString("<Swig global variables>");
4716 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
4717 swig_globalvar
*var
;
4719 fprintf(fp
,"Swig global variables { ");
4720 for (var
= v
->vars
; var
; var
=var
->next
) {
4721 fprintf(fp
,"%s", var
->name
);
4722 if (var
->next
) fprintf(fp
,", ");
4729 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
4730 swig_globalvar
*var
= v
->vars
;
4732 if (strcmp(var
->name
,n
) == 0) {
4733 return (*var
->get_attr
)();
4737 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
4742 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
4743 swig_globalvar
*var
= v
->vars
;
4745 if (strcmp(var
->name
,n
) == 0) {
4746 return (*var
->set_attr
)(p
);
4750 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
4754 static PyTypeObject varlinktype
= {
4755 PyObject_HEAD_INIT(0)
4756 0, /* Number of items in variable part (ob_size) */
4757 (char *)"swigvarlink", /* Type name (tp_name) */
4758 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
4759 0, /* Itemsize (tp_itemsize) */
4760 0, /* Deallocator (tp_dealloc) */
4761 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
4762 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
4763 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
4765 (reprfunc
) swig_varlink_repr
, /* tp_repr */
4766 0, /* tp_as_number */
4767 0, /* tp_as_sequence */
4768 0, /* tp_as_mapping */
4772 0, /* tp_getattro */
4773 0, /* tp_setattro */
4774 0, /* tp_as_buffer */
4777 #if PY_VERSION_HEX >= 0x02000000
4778 0, /* tp_traverse */
4781 #if PY_VERSION_HEX >= 0x02010000
4782 0, /* tp_richcompare */
4783 0, /* tp_weaklistoffset */
4785 #if PY_VERSION_HEX >= 0x02020000
4786 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
4788 #if PY_VERSION_HEX >= 0x02030000
4792 0,0,0,0 /* tp_alloc -> tp_next */
4796 /* Create a variable linking object for use later */
4798 SWIG_Python_newvarlink(void) {
4799 swig_varlinkobject
*result
= 0;
4800 result
= PyMem_NEW(swig_varlinkobject
,1);
4801 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
4802 result
->ob_type
= &varlinktype
;
4804 result
->ob_refcnt
= 0;
4805 Py_XINCREF((PyObject
*) result
);
4806 return ((PyObject
*) result
);
4810 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
4811 swig_varlinkobject
*v
;
4813 v
= (swig_varlinkobject
*) p
;
4814 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
4815 gv
->name
= (char *) malloc(strlen(name
)+1);
4816 strcpy(gv
->name
,name
);
4817 gv
->get_attr
= get_attr
;
4818 gv
->set_attr
= set_attr
;
4823 /* -----------------------------------------------------------------------------
4824 * constants/methods manipulation
4825 * ----------------------------------------------------------------------------- */
4827 /* Install Constants */
4829 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
4832 for (i
= 0; constants
[i
].type
; i
++) {
4833 switch(constants
[i
].type
) {
4835 obj
= PyInt_FromLong(constants
[i
].lvalue
);
4838 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
4840 case SWIG_PY_STRING
:
4841 if (constants
[i
].pvalue
) {
4842 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
4848 case SWIG_PY_POINTER
:
4849 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
4851 case SWIG_PY_BINARY
:
4852 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
4859 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
4865 /* -----------------------------------------------------------------------------*/
4866 /* Fix SwigMethods to carry the callback ptrs when needed */
4867 /* -----------------------------------------------------------------------------*/
4870 SWIG_Python_FixMethods(PyMethodDef
*methods
,
4871 swig_const_info
*const_table
,
4872 swig_type_info
**types
,
4873 swig_type_info
**types_initial
) {
4875 for (i
= 0; methods
[i
].ml_name
; ++i
) {
4876 char *c
= methods
[i
].ml_doc
;
4877 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
4879 swig_const_info
*ci
= 0;
4880 char *name
= c
+ 10;
4881 for (j
= 0; const_table
[j
].type
; j
++) {
4882 if (strncmp(const_table
[j
].name
, name
,
4883 strlen(const_table
[j
].name
)) == 0) {
4884 ci
= &(const_table
[j
]);
4889 size_t shift
= (ci
->ptype
) - types
;
4890 swig_type_info
*ty
= types_initial
[shift
];
4891 size_t ldoc
= (c
- methods
[i
].ml_doc
);
4892 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
4893 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
4895 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
4896 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
4898 strncpy(buff
, "swig_ptr: ", 10);
4900 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
4901 methods
[i
].ml_doc
= ndoc
;
4907 /* -----------------------------------------------------------------------------*
4908 * Initialize type list
4909 * -----------------------------------------------------------------------------*/
4911 #if PY_MAJOR_VERSION < 2
4912 /* PyModule_AddObject function was introduced in Python 2.0. The following function
4913 is copied out of Python/modsupport.c in python version 2.3.4 */
4915 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
4918 if (!PyModule_Check(m
)) {
4919 PyErr_SetString(PyExc_TypeError
,
4920 "PyModule_AddObject() needs module as first arg");
4924 PyErr_SetString(PyExc_TypeError
,
4925 "PyModule_AddObject() needs non-NULL value");
4929 dict
= PyModule_GetDict(m
);
4931 /* Internal error -- modules must have a dict! */
4932 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
4933 PyModule_GetName(m
));
4936 if (PyDict_SetItemString(dict
, name
, o
))
4943 static swig_type_info
**
4944 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
4945 static PyMethodDef swig_empty_runtime_method_table
[] = {
4951 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
4952 swig_empty_runtime_method_table
);
4953 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
4954 if (pointer
&& module) {
4955 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
4957 return type_list_handle
;
4960 static swig_type_info
**
4961 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
4962 swig_type_info
**type_pointer
;
4964 /* first check if module already created */
4965 type_pointer
= SWIG_Python_GetTypeListHandle();
4967 return type_pointer
;
4969 /* create a new module and variable */
4970 return SWIG_Python_SetTypeListHandle(type_list_handle
);
4978 /* -----------------------------------------------------------------------------*
4979 * Partial Init method
4980 * -----------------------------------------------------------------------------*/
4982 #ifdef SWIG_LINK_RUNTIME
4986 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
4992 SWIGEXPORT(void) SWIG_init(void) {
4993 static PyObject
*SWIG_globals
= 0;
4994 static int typeinit
= 0;
4997 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
4999 /* Fix SwigMethods to carry the callback ptrs when needed */
5000 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
5002 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
5003 d
= PyModule_GetDict(m
);
5006 #ifdef SWIG_LINK_RUNTIME
5007 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
5009 # ifndef SWIG_STATIC_RUNTIME
5010 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
5013 for (i
= 0; swig_types_initial
[i
]; i
++) {
5014 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
5018 SWIG_InstallConstants(d
,swig_const_table
);
5021 PyDict_SetItemString(d
,"WIZARD_EX_HELPBUTTON", SWIG_From_int((int)(wxWIZARD_EX_HELPBUTTON
)));
5023 PyDict_SetItemString(d
, "wxEVT_WIZARD_PAGE_CHANGED", PyInt_FromLong(wxEVT_WIZARD_PAGE_CHANGED
));
5024 PyDict_SetItemString(d
, "wxEVT_WIZARD_PAGE_CHANGING", PyInt_FromLong(wxEVT_WIZARD_PAGE_CHANGING
));
5025 PyDict_SetItemString(d
, "wxEVT_WIZARD_CANCEL", PyInt_FromLong(wxEVT_WIZARD_CANCEL
));
5026 PyDict_SetItemString(d
, "wxEVT_WIZARD_HELP", PyInt_FromLong(wxEVT_WIZARD_HELP
));
5027 PyDict_SetItemString(d
, "wxEVT_WIZARD_FINISHED", PyInt_FromLong(wxEVT_WIZARD_FINISHED
));